@aws-sdk/client-docdb 3.296.0 → 3.298.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.
Files changed (183) hide show
  1. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +2 -3
  2. package/dist-cjs/commands/AddTagsToResourceCommand.js +2 -3
  3. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +2 -3
  4. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +2 -3
  5. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +2 -3
  6. package/dist-cjs/commands/CreateDBClusterCommand.js +2 -3
  7. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +2 -3
  8. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +2 -3
  9. package/dist-cjs/commands/CreateDBInstanceCommand.js +2 -3
  10. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +2 -3
  11. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +2 -3
  12. package/dist-cjs/commands/CreateGlobalClusterCommand.js +2 -3
  13. package/dist-cjs/commands/DeleteDBClusterCommand.js +2 -3
  14. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +2 -3
  15. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +2 -3
  16. package/dist-cjs/commands/DeleteDBInstanceCommand.js +2 -3
  17. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +2 -3
  18. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +2 -3
  19. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +2 -3
  20. package/dist-cjs/commands/DescribeCertificatesCommand.js +2 -3
  21. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +2 -3
  22. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +2 -3
  23. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +2 -3
  24. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +2 -3
  25. package/dist-cjs/commands/DescribeDBClustersCommand.js +2 -3
  26. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +2 -3
  27. package/dist-cjs/commands/DescribeDBInstancesCommand.js +2 -3
  28. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +2 -3
  29. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +2 -3
  30. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +2 -3
  31. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +2 -3
  32. package/dist-cjs/commands/DescribeEventsCommand.js +2 -3
  33. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +2 -3
  34. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +2 -3
  35. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +2 -3
  36. package/dist-cjs/commands/FailoverDBClusterCommand.js +2 -3
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  38. package/dist-cjs/commands/ModifyDBClusterCommand.js +2 -3
  39. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +2 -3
  40. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +2 -3
  41. package/dist-cjs/commands/ModifyDBInstanceCommand.js +2 -3
  42. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +2 -3
  43. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +2 -3
  44. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +2 -3
  45. package/dist-cjs/commands/RebootDBInstanceCommand.js +2 -3
  46. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +2 -3
  47. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +2 -3
  48. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +2 -3
  49. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +2 -3
  50. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +2 -3
  51. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +2 -3
  52. package/dist-cjs/commands/StartDBClusterCommand.js +2 -3
  53. package/dist-cjs/commands/StopDBClusterCommand.js +2 -3
  54. package/dist-cjs/models/models_0.js +1 -535
  55. package/dist-cjs/protocols/Aws_query.js +135 -592
  56. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +2 -3
  57. package/dist-es/commands/AddTagsToResourceCommand.js +2 -3
  58. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +2 -3
  59. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +2 -3
  60. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +2 -3
  61. package/dist-es/commands/CreateDBClusterCommand.js +2 -3
  62. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +2 -3
  63. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +2 -3
  64. package/dist-es/commands/CreateDBInstanceCommand.js +2 -3
  65. package/dist-es/commands/CreateDBSubnetGroupCommand.js +2 -3
  66. package/dist-es/commands/CreateEventSubscriptionCommand.js +2 -3
  67. package/dist-es/commands/CreateGlobalClusterCommand.js +2 -3
  68. package/dist-es/commands/DeleteDBClusterCommand.js +2 -3
  69. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +2 -3
  70. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +2 -3
  71. package/dist-es/commands/DeleteDBInstanceCommand.js +2 -3
  72. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +2 -3
  73. package/dist-es/commands/DeleteEventSubscriptionCommand.js +2 -3
  74. package/dist-es/commands/DeleteGlobalClusterCommand.js +2 -3
  75. package/dist-es/commands/DescribeCertificatesCommand.js +2 -3
  76. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +2 -3
  77. package/dist-es/commands/DescribeDBClusterParametersCommand.js +2 -3
  78. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +2 -3
  79. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +2 -3
  80. package/dist-es/commands/DescribeDBClustersCommand.js +2 -3
  81. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +2 -3
  82. package/dist-es/commands/DescribeDBInstancesCommand.js +2 -3
  83. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +2 -3
  84. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +2 -3
  85. package/dist-es/commands/DescribeEventCategoriesCommand.js +2 -3
  86. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +2 -3
  87. package/dist-es/commands/DescribeEventsCommand.js +2 -3
  88. package/dist-es/commands/DescribeGlobalClustersCommand.js +2 -3
  89. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +2 -3
  90. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +2 -3
  91. package/dist-es/commands/FailoverDBClusterCommand.js +2 -3
  92. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  93. package/dist-es/commands/ModifyDBClusterCommand.js +2 -3
  94. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +2 -3
  95. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +2 -3
  96. package/dist-es/commands/ModifyDBInstanceCommand.js +2 -3
  97. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +2 -3
  98. package/dist-es/commands/ModifyEventSubscriptionCommand.js +2 -3
  99. package/dist-es/commands/ModifyGlobalClusterCommand.js +2 -3
  100. package/dist-es/commands/RebootDBInstanceCommand.js +2 -3
  101. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +2 -3
  102. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +2 -3
  103. package/dist-es/commands/RemoveTagsFromResourceCommand.js +2 -3
  104. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +2 -3
  105. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +2 -3
  106. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +2 -3
  107. package/dist-es/commands/StartDBClusterCommand.js +2 -3
  108. package/dist-es/commands/StopDBClusterCommand.js +2 -3
  109. package/dist-es/models/models_0.js +0 -399
  110. package/dist-es/protocols/Aws_query.js +135 -592
  111. package/dist-types/DocDB.d.ts +54 -0
  112. package/dist-types/DocDBClient.d.ts +24 -4
  113. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +16 -0
  114. package/dist-types/commands/AddTagsToResourceCommand.d.ts +16 -0
  115. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +16 -0
  116. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +16 -0
  117. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +16 -0
  118. package/dist-types/commands/CreateDBClusterCommand.d.ts +16 -0
  119. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +16 -0
  120. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +16 -0
  121. package/dist-types/commands/CreateDBInstanceCommand.d.ts +16 -0
  122. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +16 -0
  123. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +16 -0
  124. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +16 -0
  125. package/dist-types/commands/DeleteDBClusterCommand.d.ts +16 -0
  126. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +16 -0
  127. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +16 -0
  128. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +16 -0
  129. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +16 -0
  130. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +16 -0
  131. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +16 -0
  132. package/dist-types/commands/DescribeCertificatesCommand.d.ts +16 -0
  133. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +16 -0
  134. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +16 -0
  135. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +16 -0
  136. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +16 -0
  137. package/dist-types/commands/DescribeDBClustersCommand.d.ts +16 -0
  138. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +16 -0
  139. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +16 -0
  140. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +16 -0
  141. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +16 -0
  142. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +16 -0
  143. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +16 -0
  144. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  145. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +16 -0
  146. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +16 -0
  147. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +16 -0
  148. package/dist-types/commands/FailoverDBClusterCommand.d.ts +16 -0
  149. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  150. package/dist-types/commands/ModifyDBClusterCommand.d.ts +16 -0
  151. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +16 -0
  152. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +16 -0
  153. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +16 -0
  154. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +16 -0
  155. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +16 -0
  156. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +16 -0
  157. package/dist-types/commands/RebootDBInstanceCommand.d.ts +16 -0
  158. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +16 -0
  159. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +16 -0
  160. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +16 -0
  161. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +16 -0
  162. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +16 -0
  163. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +16 -0
  164. package/dist-types/commands/StartDBClusterCommand.d.ts +16 -0
  165. package/dist-types/commands/StopDBClusterCommand.d.ts +16 -0
  166. package/dist-types/models/DocDBServiceException.d.ts +2 -0
  167. package/dist-types/models/models_0.d.ts +274 -534
  168. package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +3 -0
  169. package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -0
  170. package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -0
  171. package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -0
  172. package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +3 -0
  173. package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -0
  174. package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +3 -0
  175. package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -0
  176. package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -0
  177. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  178. package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +3 -0
  179. package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -0
  180. package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -0
  181. package/dist-types/pagination/Interfaces.d.ts +3 -0
  182. package/dist-types/ts3.4/models/models_0.d.ts +0 -381
  183. package/package.json +4 -3
@@ -4825,18 +4825,14 @@ const serializeAws_queryVpcSecurityGroupIdList = (input, context) => {
4825
4825
  return entries;
4826
4826
  };
4827
4827
  const deserializeAws_queryAddSourceIdentifierToSubscriptionResult = (output, context) => {
4828
- const contents = {
4829
- EventSubscription: undefined,
4830
- };
4828
+ const contents = {};
4831
4829
  if (output["EventSubscription"] !== undefined) {
4832
4830
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
4833
4831
  }
4834
4832
  return contents;
4835
4833
  };
