@aws-sdk/client-docdb 3.105.0 → 3.107.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 +47 -41
- package/dist-es/protocols/Aws_query.js +47 -41
- package/package.json +1 -1
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.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -5014,7 +5014,7 @@ const deserializeAws_queryCertificateMessage = (output, context) => {
|
|
|
5014
5014
|
if (output.Certificates === "") {
|
|
5015
5015
|
contents.Certificates = [];
|
|
5016
5016
|
}
|
|
5017
|
-
if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
|
|
5017
|
+
else if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
|
|
5018
5018
|
contents.Certificates = deserializeAws_queryCertificateList((0, smithy_client_1.getArrayIfSingleItem)(output["Certificates"]["Certificate"]), context);
|
|
5019
5019
|
}
|
|
5020
5020
|
if (output["Marker"] !== undefined) {
|
|
@@ -5149,7 +5149,8 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
5149
5149
|
if (output.AvailabilityZones === "") {
|
|
5150
5150
|
contents.AvailabilityZones = [];
|
|
5151
5151
|
}
|
|
5152
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
5152
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
5153
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
5153
5154
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
5154
5155
|
}
|
|
5155
5156
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
@@ -5209,20 +5210,20 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
5209
5210
|
if (output.ReadReplicaIdentifiers === "") {
|
|
5210
5211
|
contents.ReadReplicaIdentifiers = [];
|
|
5211
5212
|
}
|
|
5212
|
-
if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
5213
|
+
else if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
5213
5214
|
output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
|
|
5214
5215
|
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
|
|
5215
5216
|
}
|
|
5216
5217
|
if (output.DBClusterMembers === "") {
|
|
5217
5218
|
contents.DBClusterMembers = [];
|
|
5218
5219
|
}
|
|
5219
|
-
if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
5220
|
+
else if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
5220
5221
|
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterMembers"]["DBClusterMember"]), context);
|
|
5221
5222
|
}
|
|
5222
5223
|
if (output.VpcSecurityGroups === "") {
|
|
5223
5224
|
contents.VpcSecurityGroups = [];
|
|
5224
5225
|
}
|
|
5225
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
5226
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
5226
5227
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
5227
5228
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
5228
5229
|
}
|
|
@@ -5244,7 +5245,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
5244
5245
|
if (output.AssociatedRoles === "") {
|
|
5245
5246
|
contents.AssociatedRoles = [];
|
|
5246
5247
|
}
|
|
5247
|
-
if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
5248
|
+
else if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
5248
5249
|
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles((0, smithy_client_1.getArrayIfSingleItem)(output["AssociatedRoles"]["DBClusterRole"]), context);
|
|
5249
5250
|
}
|
|
5250
5251
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
@@ -5253,7 +5254,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
5253
5254
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
5254
5255
|
contents.EnabledCloudwatchLogsExports = [];
|
|
5255
5256
|
}
|
|
5256
|
-
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
5257
|
+
else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
5257
5258
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
5258
5259
|
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
5259
5260
|
}
|
|
@@ -5323,7 +5324,7 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
|
|
|
5323
5324
|
if (output.DBClusters === "") {
|
|
5324
5325
|
contents.DBClusters = [];
|
|
5325
5326
|
}
|
|
5326
|
-
if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
5327
|
+
else if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
5327
5328
|
contents.DBClusters = deserializeAws_queryDBClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusters"]["DBCluster"]), context);
|
|
5328
5329
|
}
|
|
5329
5330
|
return contents;
|
|
@@ -5366,7 +5367,7 @@ const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) =>
|
|
|
5366
5367
|
if (output.Parameters === "") {
|
|
5367
5368
|
contents.Parameters = [];
|
|
5368
5369
|
}
|
|
5369
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
5370
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
5370
5371
|
contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
|
|
5371
5372
|
}
|
|
5372
5373
|
if (output["Marker"] !== undefined) {
|
|
@@ -5413,7 +5414,7 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
|
|
|
5413
5414
|
if (output.DBClusterParameterGroups === "") {
|
|
5414
5415
|
contents.DBClusterParameterGroups = [];
|
|
5415
5416
|
}
|
|
5416
|
-
if (output["DBClusterParameterGroups"] !== undefined &&
|
|
5417
|
+
else if (output["DBClusterParameterGroups"] !== undefined &&
|
|
5417
5418
|
output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
|
|
5418
5419
|
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
|
|
5419
5420
|
}
|
|
@@ -5474,7 +5475,8 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
5474
5475
|
if (output.AvailabilityZones === "") {
|
|
5475
5476
|
contents.AvailabilityZones = [];
|
|
5476
5477
|
}
|
|
5477
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
5478
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
5479
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
5478
5480
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
5479
5481
|
}
|
|
5480
5482
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
@@ -5547,7 +5549,7 @@ const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
|
|
|
5547
5549
|
if (output.AttributeValues === "") {
|
|
5548
5550
|
contents.AttributeValues = [];
|
|
5549
5551
|
}
|
|
5550
|
-
if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
5552
|
+
else if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
5551
5553
|
contents.AttributeValues = deserializeAws_queryAttributeValueList((0, smithy_client_1.getArrayIfSingleItem)(output["AttributeValues"]["AttributeValue"]), context);
|
|
5552
5554
|
}
|
|
5553
5555
|
return contents;
|
|
@@ -5573,7 +5575,7 @@ const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context)
|
|
|
5573
5575
|
if (output.DBClusterSnapshotAttributes === "") {
|
|
5574
5576
|
contents.DBClusterSnapshotAttributes = [];
|
|
5575
5577
|
}
|
|
5576
|
-
if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
5578
|
+
else if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
5577
5579
|
output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
|
|
5578
5580
|
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
|
|
5579
5581
|
}
|
|
@@ -5600,7 +5602,8 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
|
|
|
5600
5602
|
if (output.DBClusterSnapshots === "") {
|
|
5601
5603
|
contents.DBClusterSnapshots = [];
|
|
5602
5604
|
}
|
|
5603
|
-
if (output["DBClusterSnapshots"] !== undefined &&
|
|
5605
|
+
else if (output["DBClusterSnapshots"] !== undefined &&
|
|
5606
|
+
output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
|
|
5604
5607
|
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
|
|
5605
5608
|
}
|
|
5606
5609
|
return contents;
|
|
@@ -5643,13 +5646,14 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
5643
5646
|
if (output.ValidUpgradeTarget === "") {
|
|
5644
5647
|
contents.ValidUpgradeTarget = [];
|
|
5645
5648
|
}
|
|
5646
|
-
if (output["ValidUpgradeTarget"] !== undefined &&
|
|
5649
|
+
else if (output["ValidUpgradeTarget"] !== undefined &&
|
|
5650
|
+
output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
|
|
5647
5651
|
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList((0, smithy_client_1.getArrayIfSingleItem)(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
|
|
5648
5652
|
}
|
|
5649
5653
|
if (output.ExportableLogTypes === "") {
|
|
5650
5654
|
contents.ExportableLogTypes = [];
|
|
5651
5655
|
}
|
|
5652
|
-
if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
5656
|
+
else if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
5653
5657
|
contents.ExportableLogTypes = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["ExportableLogTypes"]["member"]), context);
|
|
5654
5658
|
}
|
|
5655
5659
|
if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
|
|
@@ -5678,7 +5682,7 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
|
|
|
5678
5682
|
if (output.DBEngineVersions === "") {
|
|
5679
5683
|
contents.DBEngineVersions = [];
|
|
5680
5684
|
}
|
|
5681
|
-
if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
5685
|
+
else if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
5682
5686
|
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList((0, smithy_client_1.getArrayIfSingleItem)(output["DBEngineVersions"]["DBEngineVersion"]), context);
|
|
5683
5687
|
}
|
|
5684
5688
|
return contents;
|
|
@@ -5739,7 +5743,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
5739
5743
|
if (output.VpcSecurityGroups === "") {
|
|
5740
5744
|
contents.VpcSecurityGroups = [];
|
|
5741
5745
|
}
|
|
5742
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
5746
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
5743
5747
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
5744
5748
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
5745
5749
|
}
|
|
@@ -5770,7 +5774,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
5770
5774
|
if (output.StatusInfos === "") {
|
|
5771
5775
|
contents.StatusInfos = [];
|
|
5772
5776
|
}
|
|
5773
|
-
if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
5777
|
+
else if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
5774
5778
|
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList((0, smithy_client_1.getArrayIfSingleItem)(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
|
|
5775
5779
|
}
|
|
5776
5780
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
@@ -5797,7 +5801,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
5797
5801
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
5798
5802
|
contents.EnabledCloudwatchLogsExports = [];
|
|
5799
5803
|
}
|
|
5800
|
-
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
5804
|
+
else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
5801
5805
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
5802
5806
|
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
5803
5807
|
}
|
|
@@ -5833,7 +5837,7 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
|
|
|
5833
5837
|
if (output.DBInstances === "") {
|
|
5834
5838
|
contents.DBInstances = [];
|
|
5835
5839
|
}
|
|
5836
|
-
if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
5840
|
+
else if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
5837
5841
|
contents.DBInstances = deserializeAws_queryDBInstanceList((0, smithy_client_1.getArrayIfSingleItem)(output["DBInstances"]["DBInstance"]), context);
|
|
5838
5842
|
}
|
|
5839
5843
|
return contents;
|
|
@@ -5956,7 +5960,7 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
|
|
|
5956
5960
|
if (output.Subnets === "") {
|
|
5957
5961
|
contents.Subnets = [];
|
|
5958
5962
|
}
|
|
5959
|
-
if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
5963
|
+
else if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
5960
5964
|
contents.Subnets = deserializeAws_querySubnetList((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["Subnet"]), context);
|
|
5961
5965
|
}
|
|
5962
5966
|
if (output["DBSubnetGroupArn"] !== undefined) {
|
|
@@ -5993,7 +5997,7 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
|
|
|
5993
5997
|
if (output.DBSubnetGroups === "") {
|
|
5994
5998
|
contents.DBSubnetGroups = [];
|
|
5995
5999
|
}
|
|
5996
|
-
if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
6000
|
+
else if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
5997
6001
|
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups((0, smithy_client_1.getArrayIfSingleItem)(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
|
|
5998
6002
|
}
|
|
5999
6003
|
return contents;
|
|
@@ -6139,7 +6143,7 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
|
|
|
6139
6143
|
if (output.Parameters === "") {
|
|
6140
6144
|
contents.Parameters = [];
|
|
6141
6145
|
}
|
|
6142
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
6146
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
6143
6147
|
contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
|
|
6144
6148
|
}
|
|
6145
6149
|
return contents;
|
|
@@ -6165,7 +6169,7 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
6165
6169
|
if (output.EventCategories === "") {
|
|
6166
6170
|
contents.EventCategories = [];
|
|
6167
6171
|
}
|
|
6168
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
6172
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
6169
6173
|
contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
|
|
6170
6174
|
}
|
|
6171
6175
|
if (output["Date"] !== undefined) {
|
|
@@ -6197,7 +6201,7 @@ const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
|
6197
6201
|
if (output.EventCategories === "") {
|
|
6198
6202
|
contents.EventCategories = [];
|
|
6199
6203
|
}
|
|
6200
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
6204
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
6201
6205
|
contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
|
|
6202
6206
|
}
|
|
6203
6207
|
return contents;
|
|
@@ -6219,7 +6223,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
|
|
|
6219
6223
|
if (output.EventCategoriesMapList === "") {
|
|
6220
6224
|
contents.EventCategoriesMapList = [];
|
|
6221
6225
|
}
|
|
6222
|
-
if (output["EventCategoriesMapList"] !== undefined &&
|
|
6226
|
+
else if (output["EventCategoriesMapList"] !== undefined &&
|
|
6223
6227
|
output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
|
|
6224
6228
|
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
|
|
6225
6229
|
}
|
|
@@ -6246,7 +6250,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
|
|
|
6246
6250
|
if (output.Events === "") {
|
|
6247
6251
|
contents.Events = [];
|
|
6248
6252
|
}
|
|
6249
|
-
if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
6253
|
+
else if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
6250
6254
|
contents.Events = deserializeAws_queryEventList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["Event"]), context);
|
|
6251
6255
|
}
|
|
6252
6256
|
return contents;
|
|
@@ -6285,13 +6289,14 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
6285
6289
|
if (output.SourceIdsList === "") {
|
|
6286
6290
|
contents.SourceIdsList = [];
|
|
6287
6291
|
}
|
|
6288
|
-
if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
6292
|
+
else if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
6289
6293
|
contents.SourceIdsList = deserializeAws_querySourceIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["SourceIdsList"]["SourceId"]), context);
|
|
6290
6294
|
}
|
|
6291
6295
|
if (output.EventCategoriesList === "") {
|
|
6292
6296
|
contents.EventCategoriesList = [];
|
|
6293
6297
|
}
|
|
6294
|
-
if (output["EventCategoriesList"] !== undefined &&
|
|
6298
|
+
else if (output["EventCategoriesList"] !== undefined &&
|
|
6299
|
+
output["EventCategoriesList"]["EventCategory"] !== undefined) {
|
|
6295
6300
|
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesList"]["EventCategory"]), context);
|
|
6296
6301
|
}
|
|
6297
6302
|
if (output["Enabled"] !== undefined) {
|
|
@@ -6332,7 +6337,7 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
|
|
|
6332
6337
|
if (output.EventSubscriptionsList === "") {
|
|
6333
6338
|
contents.EventSubscriptionsList = [];
|
|
6334
6339
|
}
|
|
6335
|
-
if (output["EventSubscriptionsList"] !== undefined &&
|
|
6340
|
+
else if (output["EventSubscriptionsList"] !== undefined &&
|
|
6336
6341
|
output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
|
|
6337
6342
|
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["EventSubscriptionsList"]["EventSubscription"]), context);
|
|
6338
6343
|
}
|
|
@@ -6390,7 +6395,7 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
|
|
|
6390
6395
|
if (output.GlobalClusterMembers === "") {
|
|
6391
6396
|
contents.GlobalClusterMembers = [];
|
|
6392
6397
|
}
|
|
6393
|
-
if (output["GlobalClusterMembers"] !== undefined &&
|
|
6398
|
+
else if (output["GlobalClusterMembers"] !== undefined &&
|
|
6394
6399
|
output["GlobalClusterMembers"]["GlobalClusterMember"] !== undefined) {
|
|
6395
6400
|
contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
|
|
6396
6401
|
}
|
|
@@ -6427,7 +6432,7 @@ const deserializeAws_queryGlobalClusterMember = (output, context) => {
|
|
|
6427
6432
|
if (output.Readers === "") {
|
|
6428
6433
|
contents.Readers = [];
|
|
6429
6434
|
}
|
|
6430
|
-
if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
|
|
6435
|
+
else if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
|
|
6431
6436
|
contents.Readers = deserializeAws_queryReadersArnList((0, smithy_client_1.getArrayIfSingleItem)(output["Readers"]["member"]), context);
|
|
6432
6437
|
}
|
|
6433
6438
|
if (output["IsWriter"] !== undefined) {
|
|
@@ -6474,7 +6479,7 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
|
|
|
6474
6479
|
if (output.GlobalClusters === "") {
|
|
6475
6480
|
contents.GlobalClusters = [];
|
|
6476
6481
|
}
|
|
6477
|
-
if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
|
|
6482
|
+
else if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
|
|
6478
6483
|
contents.GlobalClusters = deserializeAws_queryGlobalClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["GlobalClusters"]["GlobalClusterMember"]), context);
|
|
6479
6484
|
}
|
|
6480
6485
|
return contents;
|
|
@@ -6729,7 +6734,8 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
6729
6734
|
if (output.AvailabilityZones === "") {
|
|
6730
6735
|
contents.AvailabilityZones = [];
|
|
6731
6736
|
}
|
|
6732
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
6737
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
6738
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
6733
6739
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6734
6740
|
}
|
|
6735
6741
|
if (output["Vpc"] !== undefined) {
|
|
@@ -6755,7 +6761,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
|
|
|
6755
6761
|
if (output.OrderableDBInstanceOptions === "") {
|
|
6756
6762
|
contents.OrderableDBInstanceOptions = [];
|
|
6757
6763
|
}
|
|
6758
|
-
if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
6764
|
+
else if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
6759
6765
|
output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
|
|
6760
6766
|
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
|
|
6761
6767
|
}
|
|
@@ -6827,13 +6833,13 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
|
|
|
6827
6833
|
if (output.LogTypesToEnable === "") {
|
|
6828
6834
|
contents.LogTypesToEnable = [];
|
|
6829
6835
|
}
|
|
6830
|
-
if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
6836
|
+
else if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
6831
6837
|
contents.LogTypesToEnable = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["LogTypesToEnable"]["member"]), context);
|
|
6832
6838
|
}
|
|
6833
6839
|
if (output.LogTypesToDisable === "") {
|
|
6834
6840
|
contents.LogTypesToDisable = [];
|
|
6835
6841
|
}
|
|
6836
|
-
if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
6842
|
+
else if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
6837
6843
|
contents.LogTypesToDisable = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["LogTypesToDisable"]["member"]), context);
|
|
6838
6844
|
}
|
|
6839
6845
|
return contents;
|
|
@@ -6895,7 +6901,7 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
|
|
|
6895
6901
|
if (output.PendingMaintenanceActions === "") {
|
|
6896
6902
|
contents.PendingMaintenanceActions = [];
|
|
6897
6903
|
}
|
|
6898
|
-
if (output["PendingMaintenanceActions"] !== undefined &&
|
|
6904
|
+
else if (output["PendingMaintenanceActions"] !== undefined &&
|
|
6899
6905
|
output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
|
|
6900
6906
|
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions((0, smithy_client_1.getArrayIfSingleItem)(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
|
|
6901
6907
|
}
|
|
@@ -7032,7 +7038,7 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
|
|
|
7032
7038
|
if (output.PendingMaintenanceActionDetails === "") {
|
|
7033
7039
|
contents.PendingMaintenanceActionDetails = [];
|
|
7034
7040
|
}
|
|
7035
|
-
if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
7041
|
+
else if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
7036
7042
|
output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
|
|
7037
7043
|
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails((0, smithy_client_1.getArrayIfSingleItem)(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
|
|
7038
7044
|
}
|
|
@@ -7249,7 +7255,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
|
|
|
7249
7255
|
if (output.TagList === "") {
|
|
7250
7256
|
contents.TagList = [];
|
|
7251
7257
|
}
|
|
7252
|
-
if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
7258
|
+
else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
7253
7259
|
contents.TagList = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
|
|
7254
7260
|
}
|
|
7255
7261
|
return contents;
|
|
@@ -5932,7 +5932,7 @@ var deserializeAws_queryCertificateMessage = function (output, context) {
|
|
|
5932
5932
|
if (output.Certificates === "") {
|
|
5933
5933
|
contents.Certificates = [];
|
|
5934
5934
|
}
|
|
5935
|
-
if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
|
|
5935
|
+
else if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
|
|
5936
5936
|
contents.Certificates = deserializeAws_queryCertificateList(__getArrayIfSingleItem(output["Certificates"]["Certificate"]), context);
|
|
5937
5937
|
}
|
|
5938
5938
|
if (output["Marker"] !== undefined) {
|
|
@@ -6067,7 +6067,8 @@ var deserializeAws_queryDBCluster = function (output, context) {
|
|
|
6067
6067
|
if (output.AvailabilityZones === "") {
|
|
6068
6068
|
contents.AvailabilityZones = [];
|
|
6069
6069
|
}
|
|
6070
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
6070
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
6071
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
6071
6072
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6072
6073
|
}
|
|
6073
6074
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
@@ -6127,20 +6128,20 @@ var deserializeAws_queryDBCluster = function (output, context) {
|
|
|
6127
6128
|
if (output.ReadReplicaIdentifiers === "") {
|
|
6128
6129
|
contents.ReadReplicaIdentifiers = [];
|
|
6129
6130
|
}
|
|
6130
|
-
if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
6131
|
+
else if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
6131
6132
|
output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
|
|
6132
6133
|
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(__getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
|
|
6133
6134
|
}
|
|
6134
6135
|
if (output.DBClusterMembers === "") {
|
|
6135
6136
|
contents.DBClusterMembers = [];
|
|
6136
6137
|
}
|
|
6137
|
-
if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
6138
|
+
else if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
6138
6139
|
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(__getArrayIfSingleItem(output["DBClusterMembers"]["DBClusterMember"]), context);
|
|
6139
6140
|
}
|
|
6140
6141
|
if (output.VpcSecurityGroups === "") {
|
|
6141
6142
|
contents.VpcSecurityGroups = [];
|
|
6142
6143
|
}
|
|
6143
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
6144
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
6144
6145
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
6145
6146
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(__getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
6146
6147
|
}
|
|
@@ -6162,7 +6163,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
|
|
|
6162
6163
|
if (output.AssociatedRoles === "") {
|
|
6163
6164
|
contents.AssociatedRoles = [];
|
|
6164
6165
|
}
|
|
6165
|
-
if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
6166
|
+
else if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
6166
6167
|
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(__getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
|
|
6167
6168
|
}
|
|
6168
6169
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
@@ -6171,7 +6172,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
|
|
|
6171
6172
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
6172
6173
|
contents.EnabledCloudwatchLogsExports = [];
|
|
6173
6174
|
}
|
|
6174
|
-
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
6175
|
+
else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
6175
6176
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
6176
6177
|
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
6177
6178
|
}
|
|
@@ -6241,7 +6242,7 @@ var deserializeAws_queryDBClusterMessage = function (output, context) {
|
|
|
6241
6242
|
if (output.DBClusters === "") {
|
|
6242
6243
|
contents.DBClusters = [];
|
|
6243
6244
|
}
|
|
6244
|
-
if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
6245
|
+
else if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
6245
6246
|
contents.DBClusters = deserializeAws_queryDBClusterList(__getArrayIfSingleItem(output["DBClusters"]["DBCluster"]), context);
|
|
6246
6247
|
}
|
|
6247
6248
|
return contents;
|
|
@@ -6284,7 +6285,7 @@ var deserializeAws_queryDBClusterParameterGroupDetails = function (output, conte
|
|
|
6284
6285
|
if (output.Parameters === "") {
|
|
6285
6286
|
contents.Parameters = [];
|
|
6286
6287
|
}
|
|
6287
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
6288
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
6288
6289
|
contents.Parameters = deserializeAws_queryParametersList(__getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
6289
6290
|
}
|
|
6290
6291
|
if (output["Marker"] !== undefined) {
|
|
@@ -6331,7 +6332,7 @@ var deserializeAws_queryDBClusterParameterGroupsMessage = function (output, cont
|
|
|
6331
6332
|
if (output.DBClusterParameterGroups === "") {
|
|
6332
6333
|
contents.DBClusterParameterGroups = [];
|
|
6333
6334
|
}
|
|
6334
|
-
if (output["DBClusterParameterGroups"] !== undefined &&
|
|
6335
|
+
else if (output["DBClusterParameterGroups"] !== undefined &&
|
|
6335
6336
|
output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
|
|
6336
6337
|
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(__getArrayIfSingleItem(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
|
|
6337
6338
|
}
|
|
@@ -6392,7 +6393,8 @@ var deserializeAws_queryDBClusterSnapshot = function (output, context) {
|
|
|
6392
6393
|
if (output.AvailabilityZones === "") {
|
|
6393
6394
|
contents.AvailabilityZones = [];
|
|
6394
6395
|
}
|
|
6395
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
6396
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
6397
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
6396
6398
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6397
6399
|
}
|
|
6398
6400
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
@@ -6465,7 +6467,7 @@ var deserializeAws_queryDBClusterSnapshotAttribute = function (output, context)
|
|
|
6465
6467
|
if (output.AttributeValues === "") {
|
|
6466
6468
|
contents.AttributeValues = [];
|
|
6467
6469
|
}
|
|
6468
|
-
if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
6470
|
+
else if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
6469
6471
|
contents.AttributeValues = deserializeAws_queryAttributeValueList(__getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
|
|
6470
6472
|
}
|
|
6471
6473
|
return contents;
|
|
@@ -6491,7 +6493,7 @@ var deserializeAws_queryDBClusterSnapshotAttributesResult = function (output, co
|
|
|
6491
6493
|
if (output.DBClusterSnapshotAttributes === "") {
|
|
6492
6494
|
contents.DBClusterSnapshotAttributes = [];
|
|
6493
6495
|
}
|
|
6494
|
-
if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
6496
|
+
else if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
6495
6497
|
output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
|
|
6496
6498
|
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(__getArrayIfSingleItem(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
|
|
6497
6499
|
}
|
|
@@ -6518,7 +6520,8 @@ var deserializeAws_queryDBClusterSnapshotMessage = function (output, context) {
|
|
|
6518
6520
|
if (output.DBClusterSnapshots === "") {
|
|
6519
6521
|
contents.DBClusterSnapshots = [];
|
|
6520
6522
|
}
|
|
6521
|
-
if (output["DBClusterSnapshots"] !== undefined &&
|
|
6523
|
+
else if (output["DBClusterSnapshots"] !== undefined &&
|
|
6524
|
+
output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
|
|
6522
6525
|
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(__getArrayIfSingleItem(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
|
|
6523
6526
|
}
|
|
6524
6527
|
return contents;
|
|
@@ -6561,13 +6564,14 @@ var deserializeAws_queryDBEngineVersion = function (output, context) {
|
|
|
6561
6564
|
if (output.ValidUpgradeTarget === "") {
|
|
6562
6565
|
contents.ValidUpgradeTarget = [];
|
|
6563
6566
|
}
|
|
6564
|
-
if (output["ValidUpgradeTarget"] !== undefined &&
|
|
6567
|
+
else if (output["ValidUpgradeTarget"] !== undefined &&
|
|
6568
|
+
output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
|
|
6565
6569
|
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(__getArrayIfSingleItem(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
|
|
6566
6570
|
}
|
|
6567
6571
|
if (output.ExportableLogTypes === "") {
|
|
6568
6572
|
contents.ExportableLogTypes = [];
|
|
6569
6573
|
}
|
|
6570
|
-
if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
6574
|
+
else if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
6571
6575
|
contents.ExportableLogTypes = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["ExportableLogTypes"]["member"]), context);
|
|
6572
6576
|
}
|
|
6573
6577
|
if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
|
|
@@ -6596,7 +6600,7 @@ var deserializeAws_queryDBEngineVersionMessage = function (output, context) {
|
|
|
6596
6600
|
if (output.DBEngineVersions === "") {
|
|
6597
6601
|
contents.DBEngineVersions = [];
|
|
6598
6602
|
}
|
|
6599
|
-
if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
6603
|
+
else if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
6600
6604
|
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(__getArrayIfSingleItem(output["DBEngineVersions"]["DBEngineVersion"]), context);
|
|
6601
6605
|
}
|
|
6602
6606
|
return contents;
|
|
@@ -6657,7 +6661,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
|
|
|
6657
6661
|
if (output.VpcSecurityGroups === "") {
|
|
6658
6662
|
contents.VpcSecurityGroups = [];
|
|
6659
6663
|
}
|
|
6660
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
6664
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
6661
6665
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
6662
6666
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(__getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
6663
6667
|
}
|
|
@@ -6688,7 +6692,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
|
|
|
6688
6692
|
if (output.StatusInfos === "") {
|
|
6689
6693
|
contents.StatusInfos = [];
|
|
6690
6694
|
}
|
|
6691
|
-
if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
6695
|
+
else if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
6692
6696
|
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(__getArrayIfSingleItem(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
|
|
6693
6697
|
}
|
|
6694
6698
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
@@ -6715,7 +6719,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
|
|
|
6715
6719
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
6716
6720
|
contents.EnabledCloudwatchLogsExports = [];
|
|
6717
6721
|
}
|
|
6718
|
-
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
6722
|
+
else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
6719
6723
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
6720
6724
|
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
6721
6725
|
}
|
|
@@ -6751,7 +6755,7 @@ var deserializeAws_queryDBInstanceMessage = function (output, context) {
|
|
|
6751
6755
|
if (output.DBInstances === "") {
|
|
6752
6756
|
contents.DBInstances = [];
|
|
6753
6757
|
}
|
|
6754
|
-
if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
6758
|
+
else if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
6755
6759
|
contents.DBInstances = deserializeAws_queryDBInstanceList(__getArrayIfSingleItem(output["DBInstances"]["DBInstance"]), context);
|
|
6756
6760
|
}
|
|
6757
6761
|
return contents;
|
|
@@ -6874,7 +6878,7 @@ var deserializeAws_queryDBSubnetGroup = function (output, context) {
|
|
|
6874
6878
|
if (output.Subnets === "") {
|
|
6875
6879
|
contents.Subnets = [];
|
|
6876
6880
|
}
|
|
6877
|
-
if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
6881
|
+
else if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
6878
6882
|
contents.Subnets = deserializeAws_querySubnetList(__getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
|
|
6879
6883
|
}
|
|
6880
6884
|
if (output["DBSubnetGroupArn"] !== undefined) {
|
|
@@ -6911,7 +6915,7 @@ var deserializeAws_queryDBSubnetGroupMessage = function (output, context) {
|
|
|
6911
6915
|
if (output.DBSubnetGroups === "") {
|
|
6912
6916
|
contents.DBSubnetGroups = [];
|
|
6913
6917
|
}
|
|
6914
|
-
if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
6918
|
+
else if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
6915
6919
|
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(__getArrayIfSingleItem(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
|
|
6916
6920
|
}
|
|
6917
6921
|
return contents;
|
|
@@ -7057,7 +7061,7 @@ var deserializeAws_queryEngineDefaults = function (output, context) {
|
|
|
7057
7061
|
if (output.Parameters === "") {
|
|
7058
7062
|
contents.Parameters = [];
|
|
7059
7063
|
}
|
|
7060
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
7064
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
7061
7065
|
contents.Parameters = deserializeAws_queryParametersList(__getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
7062
7066
|
}
|
|
7063
7067
|
return contents;
|
|
@@ -7083,7 +7087,7 @@ var deserializeAws_queryEvent = function (output, context) {
|
|
|
7083
7087
|
if (output.EventCategories === "") {
|
|
7084
7088
|
contents.EventCategories = [];
|
|
7085
7089
|
}
|
|
7086
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7090
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7087
7091
|
contents.EventCategories = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
7088
7092
|
}
|
|
7089
7093
|
if (output["Date"] !== undefined) {
|
|
@@ -7115,7 +7119,7 @@ var deserializeAws_queryEventCategoriesMap = function (output, context) {
|
|
|
7115
7119
|
if (output.EventCategories === "") {
|
|
7116
7120
|
contents.EventCategories = [];
|
|
7117
7121
|
}
|
|
7118
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7122
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7119
7123
|
contents.EventCategories = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
7120
7124
|
}
|
|
7121
7125
|
return contents;
|
|
@@ -7137,7 +7141,7 @@ var deserializeAws_queryEventCategoriesMessage = function (output, context) {
|
|
|
7137
7141
|
if (output.EventCategoriesMapList === "") {
|
|
7138
7142
|
contents.EventCategoriesMapList = [];
|
|
7139
7143
|
}
|
|
7140
|
-
if (output["EventCategoriesMapList"] !== undefined &&
|
|
7144
|
+
else if (output["EventCategoriesMapList"] !== undefined &&
|
|
7141
7145
|
output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
|
|
7142
7146
|
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(__getArrayIfSingleItem(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
|
|
7143
7147
|
}
|
|
@@ -7164,7 +7168,7 @@ var deserializeAws_queryEventsMessage = function (output, context) {
|
|
|
7164
7168
|
if (output.Events === "") {
|
|
7165
7169
|
contents.Events = [];
|
|
7166
7170
|
}
|
|
7167
|
-
if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
7171
|
+
else if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
7168
7172
|
contents.Events = deserializeAws_queryEventList(__getArrayIfSingleItem(output["Events"]["Event"]), context);
|
|
7169
7173
|
}
|
|
7170
7174
|
return contents;
|
|
@@ -7203,13 +7207,14 @@ var deserializeAws_queryEventSubscription = function (output, context) {
|
|
|
7203
7207
|
if (output.SourceIdsList === "") {
|
|
7204
7208
|
contents.SourceIdsList = [];
|
|
7205
7209
|
}
|
|
7206
|
-
if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
7210
|
+
else if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
7207
7211
|
contents.SourceIdsList = deserializeAws_querySourceIdsList(__getArrayIfSingleItem(output["SourceIdsList"]["SourceId"]), context);
|
|
7208
7212
|
}
|
|
7209
7213
|
if (output.EventCategoriesList === "") {
|
|
7210
7214
|
contents.EventCategoriesList = [];
|
|
7211
7215
|
}
|
|
7212
|
-
if (output["EventCategoriesList"] !== undefined &&
|
|
7216
|
+
else if (output["EventCategoriesList"] !== undefined &&
|
|
7217
|
+
output["EventCategoriesList"]["EventCategory"] !== undefined) {
|
|
7213
7218
|
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategoriesList"]["EventCategory"]), context);
|
|
7214
7219
|
}
|
|
7215
7220
|
if (output["Enabled"] !== undefined) {
|
|
@@ -7250,7 +7255,7 @@ var deserializeAws_queryEventSubscriptionsMessage = function (output, context) {
|
|
|
7250
7255
|
if (output.EventSubscriptionsList === "") {
|
|
7251
7256
|
contents.EventSubscriptionsList = [];
|
|
7252
7257
|
}
|
|
7253
|
-
if (output["EventSubscriptionsList"] !== undefined &&
|
|
7258
|
+
else if (output["EventSubscriptionsList"] !== undefined &&
|
|
7254
7259
|
output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
|
|
7255
7260
|
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(__getArrayIfSingleItem(output["EventSubscriptionsList"]["EventSubscription"]), context);
|
|
7256
7261
|
}
|
|
@@ -7308,7 +7313,7 @@ var deserializeAws_queryGlobalCluster = function (output, context) {
|
|
|
7308
7313
|
if (output.GlobalClusterMembers === "") {
|
|
7309
7314
|
contents.GlobalClusterMembers = [];
|
|
7310
7315
|
}
|
|
7311
|
-
if (output["GlobalClusterMembers"] !== undefined &&
|
|
7316
|
+
else if (output["GlobalClusterMembers"] !== undefined &&
|
|
7312
7317
|
output["GlobalClusterMembers"]["GlobalClusterMember"] !== undefined) {
|
|
7313
7318
|
contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList(__getArrayIfSingleItem(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
|
|
7314
7319
|
}
|
|
@@ -7345,7 +7350,7 @@ var deserializeAws_queryGlobalClusterMember = function (output, context) {
|
|
|
7345
7350
|
if (output.Readers === "") {
|
|
7346
7351
|
contents.Readers = [];
|
|
7347
7352
|
}
|
|
7348
|
-
if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
|
|
7353
|
+
else if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
|
|
7349
7354
|
contents.Readers = deserializeAws_queryReadersArnList(__getArrayIfSingleItem(output["Readers"]["member"]), context);
|
|
7350
7355
|
}
|
|
7351
7356
|
if (output["IsWriter"] !== undefined) {
|
|
@@ -7392,7 +7397,7 @@ var deserializeAws_queryGlobalClustersMessage = function (output, context) {
|
|
|
7392
7397
|
if (output.GlobalClusters === "") {
|
|
7393
7398
|
contents.GlobalClusters = [];
|
|
7394
7399
|
}
|
|
7395
|
-
if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
|
|
7400
|
+
else if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
|
|
7396
7401
|
contents.GlobalClusters = deserializeAws_queryGlobalClusterList(__getArrayIfSingleItem(output["GlobalClusters"]["GlobalClusterMember"]), context);
|
|
7397
7402
|
}
|
|
7398
7403
|
return contents;
|
|
@@ -7647,7 +7652,8 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
|
|
|
7647
7652
|
if (output.AvailabilityZones === "") {
|
|
7648
7653
|
contents.AvailabilityZones = [];
|
|
7649
7654
|
}
|
|
7650
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
7655
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
7656
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
7651
7657
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
7652
7658
|
}
|
|
7653
7659
|
if (output["Vpc"] !== undefined) {
|
|
@@ -7673,7 +7679,7 @@ var deserializeAws_queryOrderableDBInstanceOptionsMessage = function (output, co
|
|
|
7673
7679
|
if (output.OrderableDBInstanceOptions === "") {
|
|
7674
7680
|
contents.OrderableDBInstanceOptions = [];
|
|
7675
7681
|
}
|
|
7676
|
-
if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
7682
|
+
else if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
7677
7683
|
output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
|
|
7678
7684
|
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(__getArrayIfSingleItem(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
|
|
7679
7685
|
}
|
|
@@ -7745,13 +7751,13 @@ var deserializeAws_queryPendingCloudwatchLogsExports = function (output, context
|
|
|
7745
7751
|
if (output.LogTypesToEnable === "") {
|
|
7746
7752
|
contents.LogTypesToEnable = [];
|
|
7747
7753
|
}
|
|
7748
|
-
if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
7754
|
+
else if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
7749
7755
|
contents.LogTypesToEnable = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["LogTypesToEnable"]["member"]), context);
|
|
7750
7756
|
}
|
|
7751
7757
|
if (output.LogTypesToDisable === "") {
|
|
7752
7758
|
contents.LogTypesToDisable = [];
|
|
7753
7759
|
}
|
|
7754
|
-
if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
7760
|
+
else if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
7755
7761
|
contents.LogTypesToDisable = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["LogTypesToDisable"]["member"]), context);
|
|
7756
7762
|
}
|
|
7757
7763
|
return contents;
|
|
@@ -7813,7 +7819,7 @@ var deserializeAws_queryPendingMaintenanceActionsMessage = function (output, con
|
|
|
7813
7819
|
if (output.PendingMaintenanceActions === "") {
|
|
7814
7820
|
contents.PendingMaintenanceActions = [];
|
|
7815
7821
|
}
|
|
7816
|
-
if (output["PendingMaintenanceActions"] !== undefined &&
|
|
7822
|
+
else if (output["PendingMaintenanceActions"] !== undefined &&
|
|
7817
7823
|
output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
|
|
7818
7824
|
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(__getArrayIfSingleItem(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
|
|
7819
7825
|
}
|
|
@@ -7950,7 +7956,7 @@ var deserializeAws_queryResourcePendingMaintenanceActions = function (output, co
|
|
|
7950
7956
|
if (output.PendingMaintenanceActionDetails === "") {
|
|
7951
7957
|
contents.PendingMaintenanceActionDetails = [];
|
|
7952
7958
|
}
|
|
7953
|
-
if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
7959
|
+
else if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
7954
7960
|
output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
|
|
7955
7961
|
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(__getArrayIfSingleItem(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
|
|
7956
7962
|
}
|
|
@@ -8167,7 +8173,7 @@ var deserializeAws_queryTagListMessage = function (output, context) {
|
|
|
8167
8173
|
if (output.TagList === "") {
|
|
8168
8174
|
contents.TagList = [];
|
|
8169
8175
|
}
|
|
8170
|
-
if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
8176
|
+
else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
8171
8177
|
contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
|
|
8172
8178
|
}
|
|
8173
8179
|
return contents;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.107.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",
|