@aws-sdk/client-rds 3.105.0 → 3.110.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.
@@ -15398,7 +15398,7 @@ var deserializeAws_queryAccountAttributesMessage = function (output, context) {
15398
15398
  if (output.AccountQuotas === "") {
15399
15399
  contents.AccountQuotas = [];
15400
15400
  }
15401
- if (output["AccountQuotas"] !== undefined && output["AccountQuotas"]["AccountQuota"] !== undefined) {
15401
+ else if (output["AccountQuotas"] !== undefined && output["AccountQuotas"]["AccountQuota"] !== undefined) {
15402
15402
  contents.AccountQuotas = deserializeAws_queryAccountQuotaList(__getArrayIfSingleItem(output["AccountQuotas"]["AccountQuota"]), context);
15403
15403
  }
15404
15404
  return contents;
@@ -15624,7 +15624,7 @@ var deserializeAws_queryCertificateMessage = function (output, context) {
15624
15624
  if (output.Certificates === "") {
15625
15625
  contents.Certificates = [];
15626
15626
  }
15627
- if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
15627
+ else if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
15628
15628
  contents.Certificates = deserializeAws_queryCertificateList(__getArrayIfSingleItem(output["Certificates"]["Certificate"]), context);
15629
15629
  }
15630
15630
  if (output["Marker"] !== undefined) {
@@ -15699,7 +15699,7 @@ var deserializeAws_queryConnectionPoolConfigurationInfo = function (output, cont
15699
15699
  if (output.SessionPinningFilters === "") {
15700
15700
  contents.SessionPinningFilters = [];
15701
15701
  }
15702
- if (output["SessionPinningFilters"] !== undefined && output["SessionPinningFilters"]["member"] !== undefined) {
15702
+ else if (output["SessionPinningFilters"] !== undefined && output["SessionPinningFilters"]["member"] !== undefined) {
15703
15703
  contents.SessionPinningFilters = deserializeAws_queryStringList(__getArrayIfSingleItem(output["SessionPinningFilters"]["member"]), context);
15704
15704
  }
15705
15705
  if (output["InitQuery"] !== undefined) {
@@ -15991,7 +15991,8 @@ var deserializeAws_queryDBCluster = function (output, context) {
15991
15991
  if (output.AvailabilityZones === "") {
15992
15992
  contents.AvailabilityZones = [];
15993
15993
  }
15994
- if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
15994
+ else if (output["AvailabilityZones"] !== undefined &&
15995
+ output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
15995
15996
  contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
15996
15997
  }
15997
15998
  if (output["BackupRetentionPeriod"] !== undefined) {
@@ -16033,7 +16034,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16033
16034
  if (output.CustomEndpoints === "") {
16034
16035
  contents.CustomEndpoints = [];
16035
16036
  }
16036
- if (output["CustomEndpoints"] !== undefined && output["CustomEndpoints"]["member"] !== undefined) {
16037
+ else if (output["CustomEndpoints"] !== undefined && output["CustomEndpoints"]["member"] !== undefined) {
16037
16038
  contents.CustomEndpoints = deserializeAws_queryStringList(__getArrayIfSingleItem(output["CustomEndpoints"]["member"]), context);
16038
16039
  }
16039
16040
  if (output["MultiAZ"] !== undefined) {
@@ -16057,7 +16058,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16057
16058
  if (output.DBClusterOptionGroupMemberships === "") {
16058
16059
  contents.DBClusterOptionGroupMemberships = [];
16059
16060
  }
16060
- if (output["DBClusterOptionGroupMemberships"] !== undefined &&
16061
+ else if (output["DBClusterOptionGroupMemberships"] !== undefined &&
16061
16062
  output["DBClusterOptionGroupMemberships"]["DBClusterOptionGroup"] !== undefined) {
16062
16063
  contents.DBClusterOptionGroupMemberships = deserializeAws_queryDBClusterOptionGroupMemberships(__getArrayIfSingleItem(output["DBClusterOptionGroupMemberships"]["DBClusterOptionGroup"]), context);
16063
16064
  }
@@ -16073,20 +16074,20 @@ var deserializeAws_queryDBCluster = function (output, context) {
16073
16074
  if (output.ReadReplicaIdentifiers === "") {
16074
16075
  contents.ReadReplicaIdentifiers = [];
16075
16076
  }
16076
- if (output["ReadReplicaIdentifiers"] !== undefined &&
16077
+ else if (output["ReadReplicaIdentifiers"] !== undefined &&
16077
16078
  output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
16078
16079
  contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(__getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
16079
16080
  }
16080
16081
  if (output.DBClusterMembers === "") {
16081
16082
  contents.DBClusterMembers = [];
16082
16083
  }
16083
- if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
16084
+ else if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
16084
16085
  contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(__getArrayIfSingleItem(output["DBClusterMembers"]["DBClusterMember"]), context);
16085
16086
  }
16086
16087
  if (output.VpcSecurityGroups === "") {
16087
16088
  contents.VpcSecurityGroups = [];
16088
16089
  }
16089
- if (output["VpcSecurityGroups"] !== undefined &&
16090
+ else if (output["VpcSecurityGroups"] !== undefined &&
16090
16091
  output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
16091
16092
  contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(__getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
16092
16093
  }
@@ -16108,7 +16109,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16108
16109
  if (output.AssociatedRoles === "") {
16109
16110
  contents.AssociatedRoles = [];
16110
16111
  }
16111
- if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
16112
+ else if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
16112
16113
  contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(__getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
16113
16114
  }
16114
16115
  if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
@@ -16132,7 +16133,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16132
16133
  if (output.EnabledCloudwatchLogsExports === "") {
16133
16134
  contents.EnabledCloudwatchLogsExports = [];
16134
16135
  }
16135
- if (output["EnabledCloudwatchLogsExports"] !== undefined &&
16136
+ else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
16136
16137
  output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
16137
16138
  contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
16138
16139
  }
@@ -16172,13 +16173,14 @@ var deserializeAws_queryDBCluster = function (output, context) {
16172
16173
  if (output.DomainMemberships === "") {
16173
16174
  contents.DomainMemberships = [];
16174
16175
  }
16175
- if (output["DomainMemberships"] !== undefined && output["DomainMemberships"]["DomainMembership"] !== undefined) {
16176
+ else if (output["DomainMemberships"] !== undefined &&
16177
+ output["DomainMemberships"]["DomainMembership"] !== undefined) {
16176
16178
  contents.DomainMemberships = deserializeAws_queryDomainMembershipList(__getArrayIfSingleItem(output["DomainMemberships"]["DomainMembership"]), context);
16177
16179
  }
16178
16180
  if (output.TagList === "") {
16179
16181
  contents.TagList = [];
16180
16182
  }
16181
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16183
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16182
16184
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
16183
16185
  }
16184
16186
  if (output["GlobalWriteForwardingStatus"] !== undefined) {
@@ -16284,7 +16286,7 @@ var deserializeAws_queryDBClusterBacktrackMessage = function (output, context) {
16284
16286
  if (output.DBClusterBacktracks === "") {
16285
16287
  contents.DBClusterBacktracks = [];
16286
16288
  }
16287
- if (output["DBClusterBacktracks"] !== undefined &&
16289
+ else if (output["DBClusterBacktracks"] !== undefined &&
16288
16290
  output["DBClusterBacktracks"]["DBClusterBacktrack"] !== undefined) {
16289
16291
  contents.DBClusterBacktracks = deserializeAws_queryDBClusterBacktrackList(__getArrayIfSingleItem(output["DBClusterBacktracks"]["DBClusterBacktrack"]), context);
16290
16292
  }
@@ -16361,13 +16363,13 @@ var deserializeAws_queryDBClusterEndpoint = function (output, context) {
16361
16363
  if (output.StaticMembers === "") {
16362
16364
  contents.StaticMembers = [];
16363
16365
  }
16364
- if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
16366
+ else if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
16365
16367
  contents.StaticMembers = deserializeAws_queryStringList(__getArrayIfSingleItem(output["StaticMembers"]["member"]), context);
16366
16368
  }
16367
16369
  if (output.ExcludedMembers === "") {
16368
16370
  contents.ExcludedMembers = [];
16369
16371
  }
16370
- if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
16372
+ else if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
16371
16373
  contents.ExcludedMembers = deserializeAws_queryStringList(__getArrayIfSingleItem(output["ExcludedMembers"]["member"]), context);
16372
16374
  }
16373
16375
  if (output["DBClusterEndpointArn"] !== undefined) {
@@ -16405,7 +16407,7 @@ var deserializeAws_queryDBClusterEndpointMessage = function (output, context) {
16405
16407
  if (output.DBClusterEndpoints === "") {
16406
16408
  contents.DBClusterEndpoints = [];
16407
16409
  }
16408
- if (output["DBClusterEndpoints"] !== undefined &&
16410
+ else if (output["DBClusterEndpoints"] !== undefined &&
16409
16411
  output["DBClusterEndpoints"]["DBClusterEndpointList"] !== undefined) {
16410
16412
  contents.DBClusterEndpoints = deserializeAws_queryDBClusterEndpointList(__getArrayIfSingleItem(output["DBClusterEndpoints"]["DBClusterEndpointList"]), context);
16411
16413
  }
@@ -16481,7 +16483,7 @@ var deserializeAws_queryDBClusterMessage = function (output, context) {
16481
16483
  if (output.DBClusters === "") {
16482
16484
  contents.DBClusters = [];
16483
16485
  }
16484
- if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
16486
+ else if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
16485
16487
  contents.DBClusters = deserializeAws_queryDBClusterList(__getArrayIfSingleItem(output["DBClusters"]["DBCluster"]), context);
16486
16488
  }
16487
16489
  return contents;
@@ -16547,7 +16549,7 @@ var deserializeAws_queryDBClusterParameterGroupDetails = function (output, conte
16547
16549
  if (output.Parameters === "") {
16548
16550
  contents.Parameters = [];
16549
16551
  }
16550
- if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
16552
+ else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
16551
16553
  contents.Parameters = deserializeAws_queryParametersList(__getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
16552
16554
  }
16553
16555
  if (output["Marker"] !== undefined) {
@@ -16594,7 +16596,7 @@ var deserializeAws_queryDBClusterParameterGroupsMessage = function (output, cont
16594
16596
  if (output.DBClusterParameterGroups === "") {
16595
16597
  contents.DBClusterParameterGroups = [];
16596
16598
  }
16597
- if (output["DBClusterParameterGroups"] !== undefined &&
16599
+ else if (output["DBClusterParameterGroups"] !== undefined &&
16598
16600
  output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
16599
16601
  contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(__getArrayIfSingleItem(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
16600
16602
  }
@@ -16691,7 +16693,8 @@ var deserializeAws_queryDBClusterSnapshot = function (output, context) {
16691
16693
  if (output.AvailabilityZones === "") {
16692
16694
  contents.AvailabilityZones = [];
16693
16695
  }
16694
- if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
16696
+ else if (output["AvailabilityZones"] !== undefined &&
16697
+ output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
16695
16698
  contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
16696
16699
  }
16697
16700
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
@@ -16757,7 +16760,7 @@ var deserializeAws_queryDBClusterSnapshot = function (output, context) {
16757
16760
  if (output.TagList === "") {
16758
16761
  contents.TagList = [];
16759
16762
  }
16760
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16763
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16761
16764
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
16762
16765
  }
16763
16766
  return contents;
@@ -16782,7 +16785,7 @@ var deserializeAws_queryDBClusterSnapshotAttribute = function (output, context)
16782
16785
  if (output.AttributeValues === "") {
16783
16786
  contents.AttributeValues = [];
16784
16787
  }
16785
- if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
16788
+ else if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
16786
16789
  contents.AttributeValues = deserializeAws_queryAttributeValueList(__getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
16787
16790
  }
16788
16791
  return contents;
@@ -16808,7 +16811,7 @@ var deserializeAws_queryDBClusterSnapshotAttributesResult = function (output, co
16808
16811
  if (output.DBClusterSnapshotAttributes === "") {
16809
16812
  contents.DBClusterSnapshotAttributes = [];
16810
16813
  }
16811
- if (output["DBClusterSnapshotAttributes"] !== undefined &&
16814
+ else if (output["DBClusterSnapshotAttributes"] !== undefined &&
16812
16815
  output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
16813
16816
  contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(__getArrayIfSingleItem(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
16814
16817
  }
@@ -16835,7 +16838,8 @@ var deserializeAws_queryDBClusterSnapshotMessage = function (output, context) {
16835
16838
  if (output.DBClusterSnapshots === "") {
16836
16839
  contents.DBClusterSnapshots = [];
16837
16840
  }
16838
- if (output["DBClusterSnapshots"] !== undefined && output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
16841
+ else if (output["DBClusterSnapshots"] !== undefined &&
16842
+ output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
16839
16843
  contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(__getArrayIfSingleItem(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
16840
16844
  }
16841
16845
  return contents;
@@ -16899,33 +16903,34 @@ var deserializeAws_queryDBEngineVersion = function (output, context) {
16899
16903
  if (output.SupportedCharacterSets === "") {
16900
16904
  contents.SupportedCharacterSets = [];
16901
16905
  }
16902
- if (output["SupportedCharacterSets"] !== undefined &&
16906
+ else if (output["SupportedCharacterSets"] !== undefined &&
16903
16907
  output["SupportedCharacterSets"]["CharacterSet"] !== undefined) {
16904
16908
  contents.SupportedCharacterSets = deserializeAws_querySupportedCharacterSetsList(__getArrayIfSingleItem(output["SupportedCharacterSets"]["CharacterSet"]), context);
16905
16909
  }
16906
16910
  if (output.SupportedNcharCharacterSets === "") {
16907
16911
  contents.SupportedNcharCharacterSets = [];
16908
16912
  }
16909
- if (output["SupportedNcharCharacterSets"] !== undefined &&
16913
+ else if (output["SupportedNcharCharacterSets"] !== undefined &&
16910
16914
  output["SupportedNcharCharacterSets"]["CharacterSet"] !== undefined) {
16911
16915
  contents.SupportedNcharCharacterSets = deserializeAws_querySupportedCharacterSetsList(__getArrayIfSingleItem(output["SupportedNcharCharacterSets"]["CharacterSet"]), context);
16912
16916
  }
16913
16917
  if (output.ValidUpgradeTarget === "") {
16914
16918
  contents.ValidUpgradeTarget = [];
16915
16919
  }
16916
- if (output["ValidUpgradeTarget"] !== undefined && output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
16920
+ else if (output["ValidUpgradeTarget"] !== undefined &&
16921
+ output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
16917
16922
  contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(__getArrayIfSingleItem(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
16918
16923
  }
16919
16924
  if (output.SupportedTimezones === "") {
16920
16925
  contents.SupportedTimezones = [];
16921
16926
  }
16922
- if (output["SupportedTimezones"] !== undefined && output["SupportedTimezones"]["Timezone"] !== undefined) {
16927
+ else if (output["SupportedTimezones"] !== undefined && output["SupportedTimezones"]["Timezone"] !== undefined) {
16923
16928
  contents.SupportedTimezones = deserializeAws_querySupportedTimezonesList(__getArrayIfSingleItem(output["SupportedTimezones"]["Timezone"]), context);
16924
16929
  }
16925
16930
  if (output.ExportableLogTypes === "") {
16926
16931
  contents.ExportableLogTypes = [];
16927
16932
  }
16928
- if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
16933
+ else if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
16929
16934
  contents.ExportableLogTypes = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["ExportableLogTypes"]["member"]), context);
16930
16935
  }
16931
16936
  if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
@@ -16937,13 +16942,13 @@ var deserializeAws_queryDBEngineVersion = function (output, context) {
16937
16942
  if (output.SupportedEngineModes === "") {
16938
16943
  contents.SupportedEngineModes = [];
16939
16944
  }
16940
- if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
16945
+ else if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
16941
16946
  contents.SupportedEngineModes = deserializeAws_queryEngineModeList(__getArrayIfSingleItem(output["SupportedEngineModes"]["member"]), context);
16942
16947
  }
16943
16948
  if (output.SupportedFeatureNames === "") {
16944
16949
  contents.SupportedFeatureNames = [];
16945
16950
  }
16946
- if (output["SupportedFeatureNames"] !== undefined && output["SupportedFeatureNames"]["member"] !== undefined) {
16951
+ else if (output["SupportedFeatureNames"] !== undefined && output["SupportedFeatureNames"]["member"] !== undefined) {
16947
16952
  contents.SupportedFeatureNames = deserializeAws_queryFeatureNameList(__getArrayIfSingleItem(output["SupportedFeatureNames"]["member"]), context);
16948
16953
  }
16949
16954
  if (output["Status"] !== undefined) {
@@ -16976,7 +16981,7 @@ var deserializeAws_queryDBEngineVersion = function (output, context) {
16976
16981
  if (output.TagList === "") {
16977
16982
  contents.TagList = [];
16978
16983
  }
16979
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16984
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
16980
16985
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
16981
16986
  }
16982
16987
  if (output["SupportsBabelfish"] !== undefined) {
@@ -17005,7 +17010,7 @@ var deserializeAws_queryDBEngineVersionMessage = function (output, context) {
17005
17010
  if (output.DBEngineVersions === "") {
17006
17011
  contents.DBEngineVersions = [];
17007
17012
  }
17008
- if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
17013
+ else if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
17009
17014
  contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(__getArrayIfSingleItem(output["DBEngineVersions"]["DBEngineVersion"]), context);
17010
17015
  }
17011
17016
  return contents;
@@ -17127,20 +17132,21 @@ var deserializeAws_queryDBInstance = function (output, context) {
17127
17132
  if (output.DBSecurityGroups === "") {
17128
17133
  contents.DBSecurityGroups = [];
17129
17134
  }
17130
- if (output["DBSecurityGroups"] !== undefined && output["DBSecurityGroups"]["DBSecurityGroup"] !== undefined) {
17135
+ else if (output["DBSecurityGroups"] !== undefined && output["DBSecurityGroups"]["DBSecurityGroup"] !== undefined) {
17131
17136
  contents.DBSecurityGroups = deserializeAws_queryDBSecurityGroupMembershipList(__getArrayIfSingleItem(output["DBSecurityGroups"]["DBSecurityGroup"]), context);
17132
17137
  }
17133
17138
  if (output.VpcSecurityGroups === "") {
17134
17139
  contents.VpcSecurityGroups = [];
17135
17140
  }
17136
- if (output["VpcSecurityGroups"] !== undefined &&
17141
+ else if (output["VpcSecurityGroups"] !== undefined &&
17137
17142
  output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
17138
17143
  contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(__getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
17139
17144
  }
17140
17145
  if (output.DBParameterGroups === "") {
17141
17146
  contents.DBParameterGroups = [];
17142
17147
  }
17143
- if (output["DBParameterGroups"] !== undefined && output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
17148
+ else if (output["DBParameterGroups"] !== undefined &&
17149
+ output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
17144
17150
  contents.DBParameterGroups = deserializeAws_queryDBParameterGroupStatusList(__getArrayIfSingleItem(output["DBParameterGroups"]["DBParameterGroup"]), context);
17145
17151
  }
17146
17152
  if (output["AvailabilityZone"] !== undefined) {
@@ -17173,14 +17179,14 @@ var deserializeAws_queryDBInstance = function (output, context) {
17173
17179
  if (output.ReadReplicaDBInstanceIdentifiers === "") {
17174
17180
  contents.ReadReplicaDBInstanceIdentifiers = [];
17175
17181
  }
17176
- if (output["ReadReplicaDBInstanceIdentifiers"] !== undefined &&
17182
+ else if (output["ReadReplicaDBInstanceIdentifiers"] !== undefined &&
17177
17183
  output["ReadReplicaDBInstanceIdentifiers"]["ReadReplicaDBInstanceIdentifier"] !== undefined) {
17178
17184
  contents.ReadReplicaDBInstanceIdentifiers = deserializeAws_queryReadReplicaDBInstanceIdentifierList(__getArrayIfSingleItem(output["ReadReplicaDBInstanceIdentifiers"]["ReadReplicaDBInstanceIdentifier"]), context);
17179
17185
  }
17180
17186
  if (output.ReadReplicaDBClusterIdentifiers === "") {
17181
17187
  contents.ReadReplicaDBClusterIdentifiers = [];
17182
17188
  }
17183
- if (output["ReadReplicaDBClusterIdentifiers"] !== undefined &&
17189
+ else if (output["ReadReplicaDBClusterIdentifiers"] !== undefined &&
17184
17190
  output["ReadReplicaDBClusterIdentifiers"]["ReadReplicaDBClusterIdentifier"] !== undefined) {
17185
17191
  contents.ReadReplicaDBClusterIdentifiers = deserializeAws_queryReadReplicaDBClusterIdentifierList(__getArrayIfSingleItem(output["ReadReplicaDBClusterIdentifiers"]["ReadReplicaDBClusterIdentifier"]), context);
17186
17192
  }
@@ -17196,7 +17202,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
17196
17202
  if (output.OptionGroupMemberships === "") {
17197
17203
  contents.OptionGroupMemberships = [];
17198
17204
  }
17199
- if (output["OptionGroupMemberships"] !== undefined &&
17205
+ else if (output["OptionGroupMemberships"] !== undefined &&
17200
17206
  output["OptionGroupMemberships"]["OptionGroupMembership"] !== undefined) {
17201
17207
  contents.OptionGroupMemberships = deserializeAws_queryOptionGroupMembershipList(__getArrayIfSingleItem(output["OptionGroupMemberships"]["OptionGroupMembership"]), context);
17202
17208
  }
@@ -17215,7 +17221,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
17215
17221
  if (output.StatusInfos === "") {
17216
17222
  contents.StatusInfos = [];
17217
17223
  }
17218
- if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
17224
+ else if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
17219
17225
  contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(__getArrayIfSingleItem(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
17220
17226
  }
17221
17227
  if (output["StorageType"] !== undefined) {
@@ -17245,7 +17251,8 @@ var deserializeAws_queryDBInstance = function (output, context) {
17245
17251
  if (output.DomainMemberships === "") {
17246
17252
  contents.DomainMemberships = [];
17247
17253
  }
17248
- if (output["DomainMemberships"] !== undefined && output["DomainMemberships"]["DomainMembership"] !== undefined) {
17254
+ else if (output["DomainMemberships"] !== undefined &&
17255
+ output["DomainMemberships"]["DomainMembership"] !== undefined) {
17249
17256
  contents.DomainMemberships = deserializeAws_queryDomainMembershipList(__getArrayIfSingleItem(output["DomainMemberships"]["DomainMembership"]), context);
17250
17257
  }
17251
17258
  if (output["CopyTagsToSnapshot"] !== undefined) {
@@ -17284,14 +17291,15 @@ var deserializeAws_queryDBInstance = function (output, context) {
17284
17291
  if (output.EnabledCloudwatchLogsExports === "") {
17285
17292
  contents.EnabledCloudwatchLogsExports = [];
17286
17293
  }
17287
- if (output["EnabledCloudwatchLogsExports"] !== undefined &&
17294
+ else if (output["EnabledCloudwatchLogsExports"] !== undefined &&
17288
17295
  output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
17289
17296
  contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
17290
17297
  }
17291
17298
  if (output.ProcessorFeatures === "") {
17292
17299
  contents.ProcessorFeatures = [];
17293
17300
  }
17294
- if (output["ProcessorFeatures"] !== undefined && output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
17301
+ else if (output["ProcessorFeatures"] !== undefined &&
17302
+ output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
17295
17303
  contents.ProcessorFeatures = deserializeAws_queryProcessorFeatureList(__getArrayIfSingleItem(output["ProcessorFeatures"]["ProcessorFeature"]), context);
17296
17304
  }
17297
17305
  if (output["DeletionProtection"] !== undefined) {
@@ -17300,7 +17308,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
17300
17308
  if (output.AssociatedRoles === "") {
17301
17309
  contents.AssociatedRoles = [];
17302
17310
  }
17303
- if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBInstanceRole"] !== undefined) {
17311
+ else if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBInstanceRole"] !== undefined) {
17304
17312
  contents.AssociatedRoles = deserializeAws_queryDBInstanceRoles(__getArrayIfSingleItem(output["AssociatedRoles"]["DBInstanceRole"]), context);
17305
17313
  }
17306
17314
  if (output["ListenerEndpoint"] !== undefined) {
@@ -17312,13 +17320,13 @@ var deserializeAws_queryDBInstance = function (output, context) {
17312
17320
  if (output.TagList === "") {
17313
17321
  contents.TagList = [];
17314
17322
  }
17315
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
17323
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
17316
17324
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
17317
17325
  }
17318
17326
  if (output.DBInstanceAutomatedBackupsReplications === "") {
17319
17327
  contents.DBInstanceAutomatedBackupsReplications = [];
17320
17328
  }
17321
- if (output["DBInstanceAutomatedBackupsReplications"] !== undefined &&
17329
+ else if (output["DBInstanceAutomatedBackupsReplications"] !== undefined &&
17322
17330
  output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"] !== undefined) {
17323
17331
  contents.DBInstanceAutomatedBackupsReplications = deserializeAws_queryDBInstanceAutomatedBackupsReplicationList(__getArrayIfSingleItem(output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"]), context);
17324
17332
  }
@@ -17477,7 +17485,7 @@ var deserializeAws_queryDBInstanceAutomatedBackup = function (output, context) {
17477
17485
  if (output.DBInstanceAutomatedBackupsReplications === "") {
17478
17486
  contents.DBInstanceAutomatedBackupsReplications = [];
17479
17487
  }
17480
- if (output["DBInstanceAutomatedBackupsReplications"] !== undefined &&
17488
+ else if (output["DBInstanceAutomatedBackupsReplications"] !== undefined &&
17481
17489
  output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"] !== undefined) {
17482
17490
  contents.DBInstanceAutomatedBackupsReplications = deserializeAws_queryDBInstanceAutomatedBackupsReplicationList(__getArrayIfSingleItem(output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"]), context);
17483
17491
  }
@@ -17507,7 +17515,7 @@ var deserializeAws_queryDBInstanceAutomatedBackupMessage = function (output, con
17507
17515
  if (output.DBInstanceAutomatedBackups === "") {
17508
17516
  contents.DBInstanceAutomatedBackups = [];
17509
17517
  }
17510
- if (output["DBInstanceAutomatedBackups"] !== undefined &&
17518
+ else if (output["DBInstanceAutomatedBackups"] !== undefined &&
17511
17519
  output["DBInstanceAutomatedBackups"]["DBInstanceAutomatedBackup"] !== undefined) {
17512
17520
  contents.DBInstanceAutomatedBackups = deserializeAws_queryDBInstanceAutomatedBackupList(__getArrayIfSingleItem(output["DBInstanceAutomatedBackups"]["DBInstanceAutomatedBackup"]), context);
17513
17521
  }
@@ -17571,7 +17579,7 @@ var deserializeAws_queryDBInstanceMessage = function (output, context) {
17571
17579
  if (output.DBInstances === "") {
17572
17580
  contents.DBInstances = [];
17573
17581
  }
17574
- if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
17582
+ else if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
17575
17583
  contents.DBInstances = deserializeAws_queryDBInstanceList(__getArrayIfSingleItem(output["DBInstances"]["DBInstance"]), context);
17576
17584
  }
17577
17585
  return contents;
@@ -17717,7 +17725,7 @@ var deserializeAws_queryDBParameterGroupDetails = function (output, context) {
17717
17725
  if (output.Parameters === "") {
17718
17726
  contents.Parameters = [];
17719
17727
  }
17720
- if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
17728
+ else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
17721
17729
  contents.Parameters = deserializeAws_queryParametersList(__getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
17722
17730
  }
17723
17731
  if (output["Marker"] !== undefined) {
@@ -17773,7 +17781,8 @@ var deserializeAws_queryDBParameterGroupsMessage = function (output, context) {
17773
17781
  if (output.DBParameterGroups === "") {
17774
17782
  contents.DBParameterGroups = [];
17775
17783
  }
17776
- if (output["DBParameterGroups"] !== undefined && output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
17784
+ else if (output["DBParameterGroups"] !== undefined &&
17785
+ output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
17777
17786
  contents.DBParameterGroups = deserializeAws_queryDBParameterGroupList(__getArrayIfSingleItem(output["DBParameterGroups"]["DBParameterGroup"]), context);
17778
17787
  }
17779
17788
  return contents;
@@ -17837,19 +17846,19 @@ var deserializeAws_queryDBProxy = function (output, context) {
17837
17846
  if (output.VpcSecurityGroupIds === "") {
17838
17847
  contents.VpcSecurityGroupIds = [];
17839
17848
  }
17840
- if (output["VpcSecurityGroupIds"] !== undefined && output["VpcSecurityGroupIds"]["member"] !== undefined) {
17849
+ else if (output["VpcSecurityGroupIds"] !== undefined && output["VpcSecurityGroupIds"]["member"] !== undefined) {
17841
17850
  contents.VpcSecurityGroupIds = deserializeAws_queryStringList(__getArrayIfSingleItem(output["VpcSecurityGroupIds"]["member"]), context);
17842
17851
  }
17843
17852
  if (output.VpcSubnetIds === "") {
17844
17853
  contents.VpcSubnetIds = [];
17845
17854
  }
17846
- if (output["VpcSubnetIds"] !== undefined && output["VpcSubnetIds"]["member"] !== undefined) {
17855
+ else if (output["VpcSubnetIds"] !== undefined && output["VpcSubnetIds"]["member"] !== undefined) {
17847
17856
  contents.VpcSubnetIds = deserializeAws_queryStringList(__getArrayIfSingleItem(output["VpcSubnetIds"]["member"]), context);
17848
17857
  }
17849
17858
  if (output.Auth === "") {
17850
17859
  contents.Auth = [];
17851
17860
  }
17852
- if (output["Auth"] !== undefined && output["Auth"]["member"] !== undefined) {
17861
+ else if (output["Auth"] !== undefined && output["Auth"]["member"] !== undefined) {
17853
17862
  contents.Auth = deserializeAws_queryUserAuthConfigInfoList(__getArrayIfSingleItem(output["Auth"]["member"]), context);
17854
17863
  }
17855
17864
  if (output["RoleArn"] !== undefined) {
@@ -17916,13 +17925,13 @@ var deserializeAws_queryDBProxyEndpoint = function (output, context) {
17916
17925
  if (output.VpcSecurityGroupIds === "") {
17917
17926
  contents.VpcSecurityGroupIds = [];
17918
17927
  }
17919
- if (output["VpcSecurityGroupIds"] !== undefined && output["VpcSecurityGroupIds"]["member"] !== undefined) {
17928
+ else if (output["VpcSecurityGroupIds"] !== undefined && output["VpcSecurityGroupIds"]["member"] !== undefined) {
17920
17929
  contents.VpcSecurityGroupIds = deserializeAws_queryStringList(__getArrayIfSingleItem(output["VpcSecurityGroupIds"]["member"]), context);
17921
17930
  }
17922
17931
  if (output.VpcSubnetIds === "") {
17923
17932
  contents.VpcSubnetIds = [];
17924
17933
  }
17925
- if (output["VpcSubnetIds"] !== undefined && output["VpcSubnetIds"]["member"] !== undefined) {
17934
+ else if (output["VpcSubnetIds"] !== undefined && output["VpcSubnetIds"]["member"] !== undefined) {
17926
17935
  contents.VpcSubnetIds = deserializeAws_queryStringList(__getArrayIfSingleItem(output["VpcSubnetIds"]["member"]), context);
17927
17936
  }
17928
17937
  if (output["Endpoint"] !== undefined) {
@@ -18130,13 +18139,14 @@ var deserializeAws_queryDBSecurityGroup = function (output, context) {
18130
18139
  if (output.EC2SecurityGroups === "") {
18131
18140
  contents.EC2SecurityGroups = [];
18132
18141
  }
18133
- if (output["EC2SecurityGroups"] !== undefined && output["EC2SecurityGroups"]["EC2SecurityGroup"] !== undefined) {
18142
+ else if (output["EC2SecurityGroups"] !== undefined &&
18143
+ output["EC2SecurityGroups"]["EC2SecurityGroup"] !== undefined) {
18134
18144
  contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList(__getArrayIfSingleItem(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
18135
18145
  }
18136
18146
  if (output.IPRanges === "") {
18137
18147
  contents.IPRanges = [];
18138
18148
  }
18139
- if (output["IPRanges"] !== undefined && output["IPRanges"]["IPRange"] !== undefined) {
18149
+ else if (output["IPRanges"] !== undefined && output["IPRanges"]["IPRange"] !== undefined) {
18140
18150
  contents.IPRanges = deserializeAws_queryIPRangeList(__getArrayIfSingleItem(output["IPRanges"]["IPRange"]), context);
18141
18151
  }
18142
18152
  if (output["DBSecurityGroupArn"] !== undefined) {
@@ -18187,7 +18197,7 @@ var deserializeAws_queryDBSecurityGroupMessage = function (output, context) {
18187
18197
  if (output.DBSecurityGroups === "") {
18188
18198
  contents.DBSecurityGroups = [];
18189
18199
  }
18190
- if (output["DBSecurityGroups"] !== undefined && output["DBSecurityGroups"]["DBSecurityGroup"] !== undefined) {
18200
+ else if (output["DBSecurityGroups"] !== undefined && output["DBSecurityGroups"]["DBSecurityGroup"] !== undefined) {
18191
18201
  contents.DBSecurityGroups = deserializeAws_queryDBSecurityGroups(__getArrayIfSingleItem(output["DBSecurityGroups"]["DBSecurityGroup"]), context);
18192
18202
  }
18193
18203
  return contents;
@@ -18344,7 +18354,8 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
18344
18354
  if (output.ProcessorFeatures === "") {
18345
18355
  contents.ProcessorFeatures = [];
18346
18356
  }
18347
- if (output["ProcessorFeatures"] !== undefined && output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
18357
+ else if (output["ProcessorFeatures"] !== undefined &&
18358
+ output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
18348
18359
  contents.ProcessorFeatures = deserializeAws_queryProcessorFeatureList(__getArrayIfSingleItem(output["ProcessorFeatures"]["ProcessorFeature"]), context);
18349
18360
  }
18350
18361
  if (output["DbiResourceId"] !== undefined) {
@@ -18353,7 +18364,7 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
18353
18364
  if (output.TagList === "") {
18354
18365
  contents.TagList = [];
18355
18366
  }
18356
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
18367
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
18357
18368
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
18358
18369
  }
18359
18370
  if (output["OriginalSnapshotCreateTime"] !== undefined) {
@@ -18384,7 +18395,7 @@ var deserializeAws_queryDBSnapshotAttribute = function (output, context) {
18384
18395
  if (output.AttributeValues === "") {
18385
18396
  contents.AttributeValues = [];
18386
18397
  }
18387
- if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
18398
+ else if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
18388
18399
  contents.AttributeValues = deserializeAws_queryAttributeValueList(__getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
18389
18400
  }
18390
18401
  return contents;
@@ -18410,7 +18421,7 @@ var deserializeAws_queryDBSnapshotAttributesResult = function (output, context)
18410
18421
  if (output.DBSnapshotAttributes === "") {
18411
18422
  contents.DBSnapshotAttributes = [];
18412
18423
  }
18413
- if (output["DBSnapshotAttributes"] !== undefined &&
18424
+ else if (output["DBSnapshotAttributes"] !== undefined &&
18414
18425
  output["DBSnapshotAttributes"]["DBSnapshotAttribute"] !== undefined) {
18415
18426
  contents.DBSnapshotAttributes = deserializeAws_queryDBSnapshotAttributeList(__getArrayIfSingleItem(output["DBSnapshotAttributes"]["DBSnapshotAttribute"]), context);
18416
18427
  }
@@ -18437,7 +18448,7 @@ var deserializeAws_queryDBSnapshotMessage = function (output, context) {
18437
18448
  if (output.DBSnapshots === "") {
18438
18449
  contents.DBSnapshots = [];
18439
18450
  }
18440
- if (output["DBSnapshots"] !== undefined && output["DBSnapshots"]["DBSnapshot"] !== undefined) {
18451
+ else if (output["DBSnapshots"] !== undefined && output["DBSnapshots"]["DBSnapshot"] !== undefined) {
18441
18452
  contents.DBSnapshots = deserializeAws_queryDBSnapshotList(__getArrayIfSingleItem(output["DBSnapshots"]["DBSnapshot"]), context);
18442
18453
  }
18443
18454
  return contents;
@@ -18476,7 +18487,7 @@ var deserializeAws_queryDBSubnetGroup = function (output, context) {
18476
18487
  if (output.Subnets === "") {
18477
18488
  contents.Subnets = [];
18478
18489
  }
18479
- if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
18490
+ else if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
18480
18491
  contents.Subnets = deserializeAws_querySubnetList(__getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
18481
18492
  }
18482
18493
  if (output["DBSubnetGroupArn"] !== undefined) {
@@ -18485,7 +18496,7 @@ var deserializeAws_queryDBSubnetGroup = function (output, context) {
18485
18496
  if (output.SupportedNetworkTypes === "") {
18486
18497
  contents.SupportedNetworkTypes = [];
18487
18498
  }
18488
- if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
18499
+ else if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
18489
18500
  contents.SupportedNetworkTypes = deserializeAws_queryStringList(__getArrayIfSingleItem(output["SupportedNetworkTypes"]["member"]), context);
18490
18501
  }
18491
18502
  return contents;
@@ -18519,7 +18530,7 @@ var deserializeAws_queryDBSubnetGroupMessage = function (output, context) {
18519
18530
  if (output.DBSubnetGroups === "") {
18520
18531
  contents.DBSubnetGroups = [];
18521
18532
  }
18522
- if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
18533
+ else if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
18523
18534
  contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(__getArrayIfSingleItem(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
18524
18535
  }
18525
18536
  return contents;
@@ -18708,7 +18719,7 @@ var deserializeAws_queryDescribeDBLogFilesResponse = function (output, context)
18708
18719
  if (output.DescribeDBLogFiles === "") {
18709
18720
  contents.DescribeDBLogFiles = [];
18710
18721
  }
18711
- if (output["DescribeDBLogFiles"] !== undefined &&
18722
+ else if (output["DescribeDBLogFiles"] !== undefined &&
18712
18723
  output["DescribeDBLogFiles"]["DescribeDBLogFilesDetails"] !== undefined) {
18713
18724
  contents.DescribeDBLogFiles = deserializeAws_queryDescribeDBLogFilesList(__getArrayIfSingleItem(output["DescribeDBLogFiles"]["DescribeDBLogFilesDetails"]), context);
18714
18725
  }
@@ -18725,7 +18736,7 @@ var deserializeAws_queryDescribeDBProxiesResponse = function (output, context) {
18725
18736
  if (output.DBProxies === "") {
18726
18737
  contents.DBProxies = [];
18727
18738
  }
18728
- if (output["DBProxies"] !== undefined && output["DBProxies"]["member"] !== undefined) {
18739
+ else if (output["DBProxies"] !== undefined && output["DBProxies"]["member"] !== undefined) {
18729
18740
  contents.DBProxies = deserializeAws_queryDBProxyList(__getArrayIfSingleItem(output["DBProxies"]["member"]), context);
18730
18741
  }
18731
18742
  if (output["Marker"] !== undefined) {
@@ -18741,7 +18752,7 @@ var deserializeAws_queryDescribeDBProxyEndpointsResponse = function (output, con
18741
18752
  if (output.DBProxyEndpoints === "") {
18742
18753
  contents.DBProxyEndpoints = [];
18743
18754
  }
18744
- if (output["DBProxyEndpoints"] !== undefined && output["DBProxyEndpoints"]["member"] !== undefined) {
18755
+ else if (output["DBProxyEndpoints"] !== undefined && output["DBProxyEndpoints"]["member"] !== undefined) {
18745
18756
  contents.DBProxyEndpoints = deserializeAws_queryDBProxyEndpointList(__getArrayIfSingleItem(output["DBProxyEndpoints"]["member"]), context);
18746
18757
  }
18747
18758
  if (output["Marker"] !== undefined) {
@@ -18757,7 +18768,7 @@ var deserializeAws_queryDescribeDBProxyTargetGroupsResponse = function (output,
18757
18768
  if (output.TargetGroups === "") {
18758
18769
  contents.TargetGroups = [];
18759
18770
  }
18760
- if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
18771
+ else if (output["TargetGroups"] !== undefined && output["TargetGroups"]["member"] !== undefined) {
18761
18772
  contents.TargetGroups = deserializeAws_queryTargetGroupList(__getArrayIfSingleItem(output["TargetGroups"]["member"]), context);
18762
18773
  }
18763
18774
  if (output["Marker"] !== undefined) {
@@ -18773,7 +18784,7 @@ var deserializeAws_queryDescribeDBProxyTargetsResponse = function (output, conte
18773
18784
  if (output.Targets === "") {
18774
18785
  contents.Targets = [];
18775
18786
  }
18776
- if (output["Targets"] !== undefined && output["Targets"]["member"] !== undefined) {
18787
+ else if (output["Targets"] !== undefined && output["Targets"]["member"] !== undefined) {
18777
18788
  contents.Targets = deserializeAws_queryTargetList(__getArrayIfSingleItem(output["Targets"]["member"]), context);
18778
18789
  }
18779
18790
  if (output["Marker"] !== undefined) {
@@ -18960,7 +18971,7 @@ var deserializeAws_queryEngineDefaults = function (output, context) {
18960
18971
  if (output.Parameters === "") {
18961
18972
  contents.Parameters = [];
18962
18973
  }
18963
- if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
18974
+ else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
18964
18975
  contents.Parameters = deserializeAws_queryParametersList(__getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
18965
18976
  }
18966
18977
  return contents;
@@ -18996,7 +19007,7 @@ var deserializeAws_queryEvent = function (output, context) {
18996
19007
  if (output.EventCategories === "") {
18997
19008
  contents.EventCategories = [];
18998
19009
  }
18999
- if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
19010
+ else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
19000
19011
  contents.EventCategories = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
19001
19012
  }
19002
19013
  if (output["Date"] !== undefined) {
@@ -19028,7 +19039,7 @@ var deserializeAws_queryEventCategoriesMap = function (output, context) {
19028
19039
  if (output.EventCategories === "") {
19029
19040
  contents.EventCategories = [];
19030
19041
  }
19031
- if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
19042
+ else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
19032
19043
  contents.EventCategories = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
19033
19044
  }
19034
19045
  return contents;
@@ -19050,7 +19061,7 @@ var deserializeAws_queryEventCategoriesMessage = function (output, context) {
19050
19061
  if (output.EventCategoriesMapList === "") {
19051
19062
  contents.EventCategoriesMapList = [];
19052
19063
  }
19053
- if (output["EventCategoriesMapList"] !== undefined &&
19064
+ else if (output["EventCategoriesMapList"] !== undefined &&
19054
19065
  output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
19055
19066
  contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(__getArrayIfSingleItem(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
19056
19067
  }
@@ -19077,7 +19088,7 @@ var deserializeAws_queryEventsMessage = function (output, context) {
19077
19088
  if (output.Events === "") {
19078
19089
  contents.Events = [];
19079
19090
  }
19080
- if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
19091
+ else if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
19081
19092
  contents.Events = deserializeAws_queryEventList(__getArrayIfSingleItem(output["Events"]["Event"]), context);
19082
19093
  }
19083
19094
  return contents;
@@ -19116,13 +19127,14 @@ var deserializeAws_queryEventSubscription = function (output, context) {
19116
19127
  if (output.SourceIdsList === "") {
19117
19128
  contents.SourceIdsList = [];
19118
19129
  }
19119
- if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
19130
+ else if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
19120
19131
  contents.SourceIdsList = deserializeAws_querySourceIdsList(__getArrayIfSingleItem(output["SourceIdsList"]["SourceId"]), context);
19121
19132
  }
19122
19133
  if (output.EventCategoriesList === "") {
19123
19134
  contents.EventCategoriesList = [];
19124
19135
  }
19125
- if (output["EventCategoriesList"] !== undefined && output["EventCategoriesList"]["EventCategory"] !== undefined) {
19136
+ else if (output["EventCategoriesList"] !== undefined &&
19137
+ output["EventCategoriesList"]["EventCategory"] !== undefined) {
19126
19138
  contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(__getArrayIfSingleItem(output["EventCategoriesList"]["EventCategory"]), context);
19127
19139
  }
19128
19140
  if (output["Enabled"] !== undefined) {
@@ -19163,7 +19175,7 @@ var deserializeAws_queryEventSubscriptionsMessage = function (output, context) {
19163
19175
  if (output.EventSubscriptionsList === "") {
19164
19176
  contents.EventSubscriptionsList = [];
19165
19177
  }
19166
- if (output["EventSubscriptionsList"] !== undefined &&
19178
+ else if (output["EventSubscriptionsList"] !== undefined &&
19167
19179
  output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
19168
19180
  contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(__getArrayIfSingleItem(output["EventSubscriptionsList"]["EventSubscription"]), context);
19169
19181
  }
@@ -19196,7 +19208,7 @@ var deserializeAws_queryExportTask = function (output, context) {
19196
19208
  if (output.ExportOnly === "") {
19197
19209
  contents.ExportOnly = [];
19198
19210
  }
19199
- if (output["ExportOnly"] !== undefined && output["ExportOnly"]["member"] !== undefined) {
19211
+ else if (output["ExportOnly"] !== undefined && output["ExportOnly"]["member"] !== undefined) {
19200
19212
  contents.ExportOnly = deserializeAws_queryStringList(__getArrayIfSingleItem(output["ExportOnly"]["member"]), context);
19201
19213
  }
19202
19214
  if (output["SnapshotTime"] !== undefined) {
@@ -19276,7 +19288,7 @@ var deserializeAws_queryExportTasksMessage = function (output, context) {
19276
19288
  if (output.ExportTasks === "") {
19277
19289
  contents.ExportTasks = [];
19278
19290
  }
19279
- if (output["ExportTasks"] !== undefined && output["ExportTasks"]["ExportTask"] !== undefined) {
19291
+ else if (output["ExportTasks"] !== undefined && output["ExportTasks"]["ExportTask"] !== undefined) {
19280
19292
  contents.ExportTasks = deserializeAws_queryExportTasksList(__getArrayIfSingleItem(output["ExportTasks"]["ExportTask"]), context);
19281
19293
  }
19282
19294
  return contents;
@@ -19370,7 +19382,7 @@ var deserializeAws_queryGlobalCluster = function (output, context) {
19370
19382
  if (output.GlobalClusterMembers === "") {
19371
19383
  contents.GlobalClusterMembers = [];
19372
19384
  }
19373
- if (output["GlobalClusterMembers"] !== undefined &&
19385
+ else if (output["GlobalClusterMembers"] !== undefined &&
19374
19386
  output["GlobalClusterMembers"]["GlobalClusterMember"] !== undefined) {
19375
19387
  contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList(__getArrayIfSingleItem(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
19376
19388
  }
@@ -19411,7 +19423,7 @@ var deserializeAws_queryGlobalClusterMember = function (output, context) {
19411
19423
  if (output.Readers === "") {
19412
19424
  contents.Readers = [];
19413
19425
  }
19414
- if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
19426
+ else if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
19415
19427
  contents.Readers = deserializeAws_queryReadersArnList(__getArrayIfSingleItem(output["Readers"]["member"]), context);
19416
19428
  }
19417
19429
  if (output["IsWriter"] !== undefined) {
@@ -19461,7 +19473,7 @@ var deserializeAws_queryGlobalClustersMessage = function (output, context) {
19461
19473
  if (output.GlobalClusters === "") {
19462
19474
  contents.GlobalClusters = [];
19463
19475
  }
19464
- if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
19476
+ else if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
19465
19477
  contents.GlobalClusters = deserializeAws_queryGlobalClusterList(__getArrayIfSingleItem(output["GlobalClusters"]["GlobalClusterMember"]), context);
19466
19478
  }
19467
19479
  return contents;
@@ -19978,20 +19990,20 @@ var deserializeAws_queryOption = function (output, context) {
19978
19990
  if (output.OptionSettings === "") {
19979
19991
  contents.OptionSettings = [];
19980
19992
  }
19981
- if (output["OptionSettings"] !== undefined && output["OptionSettings"]["OptionSetting"] !== undefined) {
19993
+ else if (output["OptionSettings"] !== undefined && output["OptionSettings"]["OptionSetting"] !== undefined) {
19982
19994
  contents.OptionSettings = deserializeAws_queryOptionSettingConfigurationList(__getArrayIfSingleItem(output["OptionSettings"]["OptionSetting"]), context);
19983
19995
  }
19984
19996
  if (output.DBSecurityGroupMemberships === "") {
19985
19997
  contents.DBSecurityGroupMemberships = [];
19986
19998
  }
19987
- if (output["DBSecurityGroupMemberships"] !== undefined &&
19999
+ else if (output["DBSecurityGroupMemberships"] !== undefined &&
19988
20000
  output["DBSecurityGroupMemberships"]["DBSecurityGroup"] !== undefined) {
19989
20001
  contents.DBSecurityGroupMemberships = deserializeAws_queryDBSecurityGroupMembershipList(__getArrayIfSingleItem(output["DBSecurityGroupMemberships"]["DBSecurityGroup"]), context);
19990
20002
  }
19991
20003
  if (output.VpcSecurityGroupMemberships === "") {
19992
20004
  contents.VpcSecurityGroupMemberships = [];
19993
20005
  }
19994
- if (output["VpcSecurityGroupMemberships"] !== undefined &&
20006
+ else if (output["VpcSecurityGroupMemberships"] !== undefined &&
19995
20007
  output["VpcSecurityGroupMemberships"]["VpcSecurityGroupMembership"] !== undefined) {
19996
20008
  contents.VpcSecurityGroupMemberships = deserializeAws_queryVpcSecurityGroupMembershipList(__getArrayIfSingleItem(output["VpcSecurityGroupMemberships"]["VpcSecurityGroupMembership"]), context);
19997
20009
  }
@@ -20023,7 +20035,7 @@ var deserializeAws_queryOptionGroup = function (output, context) {
20023
20035
  if (output.Options === "") {
20024
20036
  contents.Options = [];
20025
20037
  }
20026
- if (output["Options"] !== undefined && output["Options"]["Option"] !== undefined) {
20038
+ else if (output["Options"] !== undefined && output["Options"]["Option"] !== undefined) {
20027
20039
  contents.Options = deserializeAws_queryOptionsList(__getArrayIfSingleItem(output["Options"]["Option"]), context);
20028
20040
  }
20029
20041
  if (output["AllowsVpcAndNonVpcInstanceMemberships"] !== undefined) {
@@ -20121,13 +20133,13 @@ var deserializeAws_queryOptionGroupOption = function (output, context) {
20121
20133
  if (output.OptionsDependedOn === "") {
20122
20134
  contents.OptionsDependedOn = [];
20123
20135
  }
20124
- if (output["OptionsDependedOn"] !== undefined && output["OptionsDependedOn"]["OptionName"] !== undefined) {
20136
+ else if (output["OptionsDependedOn"] !== undefined && output["OptionsDependedOn"]["OptionName"] !== undefined) {
20125
20137
  contents.OptionsDependedOn = deserializeAws_queryOptionsDependedOn(__getArrayIfSingleItem(output["OptionsDependedOn"]["OptionName"]), context);
20126
20138
  }
20127
20139
  if (output.OptionsConflictsWith === "") {
20128
20140
  contents.OptionsConflictsWith = [];
20129
20141
  }
20130
- if (output["OptionsConflictsWith"] !== undefined &&
20142
+ else if (output["OptionsConflictsWith"] !== undefined &&
20131
20143
  output["OptionsConflictsWith"]["OptionConflictName"] !== undefined) {
20132
20144
  contents.OptionsConflictsWith = deserializeAws_queryOptionsConflictsWith(__getArrayIfSingleItem(output["OptionsConflictsWith"]["OptionConflictName"]), context);
20133
20145
  }
@@ -20149,14 +20161,14 @@ var deserializeAws_queryOptionGroupOption = function (output, context) {
20149
20161
  if (output.OptionGroupOptionSettings === "") {
20150
20162
  contents.OptionGroupOptionSettings = [];
20151
20163
  }
20152
- if (output["OptionGroupOptionSettings"] !== undefined &&
20164
+ else if (output["OptionGroupOptionSettings"] !== undefined &&
20153
20165
  output["OptionGroupOptionSettings"]["OptionGroupOptionSetting"] !== undefined) {
20154
20166
  contents.OptionGroupOptionSettings = deserializeAws_queryOptionGroupOptionSettingsList(__getArrayIfSingleItem(output["OptionGroupOptionSettings"]["OptionGroupOptionSetting"]), context);
20155
20167
  }
20156
20168
  if (output.OptionGroupOptionVersions === "") {
20157
20169
  contents.OptionGroupOptionVersions = [];
20158
20170
  }
20159
- if (output["OptionGroupOptionVersions"] !== undefined &&
20171
+ else if (output["OptionGroupOptionVersions"] !== undefined &&
20160
20172
  output["OptionGroupOptionVersions"]["OptionVersion"] !== undefined) {
20161
20173
  contents.OptionGroupOptionVersions = deserializeAws_queryOptionGroupOptionVersionsList(__getArrayIfSingleItem(output["OptionGroupOptionVersions"]["OptionVersion"]), context);
20162
20174
  }
@@ -20197,7 +20209,7 @@ var deserializeAws_queryOptionGroupOptionSetting = function (output, context) {
20197
20209
  if (output.MinimumEngineVersionPerAllowedValue === "") {
20198
20210
  contents.MinimumEngineVersionPerAllowedValue = [];
20199
20211
  }
20200
- if (output["MinimumEngineVersionPerAllowedValue"] !== undefined &&
20212
+ else if (output["MinimumEngineVersionPerAllowedValue"] !== undefined &&
20201
20213
  output["MinimumEngineVersionPerAllowedValue"]["MinimumEngineVersionPerAllowedValue"] !== undefined) {
20202
20214
  contents.MinimumEngineVersionPerAllowedValue = deserializeAws_queryMinimumEngineVersionPerAllowedValueList(__getArrayIfSingleItem(output["MinimumEngineVersionPerAllowedValue"]["MinimumEngineVersionPerAllowedValue"]), context);
20203
20215
  }
@@ -20231,7 +20243,8 @@ var deserializeAws_queryOptionGroupOptionsMessage = function (output, context) {
20231
20243
  if (output.OptionGroupOptions === "") {
20232
20244
  contents.OptionGroupOptions = [];
20233
20245
  }
20234
- if (output["OptionGroupOptions"] !== undefined && output["OptionGroupOptions"]["OptionGroupOption"] !== undefined) {
20246
+ else if (output["OptionGroupOptions"] !== undefined &&
20247
+ output["OptionGroupOptions"]["OptionGroupOption"] !== undefined) {
20235
20248
  contents.OptionGroupOptions = deserializeAws_queryOptionGroupOptionsList(__getArrayIfSingleItem(output["OptionGroupOptions"]["OptionGroupOption"]), context);
20236
20249
  }
20237
20250
  if (output["Marker"] !== undefined) {
@@ -20266,7 +20279,7 @@ var deserializeAws_queryOptionGroups = function (output, context) {
20266
20279
  if (output.OptionGroupsList === "") {
20267
20280
  contents.OptionGroupsList = [];
20268
20281
  }
20269
- if (output["OptionGroupsList"] !== undefined && output["OptionGroupsList"]["OptionGroup"] !== undefined) {
20282
+ else if (output["OptionGroupsList"] !== undefined && output["OptionGroupsList"]["OptionGroup"] !== undefined) {
20270
20283
  contents.OptionGroupsList = deserializeAws_queryOptionGroupsList(__getArrayIfSingleItem(output["OptionGroupsList"]["OptionGroup"]), context);
20271
20284
  }
20272
20285
  if (output["Marker"] !== undefined) {
@@ -20429,7 +20442,8 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
20429
20442
  if (output.AvailabilityZones === "") {
20430
20443
  contents.AvailabilityZones = [];
20431
20444
  }
20432
- if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
20445
+ else if (output["AvailabilityZones"] !== undefined &&
20446
+ output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
20433
20447
  contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
20434
20448
  }
20435
20449
  if (output["MultiAZCapable"] !== undefined) {
@@ -20480,14 +20494,14 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
20480
20494
  if (output.AvailableProcessorFeatures === "") {
20481
20495
  contents.AvailableProcessorFeatures = [];
20482
20496
  }
20483
- if (output["AvailableProcessorFeatures"] !== undefined &&
20497
+ else if (output["AvailableProcessorFeatures"] !== undefined &&
20484
20498
  output["AvailableProcessorFeatures"]["AvailableProcessorFeature"] !== undefined) {
20485
20499
  contents.AvailableProcessorFeatures = deserializeAws_queryAvailableProcessorFeatureList(__getArrayIfSingleItem(output["AvailableProcessorFeatures"]["AvailableProcessorFeature"]), context);
20486
20500
  }
20487
20501
  if (output.SupportedEngineModes === "") {
20488
20502
  contents.SupportedEngineModes = [];
20489
20503
  }
20490
- if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
20504
+ else if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
20491
20505
  contents.SupportedEngineModes = deserializeAws_queryEngineModeList(__getArrayIfSingleItem(output["SupportedEngineModes"]["member"]), context);
20492
20506
  }
20493
20507
  if (output["SupportsStorageAutoscaling"] !== undefined) {
@@ -20502,7 +20516,7 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
20502
20516
  if (output.SupportedActivityStreamModes === "") {
20503
20517
  contents.SupportedActivityStreamModes = [];
20504
20518
  }
20505
- if (output["SupportedActivityStreamModes"] !== undefined &&
20519
+ else if (output["SupportedActivityStreamModes"] !== undefined &&
20506
20520
  output["SupportedActivityStreamModes"]["member"] !== undefined) {
20507
20521
  contents.SupportedActivityStreamModes = deserializeAws_queryActivityStreamModeList(__getArrayIfSingleItem(output["SupportedActivityStreamModes"]["member"]), context);
20508
20522
  }
@@ -20515,7 +20529,7 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
20515
20529
  if (output.SupportedNetworkTypes === "") {
20516
20530
  contents.SupportedNetworkTypes = [];
20517
20531
  }
20518
- if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
20532
+ else if (output["SupportedNetworkTypes"] !== undefined && output["SupportedNetworkTypes"]["member"] !== undefined) {
20519
20533
  contents.SupportedNetworkTypes = deserializeAws_queryStringList(__getArrayIfSingleItem(output["SupportedNetworkTypes"]["member"]), context);
20520
20534
  }
20521
20535
  return contents;
@@ -20538,7 +20552,7 @@ var deserializeAws_queryOrderableDBInstanceOptionsMessage = function (output, co
20538
20552
  if (output.OrderableDBInstanceOptions === "") {
20539
20553
  contents.OrderableDBInstanceOptions = [];
20540
20554
  }
20541
- if (output["OrderableDBInstanceOptions"] !== undefined &&
20555
+ else if (output["OrderableDBInstanceOptions"] !== undefined &&
20542
20556
  output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
20543
20557
  contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(__getArrayIfSingleItem(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
20544
20558
  }
@@ -20603,7 +20617,7 @@ var deserializeAws_queryParameter = function (output, context) {
20603
20617
  if (output.SupportedEngineModes === "") {
20604
20618
  contents.SupportedEngineModes = [];
20605
20619
  }
20606
- if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
20620
+ else if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
20607
20621
  contents.SupportedEngineModes = deserializeAws_queryEngineModeList(__getArrayIfSingleItem(output["SupportedEngineModes"]["member"]), context);
20608
20622
  }
20609
20623
  return contents;
@@ -20626,13 +20640,13 @@ var deserializeAws_queryPendingCloudwatchLogsExports = function (output, context
20626
20640
  if (output.LogTypesToEnable === "") {
20627
20641
  contents.LogTypesToEnable = [];
20628
20642
  }
20629
- if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
20643
+ else if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
20630
20644
  contents.LogTypesToEnable = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["LogTypesToEnable"]["member"]), context);
20631
20645
  }
20632
20646
  if (output.LogTypesToDisable === "") {
20633
20647
  contents.LogTypesToDisable = [];
20634
20648
  }
20635
- if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
20649
+ else if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
20636
20650
  contents.LogTypesToDisable = deserializeAws_queryLogTypeList(__getArrayIfSingleItem(output["LogTypesToDisable"]["member"]), context);
20637
20651
  }
20638
20652
  return contents;
@@ -20694,7 +20708,7 @@ var deserializeAws_queryPendingMaintenanceActionsMessage = function (output, con
20694
20708
  if (output.PendingMaintenanceActions === "") {
20695
20709
  contents.PendingMaintenanceActions = [];
20696
20710
  }
20697
- if (output["PendingMaintenanceActions"] !== undefined &&
20711
+ else if (output["PendingMaintenanceActions"] !== undefined &&
20698
20712
  output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
20699
20713
  contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(__getArrayIfSingleItem(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
20700
20714
  }
@@ -20769,7 +20783,8 @@ var deserializeAws_queryPendingModifiedValues = function (output, context) {
20769
20783
  if (output.ProcessorFeatures === "") {
20770
20784
  contents.ProcessorFeatures = [];
20771
20785
  }
20772
- if (output["ProcessorFeatures"] !== undefined && output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
20786
+ else if (output["ProcessorFeatures"] !== undefined &&
20787
+ output["ProcessorFeatures"]["ProcessorFeature"] !== undefined) {
20773
20788
  contents.ProcessorFeatures = deserializeAws_queryProcessorFeatureList(__getArrayIfSingleItem(output["ProcessorFeatures"]["ProcessorFeature"]), context);
20774
20789
  }
20775
20790
  if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
@@ -20966,7 +20981,7 @@ var deserializeAws_queryRegisterDBProxyTargetsResponse = function (output, conte
20966
20981
  if (output.DBProxyTargets === "") {
20967
20982
  contents.DBProxyTargets = [];
20968
20983
  }
20969
- if (output["DBProxyTargets"] !== undefined && output["DBProxyTargets"]["member"] !== undefined) {
20984
+ else if (output["DBProxyTargets"] !== undefined && output["DBProxyTargets"]["member"] !== undefined) {
20970
20985
  contents.DBProxyTargets = deserializeAws_queryTargetList(__getArrayIfSingleItem(output["DBProxyTargets"]["member"]), context);
20971
20986
  }
20972
20987
  return contents;
@@ -21050,7 +21065,7 @@ var deserializeAws_queryReservedDBInstance = function (output, context) {
21050
21065
  if (output.RecurringCharges === "") {
21051
21066
  contents.RecurringCharges = [];
21052
21067
  }
21053
- if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
21068
+ else if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
21054
21069
  contents.RecurringCharges = deserializeAws_queryRecurringChargeList(__getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
21055
21070
  }
21056
21071
  if (output["ReservedDBInstanceArn"] !== undefined) {
@@ -21091,7 +21106,7 @@ var deserializeAws_queryReservedDBInstanceMessage = function (output, context) {
21091
21106
  if (output.ReservedDBInstances === "") {
21092
21107
  contents.ReservedDBInstances = [];
21093
21108
  }
21094
- if (output["ReservedDBInstances"] !== undefined &&
21109
+ else if (output["ReservedDBInstances"] !== undefined &&
21095
21110
  output["ReservedDBInstances"]["ReservedDBInstance"] !== undefined) {
21096
21111
  contents.ReservedDBInstances = deserializeAws_queryReservedDBInstanceList(__getArrayIfSingleItem(output["ReservedDBInstances"]["ReservedDBInstance"]), context);
21097
21112
  }
@@ -21158,7 +21173,7 @@ var deserializeAws_queryReservedDBInstancesOffering = function (output, context)
21158
21173
  if (output.RecurringCharges === "") {
21159
21174
  contents.RecurringCharges = [];
21160
21175
  }
21161
- if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
21176
+ else if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
21162
21177
  contents.RecurringCharges = deserializeAws_queryRecurringChargeList(__getArrayIfSingleItem(output["RecurringCharges"]["RecurringCharge"]), context);
21163
21178
  }
21164
21179
  return contents;
@@ -21184,7 +21199,7 @@ var deserializeAws_queryReservedDBInstancesOfferingMessage = function (output, c
21184
21199
  if (output.ReservedDBInstancesOfferings === "") {
21185
21200
  contents.ReservedDBInstancesOfferings = [];
21186
21201
  }
21187
- if (output["ReservedDBInstancesOfferings"] !== undefined &&
21202
+ else if (output["ReservedDBInstancesOfferings"] !== undefined &&
21188
21203
  output["ReservedDBInstancesOfferings"]["ReservedDBInstancesOffering"] !== undefined) {
21189
21204
  contents.ReservedDBInstancesOfferings = deserializeAws_queryReservedDBInstancesOfferingList(__getArrayIfSingleItem(output["ReservedDBInstancesOfferings"]["ReservedDBInstancesOffering"]), context);
21190
21205
  }
@@ -21219,7 +21234,7 @@ var deserializeAws_queryResourcePendingMaintenanceActions = function (output, co
21219
21234
  if (output.PendingMaintenanceActionDetails === "") {
21220
21235
  contents.PendingMaintenanceActionDetails = [];
21221
21236
  }
21222
- if (output["PendingMaintenanceActionDetails"] !== undefined &&
21237
+ else if (output["PendingMaintenanceActionDetails"] !== undefined &&
21223
21238
  output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
21224
21239
  contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(__getArrayIfSingleItem(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
21225
21240
  }
@@ -21449,7 +21464,7 @@ var deserializeAws_querySourceRegionMessage = function (output, context) {
21449
21464
  if (output.SourceRegions === "") {
21450
21465
  contents.SourceRegions = [];
21451
21466
  }
21452
- if (output["SourceRegions"] !== undefined && output["SourceRegions"]["SourceRegion"] !== undefined) {
21467
+ else if (output["SourceRegions"] !== undefined && output["SourceRegions"]["SourceRegion"] !== undefined) {
21453
21468
  contents.SourceRegions = deserializeAws_querySourceRegionList(__getArrayIfSingleItem(output["SourceRegions"]["SourceRegion"]), context);
21454
21469
  }
21455
21470
  return contents;
@@ -21699,7 +21714,7 @@ var deserializeAws_queryTagListMessage = function (output, context) {
21699
21714
  if (output.TagList === "") {
21700
21715
  contents.TagList = [];
21701
21716
  }
21702
- if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
21717
+ else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
21703
21718
  contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
21704
21719
  }
21705
21720
  return contents;
@@ -21780,7 +21795,7 @@ var deserializeAws_queryUpgradeTarget = function (output, context) {
21780
21795
  if (output.SupportedEngineModes === "") {
21781
21796
  contents.SupportedEngineModes = [];
21782
21797
  }
21783
- if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
21798
+ else if (output["SupportedEngineModes"] !== undefined && output["SupportedEngineModes"]["member"] !== undefined) {
21784
21799
  contents.SupportedEngineModes = deserializeAws_queryEngineModeList(__getArrayIfSingleItem(output["SupportedEngineModes"]["member"]), context);
21785
21800
  }
21786
21801
  if (output["SupportsParallelQuery"] !== undefined) {
@@ -21837,13 +21852,13 @@ var deserializeAws_queryValidDBInstanceModificationsMessage = function (output,
21837
21852
  if (output.Storage === "") {
21838
21853
  contents.Storage = [];
21839
21854
  }
21840
- if (output["Storage"] !== undefined && output["Storage"]["ValidStorageOptions"] !== undefined) {
21855
+ else if (output["Storage"] !== undefined && output["Storage"]["ValidStorageOptions"] !== undefined) {
21841
21856
  contents.Storage = deserializeAws_queryValidStorageOptionsList(__getArrayIfSingleItem(output["Storage"]["ValidStorageOptions"]), context);
21842
21857
  }
21843
21858
  if (output.ValidProcessorFeatures === "") {
21844
21859
  contents.ValidProcessorFeatures = [];
21845
21860
  }
21846
- if (output["ValidProcessorFeatures"] !== undefined &&
21861
+ else if (output["ValidProcessorFeatures"] !== undefined &&
21847
21862
  output["ValidProcessorFeatures"]["AvailableProcessorFeature"] !== undefined) {
21848
21863
  contents.ValidProcessorFeatures = deserializeAws_queryAvailableProcessorFeatureList(__getArrayIfSingleItem(output["ValidProcessorFeatures"]["AvailableProcessorFeature"]), context);
21849
21864
  }
@@ -21863,19 +21878,19 @@ var deserializeAws_queryValidStorageOptions = function (output, context) {
21863
21878
  if (output.StorageSize === "") {
21864
21879
  contents.StorageSize = [];
21865
21880
  }
21866
- if (output["StorageSize"] !== undefined && output["StorageSize"]["Range"] !== undefined) {
21881
+ else if (output["StorageSize"] !== undefined && output["StorageSize"]["Range"] !== undefined) {
21867
21882
  contents.StorageSize = deserializeAws_queryRangeList(__getArrayIfSingleItem(output["StorageSize"]["Range"]), context);
21868
21883
  }
21869
21884
  if (output.ProvisionedIops === "") {
21870
21885
  contents.ProvisionedIops = [];
21871
21886
  }
21872
- if (output["ProvisionedIops"] !== undefined && output["ProvisionedIops"]["Range"] !== undefined) {
21887
+ else if (output["ProvisionedIops"] !== undefined && output["ProvisionedIops"]["Range"] !== undefined) {
21873
21888
  contents.ProvisionedIops = deserializeAws_queryRangeList(__getArrayIfSingleItem(output["ProvisionedIops"]["Range"]), context);
21874
21889
  }
21875
21890
  if (output.IopsToStorageRatio === "") {
21876
21891
  contents.IopsToStorageRatio = [];
21877
21892
  }
21878
- if (output["IopsToStorageRatio"] !== undefined && output["IopsToStorageRatio"]["DoubleRange"] !== undefined) {
21893
+ else if (output["IopsToStorageRatio"] !== undefined && output["IopsToStorageRatio"]["DoubleRange"] !== undefined) {
21879
21894
  contents.IopsToStorageRatio = deserializeAws_queryDoubleRangeList(__getArrayIfSingleItem(output["IopsToStorageRatio"]["DoubleRange"]), context);
21880
21895
  }
21881
21896
  if (output["SupportsStorageAutoscaling"] !== undefined) {