4836
4834
  const deserializeAws_queryApplyPendingMaintenanceActionResult = (output, context) => {
4837
- const contents = {
4838
- ResourcePendingMaintenanceActions: undefined,
4839
- };
4835
+ const contents = {};
4840
4836
  if (output["ResourcePendingMaintenanceActions"] !== undefined) {
4841
4837
  contents.ResourcePendingMaintenanceActions = deserializeAws_queryResourcePendingMaintenanceActions(output["ResourcePendingMaintenanceActions"], context);
4842
4838
  }
@@ -4850,18 +4846,14 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
4850
4846
  });
4851
4847
  };
4852
4848
  const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
4853
- const contents = {
4854
- message: undefined,
4855
- };
4849
+ const contents = {};
4856
4850
  if (output["message"] !== undefined) {
4857
4851
  contents.message = __expectString(output["message"]);
4858
4852
  }
4859
4853
  return contents;
4860
4854
  };
4861
4855
  const deserializeAws_queryAvailabilityZone = (output, context) => {
4862
- const contents = {
4863
- Name: undefined,
4864
- };
4856
+ const contents = {};
4865
4857
  if (output["Name"] !== undefined) {
4866
4858
  contents.Name = __expectString(output["Name"]);
4867
4859
  }
@@ -4882,14 +4874,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
4882
4874
  });
4883
4875
  };
4884
4876
  const deserializeAws_queryCertificate = (output, context) => {
4885
- const contents = {
4886
- CertificateIdentifier: undefined,
4887
- CertificateType: undefined,
4888
- Thumbprint: undefined,
4889
- ValidFrom: undefined,
4890
- ValidTill: undefined,
4891
- CertificateArn: undefined,
4892
- };
4877
+ const contents = {};
4893
4878
  if (output["CertificateIdentifier"] !== undefined) {
4894
4879
  contents.CertificateIdentifier = __expectString(output["CertificateIdentifier"]);
4895
4880
  }
@@ -4918,10 +4903,7 @@ const deserializeAws_queryCertificateList = (output, context) => {
4918
4903
  });
4919
4904
  };
4920
4905
  const deserializeAws_queryCertificateMessage = (output, context) => {
4921
- const contents = {
4922
- Certificates: undefined,
4923
- Marker: undefined,
4924
- };
4906
+ const contents = {};
4925
4907
  if (output.Certificates === "") {
4926
4908
  contents.Certificates = [];
4927
4909
  }
@@ -4934,130 +4916,77 @@ const deserializeAws_queryCertificateMessage = (output, context) => {
4934
4916
  return contents;
4935
4917
  };
4936
4918
  const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
4937
- const contents = {
4938
- message: undefined,
4939
- };
4919
+ const contents = {};
4940
4920
  if (output["message"] !== undefined) {
4941
4921
  contents.message = __expectString(output["message"]);
4942
4922
  }
4943
4923
  return contents;
4944
4924
  };
4945
4925
  const deserializeAws_queryCopyDBClusterParameterGroupResult = (output, context) => {
4946
- const contents = {
4947
- DBClusterParameterGroup: undefined,
4948
- };
4926
+ const contents = {};
4949
4927
  if (output["DBClusterParameterGroup"] !== undefined) {
4950
4928
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
4951
4929
  }
4952
4930
  return contents;
4953
4931
  };
4954
4932
  const deserializeAws_queryCopyDBClusterSnapshotResult = (output, context) => {
4955
- const contents = {
4956
- DBClusterSnapshot: undefined,
4957
- };
4933
+ const contents = {};
4958
4934
  if (output["DBClusterSnapshot"] !== undefined) {
4959
4935
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
4960
4936
  }
4961
4937
  return contents;
4962
4938
  };
4963
4939
  const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
4964
- const contents = {
4965
- DBClusterParameterGroup: undefined,
4966
- };
4940
+ const contents = {};
4967
4941
  if (output["DBClusterParameterGroup"] !== undefined) {
4968
4942
  contents.DBClusterParameterGroup = deserializeAws_queryDBClusterParameterGroup(output["DBClusterParameterGroup"], context);
4969
4943
  }
4970
4944
  return contents;
4971
4945
  };
4972
4946
  const deserializeAws_queryCreateDBClusterResult = (output, context) => {
4973
- const contents = {
4974
- DBCluster: undefined,
4975
- };
4947
+ const contents = {};
4976
4948
  if (output["DBCluster"] !== undefined) {
4977
4949
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
4978
4950
  }
4979
4951
  return contents;
4980
4952
  };
4981
4953
  const deserializeAws_queryCreateDBClusterSnapshotResult = (output, context) => {
4982
- const contents = {
4983
- DBClusterSnapshot: undefined,
4984
- };
4954
+ const contents = {};
4985
4955
  if (output["DBClusterSnapshot"] !== undefined) {
4986
4956
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
4987
4957
  }
4988
4958
  return contents;
4989
4959
  };
4990
4960
  const deserializeAws_queryCreateDBInstanceResult = (output, context) => {
4991
- const contents = {
4992
- DBInstance: undefined,
4993
- };
4961
+ const contents = {};
4994
4962
  if (output["DBInstance"] !== undefined) {
4995
4963
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
4996
4964
  }
4997
4965
  return contents;
4998
4966
  };
4999
4967
  const deserializeAws_queryCreateDBSubnetGroupResult = (output, context) => {
5000
- const contents = {
5001
- DBSubnetGroup: undefined,
5002
- };
4968
+ const contents = {};
5003
4969
  if (output["DBSubnetGroup"] !== undefined) {
5004
4970
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
5005
4971
  }
5006
4972
  return contents;
5007
4973
  };
5008
4974
  const deserializeAws_queryCreateEventSubscriptionResult = (output, context) => {
5009
- const contents = {
5010
- EventSubscription: undefined,
5011
- };
4975
+ const contents = {};
5012
4976
  if (output["EventSubscription"] !== undefined) {
5013
4977
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
5014
4978
  }
5015
4979
  return contents;
5016
4980
  };
5017
4981
  const deserializeAws_queryCreateGlobalClusterResult = (output, context) => {
5018
- const contents = {
5019
- GlobalCluster: undefined,
5020
- };
4982
+ const contents = {};
5021
4983
  if (output["GlobalCluster"] !== undefined) {
5022
4984
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
5023
4985
  }
5024
4986
  return contents;
5025
4987
  };
5026
4988
  const deserializeAws_queryDBCluster = (output, context) => {
5027
- const contents = {
5028
- AvailabilityZones: undefined,
5029
- BackupRetentionPeriod: undefined,
5030
- DBClusterIdentifier: undefined,
5031
- DBClusterParameterGroup: undefined,
5032
- DBSubnetGroup: undefined,
5033
- Status: undefined,
5034
- PercentProgress: undefined,
5035
- EarliestRestorableTime: undefined,
5036
- Endpoint: undefined,
5037
- ReaderEndpoint: undefined,
5038
- MultiAZ: undefined,
5039
- Engine: undefined,
5040
- EngineVersion: undefined,
5041
- LatestRestorableTime: undefined,
5042
- Port: undefined,
5043
- MasterUsername: undefined,
5044
- PreferredBackupWindow: undefined,
5045
- PreferredMaintenanceWindow: undefined,
5046
- ReplicationSourceIdentifier: undefined,
5047
- ReadReplicaIdentifiers: undefined,
5048
- DBClusterMembers: undefined,
5049
- VpcSecurityGroups: undefined,
5050
- HostedZoneId: undefined,
5051
- StorageEncrypted: undefined,
5052
- KmsKeyId: undefined,
5053
- DbClusterResourceId: undefined,
5054
- DBClusterArn: undefined,
5055
- AssociatedRoles: undefined,
5056
- CloneGroupId: undefined,
5057
- ClusterCreateTime: undefined,
5058
- EnabledCloudwatchLogsExports: undefined,
5059
- DeletionProtection: undefined,
5060
- };
4989
+ const contents = {};
5061
4990
  if (output.AvailabilityZones === "") {
5062
4991
  contents.AvailabilityZones = [];
5063
4992
  }
@@ -5179,9 +5108,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
5179
5108
  return contents;
5180
5109
  };
5181
5110
  const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
5182
- const contents = {
5183
- message: undefined,
5184
- };
5111
+ const contents = {};
5185
5112
  if (output["message"] !== undefined) {
5186
5113
  contents.message = __expectString(output["message"]);
5187
5114
  }
@@ -5195,12 +5122,7 @@ const deserializeAws_queryDBClusterList = (output, context) => {
5195
5122
  });
