@aws-sdk/client-rds 3.40.0 → 3.45.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 (168) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist-cjs/RDS.js +15 -0
  3. package/dist-cjs/commands/RebootDBClusterCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoints.js +10 -1
  6. package/dist-cjs/models/models_1.js +14 -2
  7. package/dist-cjs/protocols/Aws_query.js +248 -4
  8. package/dist-es/RDS.js +15 -0
  9. package/dist-es/commands/RebootDBClusterCommand.js +39 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/endpoints.js +10 -1
  12. package/dist-es/models/models_1.js +8 -0
  13. package/dist-es/protocols/Aws_query.js +250 -0
  14. package/dist-types/RDS.d.ts +199 -118
  15. package/dist-types/RDSClient.d.ts +3 -2
  16. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +2 -7
  17. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +1 -1
  18. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +1 -1
  19. package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
  20. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +1 -1
  21. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +2 -2
  22. package/dist-types/commands/BacktrackDBClusterCommand.d.ts +1 -1
  23. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  24. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +1 -4
  25. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +12 -8
  26. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +1 -1
  27. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +1 -1
  28. package/dist-types/commands/CopyOptionGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCustomAvailabilityZoneCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +6 -10
  31. package/dist-types/commands/CreateDBClusterCommand.d.ts +12 -9
  32. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +4 -4
  33. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +12 -6
  34. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +9 -5
  35. package/dist-types/commands/CreateDBInstanceCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateDBProxyCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateOptionGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteCustomAvailabilityZoneCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteDBClusterCommand.d.ts +7 -4
  49. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +7 -3
  51. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +7 -3
  52. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -1
  53. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
  54. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteDBProxyCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +1 -1
  58. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
  61. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +1 -1
  62. package/dist-types/commands/DeleteInstallationMediaCommand.d.ts +1 -1
  63. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +1 -1
  64. package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeCertificatesCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeCustomAvailabilityZonesCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +2 -2
  69. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +7 -3
  71. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +7 -3
  72. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +1 -4
  73. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +8 -4
  74. package/dist-types/commands/DescribeDBClustersCommand.d.ts +10 -5
  75. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +1 -1
  76. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
  77. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
  79. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +1 -1
  80. package/dist-types/commands/DescribeDBParametersCommand.d.ts +1 -1
  81. package/dist-types/commands/DescribeDBProxiesCommand.d.ts +1 -1
  82. package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +1 -1
  83. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  84. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +1 -1
  85. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +1 -1
  87. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +1 -1
  88. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +1 -1
  89. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -2
  90. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
  92. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  93. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  94. package/dist-types/commands/DescribeExportTasksCommand.d.ts +1 -1
  95. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +2 -2
  96. package/dist-types/commands/DescribeInstallationMediaCommand.d.ts +1 -1
  97. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +1 -1
  98. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +1 -1
  99. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -2
  100. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +1 -1
  101. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
  103. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +1 -1
  104. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +1 -1
  105. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -1
  106. package/dist-types/commands/FailoverDBClusterCommand.d.ts +17 -9
  107. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +1 -1
  108. package/dist-types/commands/ImportInstallationMediaCommand.d.ts +1 -1
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/commands/ModifyCertificatesCommand.d.ts +1 -1
  111. package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +1 -1
  112. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +2 -2
  113. package/dist-types/commands/ModifyDBClusterCommand.d.ts +12 -8
  114. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +1 -1
  115. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +10 -6
  116. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +1 -4
  117. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +1 -1
  118. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +1 -1
  119. package/dist-types/commands/ModifyDBProxyCommand.d.ts +1 -1
  120. package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +1 -1
  121. package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +1 -1
  122. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +1 -1
  123. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -1
  124. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +1 -1
  125. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  126. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +2 -2
  127. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +1 -1
  128. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +1 -1
  129. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -4
  130. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +1 -1
  131. package/dist-types/commands/RebootDBClusterCommand.d.ts +52 -0
  132. package/dist-types/commands/RebootDBInstanceCommand.d.ts +1 -1
  133. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +1 -1
  134. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +2 -2
  135. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +12 -5
  136. package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +1 -1
  137. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +1 -1
  138. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  139. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +8 -5
  140. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +1 -1
  141. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +2 -2
  142. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +9 -6
  143. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +9 -5
  144. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +1 -1
  145. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -1
  146. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +1 -1
  147. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +1 -1
  148. package/dist-types/commands/StartActivityStreamCommand.d.ts +1 -1
  149. package/dist-types/commands/StartDBClusterCommand.d.ts +1 -1
  150. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
  151. package/dist-types/commands/StartDBInstanceCommand.d.ts +1 -1
  152. package/dist-types/commands/StartExportTaskCommand.d.ts +1 -1
  153. package/dist-types/commands/StopActivityStreamCommand.d.ts +1 -1
  154. package/dist-types/commands/StopDBClusterCommand.d.ts +1 -1
  155. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
  156. package/dist-types/commands/StopDBInstanceCommand.d.ts +1 -1
  157. package/dist-types/commands/index.d.ts +1 -0
  158. package/dist-types/models/models_0.d.ts +477 -170
  159. package/dist-types/models/models_1.d.ts +670 -122
  160. package/dist-types/protocols/Aws_query.d.ts +3 -0
  161. package/dist-types/ts3.4/RDS.d.ts +5 -0
  162. package/dist-types/ts3.4/RDSClient.d.ts +3 -2
  163. package/dist-types/ts3.4/commands/RebootDBClusterCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  165. package/dist-types/ts3.4/models/models_0.d.ts +50 -0
  166. package/dist-types/ts3.4/models/models_1.d.ts +58 -0
  167. package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
  168. package/package.json +7 -7