5196
5123
  };
5197
5124
  const deserializeAws_queryDBClusterMember = (output, context) => {
5198
- const contents = {
5199
- DBInstanceIdentifier: undefined,
5200
- IsClusterWriter: undefined,
5201
- DBClusterParameterGroupStatus: undefined,
5202
- PromotionTier: undefined,
5203
- };
5125
+ const contents = {};
5204
5126
  if (output["DBInstanceIdentifier"] !== undefined) {
5205
5127
  contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
5206
5128
  }
@@ -5223,10 +5145,7 @@ const deserializeAws_queryDBClusterMemberList = (output, context) => {
5223
5145
  });
5224
5146
  };
5225
5147
  const deserializeAws_queryDBClusterMessage = (output, context) => {
5226
- const contents = {
5227
- Marker: undefined,
5228
- DBClusters: undefined,
5229
- };
5148
+ const contents = {};
5230
5149
  if (output["Marker"] !== undefined) {
5231
5150
  contents.Marker = __expectString(output["Marker"]);
5232
5151
  }
@@ -5239,21 +5158,14 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
5239
5158
  return contents;
5240
5159
  };
5241
5160
  const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
5242
- const contents = {
5243
- message: undefined,
5244
- };
5161
+ const contents = {};
5245
5162
  if (output["message"] !== undefined) {
5246
5163
  contents.message = __expectString(output["message"]);
5247
5164
  }
5248
5165
  return contents;
5249
5166
  };
5250
5167
  const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
5251
- const contents = {
5252
- DBClusterParameterGroupName: undefined,
5253
- DBParameterGroupFamily: undefined,
5254
- Description: undefined,
5255
- DBClusterParameterGroupArn: undefined,
5256
- };
5168
+ const contents = {};
5257
5169
  if (output["DBClusterParameterGroupName"] !== undefined) {
5258
5170
  contents.DBClusterParameterGroupName = __expectString(output["DBClusterParameterGroupName"]);
5259
5171
  }
@@ -5269,10 +5181,7 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
5269
5181
  return contents;
5270
5182
  };
5271
5183
  const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) => {
5272
- const contents = {
5273
- Parameters: undefined,
5274
- Marker: undefined,
5275
- };
5184
+ const contents = {};
5276
5185
  if (output.Parameters === "") {
5277
5186
  contents.Parameters = [];
5278
5187
  }
@@ -5292,28 +5201,21 @@ const deserializeAws_queryDBClusterParameterGroupList = (output, context) => {
5292
5201
  });
5293
5202
  };
5294
5203
  const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context) => {
5295
- const contents = {
5296
- DBClusterParameterGroupName: undefined,
5297
- };
5204
+ const contents = {};
5298
5205
  if (output["DBClusterParameterGroupName"] !== undefined) {
5299
5206
  contents.DBClusterParameterGroupName = __expectString(output["DBClusterParameterGroupName"]);
5300
5207
  }
5301
5208
  return contents;
5302
5209
  };
5303
5210
  const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, context) => {
5304
- const contents = {
5305
- message: undefined,
5306
- };
5211
+ const contents = {};
5307
5212
  if (output["message"] !== undefined) {
5308
5213
  contents.message = __expectString(output["message"]);
5309
5214
  }
5310
5215
  return contents;
5311
5216
  };
5312
5217
  const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) => {
5313
- const contents = {
5314
- Marker: undefined,
5315
- DBClusterParameterGroups: undefined,
5316
- };
5218
+ const contents = {};
5317
5219
  if (output["Marker"] !== undefined) {
5318
5220
  contents.Marker = __expectString(output["Marker"]);
5319
5221
  }
@@ -5327,19 +5229,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
5327
5229
  return contents;
5328
5230
  };
5329
5231
  const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
5330
- const contents = {
5331
- message: undefined,
5332
- };
5232
+ const contents = {};
5333
5233
  if (output["message"] !== undefined) {
5334
5234
  contents.message = __expectString(output["message"]);
5335
5235
  }
5336
5236
  return contents;
5337
5237
  };
5338
5238
  const deserializeAws_queryDBClusterRole = (output, context) => {
5339
- const contents = {
5340
- RoleArn: undefined,
5341
- Status: undefined,
5342
- };
5239
+ const contents = {};
5343
5240
  if (output["RoleArn"] !== undefined) {
5344
5241
  contents.RoleArn = __expectString(output["RoleArn"]);
5345
5242
  }
@@ -5356,25 +5253,7 @@ const deserializeAws_queryDBClusterRoles = (output, context) => {
5356
5253
  });
5357
5254
  };
5358
5255
  const deserializeAws_queryDBClusterSnapshot = (output, context) => {
5359
- const contents = {
5360
- AvailabilityZones: undefined,
5361
- DBClusterSnapshotIdentifier: undefined,
5362
- DBClusterIdentifier: undefined,
5363
- SnapshotCreateTime: undefined,
5364
- Engine: undefined,
5365
- Status: undefined,
5366
- Port: undefined,
5367
- VpcId: undefined,
5368
- ClusterCreateTime: undefined,
5369
- MasterUsername: undefined,
5370
- EngineVersion: undefined,
5371
- SnapshotType: undefined,
5372
- PercentProgress: undefined,
5373
- StorageEncrypted: undefined,
5374
- KmsKeyId: undefined,
5375
- DBClusterSnapshotArn: undefined,
5376
- SourceDBClusterSnapshotArn: undefined,
5377
- };
5256
+ const contents = {};
5378
5257
  if (output.AvailabilityZones === "") {
5379
5258
  contents.AvailabilityZones = [];
5380
5259
  }
@@ -5433,19 +5312,14 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
5433
5312
  return contents;
5434
5313
  };
5435
5314
  const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context) => {
5436
- const contents = {
5437
- message: undefined,
5438
- };
5315
+ const contents = {};
5439
5316
  if (output["message"] !== undefined) {
5440
5317
  contents.message = __expectString(output["message"]);
5441
5318
  }
5442
5319
  return contents;
5443
5320
  };
5444
5321
  const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
5445
- const contents = {
5446
- AttributeName: undefined,
5447
- AttributeValues: undefined,
5448
- };
5322
+ const contents = {};
5449
5323
  if (output["AttributeName"] !== undefined) {
5450
5324
  contents.AttributeName = __expectString(output["AttributeName"]);
5451
5325
  }
@@ -5465,10 +5339,7 @@ const deserializeAws_queryDBClusterSnapshotAttributeList = (output, context) =>
5465
5339
  });
5466
5340
  };
5467
5341
  const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context) => {
5468
- const contents = {
5469
- DBClusterSnapshotIdentifier: undefined,
5470
- DBClusterSnapshotAttributes: undefined,
5471
- };
5342
+ const contents = {};
5472
5343
  if (output["DBClusterSnapshotIdentifier"] !== undefined) {
5473
5344
  contents.DBClusterSnapshotIdentifier = __expectString(output["DBClusterSnapshotIdentifier"]);
5474
5345
  }
@@ -5489,10 +5360,7 @@ const deserializeAws_queryDBClusterSnapshotList = (output, context) => {
5489
5360
  });
5490
5361
  };
5491
5362
  const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
5492
- const contents = {
5493
- Marker: undefined,
5494
- DBClusterSnapshots: undefined,
5495
- };
5363
+ const contents = {};
5496
5364
  if (output["Marker"] !== undefined) {
5497
5365
  contents.Marker = __expectString(output["Marker"]);
5498
5366
  }
@@ -5506,25 +5374,14 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
5506
5374
  return contents;
5507
5375
  };
5508
5376
  const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) => {
5509
- const contents = {
5510
- message: undefined,
5511
- };
5377
+ const contents = {};
5512
5378
  if (output["message"] !== undefined) {
5513
5379
  contents.message = __expectString(output["message"]);
5514
5380
  }
5515
5381
  return contents;
5516
5382
  };
5517
5383
  const deserializeAws_queryDBEngineVersion = (output, context) => {
5518
- const contents = {
5519
- Engine: undefined,
5520
- EngineVersion: undefined,
5521
- DBParameterGroupFamily: undefined,
5522
- DBEngineDescription: undefined,
5523
- DBEngineVersionDescription: undefined,
5524
- ValidUpgradeTarget: undefined,
5525
- ExportableLogTypes: undefined,
5526
- SupportsLogExportsToCloudwatchLogs: undefined,
5527
- };
5384
+ const contents = {};
5528
5385
  if (output["Engine"] !== undefined) {
5529
5386
  contents.Engine = __expectString(output["Engine"]);
5530
5387
  }
@@ -5566,10 +5423,7 @@ const deserializeAws_queryDBEngineVersionList = (output, context) => {
5566
5423
  });
5567
5424
  };
5568
5425
  const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
5569
- const contents = {
5570
- Marker: undefined,
5571
- DBEngineVersions: undefined,
5572
- };
5426
+ const contents = {};
5573
5427
  if (output["Marker"] !== undefined) {
5574
5428
  contents.Marker = __expectString(output["Marker"]);
5575
5429
  }
@@ -5582,35 +5436,7 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
5582
5436
  return contents;
5583
5437
  };
5584
5438
  const deserializeAws_queryDBInstance = (output, context) => {
5585
- const contents = {
5586
- DBInstanceIdentifier: undefined,
5587
- DBInstanceClass: undefined,
5588
- Engine: undefined,
5589
- DBInstanceStatus: undefined,
5590
- Endpoint: undefined,
5591
- InstanceCreateTime: undefined,
5592
- PreferredBackupWindow: undefined,
5593
- BackupRetentionPeriod: undefined,
5594
- VpcSecurityGroups: undefined,
5595
- AvailabilityZone: undefined,
5596
- DBSubnetGroup: undefined,
5597
- PreferredMaintenanceWindow: undefined,
5598
- PendingModifiedValues: undefined,
5599
- LatestRestorableTime: undefined,
5600
- EngineVersion: undefined,
5601
- AutoMinorVersionUpgrade: undefined,
5602
- PubliclyAccessible: undefined,
5603
- StatusInfos: undefined,
5604
- DBClusterIdentifier: undefined,
5605
- StorageEncrypted: undefined,
5606
- KmsKeyId: undefined,
5607
- DbiResourceId: undefined,
5608
- CACertificateIdentifier: undefined,
5609
- CopyTagsToSnapshot: undefined,
5610
- PromotionTier: undefined,
5611
- DBInstanceArn: undefined,
5612
- EnabledCloudwatchLogsExports: undefined,
5613
- };
5439
+ const contents = {};
5614
5440
  if (output["DBInstanceIdentifier"] !== undefined) {
5615
5441
  contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
5616
5442
  }
@@ -5706,9 +5532,7 @@ const deserializeAws_queryDBInstance = (output, context) => {
5706
5532
  return contents;
5707
5533
  };
5708
5534
  const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
5709
- const contents = {
5710
- message: undefined,
5711
- };
5535
+ const contents = {};
5712
5536
  if (output["message"] !== undefined) {
5713
5537
  contents.message = __expectString(output["message"]);
5714
5538
  }
@@ -5722,10 +5546,7 @@ const deserializeAws_queryDBInstanceList = (output, context) => {
5722
5546
  });
5723
5547
  };
5724
5548
  const deserializeAws_queryDBInstanceMessage = (output, context) => {
5725
- const contents = {
5726
- Marker: undefined,
5727
- DBInstances: undefined,
5728
- };
5549
+ const contents = {};
5729
5550
  if (output["Marker"] !== undefined) {
5730
5551
  contents.Marker = __expectString(output["Marker"]);
5731
5552
  }
@@ -5738,21 +5559,14 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
5738
5559
  return contents;
5739
5560
  };
5740
5561
  const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
5741
- const contents = {
5742
- message: undefined,
5743
- };
5562
+ const contents = {};
5744
5563
  if (output["message"] !== undefined) {
5745
5564
  contents.message = __expectString(output["message"]);
5746
5565
  }
5747
5566
  return contents;
5748
5567
  };
5749
5568
  const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
5750
- const contents = {
5751
- StatusType: undefined,
5752
- Normal: undefined,
5753
- Status: undefined,
5754
- Message: undefined,
5755
- };
5569
+ const contents = {};
5756
5570
  if (output["StatusType"] !== undefined) {
5757
5571
  contents.StatusType = __expectString(output["StatusType"]);
5758
5572
  }
@@ -5775,68 +5589,49 @@ const deserializeAws_queryDBInstanceStatusInfoList = (output, context) => {
5775
5589
  });
5776
5590
  };
5777
5591
  const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context) => {
5778
- const contents = {
5779
- message: undefined,
5780
- };
5592
+ const contents = {};
5781
5593
  if (output["message"] !== undefined) {
5782
5594
  contents.message = __expectString(output["message"]);
5783
5595
  }
5784
5596
  return contents;
5785
5597
  };
5786
5598
  const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
5787
- const contents = {
5788
- message: undefined,
5789
- };
5599
+ const contents = {};
5790
5600
  if (output["message"] !== undefined) {
5791
5601
  contents.message = __expectString(output["message"]);
5792
5602
  }
5793
5603
  return contents;
5794
5604
  };
5795
5605
  const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context) => {
5796
- const contents = {
5797
- message: undefined,
5798
- };
5606
+ const contents = {};
5799
5607
  if (output["message"] !== undefined) {
5800
5608
  contents.message = __expectString(output["message"]);
5801
5609
  }
5802
5610
  return contents;
5803
5611
  };
5804
5612
  const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
5805
- const contents = {
5806
- message: undefined,
5807
- };
5613
+ const contents = {};
5808
5614
  if (output["message"] !== undefined) {
5809
5615
  contents.message = __expectString(output["message"]);
5810
5616
  }
5811
5617
  return contents;
5812
5618
  };
5813
5619
  const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
5814
- const contents = {
5815
- message: undefined,
5816
- };
5620
+ const contents = {};
5817
5621
  if (output["message"] !== undefined) {
5818
5622
  contents.message = __expectString(output["message"]);
5819
5623
  }
5820
5624
  return contents;
5821
5625
  };
5822
5626
  const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
5823
- const contents = {
5824
- message: undefined,
5825
- };
5627
+ const contents = {};
5826
5628
  if (output["message"] !== undefined) {
5827
5629
  contents.message = __expectString(output["message"]);
5828
5630
  }
5829
5631
  return contents;
5830
5632
  };
5831
5633
  const deserializeAws_queryDBSubnetGroup = (output, context) => {
5832
- const contents = {
5833
- DBSubnetGroupName: undefined,
5834
- DBSubnetGroupDescription: undefined,
5835
- VpcId: undefined,
5836
- SubnetGroupStatus: undefined,
5837
- Subnets: undefined,
5838
- DBSubnetGroupArn: undefined,
5839
- };
5634
+ const contents = {};
5840
5635
  if (output["DBSubnetGroupName"] !== undefined) {
5841
5636
  contents.DBSubnetGroupName = __expectString(output["DBSubnetGroupName"]);
5842
5637
  }
@@ -5861,28 +5656,21 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
5861
5656
  return contents;
5862
5657
  };
5863
5658
  const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) => {
5864
- const contents = {
5865
- message: undefined,
5866
- };
5659
+ const contents = {};
5867
5660
  if (output["message"] !== undefined) {
5868
5661
  contents.message = __expectString(output["message"]);
5869
5662
  }
5870
5663
  return contents;
5871
5664
  };
5872
5665
  const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context) => {
5873
- const contents = {
5874
- message: undefined,
5875
- };
5666
+ const contents = {};
5876
5667
  if (output["message"] !== undefined) {
5877
5668
  contents.message = __expectString(output["message"]);
5878
5669
  }
5879
5670
  return contents;
5880
5671
  };
5881
5672
  const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
5882
- const contents = {
5883
- Marker: undefined,
5884
- DBSubnetGroups: undefined,
5885
- };
5673
+ const contents = {};
5886
5674
  if (output["Marker"] !== undefined) {
5887
5675
  contents.Marker = __expectString(output["Marker"]);
5888
5676
  }
@@ -5895,18 +5683,14 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
5895
5683
  return contents;
5896
5684
  };
5897
5685
  const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
5898
- const contents = {
5899
- message: undefined,
5900
- };
5686
+ const contents = {};
5901
5687
  if (output["message"] !== undefined) {
5902
5688
  contents.message = __expectString(output["message"]);
5903
5689
  }
5904
5690
  return contents;
5905
5691
  };
5906
5692
  const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) => {
5907
- const contents = {
5908
- message: undefined,
5909
- };
5693
+ const contents = {};
5910
5694
  if (output["message"] !== undefined) {
5911
5695
  contents.message = __expectString(output["message"]);
5912
5696
  }
@@ -5920,92 +5704,70 @@ const deserializeAws_queryDBSubnetGroups = (output, context) => {
5920
5704
  });
5921
5705
  };
5922
5706
  const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
5923
- const contents = {
5924
- message: undefined,
5925
- };
5707
+ const contents = {};
5926
5708
  if (output["message"] !== undefined) {
5927
5709
  contents.message = __expectString(output["message"]);
5928
5710
  }
5929
5711
  return contents;