@@ -1153,6 +1153,16 @@ export var serializeAws_queryPurchaseReservedDBInstancesOfferingCommand = functi
1153
1153
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
1154
1154
  });
1155
1155
  }); };
1156
+ export var serializeAws_queryRebootDBClusterCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
1157
+ var headers, body;
1158
+ return __generator(this, function (_a) {
1159
+ headers = {
1160
+ "content-type": "application/x-www-form-urlencoded",
1161
+ };
1162
+ body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryRebootDBClusterMessage(input, context)), { Action: "RebootDBCluster", Version: "2014-10-31" }));
1163
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
1164
+ });
1165
+ }); };
1156
1166
  export var serializeAws_queryRebootDBInstanceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
1157
1167
  var headers, body;
1158
1168
  return __generator(this, function (_a) {
@@ -9663,6 +9673,78 @@ var deserializeAws_queryPurchaseReservedDBInstancesOfferingCommandError = functi
9663
9673
  }
9664
9674
  });
9665
9675
  }); };
9676
+ export var deserializeAws_queryRebootDBClusterCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9677
+ var data, contents, response;
9678
+ return __generator(this, function (_a) {
9679
+ switch (_a.label) {
9680
+ case 0:
9681
+ if (output.statusCode >= 300) {
9682
+ return [2, deserializeAws_queryRebootDBClusterCommandError(output, context)];
9683
+ }
9684
+ return [4, parseBody(output.body, context)];
9685
+ case 1:
9686
+ data = _a.sent();
9687
+ contents = {};
9688
+ contents = deserializeAws_queryRebootDBClusterResult(data.RebootDBClusterResult, context);
9689
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
9690
+ return [2, Promise.resolve(response)];
9691
+ }
9692
+ });
9693
+ }); };
9694
+ var deserializeAws_queryRebootDBClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9695
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message;
9696
+ var _f;
9697
+ return __generator(this, function (_g) {
9698
+ switch (_g.label) {
9699
+ case 0:
9700
+ _a = [__assign({}, output)];
9701
+ _f = {};
9702
+ return [4, parseBody(output.body, context)];
9703
+ case 1:
9704
+ parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
9705
+ errorCode = "UnknownError";
9706
+ errorCode = loadQueryErrorCode(output, parsedOutput.body);
9707
+ _b = errorCode;
9708
+ switch (_b) {
9709
+ case "DBClusterNotFoundFault": return [3, 2];
9710
+ case "com.amazonaws.rds#DBClusterNotFoundFault": return [3, 2];
9711
+ case "InvalidDBClusterStateFault": return [3, 4];
9712
+ case "com.amazonaws.rds#InvalidDBClusterStateFault": return [3, 4];
9713
+ case "InvalidDBInstanceStateFault": return [3, 6];
9714
+ case "com.amazonaws.rds#InvalidDBInstanceStateFault": return [3, 6];
9715
+ }
9716
+ return [3, 8];
9717
+ case 2:
9718
+ _c = [{}];
9719
+ return [4, deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context)];
9720
+ case 3:
9721
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
9722
+ return [3, 9];
9723
+ case 4:
9724
+ _d = [{}];
9725
+ return [4, deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context)];
9726
+ case 5:
9727
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
9728
+ return [3, 9];
9729
+ case 6:
9730
+ _e = [{}];
9731
+ return [4, deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context)];
9732
+ case 7:
9733
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
9734
+ return [3, 9];
9735
+ case 8:
9736
+ parsedBody = parsedOutput.body;
9737
+ errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
9738
+ response = __assign(__assign({}, parsedBody.Error), { name: "" + errorCode, message: parsedBody.Error.message || parsedBody.Error.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
9739
+ _g.label = 9;
9740
+ case 9:
9741
+ message = response.message || response.Message || errorCode;
9742
+ response.message = message;
9743
+ delete response.Message;
9744
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
9745
+ }
9746
+ });
9747
+ }); };
9666
9748
  export var deserializeAws_queryRebootDBInstanceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9667