5930
5712
  };
5931
5713
  const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) => {
5932
- const contents = {
5933
- message: undefined,
5934
- };
5714
+ const contents = {};
5935
5715
  if (output["message"] !== undefined) {
5936
5716
  contents.message = __expectString(output["message"]);
5937
5717
  }
5938
5718
  return contents;
5939
5719
  };
5940
5720
  const deserializeAws_queryDeleteDBClusterResult = (output, context) => {
5941
- const contents = {
5942
- DBCluster: undefined,
5943
- };
5721
+ const contents = {};
5944
5722
  if (output["DBCluster"] !== undefined) {
5945
5723
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
5946
5724
  }
5947
5725
  return contents;
5948
5726
  };
5949
5727
  const deserializeAws_queryDeleteDBClusterSnapshotResult = (output, context) => {
5950
- const contents = {
5951
- DBClusterSnapshot: undefined,
5952
- };
5728
+ const contents = {};
5953
5729
  if (output["DBClusterSnapshot"] !== undefined) {
5954
5730
  contents.DBClusterSnapshot = deserializeAws_queryDBClusterSnapshot(output["DBClusterSnapshot"], context);
5955
5731
  }
5956
5732
  return contents;
5957
5733
  };
5958
5734
  const deserializeAws_queryDeleteDBInstanceResult = (output, context) => {
5959
- const contents = {
5960
- DBInstance: undefined,
5961
- };
5735
+ const contents = {};
5962
5736
  if (output["DBInstance"] !== undefined) {
5963
5737
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
5964
5738
  }
5965
5739
  return contents;
5966
5740
  };
5967
5741
  const deserializeAws_queryDeleteEventSubscriptionResult = (output, context) => {
5968
- const contents = {
5969
- EventSubscription: undefined,
5970
- };
5742
+ const contents = {};
5971
5743
  if (output["EventSubscription"] !== undefined) {
5972
5744
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
5973
5745
  }
5974
5746
  return contents;
5975
5747
  };
5976
5748
  const deserializeAws_queryDeleteGlobalClusterResult = (output, context) => {
5977
- const contents = {
5978
- GlobalCluster: undefined,
5979
- };
5749
+ const contents = {};
5980
5750
  if (output["GlobalCluster"] !== undefined) {
5981
5751
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
5982
5752
  }
5983
5753
  return contents;
5984
5754
  };
5985
5755
  const deserializeAws_queryDescribeDBClusterSnapshotAttributesResult = (output, context) => {
5986
- const contents = {
5987
- DBClusterSnapshotAttributesResult: undefined,
5988
- };
5756
+ const contents = {};
5989
5757
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
5990
5758
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
5991
5759
  }
5992
5760
  return contents;
5993
5761
  };
5994
5762
  const deserializeAws_queryDescribeEngineDefaultClusterParametersResult = (output, context) => {
5995
- const contents = {
5996
- EngineDefaults: undefined,
5997
- };
5763
+ const contents = {};
5998
5764
  if (output["EngineDefaults"] !== undefined) {
5999
5765
  contents.EngineDefaults = deserializeAws_queryEngineDefaults(output["EngineDefaults"], context);
6000
5766
  }
6001
5767
  return contents;
6002
5768
  };
6003
5769
  const deserializeAws_queryEndpoint = (output, context) => {
6004
- const contents = {
6005
- Address: undefined,
6006
- Port: undefined,
6007
- HostedZoneId: undefined,
6008
- };
5770
+ const contents = {};
6009
5771
  if (output["Address"] !== undefined) {
6010
5772
  contents.Address = __expectString(output["Address"]);
6011
5773
  }
@@ -6018,11 +5780,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
6018
5780
  return contents;
6019
5781
  };
6020
5782
  const deserializeAws_queryEngineDefaults = (output, context) => {
6021
- const contents = {
6022
- DBParameterGroupFamily: undefined,
6023
- Marker: undefined,
6024
- Parameters: undefined,
6025
- };
5783
+ const contents = {};
6026
5784
  if (output["DBParameterGroupFamily"] !== undefined) {
6027
5785
  contents.DBParameterGroupFamily = __expectString(output["DBParameterGroupFamily"]);
6028
5786
  }
@@ -6038,14 +5796,7 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
6038
5796
  return contents;
6039
5797
  };
6040
5798
  const deserializeAws_queryEvent = (output, context) => {
6041
- const contents = {
6042
- SourceIdentifier: undefined,
6043
- SourceType: undefined,
6044
- Message: undefined,
6045
- EventCategories: undefined,
6046
- Date: undefined,
6047
- SourceArn: undefined,
6048
- };
5799
+ const contents = {};
6049
5800
  if (output["SourceIdentifier"] !== undefined) {
6050
5801
  contents.SourceIdentifier = __expectString(output["SourceIdentifier"]);
6051
5802
  }
@@ -6077,10 +5828,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
6077
5828
  });
6078
5829
  };
6079
5830
  const deserializeAws_queryEventCategoriesMap = (output, context) => {
6080
- const contents = {
6081
- SourceType: undefined,
6082
- EventCategories: undefined,
6083
- };
5831
+ const contents = {};
6084
5832
  if (output["SourceType"] !== undefined) {
6085
5833
  contents.SourceType = __expectString(output["SourceType"]);
6086
5834
  }
@@ -6100,9 +5848,7 @@ const deserializeAws_queryEventCategoriesMapList = (output, context) => {
6100
5848
  });
6101
5849
  };
6102
5850
  const deserializeAws_queryEventCategoriesMessage = (output, context) => {
6103
- const contents = {
6104
- EventCategoriesMapList: undefined,
6105
- };
5851
+ const contents = {};
6106
5852
  if (output.EventCategoriesMapList === "") {
6107
5853
  contents.EventCategoriesMapList = [];
6108
5854
  }
@@ -6120,10 +5866,7 @@ const deserializeAws_queryEventList = (output, context) => {
6120
5866
  });
6121
5867
  };
6122
5868
  const deserializeAws_queryEventsMessage = (output, context) => {
6123
- const contents = {
6124
- Marker: undefined,
6125
- Events: undefined,
6126
- };
5869
+ const contents = {};
6127
5870
  if (output["Marker"] !== undefined) {
6128
5871
  contents.Marker = __expectString(output["Marker"]);
6129
5872
  }
@@ -6136,18 +5879,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
6136
5879
  return contents;
6137
5880
  };
6138
5881
  const deserializeAws_queryEventSubscription = (output, context) => {
6139
- const contents = {
6140
- CustomerAwsId: undefined,
6141
- CustSubscriptionId: undefined,
6142
- SnsTopicArn: undefined,
6143
- Status: undefined,
6144
- SubscriptionCreationTime: undefined,
6145
- SourceType: undefined,
6146
- SourceIdsList: undefined,
6147
- EventCategoriesList: undefined,
6148
- Enabled: undefined,
6149
- EventSubscriptionArn: undefined,
6150
- };
5882
+ const contents = {};
6151
5883
  if (output["CustomerAwsId"] !== undefined) {
6152
5884
  contents.CustomerAwsId = __expectString(output["CustomerAwsId"]);
6153
5885
  }
@@ -6188,9 +5920,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
6188
5920
  return contents;
6189
5921
  };
6190
5922
  const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context) => {
6191
- const contents = {
6192
- message: undefined,
6193
- };
5923
+ const contents = {};
6194
5924
  if (output["message"] !== undefined) {
6195
5925
  contents.message = __expectString(output["message"]);
6196
5926
  }
@@ -6204,10 +5934,7 @@ const deserializeAws_queryEventSubscriptionsList = (output, context) => {
6204
5934
  });
6205
5935
  };
6206
5936
  const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
6207
- const contents = {
6208
- Marker: undefined,
6209
- EventSubscriptionsList: undefined,
6210
- };
5937
+ const contents = {};
6211
5938
  if (output["Marker"] !== undefined) {
6212
5939
  contents.Marker = __expectString(output["Marker"]);
6213
5940
  }
@@ -6221,27 +5948,14 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
6221
5948
  return contents;
6222
5949
  };
6223
5950
  const deserializeAws_queryFailoverDBClusterResult = (output, context) => {
6224
- const contents = {
6225
- DBCluster: undefined,
6226
- };
5951
+ const contents = {};
6227
5952
  if (output["DBCluster"] !== undefined) {
6228
5953
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6229
5954
  }
6230
5955
  return contents;
6231
5956
  };
6232
5957
  const deserializeAws_queryGlobalCluster = (output, context) => {
6233
- const contents = {
6234
- GlobalClusterIdentifier: undefined,
6235
- GlobalClusterResourceId: undefined,
6236
- GlobalClusterArn: undefined,
6237
- Status: undefined,
6238
- Engine: undefined,
6239
- EngineVersion: undefined,
6240
- DatabaseName: undefined,
6241
- StorageEncrypted: undefined,
6242
- DeletionProtection: undefined,
6243
- GlobalClusterMembers: undefined,
6244
- };
5958
+ const contents = {};
6245
5959
  if (output["GlobalClusterIdentifier"] !== undefined) {
6246
5960
  contents.GlobalClusterIdentifier = __expectString(output["GlobalClusterIdentifier"]);
6247
5961
  }
@@ -6279,9 +5993,7 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
6279
5993
  return contents;
6280
5994
  };
6281
5995
  const deserializeAws_queryGlobalClusterAlreadyExistsFault = (output, context) => {
6282
- const contents = {
6283
- message: undefined,
6284
- };
5996
+ const contents = {};
6285
5997
  if (output["message"] !== undefined) {
6286
5998
  contents.message = __expectString(output["message"]);
6287
5999
  }
@@ -6295,11 +6007,7 @@ const deserializeAws_queryGlobalClusterList = (output, context) => {
6295
6007
  });
6296
6008
  };
6297
6009
  const deserializeAws_queryGlobalClusterMember = (output, context) => {
6298
- const contents = {
6299
- DBClusterArn: undefined,
6300
- Readers: undefined,
6301
- IsWriter: undefined,
6302
- };
6010
+ const contents = {};
6303
6011
  if (output["DBClusterArn"] !== undefined) {
6304
6012
  contents.DBClusterArn = __expectString(output["DBClusterArn"]);
6305
6013
  }
@@ -6322,28 +6030,21 @@ const deserializeAws_queryGlobalClusterMemberList = (output, context) => {
6322
6030
  });
6323
6031
  };
6324
6032
  const deserializeAws_queryGlobalClusterNotFoundFault = (output, context) => {
6325
- const contents = {
6326
- message: undefined,
6327
- };
6033
+ const contents = {};
6328
6034
  if (output["message"] !== undefined) {
6329
6035
  contents.message = __expectString(output["message"]);
6330
6036
  }
6331
6037
  return contents;
6332
6038
  };
6333
6039
  const deserializeAws_queryGlobalClusterQuotaExceededFault = (output, context) => {
6334
- const contents = {
6335
- message: undefined,
6336
- };
6040
+ const contents = {};
6337
6041
  if (output["message"] !== undefined) {
6338
6042
  contents.message = __expectString(output["message"]);
6339
6043
  }
6340
6044
  return contents;
6341
6045
  };
6342
6046
  const deserializeAws_queryGlobalClustersMessage = (output, context) => {
6343
- const contents = {
6344
- Marker: undefined,
6345
- GlobalClusters: undefined,
6346
- };
6047
+ const contents = {};
6347
6048
  if (output["Marker"] !== undefined) {
6348
6049
  contents.Marker = __expectString(output["Marker"]);
6349
6050
  }
@@ -6356,162 +6057,126 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
6356
6057
  return contents;
6357
6058
  };
6358
6059
  const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
6359
- const contents = {
6360
- message: undefined,
6361
- };
6060
+ const contents = {};
6362
6061
  if (output["message"] !== undefined) {
6363
6062
  contents.message = __expectString(output["message"]);
6364
6063
  }
6365
6064
  return contents;
6366
6065
  };
6367
6066
  const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context) => {
6368
- const contents = {
6369
- message: undefined,
6370
- };
6067
+ const contents = {};
6371
6068
  if (output["message"] !== undefined) {
6372
6069
  contents.message = __expectString(output["message"]);
6373
6070
  }
6374
6071
  return contents;
6375
6072
  };
6376
6073
  const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context) => {
6377
- const contents = {
6378
- message: undefined,
6379
- };
6074
+ const contents = {};
6380
6075
  if (output["message"] !== undefined) {
6381
6076
  contents.message = __expectString(output["message"]);
6382
6077
  }
6383
6078
  return contents;
6384
6079
  };
6385
6080
  const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, context) => {
6386
- const contents = {
6387
- message: undefined,
6388
- };
6081
+ const contents = {};
6389
6082
  if (output["message"] !== undefined) {
6390
6083
  contents.message = __expectString(output["message"]);
6391
6084
  }
6392
6085
  return contents;
6393
6086
  };
6394
6087
  const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context) => {
6395
- const contents = {
6396
- message: undefined,
6397
- };
6088
+ const contents = {};
6398
6089
  if (output["message"] !== undefined) {
6399
6090
  contents.message = __expectString(output["message"]);
6400
6091
  }
6401
6092
  return contents;
6402
6093
  };
6403
6094
  const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
6404
- const contents = {
6405
- message: undefined,
6406
- };
6095
+ const contents = {};
6407
6096
  if (output["message"] !== undefined) {
6408
6097
  contents.message = __expectString(output["message"]);
6409
6098
  }
6410
6099
  return contents;
6411
6100
  };
6412
6101
  const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
6413
- const contents = {
6414
- message: undefined,
6415
- };
6102
+ const contents = {};
6416
6103
  if (output["message"] !== undefined) {
6417
6104
  contents.message = __expectString(output["message"]);
6418
6105
  }
6419
6106
  return contents;
6420
6107
  };
6421
6108
  const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context) => {
6422
- const contents = {
6423
- message: undefined,
6424
- };
6109
+ const contents = {};
6425
6110
  if (output["message"] !== undefined) {
6426
6111
  contents.message = __expectString(output["message"]);
6427
6112
  }
6428
6113
  return contents;
6429
6114
  };
6430
6115
  const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) => {
6431
- const contents = {
6432
- message: undefined,
6433
- };
6116
+ const contents = {};
6434
6117
  if (output["message"] !== undefined) {
6435
6118
  contents.message = __expectString(output["message"]);
6436
6119
  }
6437
6120
  return contents;
6438
6121
  };
6439
6122
  const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
6440
- const contents = {
6441
- message: undefined,
6442
- };
6123
+ const contents = {};
6443
6124
  if (output["message"] !== undefined) {
6444
6125
  contents.message = __expectString(output["message"]);
6445
6126
  }
6446
6127
  return contents;
6447
6128
  };
6448
6129
  const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) => {
6449
- const contents = {
6450
- message: undefined,
6451
- };
6130
+ const contents = {};
6452
6131
  if (output["message"] !== undefined) {
6453
6132
  contents.message = __expectString(output["message"]);
6454
6133
  }
6455
6134
  return contents;
6456
6135
  };
6457
6136
  const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
6458
- const contents = {
6459
- message: undefined,
6460
- };
6137
+ const contents = {};
6461
6138
  if (output["message"] !== undefined) {
6462
6139
  contents.message = __expectString(output["message"]);
6463
6140
  }
6464
6141
  return contents;
6465
6142
  };
6466
6143
  const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context) => {
6467
- const contents = {
6468
- message: undefined,
6469
- };
6144
+ const contents = {};
6470
6145
  if (output["message"] !== undefined) {
6471
6146
  contents.message = __expectString(output["message"]);
6472
6147
  }
6473
6148
  return contents;
6474
6149
  };
6475
6150
  const deserializeAws_queryInvalidGlobalClusterStateFault = (output, context) => {
6476
- const contents = {
6477
- message: undefined,
6478
- };
6151
+ const contents = {};
6479
6152
  if (output["message"] !== undefined) {
6480
6153
  contents.message = __expectString(output["message"]);
6481
6154
  }
6482
6155
  return contents;
6483
6156
  };
6484
6157
  const deserializeAws_queryInvalidRestoreFault = (output, context) => {
6485
- const contents = {
6486
- message: undefined,
6487
- };
6158
+ const contents = {};
6488
6159
  if (output["message"] !== undefined) {
6489
6160
  contents.message = __expectString(output["message"]);
6490
6161
  }
6491
6162
  return contents;
6492
6163
  };
6493
6164
  const deserializeAws_queryInvalidSubnet = (output, context) => {
6494
- const contents = {
6495
- message: undefined,
6496
- };
6165
+ const contents = {};
6497
6166
  if (output["message"] !== undefined) {
6498
6167
  contents.message = __expectString(output["message"]);
6499
6168
  }
6500
6169
  return contents;
6501
6170
  };
6502
6171
  const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
6503
- const contents = {
6504
- message: undefined,
6505
- };
6172
+ const contents = {};
6506
6173
  if (output["message"] !== undefined) {
6507
6174
  contents.message = __expectString(output["message"]);
6508
6175
  }
6509
6176
  return contents;
6510
6177
  };
6511
6178
  const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