9749
  var data, contents, response;
9668
9750
  return __generator(this, function (_a) {
@@ -14016,6 +14098,39 @@ var serializeAws_queryCreateDBClusterMessage = function (input, context) {
14016
14098
  if (input.EnableGlobalWriteForwarding !== undefined && input.EnableGlobalWriteForwarding !== null) {
14017
14099
  entries["EnableGlobalWriteForwarding"] = input.EnableGlobalWriteForwarding;
14018
14100
  }
14101
+ if (input.DBClusterInstanceClass !== undefined && input.DBClusterInstanceClass !== null) {
14102
+ entries["DBClusterInstanceClass"] = input.DBClusterInstanceClass;
14103
+ }
14104
+ if (input.AllocatedStorage !== undefined && input.AllocatedStorage !== null) {
14105
+ entries["AllocatedStorage"] = input.AllocatedStorage;
14106
+ }
14107
+ if (input.StorageType !== undefined && input.StorageType !== null) {
14108
+ entries["StorageType"] = input.StorageType;
14109
+ }
14110
+ if (input.Iops !== undefined && input.Iops !== null) {
14111
+ entries["Iops"] = input.Iops;
14112
+ }
14113
+ if (input.PubliclyAccessible !== undefined && input.PubliclyAccessible !== null) {
14114
+ entries["PubliclyAccessible"] = input.PubliclyAccessible;
14115
+ }
14116
+ if (input.AutoMinorVersionUpgrade !== undefined && input.AutoMinorVersionUpgrade !== null) {
14117
+ entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
14118
+ }
14119
+ if (input.MonitoringInterval !== undefined && input.MonitoringInterval !== null) {
14120
+ entries["MonitoringInterval"] = input.MonitoringInterval;
14121
+ }
14122
+ if (input.MonitoringRoleArn !== undefined && input.MonitoringRoleArn !== null) {
14123
+ entries["MonitoringRoleArn"] = input.MonitoringRoleArn;
14124
+ }
14125
+ if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
14126
+ entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
14127
+ }
14128
+ if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
14129
+ entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
14130
+ }
14131
+ if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
14132
+ entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
14133
+ }
14019
14134
  return entries;