6512
- const contents = {
6513
- message: undefined,
6514
- };
6179
+ const contents = {};
6515
6180
  if (output["message"] !== undefined) {
6516
6181
  contents.message = __expectString(output["message"]);
6517
6182
  }
@@ -6525,68 +6190,49 @@ const deserializeAws_queryLogTypeList = (output, context) => {
6525
6190
  });
6526
6191
  };
6527
6192
  const deserializeAws_queryModifyDBClusterResult = (output, context) => {
6528
- const contents = {
6529
- DBCluster: undefined,
6530
- };
6193
+ const contents = {};
6531
6194
  if (output["DBCluster"] !== undefined) {
6532
6195
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6533
6196
  }
6534
6197
  return contents;
6535
6198
  };
6536
6199
  const deserializeAws_queryModifyDBClusterSnapshotAttributeResult = (output, context) => {
6537
- const contents = {
6538
- DBClusterSnapshotAttributesResult: undefined,
6539
- };
6200
+ const contents = {};
6540
6201
  if (output["DBClusterSnapshotAttributesResult"] !== undefined) {
6541
6202
  contents.DBClusterSnapshotAttributesResult = deserializeAws_queryDBClusterSnapshotAttributesResult(output["DBClusterSnapshotAttributesResult"], context);
6542
6203
  }
6543
6204
  return contents;
6544
6205
  };
6545
6206
  const deserializeAws_queryModifyDBInstanceResult = (output, context) => {
6546
- const contents = {
6547
- DBInstance: undefined,
6548
- };
6207
+ const contents = {};
6549
6208
  if (output["DBInstance"] !== undefined) {
6550
6209
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6551
6210
  }
6552
6211
  return contents;
6553
6212
  };
6554
6213
  const deserializeAws_queryModifyDBSubnetGroupResult = (output, context) => {
6555
- const contents = {
6556
- DBSubnetGroup: undefined,
6557
- };
6214
+ const contents = {};
6558
6215
  if (output["DBSubnetGroup"] !== undefined) {
6559
6216
  contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
6560
6217
  }
6561
6218
  return contents;
6562
6219
  };
6563
6220
  const deserializeAws_queryModifyEventSubscriptionResult = (output, context) => {
6564
- const contents = {
6565
- EventSubscription: undefined,
6566
- };
6221
+ const contents = {};
6567
6222
  if (output["EventSubscription"] !== undefined) {
6568
6223
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6569
6224
  }
6570
6225
  return contents;
6571
6226
  };
6572
6227
  const deserializeAws_queryModifyGlobalClusterResult = (output, context) => {
6573
- const contents = {
6574
- GlobalCluster: undefined,
6575
- };
6228
+ const contents = {};
6576
6229
  if (output["GlobalCluster"] !== undefined) {
6577
6230
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6578
6231
  }
6579
6232
  return contents;
6580
6233
  };
6581
6234
  const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
6582
- const contents = {
6583
- Engine: undefined,
6584
- EngineVersion: undefined,
6585
- DBInstanceClass: undefined,
6586
- LicenseModel: undefined,
6587
- AvailabilityZones: undefined,
6588
- Vpc: undefined,
6589
- };
6235
+ const contents = {};
6590
6236
  if (output["Engine"] !== undefined) {
6591
6237
  contents.Engine = __expectString(output["Engine"]);
6592
6238
  }
@@ -6619,10 +6265,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) =>
6619
6265
  });
6620
6266
  };
6621
6267
  const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context) => {
6622
- const contents = {
6623
- OrderableDBInstanceOptions: undefined,
6624
- Marker: undefined,
6625
- };
6268
+ const contents = {};
6626
6269
  if (output.OrderableDBInstanceOptions === "") {
6627
6270
  contents.OrderableDBInstanceOptions = [];
6628
6271
  }
@@ -6636,18 +6279,7 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
6636
6279
  return contents;
6637
6280
  };
6638
6281
  const deserializeAws_queryParameter = (output, context) => {
6639
- const contents = {
6640
- ParameterName: undefined,
6641
- ParameterValue: undefined,
6642
- Description: undefined,
6643
- Source: undefined,
6644
- ApplyType: undefined,
6645
- DataType: undefined,
6646
- AllowedValues: undefined,
6647
- IsModifiable: undefined,
6648
- MinimumEngineVersion: undefined,
6649
- ApplyMethod: undefined,
6650
- };
6282
+ const contents = {};
6651
6283
  if (output["ParameterName"] !== undefined) {
6652
6284
  contents.ParameterName = __expectString(output["ParameterName"]);
6653
6285
  }
@@ -6688,10 +6320,7 @@ const deserializeAws_queryParametersList = (output, context) => {
6688
6320
  });
6689
6321
  };
6690
6322
  const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
6691
- const contents = {
6692
- LogTypesToEnable: undefined,
6693
- LogTypesToDisable: undefined,
6694
- };
6323
+ const contents = {};
6695
6324
  if (output.LogTypesToEnable === "") {
6696
6325
  contents.LogTypesToEnable = [];
6697
6326
  }
@@ -6707,14 +6336,7 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
6707
6336
  return contents;
6708
6337
  };
6709
6338
  const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
6710
- const contents = {
6711
- Action: undefined,
6712
- AutoAppliedAfterDate: undefined,
6713
- ForcedApplyDate: undefined,
6714
- OptInStatus: undefined,
6715
- CurrentApplyDate: undefined,
6716
- Description: undefined,
6717
- };
6339
+ const contents = {};
6718
6340
  if (output["Action"] !== undefined) {
6719
6341
  contents.Action = __expectString(output["Action"]);
6720
6342
  }
@@ -6750,10 +6372,7 @@ const deserializeAws_queryPendingMaintenanceActions = (output, context) => {
6750
6372
  });
6751
6373
  };
6752
6374
  const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) => {
6753
- const contents = {
6754
- PendingMaintenanceActions: undefined,
6755
- Marker: undefined,
6756
- };
6375
+ const contents = {};
6757
6376
  if (output.PendingMaintenanceActions === "") {
6758
6377
  contents.PendingMaintenanceActions = [];
6759
6378
  }
@@ -6767,22 +6386,7 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
6767
6386
  return contents;
6768
6387
  };
6769
6388
  const deserializeAws_queryPendingModifiedValues = (output, context) => {
6770
- const contents = {
6771
- DBInstanceClass: undefined,
6772
- AllocatedStorage: undefined,
6773
- MasterUserPassword: undefined,
6774
- Port: undefined,
6775
- BackupRetentionPeriod: undefined,
6776
- MultiAZ: undefined,
6777
- EngineVersion: undefined,
6778
- LicenseModel: undefined,
6779
- Iops: undefined,
6780
- DBInstanceIdentifier: undefined,
6781
- StorageType: undefined,
6782
- CACertificateIdentifier: undefined,
6783
- DBSubnetGroupName: undefined,
6784
- PendingCloudwatchLogsExports: undefined,
6785
- };
6389
+ const contents = {};
6786
6390
  if (output["DBInstanceClass"] !== undefined) {
6787
6391
  contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
6788
6392
  }
@@ -6842,46 +6446,35 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
6842
6446
  });
6843
6447
  };
6844
6448
  const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
6845
- const contents = {
6846
- DBInstance: undefined,
6847
- };
6449
+ const contents = {};
6848
6450
  if (output["DBInstance"] !== undefined) {
6849
6451
  contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
6850
6452
  }
6851
6453
  return contents;
6852
6454
  };
6853
6455
  const deserializeAws_queryRemoveFromGlobalClusterResult = (output, context) => {
6854
- const contents = {
6855
- GlobalCluster: undefined,
6856
- };
6456
+ const contents = {};
6857
6457
  if (output["GlobalCluster"] !== undefined) {
6858
6458
  contents.GlobalCluster = deserializeAws_queryGlobalCluster(output["GlobalCluster"], context);
6859
6459
  }
6860
6460
  return contents;
6861
6461
  };
6862
6462
  const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionResult = (output, context) => {
6863
- const contents = {
6864
- EventSubscription: undefined,
6865
- };
6463
+ const contents = {};
6866
6464
  if (output["EventSubscription"] !== undefined) {
6867
6465
  contents.EventSubscription = deserializeAws_queryEventSubscription(output["EventSubscription"], context);
6868
6466
  }
6869
6467
  return contents;
6870
6468
  };
6871
6469
  const deserializeAws_queryResourceNotFoundFault = (output, context) => {
6872
- const contents = {
6873
- message: undefined,
6874
- };
6470
+ const contents = {};
6875
6471
  if (output["message"] !== undefined) {
6876
6472
  contents.message = __expectString(output["message"]);
6877
6473
  }
6878
6474
  return contents;
6879
6475
  };
6880
6476
  const deserializeAws_queryResourcePendingMaintenanceActions = (output, context) => {
6881
- const contents = {
6882
- ResourceIdentifier: undefined,
6883
- PendingMaintenanceActionDetails: undefined,
6884
- };
6477
+ const contents = {};
6885
6478
  if (output["ResourceIdentifier"] !== undefined) {
6886
6479
  contents.ResourceIdentifier = __expectString(output["ResourceIdentifier"]);
6887
6480
  }
@@ -6895,63 +6488,49 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
6895
6488
  return contents;
6896
6489
  };
6897
6490
  const deserializeAws_queryRestoreDBClusterFromSnapshotResult = (output, context) => {
6898
- const contents = {
6899
- DBCluster: undefined,
6900
- };
6491
+ const contents = {};
6901
6492
  if (output["DBCluster"] !== undefined) {
6902
6493
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6903
6494
  }
6904
6495
  return contents;
6905
6496
  };
6906
6497
  const deserializeAws_queryRestoreDBClusterToPointInTimeResult = (output, context) => {
6907
- const contents = {
6908
- DBCluster: undefined,
6909
- };
6498
+ const contents = {};
6910
6499
  if (output["DBCluster"] !== undefined) {
6911
6500
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6912
6501
  }
6913
6502
  return contents;
6914
6503
  };
6915
6504
  const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) => {
6916
- const contents = {
6917
- message: undefined,
6918
- };
6505
+ const contents = {};
6919
6506
  if (output["message"] !== undefined) {
6920
6507
  contents.message = __expectString(output["message"]);
6921
6508
  }
6922
6509
  return contents;
6923
6510
  };
6924
6511
  const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
6925
- const contents = {
6926
- message: undefined,
6927
- };
6512
+ const contents = {};
6928
6513
  if (output["message"] !== undefined) {
6929
6514
  contents.message = __expectString(output["message"]);
6930
6515
  }
6931
6516
  return contents;
6932
6517
  };
6933
6518
  const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
6934
- const contents = {
6935
- message: undefined,
6936
- };
6519
+ const contents = {};
6937
6520
  if (output["message"] !== undefined) {
6938
6521
  contents.message = __expectString(output["message"]);
6939
6522
  }
6940
6523
  return contents;
6941
6524
  };
6942
6525
  const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
6943
- const contents = {
6944
- message: undefined,
6945
- };
6526
+ const contents = {};
6946
6527
  if (output["message"] !== undefined) {
6947
6528
  contents.message = __expectString(output["message"]);
6948
6529
  }
6949
6530
  return contents;
6950
6531
  };
6951
6532
  const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
6952
- const contents = {
6953
- message: undefined,
6954
- };
6533
+ const contents = {};
6955
6534
  if (output["message"] !== undefined) {
6956
6535
  contents.message = __expectString(output["message"]);
6957
6536
  }
@@ -6965,56 +6544,42 @@ const deserializeAws_querySourceIdsList = (output, context) => {
6965
6544
  });
6966
6545
  };
6967
6546
  const deserializeAws_querySourceNotFoundFault = (output, context) => {
6968
- const contents = {
6969
- message: undefined,
6970
- };
6547
+ const contents = {};
6971
6548
  if (output["message"] !== undefined) {
6972
6549
  contents.message = __expectString(output["message"]);
6973
6550
  }
6974
6551
  return contents;
6975
6552
  };
6976
6553
  const deserializeAws_queryStartDBClusterResult = (output, context) => {
6977
- const contents = {
6978
- DBCluster: undefined,
6979
- };
6554
+ const contents = {};
6980
6555
  if (output["DBCluster"] !== undefined) {
6981
6556
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6982
6557
  }
6983
6558
  return contents;
6984
6559
  };
6985
6560
  const deserializeAws_queryStopDBClusterResult = (output, context) => {
6986
- const contents = {
6987
- DBCluster: undefined,
6988
- };
6561
+ const contents = {};
6989
6562
  if (output["DBCluster"] !== undefined) {
6990
6563
  contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
6991
6564
  }
6992
6565
  return contents;
6993
6566
  };
6994
6567
  const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
6995
- const contents = {
6996
- message: undefined,
6997
- };
6568
+ const contents = {};
6998
6569
  if (output["message"] !== undefined) {
6999
6570
  contents.message = __expectString(output["message"]);
7000
6571
  }
7001
6572
  return contents;
7002
6573
  };
7003
6574
  const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
7004
- const contents = {
7005
- message: undefined,
7006
- };
6575
+ const contents = {};
7007
6576
  if (output["message"] !== undefined) {
7008
6577
  contents.message = __expectString(output["message"]);
7009
6578
  }
7010
6579
  return contents;
7011
6580
  };
7012
6581
  const deserializeAws_querySubnet = (output, context) => {
7013
- const contents = {
7014
- SubnetIdentifier: undefined,
7015
- SubnetAvailabilityZone: undefined,
7016
- SubnetStatus: undefined,
7017
- };
6582
+ const contents = {};
7018
6583
  if (output["SubnetIdentifier"] !== undefined) {
7019
6584
  contents.SubnetIdentifier = __expectString(output["SubnetIdentifier"]);
7020
6585
  }
@@ -7027,9 +6592,7 @@ const deserializeAws_querySubnet = (output, context) => {
7027
6592
  return contents;
7028
6593
  };
7029
6594
  const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
7030
- const contents = {
7031
- message: undefined,
7032
- };
6595
+ const contents = {};
7033
6596
  if (output["message"] !== undefined) {
7034
6597
  contents.message = __expectString(output["message"]);
7035
6598
  }
@@ -7043,37 +6606,28 @@ const deserializeAws_querySubnetList = (output, context) => {
7043
6606
  });
7044
6607
  };
7045
6608
  const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
7046
- const contents = {
7047
- message: undefined,
7048
- };
6609
+ const contents = {};
7049
6610
  if (output["message"] !== undefined) {
7050
6611
  contents.message = __expectString(output["message"]);
7051
6612
  }
7052
6613
  return contents;
7053
6614
  };
7054
6615
  const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context) => {
7055
- const contents = {
7056
- message: undefined,
7057
- };
6616
+ const contents = {};
7058
6617
  if (output["message"] !== undefined) {
7059
6618
  contents.message = __expectString(output["message"]);
7060
6619
  }
7061
6620
  return contents;
7062
6621
  };
7063
6622
  const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
7064
- const contents = {
7065
- message: undefined,
7066
- };
6623
+ const contents = {};
7067
6624
  if (output["message"] !== undefined) {
7068
6625
  contents.message = __expectString(output["message"]);
7069
6626
  }
7070
6627
  return contents;
7071
6628
  };
7072
6629
  const deserializeAws_queryTag = (output, context) => {
7073
- const contents = {
7074
- Key: undefined,
7075
- Value: undefined,
7076
- };
6630
+ const contents = {};
7077
6631
  if (output["Key"] !== undefined) {
7078
6632
  contents.Key = __expectString(output["Key"]);
7079
6633
  }
@@ -7090,9 +6644,7 @@ const deserializeAws_queryTagList = (output, context) => {
7090
6644
  });
7091
6645
  };
7092
6646
  const deserializeAws_queryTagListMessage = (output, context) => {
7093
- const contents = {
7094
- TagList: undefined,
7095
- };
6647
+ const contents = {};
7096
6648
  if (output.TagList === "") {
7097
6649
  contents.TagList = [];
7098
6650
  }
@@ -7102,13 +6654,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
7102
6654
  return contents;
7103
6655
  };
7104
6656
  const deserializeAws_queryUpgradeTarget = (output, context) => {
7105
- const contents = {
7106
- Engine: undefined,
7107
- EngineVersion: undefined,
7108
- Description: undefined,
7109
- AutoUpgrade: undefined,
7110
- IsMajorVersionUpgrade: undefined,
7111
- };
6657
+ const contents = {};
7112
6658
  if (output["Engine"] !== undefined) {
7113
6659
  contents.Engine = __expectString(output["Engine"]);
7114
6660
  }
@@ -7134,10 +6680,7 @@ const deserializeAws_queryValidUpgradeTargetList = (output, context) => {
7134
6680
  });
7135
6681
  };
7136
6682
  const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
7137
- const contents = {
7138
- VpcSecurityGroupId: undefined,
7139
- Status: undefined,
7140
- };
6683
+ const contents = {};
7141
6684
  if (output["VpcSecurityGroupId"] !== undefined) {
7142
6685
  contents.VpcSecurityGroupId = __expectString(output["VpcSecurityGroupId"]);
7143
6686
  }