14020
14135
  };
14021
14136
  var serializeAws_queryCreateDBClusterParameterGroupMessage = function (input, context) {
@@ -14231,6 +14346,9 @@ var serializeAws_queryCreateDBInstanceMessage = function (input, context) {
14231
14346
  if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
14232
14347
  entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
14233
14348
  }
14349
+ if (input.BackupTarget !== undefined && input.BackupTarget !== null) {
14350
+ entries["BackupTarget"] = input.BackupTarget;
14351
+ }
14234
14352
  return entries;
14235
14353
  };
14236
14354
  var serializeAws_queryCreateDBInstanceReadReplicaMessage = function (input, context) {
@@ -16141,6 +16259,36 @@ var serializeAws_queryModifyDBClusterMessage = function (input, context) {
16141
16259
  if (input.EnableGlobalWriteForwarding !== undefined && input.EnableGlobalWriteForwarding !== null) {
16142
16260
  entries["EnableGlobalWriteForwarding"] = input.EnableGlobalWriteForwarding;
16143
16261
  }
16262
+ if (input.DBClusterInstanceClass !== undefined && input.DBClusterInstanceClass !== null) {
16263
+ entries["DBClusterInstanceClass"] = input.DBClusterInstanceClass;
16264
+ }
16265
+ if (input.AllocatedStorage !== undefined && input.AllocatedStorage !== null) {
16266
+ entries["AllocatedStorage"] = input.AllocatedStorage;
16267
+ }
16268
+ if (input.StorageType !== undefined && input.StorageType !== null) {
16269
+ entries["StorageType"] = input.StorageType;
16270
+ }
16271
+ if (input.Iops !== undefined && input.Iops !== null) {
16272
+ entries["Iops"] = input.Iops;
16273
+ }
16274
+ if (input.AutoMinorVersionUpgrade !== undefined && input.AutoMinorVersionUpgrade !== null) {
16275
+ entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
16276
+ }
16277
+ if (input.MonitoringInterval !== undefined && input.MonitoringInterval !== null) {
16278
+ entries["MonitoringInterval"] = input.MonitoringInterval;
16279
+ }
16280
+ if (input.MonitoringRoleArn !== undefined && input.MonitoringRoleArn !== null) {
16281
+ entries["MonitoringRoleArn"] = input.MonitoringRoleArn;
16282
+ }
16283
+ if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
16284
+ entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
16285
+ }
16286
+ if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
16287
+ entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
16288
+ }
16289
+ if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
16290
+ entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
16291
+ }
16144
16292
  return entries;
16145
16293
  };
16146
16294
  var serializeAws_queryModifyDBClusterParameterGroupMessage = function (input, context) {
@@ -16859,6 +17007,13 @@ var serializeAws_queryPurchaseReservedDBInstancesOfferingMessage = function (inp
16859
17007
  }
16860
17008
  return entries;
16861
17009
  };
17010
+ var serializeAws_queryRebootDBClusterMessage = function (input, context) {
17011
+ var entries = {};
17012
+ if (input.DBClusterIdentifier !== undefined && input.DBClusterIdentifier !== null) {
17013
+ entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
17014
+ }
17015
+ return entries;
17016
+ };
16862
17017
  var serializeAws_queryRebootDBInstanceMessage = function (input, context) {
16863
17018
  var entries = {};
16864
17019
  if (input.DBInstanceIdentifier !== undefined && input.DBInstanceIdentifier !== null) {
@@ -17202,6 +17357,18 @@ var serializeAws_queryRestoreDBClusterFromSnapshotMessage = function (input, con
17202
17357
  if (input.DomainIAMRoleName !== undefined && input.DomainIAMRoleName !== null) {
17203
17358
  entries["DomainIAMRoleName"] = input.DomainIAMRoleName;
17204
17359
  }
17360
+ if (input.DBClusterInstanceClass !== undefined && input.DBClusterInstanceClass !== null) {
17361
+ entries["DBClusterInstanceClass"] = input.DBClusterInstanceClass;
17362
+ }
17363
+ if (input.StorageType !== undefined && input.StorageType !== null) {
17364
+ entries["StorageType"] = input.StorageType;
17365
+ }
17366
+ if (input.Iops !== undefined && input.Iops !== null) {
17367
+ entries["Iops"] = input.Iops;
17368
+ }
17369
+ if (input.PubliclyAccessible !== undefined && input.PubliclyAccessible !== null) {
17370
+ entries["PubliclyAccessible"] = input.PubliclyAccessible;
17371
+ }
17205
17372
  return entries;
17206
17373
  };
17207
17374
  var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, context) {
@@ -17289,6 +17456,18 @@ var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, co
17289
17456
  if (input.EngineMode !== undefined && input.EngineMode !== null) {
17290
17457
  entries["EngineMode"] = input.EngineMode;
17291
17458
  }
17459
+ if (input.DBClusterInstanceClass !== undefined && input.DBClusterInstanceClass !== null) {
17460
+ entries["DBClusterInstanceClass"] = input.DBClusterInstanceClass;
17461
+ }
17462
+ if (input.StorageType !== undefined && input.StorageType !== null) {
17463
+ entries["StorageType"] = input.StorageType;
17464
+ }
17465
+ if (input.PubliclyAccessible !== undefined && input.PubliclyAccessible !== null) {
17466
+ entries["PubliclyAccessible"] = input.PubliclyAccessible;
17467
+ }
17468
+ if (input.Iops !== undefined && input.Iops !== null) {
17469
+ entries["Iops"] = input.Iops;
17470
+ }
17292
17471
  return entries;
17293
17472
  };
17294
17473
  var serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = function (input, context) {
@@ -17403,6 +17582,9 @@ var serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = function (input,
17403
17582
  if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
17404
17583
  entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
17405
17584
  }
17585
+ if (input.BackupTarget !== undefined && input.BackupTarget !== null) {
17586
+ entries["BackupTarget"] = input.BackupTarget;
17587
+ }
17406
17588
  return entries;
17407
17589
  };
17408
17590
  var serializeAws_queryRestoreDBInstanceFromS3Message = function (input, context) {
@@ -17693,6 +17875,9 @@ var serializeAws_queryRestoreDBInstanceToPointInTimeMessage = function (input, c
17693
17875
  if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
17694
17876
  entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
17695
17877
  }
17878
+ if (input.BackupTarget !== undefined && input.BackupTarget !== null) {
17879
+ entries["BackupTarget"] = input.BackupTarget;
17880
+ }
17696
17881
  return entries;
17697
17882
  };
17698
17883
  var serializeAws_queryRevokeDBSecurityGroupIngressMessage = function (input, context) {
@@ -18681,6 +18866,16 @@ var deserializeAws_queryDBCluster = function (output, context) {
18681
18866
  GlobalWriteForwardingStatus: undefined,
18682
18867
  GlobalWriteForwardingRequested: undefined,
18683
18868
  PendingModifiedValues: undefined,
18869
+ DBClusterInstanceClass: undefined,
18870
+ StorageType: undefined,
18871
+ Iops: undefined,
18872
+ PubliclyAccessible: undefined,
18873
+ AutoMinorVersionUpgrade: undefined,
18874
+ MonitoringInterval: undefined,
18875
+ MonitoringRoleArn: undefined,
18876
+ PerformanceInsightsEnabled: undefined,
18877
+ PerformanceInsightsKMSKeyId: undefined,
18878
+ PerformanceInsightsRetentionPeriod: undefined,
18684
18879
  };
18685
18880
  if (output["AllocatedStorage"] !== undefined) {
18686
18881
  contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]);
@@ -18887,6 +19082,36 @@ var deserializeAws_queryDBCluster = function (output, context) {
18887
19082
  if (output["PendingModifiedValues"] !== undefined) {
18888
19083
  contents.PendingModifiedValues = deserializeAws_queryClusterPendingModifiedValues(output["PendingModifiedValues"], context);
18889
19084
  }
19085
+ if (output["DBClusterInstanceClass"] !== undefined) {
19086
+ contents.DBClusterInstanceClass = __expectString(output["DBClusterInstanceClass"]);
19087
+ }
19088
+ if (output["StorageType"] !== undefined) {
19089
+ contents.StorageType = __expectString(output["StorageType"]);
19090
+ }
19091
+ if (output["Iops"] !== undefined) {
19092
+ contents.Iops = __strictParseInt32(output["Iops"]);
19093
+ }
19094
+ if (output["PubliclyAccessible"] !== undefined) {
19095
+ contents.PubliclyAccessible = __parseBoolean(output["PubliclyAccessible"]);
19096
+ }
19097
+ if (output["AutoMinorVersionUpgrade"] !== undefined) {
19098
+ contents.AutoMinorVersionUpgrade = __parseBoolean(output["AutoMinorVersionUpgrade"]);
19099
+ }
19100
+ if (output["MonitoringInterval"] !== undefined) {
19101
+ contents.MonitoringInterval = __strictParseInt32(output["MonitoringInterval"]);
19102
+ }
19103
+ if (output["MonitoringRoleArn"] !== undefined) {
19104
+ contents.MonitoringRoleArn = __expectString(output["MonitoringRoleArn"]);
19105
+ }
19106
+ if (output["PerformanceInsightsEnabled"] !== undefined) {
19107
+ contents.PerformanceInsightsEnabled = __parseBoolean(output["PerformanceInsightsEnabled"]);
19108
+ }
19109
+ if (output["PerformanceInsightsKMSKeyId"] !== undefined) {
19110
+ contents.PerformanceInsightsKMSKeyId = __expectString(output["PerformanceInsightsKMSKeyId"]);
19111
+ }
19112
+ if (output["PerformanceInsightsRetentionPeriod"] !== undefined) {
19113
+ contents.PerformanceInsightsRetentionPeriod = __strictParseInt32(output["PerformanceInsightsRetentionPeriod"]);
19114
+ }
18890
19115
  return contents;
18891
19116
  };
18892
19117
  var deserializeAws_queryDBClusterAlreadyExistsFault = function (output, context) {
@@ -19745,6 +19970,7 @@ var deserializeAws_queryDBInstance = function (output, context) {
19745
19970
  AutomationMode: undefined,
19746
19971
  ResumeFullAutomationModeTime: undefined,
19747
19972
  CustomIamInstanceProfile: undefined,
19973
+ BackupTarget: undefined,
19748
19974
  };
19749
19975
  if (output["DBInstanceIdentifier"] !== undefined) {
19750
19976
  contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
@@ -20010,6 +20236,9 @@ var deserializeAws_queryDBInstance = function (output, context) {
20010
20236
  if (output["CustomIamInstanceProfile"] !== undefined) {
20011
20237
  contents.CustomIamInstanceProfile = __expectString(output["CustomIamInstanceProfile"]);
20012
20238
  }
20239
+ if (output["BackupTarget"] !== undefined) {
20240
+ contents.BackupTarget = __expectString(output["BackupTarget"]);
20241
+ }
20013
20242
  return contents;
20014
20243
  };
20015
20244
  var deserializeAws_queryDBInstanceAlreadyExistsFault = function (output, context) {
@@ -20049,6 +20278,7 @@ var deserializeAws_queryDBInstanceAutomatedBackup = function (output, context) {
20049
20278
  BackupRetentionPeriod: undefined,
20050
20279
  DBInstanceAutomatedBackupsArn: undefined,
20051
20280
  DBInstanceAutomatedBackupsReplications: undefined,
20281
+ BackupTarget: undefined,
20052
20282
  };
20053
20283
  if (output["DBInstanceArn"] !== undefined) {
20054
20284
  contents.DBInstanceArn = __expectString(output["DBInstanceArn"]);
@@ -20132,6 +20362,9 @@ var deserializeAws_queryDBInstanceAutomatedBackup = function (output, context) {
20132
20362
  output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"] !== undefined) {
20133
20363
  contents.DBInstanceAutomatedBackupsReplications = deserializeAws_queryDBInstanceAutomatedBackupsReplicationList(__getArrayIfSingleItem(output["DBInstanceAutomatedBackupsReplications"]["DBInstanceAutomatedBackupsReplication"]), context);
20134
20364
  }
20365
+ if (output["BackupTarget"] !== undefined) {
20366
+ contents.BackupTarget = __expectString(output["BackupTarget"]);
20367
+ }
20135
20368
  return contents;
20136
20369
  };
20137
20370
  var deserializeAws_queryDBInstanceAutomatedBackupList = function (output, context) {
@@ -20909,6 +21142,7 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
20909
21142
  DbiResourceId: undefined,
20910
21143
  TagList: undefined,
20911
21144
  OriginalSnapshotCreateTime: undefined,
21145
+ SnapshotTarget: undefined,
20912
21146
  };
20913
21147
  if (output["DBSnapshotIdentifier"] !== undefined) {
20914
21148
  contents.DBSnapshotIdentifier = __expectString(output["DBSnapshotIdentifier"]);
@@ -21006,6 +21240,9 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
21006
21240
  if (output["OriginalSnapshotCreateTime"] !== undefined) {
21007
21241
  contents.OriginalSnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["OriginalSnapshotCreateTime"]));
21008
21242
  }
21243
+ if (output["SnapshotTarget"] !== undefined) {
21244
+ contents.SnapshotTarget = __expectString(output["SnapshotTarget"]);
21245
+ }
21009
21246
  return contents;
21010
21247
  };
21011
21248
  var deserializeAws_queryDBSnapshotAlreadyExistsFault = function (output, context) {
@@ -23135,6 +23372,7 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
23135
23372
  OutpostCapable: undefined,
23136
23373
  SupportedActivityStreamModes: undefined,
23137
23374
  SupportsGlobalDatabases: undefined,
23375
+ SupportsClusters: undefined,
23138
23376
  };
23139
23377
  if (output["Engine"] !== undefined) {
23140
23378
  contents.Engine = __expectString(output["Engine"]);
@@ -23234,6 +23472,9 @@ var deserializeAws_queryOrderableDBInstanceOption = function (output, context) {
23234
23472
  if (output["SupportsGlobalDatabases"] !== undefined) {
23235
23473
  contents.SupportsGlobalDatabases = __parseBoolean(output["SupportsGlobalDatabases"]);
23236
23474
  }
23475
+ if (output["SupportsClusters"] !== undefined) {
23476
+ contents.SupportsClusters = __parseBoolean(output["SupportsClusters"]);
23477
+ }
23237
23478
  return contents;
23238
23479
  };
23239
23480
  var deserializeAws_queryOrderableDBInstanceOptionsList = function (output, context) {
@@ -23634,6 +23875,15 @@ var deserializeAws_queryReadReplicaIdentifierList = function (output, context) {
23634
23875
  return __expectString(entry);
23635
23876
  });
23636
23877
  };
23878
+ var deserializeAws_queryRebootDBClusterResult = function (output, context) {
23879
+ var contents = {
23880
+ DBCluster: undefined,
23881
+ };
23882
+ if (output["DBCluster"] !== undefined) {
23883
+ contents.DBCluster = deserializeAws_queryDBCluster(output["DBCluster"], context);
23884
+ }
23885
+ return contents;
23886
+ };
23637
23887
  var deserializeAws_queryRebootDBInstanceResult = function (output, context) {
23638
23888
  var contents = {
23639
23889
  DBInstance: undefined,