@aws-sdk/client-rds 3.181.0 → 3.183.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 (191) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/RDS.js +550 -557
  3. package/dist-es/RDSClient.js +22 -28
  4. package/dist-es/commands/AddRoleToDBClusterCommand.js +22 -29
  5. package/dist-es/commands/AddRoleToDBInstanceCommand.js +22 -29
  6. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +21 -28
  7. package/dist-es/commands/AddTagsToResourceCommand.js +22 -29
  8. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
  9. package/dist-es/commands/AuthorizeDBSecurityGroupIngressCommand.js +21 -28
  10. package/dist-es/commands/BacktrackDBClusterCommand.js +21 -28
  11. package/dist-es/commands/CancelExportTaskCommand.js +21 -28
  12. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +21 -28
  13. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +21 -28
  14. package/dist-es/commands/CopyDBParameterGroupCommand.js +21 -28
  15. package/dist-es/commands/CopyDBSnapshotCommand.js +21 -28
  16. package/dist-es/commands/CopyOptionGroupCommand.js +21 -28
  17. package/dist-es/commands/CreateCustomDBEngineVersionCommand.js +21 -28
  18. package/dist-es/commands/CreateDBClusterCommand.js +21 -28
  19. package/dist-es/commands/CreateDBClusterEndpointCommand.js +21 -28
  20. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +21 -28
  21. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +21 -28
  22. package/dist-es/commands/CreateDBInstanceCommand.js +21 -28
  23. package/dist-es/commands/CreateDBInstanceReadReplicaCommand.js +21 -28
  24. package/dist-es/commands/CreateDBParameterGroupCommand.js +21 -28
  25. package/dist-es/commands/CreateDBProxyCommand.js +21 -28
  26. package/dist-es/commands/CreateDBProxyEndpointCommand.js +21 -28
  27. package/dist-es/commands/CreateDBSecurityGroupCommand.js +21 -28
  28. package/dist-es/commands/CreateDBSnapshotCommand.js +21 -28
  29. package/dist-es/commands/CreateDBSubnetGroupCommand.js +21 -28
  30. package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
  31. package/dist-es/commands/CreateGlobalClusterCommand.js +21 -28
  32. package/dist-es/commands/CreateOptionGroupCommand.js +21 -28
  33. package/dist-es/commands/DeleteCustomDBEngineVersionCommand.js +21 -28
  34. package/dist-es/commands/DeleteDBClusterCommand.js +21 -28
  35. package/dist-es/commands/DeleteDBClusterEndpointCommand.js +21 -28
  36. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +22 -29
  37. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +21 -28
  38. package/dist-es/commands/DeleteDBInstanceAutomatedBackupCommand.js +21 -28
  39. package/dist-es/commands/DeleteDBInstanceCommand.js +21 -28
  40. package/dist-es/commands/DeleteDBParameterGroupCommand.js +22 -29
  41. package/dist-es/commands/DeleteDBProxyCommand.js +21 -28
  42. package/dist-es/commands/DeleteDBProxyEndpointCommand.js +21 -28
  43. package/dist-es/commands/DeleteDBSecurityGroupCommand.js +22 -29
  44. package/dist-es/commands/DeleteDBSnapshotCommand.js +21 -28
  45. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +22 -29
  46. package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
  47. package/dist-es/commands/DeleteGlobalClusterCommand.js +21 -28
  48. package/dist-es/commands/DeleteOptionGroupCommand.js +22 -29
  49. package/dist-es/commands/DeregisterDBProxyTargetsCommand.js +21 -28
  50. package/dist-es/commands/DescribeAccountAttributesCommand.js +21 -28
  51. package/dist-es/commands/DescribeCertificatesCommand.js +21 -28
  52. package/dist-es/commands/DescribeDBClusterBacktracksCommand.js +21 -28
  53. package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +21 -28
  54. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +21 -28
  55. package/dist-es/commands/DescribeDBClusterParametersCommand.js +21 -28
  56. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +21 -28
  57. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +21 -28
  58. package/dist-es/commands/DescribeDBClustersCommand.js +21 -28
  59. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +21 -28
  60. package/dist-es/commands/DescribeDBInstanceAutomatedBackupsCommand.js +21 -28
  61. package/dist-es/commands/DescribeDBInstancesCommand.js +21 -28
  62. package/dist-es/commands/DescribeDBLogFilesCommand.js +21 -28
  63. package/dist-es/commands/DescribeDBParameterGroupsCommand.js +21 -28
  64. package/dist-es/commands/DescribeDBParametersCommand.js +21 -28
  65. package/dist-es/commands/DescribeDBProxiesCommand.js +21 -28
  66. package/dist-es/commands/DescribeDBProxyEndpointsCommand.js +21 -28
  67. package/dist-es/commands/DescribeDBProxyTargetGroupsCommand.js +21 -28
  68. package/dist-es/commands/DescribeDBProxyTargetsCommand.js +21 -28
  69. package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +21 -28
  70. package/dist-es/commands/DescribeDBSnapshotAttributesCommand.js +21 -28
  71. package/dist-es/commands/DescribeDBSnapshotsCommand.js +21 -28
  72. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +21 -28
  73. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +21 -28
  74. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +21 -28
  75. package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
  76. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
  77. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  78. package/dist-es/commands/DescribeExportTasksCommand.js +21 -28
  79. package/dist-es/commands/DescribeGlobalClustersCommand.js +21 -28
  80. package/dist-es/commands/DescribeOptionGroupOptionsCommand.js +21 -28
  81. package/dist-es/commands/DescribeOptionGroupsCommand.js +21 -28
  82. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +21 -28
  83. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
  84. package/dist-es/commands/DescribeReservedDBInstancesCommand.js +21 -28
  85. package/dist-es/commands/DescribeReservedDBInstancesOfferingsCommand.js +21 -28
  86. package/dist-es/commands/DescribeSourceRegionsCommand.js +21 -28
  87. package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +21 -28
  88. package/dist-es/commands/DownloadDBLogFilePortionCommand.js +21 -28
  89. package/dist-es/commands/FailoverDBClusterCommand.js +21 -28
  90. package/dist-es/commands/FailoverGlobalClusterCommand.js +21 -28
  91. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  92. package/dist-es/commands/ModifyActivityStreamCommand.js +21 -28
  93. package/dist-es/commands/ModifyCertificatesCommand.js +21 -28
  94. package/dist-es/commands/ModifyCurrentDBClusterCapacityCommand.js +21 -28
  95. package/dist-es/commands/ModifyCustomDBEngineVersionCommand.js +21 -28
  96. package/dist-es/commands/ModifyDBClusterCommand.js +21 -28
  97. package/dist-es/commands/ModifyDBClusterEndpointCommand.js +21 -28
  98. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +21 -28
  99. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +21 -28
  100. package/dist-es/commands/ModifyDBInstanceCommand.js +21 -28
  101. package/dist-es/commands/ModifyDBParameterGroupCommand.js +21 -28
  102. package/dist-es/commands/ModifyDBProxyCommand.js +21 -28
  103. package/dist-es/commands/ModifyDBProxyEndpointCommand.js +21 -28
  104. package/dist-es/commands/ModifyDBProxyTargetGroupCommand.js +21 -28
  105. package/dist-es/commands/ModifyDBSnapshotAttributeCommand.js +21 -28
  106. package/dist-es/commands/ModifyDBSnapshotCommand.js +21 -28
  107. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +21 -28
  108. package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
  109. package/dist-es/commands/ModifyGlobalClusterCommand.js +21 -28
  110. package/dist-es/commands/ModifyOptionGroupCommand.js +21 -28
  111. package/dist-es/commands/PromoteReadReplicaCommand.js +21 -28
  112. package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +21 -28
  113. package/dist-es/commands/PurchaseReservedDBInstancesOfferingCommand.js +21 -28
  114. package/dist-es/commands/RebootDBClusterCommand.js +21 -28
  115. package/dist-es/commands/RebootDBInstanceCommand.js +21 -28
  116. package/dist-es/commands/RegisterDBProxyTargetsCommand.js +21 -28
  117. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +21 -28
  118. package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +22 -29
  119. package/dist-es/commands/RemoveRoleFromDBInstanceCommand.js +22 -29
  120. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +21 -28
  121. package/dist-es/commands/RemoveTagsFromResourceCommand.js +22 -29
  122. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +21 -28
  123. package/dist-es/commands/ResetDBParameterGroupCommand.js +21 -28
  124. package/dist-es/commands/RestoreDBClusterFromS3Command.js +21 -28
  125. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +21 -28
  126. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +21 -28
  127. package/dist-es/commands/RestoreDBInstanceFromDBSnapshotCommand.js +21 -28
  128. package/dist-es/commands/RestoreDBInstanceFromS3Command.js +21 -28
  129. package/dist-es/commands/RestoreDBInstanceToPointInTimeCommand.js +21 -28
  130. package/dist-es/commands/RevokeDBSecurityGroupIngressCommand.js +21 -28
  131. package/dist-es/commands/StartActivityStreamCommand.js +21 -28
  132. package/dist-es/commands/StartDBClusterCommand.js +21 -28
  133. package/dist-es/commands/StartDBInstanceAutomatedBackupsReplicationCommand.js +21 -28
  134. package/dist-es/commands/StartDBInstanceCommand.js +21 -28
  135. package/dist-es/commands/StartExportTaskCommand.js +21 -28
  136. package/dist-es/commands/StopActivityStreamCommand.js +21 -28
  137. package/dist-es/commands/StopDBClusterCommand.js +21 -28
  138. package/dist-es/commands/StopDBInstanceAutomatedBackupsReplicationCommand.js +21 -28
  139. package/dist-es/commands/StopDBInstanceCommand.js +21 -28
  140. package/dist-es/commands/SwitchoverReadReplicaCommand.js +21 -28
  141. package/dist-es/endpoints.js +8 -8
  142. package/dist-es/models/RDSServiceException.js +5 -10
  143. package/dist-es/models/models_0.js +1710 -1339
  144. package/dist-es/models/models_1.js +707 -398
  145. package/dist-es/pagination/DescribeCertificatesPaginator.js +25 -68
  146. package/dist-es/pagination/DescribeDBClusterBacktracksPaginator.js +25 -68
  147. package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +25 -68
  148. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +25 -68
  149. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +25 -68
  150. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +25 -68
  151. package/dist-es/pagination/DescribeDBClustersPaginator.js +25 -68
  152. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +25 -68
  153. package/dist-es/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +25 -68
  154. package/dist-es/pagination/DescribeDBInstancesPaginator.js +25 -68
  155. package/dist-es/pagination/DescribeDBLogFilesPaginator.js +25 -68
  156. package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +25 -68
  157. package/dist-es/pagination/DescribeDBParametersPaginator.js +25 -68
  158. package/dist-es/pagination/DescribeDBProxiesPaginator.js +25 -68
  159. package/dist-es/pagination/DescribeDBProxyEndpointsPaginator.js +25 -68
  160. package/dist-es/pagination/DescribeDBProxyTargetGroupsPaginator.js +25 -68
  161. package/dist-es/pagination/DescribeDBProxyTargetsPaginator.js +25 -68
  162. package/dist-es/pagination/DescribeDBSecurityGroupsPaginator.js +25 -68
  163. package/dist-es/pagination/DescribeDBSnapshotsPaginator.js +25 -68
  164. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +25 -68
  165. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +25 -68
  166. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
  167. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  168. package/dist-es/pagination/DescribeExportTasksPaginator.js +25 -68
  169. package/dist-es/pagination/DescribeGlobalClustersPaginator.js +25 -68
  170. package/dist-es/pagination/DescribeOptionGroupOptionsPaginator.js +25 -68
  171. package/dist-es/pagination/DescribeOptionGroupsPaginator.js +25 -68
  172. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +25 -68
  173. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
  174. package/dist-es/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +25 -68
  175. package/dist-es/pagination/DescribeReservedDBInstancesPaginator.js +25 -68
  176. package/dist-es/pagination/DescribeSourceRegionsPaginator.js +25 -68
  177. package/dist-es/pagination/DownloadDBLogFilePortionPaginator.js +25 -68
  178. package/dist-es/protocols/Aws_query.js +10109 -13117
  179. package/dist-es/runtimeConfig.browser.js +26 -12
  180. package/dist-es/runtimeConfig.js +30 -12
  181. package/dist-es/runtimeConfig.native.js +8 -5
  182. package/dist-es/runtimeConfig.shared.js +8 -11
  183. package/dist-es/waiters/waitForDBClusterAvailable.js +106 -187
  184. package/dist-es/waiters/waitForDBClusterDeleted.js +86 -147
  185. package/dist-es/waiters/waitForDBClusterSnapshotAvailable.js +106 -187
  186. package/dist-es/waiters/waitForDBClusterSnapshotDeleted.js +86 -147
  187. package/dist-es/waiters/waitForDBInstanceAvailable.js +106 -187
  188. package/dist-es/waiters/waitForDBInstanceDeleted.js +86 -147
  189. package/dist-es/waiters/waitForDBSnapshotAvailable.js +106 -187
  190. package/dist-es/waiters/waitForDBSnapshotDeleted.js +86 -147
  191. package/package.json +35 -35
package/dist-es/RDS.js CHANGED
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { AddRoleToDBClusterCommand, } from "./commands/AddRoleToDBClusterCommand";
3
2
  import { AddRoleToDBInstanceCommand, } from "./commands/AddRoleToDBInstanceCommand";
4
3
  import { AddSourceIdentifierToSubscriptionCommand, } from "./commands/AddSourceIdentifierToSubscriptionCommand";
@@ -137,1929 +136,1923 @@ import { StopDBInstanceAutomatedBackupsReplicationCommand, } from "./commands/St
137
136
  import { StopDBInstanceCommand, } from "./commands/StopDBInstanceCommand";
138
137
  import { SwitchoverReadReplicaCommand, } from "./commands/SwitchoverReadReplicaCommand";
139
138
  import { RDSClient } from "./RDSClient";
140
- var RDS = (function (_super) {
141
- __extends(RDS, _super);
142
- function RDS() {
143
- return _super !== null && _super.apply(this, arguments) || this;
144
- }
145
- RDS.prototype.addRoleToDBCluster = function (args, optionsOrCb, cb) {
146
- var command = new AddRoleToDBClusterCommand(args);
139
+ export class RDS extends RDSClient {
140
+ addRoleToDBCluster(args, optionsOrCb, cb) {
141
+ const command = new AddRoleToDBClusterCommand(args);
147
142
  if (typeof optionsOrCb === "function") {
148
143
  this.send(command, optionsOrCb);
149
144
  }
150
145
  else if (typeof cb === "function") {
151
146
  if (typeof optionsOrCb !== "object")
152
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
147
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
153
148
  this.send(command, optionsOrCb || {}, cb);
154
149
  }
155
150
  else {
156
151
  return this.send(command, optionsOrCb);
157
152
  }
158
- };
159
- RDS.prototype.addRoleToDBInstance = function (args, optionsOrCb, cb) {
160
- var command = new AddRoleToDBInstanceCommand(args);
153
+ }
154
+ addRoleToDBInstance(args, optionsOrCb, cb) {
155
+ const command = new AddRoleToDBInstanceCommand(args);
161
156
  if (typeof optionsOrCb === "function") {
162
157
  this.send(command, optionsOrCb);
163
158
  }
164
159
  else if (typeof cb === "function") {
165
160
  if (typeof optionsOrCb !== "object")
166
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
161
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
167
162
  this.send(command, optionsOrCb || {}, cb);
168
163
  }
169
164
  else {
170
165
  return this.send(command, optionsOrCb);
171
166
  }
172
- };
173
- RDS.prototype.addSourceIdentifierToSubscription = function (args, optionsOrCb, cb) {
174
- var command = new AddSourceIdentifierToSubscriptionCommand(args);
167
+ }
168
+ addSourceIdentifierToSubscription(args, optionsOrCb, cb) {
169
+ const command = new AddSourceIdentifierToSubscriptionCommand(args);
175
170
  if (typeof optionsOrCb === "function") {
176
171
  this.send(command, optionsOrCb);
177
172
  }
178
173
  else if (typeof cb === "function") {
179
174
  if (typeof optionsOrCb !== "object")
180
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
175
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
181
176
  this.send(command, optionsOrCb || {}, cb);
182
177
  }
183
178
  else {
184
179
  return this.send(command, optionsOrCb);
185
180
  }
186
- };
187
- RDS.prototype.addTagsToResource = function (args, optionsOrCb, cb) {
188
- var command = new AddTagsToResourceCommand(args);
181
+ }
182
+ addTagsToResource(args, optionsOrCb, cb) {
183
+ const command = new AddTagsToResourceCommand(args);
189
184
  if (typeof optionsOrCb === "function") {
190
185
  this.send(command, optionsOrCb);
191
186
  }
192
187
  else if (typeof cb === "function") {
193
188
  if (typeof optionsOrCb !== "object")
194
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
189
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
195
190
  this.send(command, optionsOrCb || {}, cb);
196
191
  }
197
192
  else {
198
193
  return this.send(command, optionsOrCb);
199
194
  }
200
- };
201
- RDS.prototype.applyPendingMaintenanceAction = function (args, optionsOrCb, cb) {
202
- var command = new ApplyPendingMaintenanceActionCommand(args);
195
+ }
196
+ applyPendingMaintenanceAction(args, optionsOrCb, cb) {
197
+ const command = new ApplyPendingMaintenanceActionCommand(args);
203
198
  if (typeof optionsOrCb === "function") {
204
199
  this.send(command, optionsOrCb);
205
200
  }
206
201
  else if (typeof cb === "function") {
207
202
  if (typeof optionsOrCb !== "object")
208
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
203
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
209
204
  this.send(command, optionsOrCb || {}, cb);
210
205
  }
211
206
  else {
212
207
  return this.send(command, optionsOrCb);
213
208
  }
214
- };
215
- RDS.prototype.authorizeDBSecurityGroupIngress = function (args, optionsOrCb, cb) {
216
- var command = new AuthorizeDBSecurityGroupIngressCommand(args);
209
+ }
210
+ authorizeDBSecurityGroupIngress(args, optionsOrCb, cb) {
211
+ const command = new AuthorizeDBSecurityGroupIngressCommand(args);
217
212
  if (typeof optionsOrCb === "function") {
218
213
  this.send(command, optionsOrCb);
219
214
  }
220
215
  else if (typeof cb === "function") {
221
216
  if (typeof optionsOrCb !== "object")
222
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
217
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
223
218
  this.send(command, optionsOrCb || {}, cb);
224
219
  }
225
220
  else {
226
221
  return this.send(command, optionsOrCb);
227
222
  }
228
- };
229
- RDS.prototype.backtrackDBCluster = function (args, optionsOrCb, cb) {
230
- var command = new BacktrackDBClusterCommand(args);
223
+ }
224
+ backtrackDBCluster(args, optionsOrCb, cb) {
225
+ const command = new BacktrackDBClusterCommand(args);
231
226
  if (typeof optionsOrCb === "function") {
232
227
  this.send(command, optionsOrCb);
233
228
  }
234
229
  else if (typeof cb === "function") {
235
230
  if (typeof optionsOrCb !== "object")
236
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
231
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
237
232
  this.send(command, optionsOrCb || {}, cb);
238
233
  }
239
234
  else {
240
235
  return this.send(command, optionsOrCb);
241
236
  }
242
- };
243
- RDS.prototype.cancelExportTask = function (args, optionsOrCb, cb) {
244
- var command = new CancelExportTaskCommand(args);
237
+ }
238
+ cancelExportTask(args, optionsOrCb, cb) {
239
+ const command = new CancelExportTaskCommand(args);
245
240
  if (typeof optionsOrCb === "function") {
246
241
  this.send(command, optionsOrCb);
247
242
  }
248
243
  else if (typeof cb === "function") {
249
244
  if (typeof optionsOrCb !== "object")
250
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
245
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
251
246
  this.send(command, optionsOrCb || {}, cb);
252
247
  }
253
248
  else {
254
249
  return this.send(command, optionsOrCb);
255
250
  }
256
- };
257
- RDS.prototype.copyDBClusterParameterGroup = function (args, optionsOrCb, cb) {
258
- var command = new CopyDBClusterParameterGroupCommand(args);
251
+ }
252
+ copyDBClusterParameterGroup(args, optionsOrCb, cb) {
253
+ const command = new CopyDBClusterParameterGroupCommand(args);
259
254
  if (typeof optionsOrCb === "function") {
260
255
  this.send(command, optionsOrCb);
261
256
  }
262
257
  else if (typeof cb === "function") {
263
258
  if (typeof optionsOrCb !== "object")
264
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
259
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
265
260
  this.send(command, optionsOrCb || {}, cb);
266
261
  }
267
262
  else {
268
263
  return this.send(command, optionsOrCb);
269
264
  }
270
- };
271
- RDS.prototype.copyDBClusterSnapshot = function (args, optionsOrCb, cb) {
272
- var command = new CopyDBClusterSnapshotCommand(args);
265
+ }
266
+ copyDBClusterSnapshot(args, optionsOrCb, cb) {
267
+ const command = new CopyDBClusterSnapshotCommand(args);
273
268
  if (typeof optionsOrCb === "function") {
274
269
  this.send(command, optionsOrCb);
275
270
  }
276
271
  else if (typeof cb === "function") {
277
272
  if (typeof optionsOrCb !== "object")
278
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
273
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
279
274
  this.send(command, optionsOrCb || {}, cb);
280
275
  }
281
276
  else {
282
277
  return this.send(command, optionsOrCb);
283
278
  }
284
- };
285
- RDS.prototype.copyDBParameterGroup = function (args, optionsOrCb, cb) {
286
- var command = new CopyDBParameterGroupCommand(args);
279
+ }
280
+ copyDBParameterGroup(args, optionsOrCb, cb) {
281
+ const command = new CopyDBParameterGroupCommand(args);
287
282
  if (typeof optionsOrCb === "function") {
288
283
  this.send(command, optionsOrCb);
289
284
  }
290
285
  else if (typeof cb === "function") {
291
286
  if (typeof optionsOrCb !== "object")
292
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
287
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
293
288
  this.send(command, optionsOrCb || {}, cb);
294
289
  }
295
290
  else {
296
291
  return this.send(command, optionsOrCb);
297
292
  }
298
- };
299
- RDS.prototype.copyDBSnapshot = function (args, optionsOrCb, cb) {
300
- var command = new CopyDBSnapshotCommand(args);
293
+ }
294
+ copyDBSnapshot(args, optionsOrCb, cb) {
295
+ const command = new CopyDBSnapshotCommand(args);
301
296
  if (typeof optionsOrCb === "function") {
302
297
  this.send(command, optionsOrCb);
303
298
  }
304
299
  else if (typeof cb === "function") {
305
300
  if (typeof optionsOrCb !== "object")
306
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
301
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
307
302
  this.send(command, optionsOrCb || {}, cb);
308
303
  }
309
304
  else {
310
305
  return this.send(command, optionsOrCb);
311
306
  }
312
- };
313
- RDS.prototype.copyOptionGroup = function (args, optionsOrCb, cb) {
314
- var command = new CopyOptionGroupCommand(args);
307
+ }
308
+ copyOptionGroup(args, optionsOrCb, cb) {
309
+ const command = new CopyOptionGroupCommand(args);
315
310
  if (typeof optionsOrCb === "function") {
316
311
  this.send(command, optionsOrCb);
317
312
  }
318
313
  else if (typeof cb === "function") {
319
314
  if (typeof optionsOrCb !== "object")
320
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
315
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
321
316
  this.send(command, optionsOrCb || {}, cb);
322
317
  }
323
318
  else {
324
319
  return this.send(command, optionsOrCb);
325
320
  }
326
- };
327
- RDS.prototype.createCustomDBEngineVersion = function (args, optionsOrCb, cb) {
328
- var command = new CreateCustomDBEngineVersionCommand(args);
321
+ }
322
+ createCustomDBEngineVersion(args, optionsOrCb, cb) {
323
+ const command = new CreateCustomDBEngineVersionCommand(args);
329
324
  if (typeof optionsOrCb === "function") {
330
325
  this.send(command, optionsOrCb);
331
326
  }
332
327
  else if (typeof cb === "function") {
333
328
  if (typeof optionsOrCb !== "object")
334
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
329
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
335
330
  this.send(command, optionsOrCb || {}, cb);
336
331
  }
337
332
  else {
338
333
  return this.send(command, optionsOrCb);
339
334
  }
340
- };
341
- RDS.prototype.createDBCluster = function (args, optionsOrCb, cb) {
342
- var command = new CreateDBClusterCommand(args);
335
+ }
336
+ createDBCluster(args, optionsOrCb, cb) {
337
+ const command = new CreateDBClusterCommand(args);
343
338
  if (typeof optionsOrCb === "function") {
344
339
  this.send(command, optionsOrCb);
345
340
  }
346
341
  else if (typeof cb === "function") {
347
342
  if (typeof optionsOrCb !== "object")
348
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
343
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
349
344
  this.send(command, optionsOrCb || {}, cb);
350
345
  }
351
346
  else {
352
347
  return this.send(command, optionsOrCb);
353
348
  }
354
- };
355
- RDS.prototype.createDBClusterEndpoint = function (args, optionsOrCb, cb) {
356
- var command = new CreateDBClusterEndpointCommand(args);
349
+ }
350
+ createDBClusterEndpoint(args, optionsOrCb, cb) {
351
+ const command = new CreateDBClusterEndpointCommand(args);
357
352
  if (typeof optionsOrCb === "function") {
358
353
  this.send(command, optionsOrCb);
359
354
  }
360
355
  else if (typeof cb === "function") {
361
356
  if (typeof optionsOrCb !== "object")
362
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
357
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
363
358
  this.send(command, optionsOrCb || {}, cb);
364
359
  }
365
360
  else {
366
361
  return this.send(command, optionsOrCb);
367
362
  }
368
- };
369
- RDS.prototype.createDBClusterParameterGroup = function (args, optionsOrCb, cb) {
370
- var command = new CreateDBClusterParameterGroupCommand(args);
363
+ }
364
+ createDBClusterParameterGroup(args, optionsOrCb, cb) {
365
+ const command = new CreateDBClusterParameterGroupCommand(args);
371
366
  if (typeof optionsOrCb === "function") {
372
367
  this.send(command, optionsOrCb);
373
368
  }
374
369
  else if (typeof cb === "function") {
375
370
  if (typeof optionsOrCb !== "object")
376
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
371
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
377
372
  this.send(command, optionsOrCb || {}, cb);
378
373
  }
379
374
  else {
380
375
  return this.send(command, optionsOrCb);
381
376
  }
382
- };
383
- RDS.prototype.createDBClusterSnapshot = function (args, optionsOrCb, cb) {
384
- var command = new CreateDBClusterSnapshotCommand(args);
377
+ }
378
+ createDBClusterSnapshot(args, optionsOrCb, cb) {
379
+ const command = new CreateDBClusterSnapshotCommand(args);
385
380
  if (typeof optionsOrCb === "function") {
386
381
  this.send(command, optionsOrCb);
387
382
  }
388
383
  else if (typeof cb === "function") {
389
384
  if (typeof optionsOrCb !== "object")
390
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
385
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
391
386
  this.send(command, optionsOrCb || {}, cb);
392
387
  }
393
388
  else {
394
389
  return this.send(command, optionsOrCb);
395
390
  }
396
- };
397
- RDS.prototype.createDBInstance = function (args, optionsOrCb, cb) {
398
- var command = new CreateDBInstanceCommand(args);
391
+ }
392
+ createDBInstance(args, optionsOrCb, cb) {
393
+ const command = new CreateDBInstanceCommand(args);
399
394
  if (typeof optionsOrCb === "function") {
400
395
  this.send(command, optionsOrCb);
401
396
  }
402
397
  else if (typeof cb === "function") {
403
398
  if (typeof optionsOrCb !== "object")
404
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
399
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
405
400
  this.send(command, optionsOrCb || {}, cb);
406
401
  }
407
402
  else {
408
403
  return this.send(command, optionsOrCb);
409
404
  }
410
- };
411
- RDS.prototype.createDBInstanceReadReplica = function (args, optionsOrCb, cb) {
412
- var command = new CreateDBInstanceReadReplicaCommand(args);
405
+ }
406
+ createDBInstanceReadReplica(args, optionsOrCb, cb) {
407
+ const command = new CreateDBInstanceReadReplicaCommand(args);
413
408
  if (typeof optionsOrCb === "function") {
414
409
  this.send(command, optionsOrCb);
415
410
  }
416
411
  else if (typeof cb === "function") {
417
412
  if (typeof optionsOrCb !== "object")
418
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
413
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
419
414
  this.send(command, optionsOrCb || {}, cb);
420
415
  }
421
416
  else {
422
417
  return this.send(command, optionsOrCb);
423
418
  }
424
- };
425
- RDS.prototype.createDBParameterGroup = function (args, optionsOrCb, cb) {
426
- var command = new CreateDBParameterGroupCommand(args);
419
+ }
420
+ createDBParameterGroup(args, optionsOrCb, cb) {
421
+ const command = new CreateDBParameterGroupCommand(args);
427
422
  if (typeof optionsOrCb === "function") {
428
423
  this.send(command, optionsOrCb);
429
424
  }
430
425
  else if (typeof cb === "function") {
431
426
  if (typeof optionsOrCb !== "object")
432
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
427
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
433
428
  this.send(command, optionsOrCb || {}, cb);
434
429
  }
435
430
  else {
436
431
  return this.send(command, optionsOrCb);
437
432
  }
438
- };
439
- RDS.prototype.createDBProxy = function (args, optionsOrCb, cb) {
440
- var command = new CreateDBProxyCommand(args);
433
+ }
434
+ createDBProxy(args, optionsOrCb, cb) {
435
+ const command = new CreateDBProxyCommand(args);
441
436
  if (typeof optionsOrCb === "function") {
442
437
  this.send(command, optionsOrCb);
443
438
  }
444
439
  else if (typeof cb === "function") {
445
440
  if (typeof optionsOrCb !== "object")
446
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
441
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
447
442
  this.send(command, optionsOrCb || {}, cb);
448
443
  }
449
444
  else {
450
445
  return this.send(command, optionsOrCb);
451
446
  }
452
- };
453
- RDS.prototype.createDBProxyEndpoint = function (args, optionsOrCb, cb) {
454
- var command = new CreateDBProxyEndpointCommand(args);
447
+ }
448
+ createDBProxyEndpoint(args, optionsOrCb, cb) {
449
+ const command = new CreateDBProxyEndpointCommand(args);
455
450
  if (typeof optionsOrCb === "function") {
456
451
  this.send(command, optionsOrCb);
457
452
  }
458
453
  else if (typeof cb === "function") {
459
454
  if (typeof optionsOrCb !== "object")
460
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
455
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
461
456
  this.send(command, optionsOrCb || {}, cb);
462
457
  }
463
458
  else {
464
459
  return this.send(command, optionsOrCb);
465
460
  }
466
- };
467
- RDS.prototype.createDBSecurityGroup = function (args, optionsOrCb, cb) {
468
- var command = new CreateDBSecurityGroupCommand(args);
461
+ }
462
+ createDBSecurityGroup(args, optionsOrCb, cb) {
463
+ const command = new CreateDBSecurityGroupCommand(args);
469
464
  if (typeof optionsOrCb === "function") {
470
465
  this.send(command, optionsOrCb);
471
466
  }
472
467
  else if (typeof cb === "function") {
473
468
  if (typeof optionsOrCb !== "object")
474
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
469
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
475
470
  this.send(command, optionsOrCb || {}, cb);
476
471
  }
477
472
  else {
478
473
  return this.send(command, optionsOrCb);
479
474
  }
480
- };
481
- RDS.prototype.createDBSnapshot = function (args, optionsOrCb, cb) {
482
- var command = new CreateDBSnapshotCommand(args);
475
+ }
476
+ createDBSnapshot(args, optionsOrCb, cb) {
477
+ const command = new CreateDBSnapshotCommand(args);
483
478
  if (typeof optionsOrCb === "function") {
484
479
  this.send(command, optionsOrCb);
485
480
  }
486
481
  else if (typeof cb === "function") {
487
482
  if (typeof optionsOrCb !== "object")
488
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
483
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
489
484
  this.send(command, optionsOrCb || {}, cb);
490
485
  }
491
486
  else {
492
487
  return this.send(command, optionsOrCb);
493
488
  }
494
- };
495
- RDS.prototype.createDBSubnetGroup = function (args, optionsOrCb, cb) {
496
- var command = new CreateDBSubnetGroupCommand(args);
489
+ }
490
+ createDBSubnetGroup(args, optionsOrCb, cb) {
491
+ const command = new CreateDBSubnetGroupCommand(args);
497
492
  if (typeof optionsOrCb === "function") {
498
493
  this.send(command, optionsOrCb);
499
494
  }
500
495
  else if (typeof cb === "function") {
501
496
  if (typeof optionsOrCb !== "object")
502
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
497
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
503
498
  this.send(command, optionsOrCb || {}, cb);
504
499
  }
505
500
  else {
506
501
  return this.send(command, optionsOrCb);
507
502
  }
508
- };
509
- RDS.prototype.createEventSubscription = function (args, optionsOrCb, cb) {
510
- var command = new CreateEventSubscriptionCommand(args);
503
+ }
504
+ createEventSubscription(args, optionsOrCb, cb) {
505
+ const command = new CreateEventSubscriptionCommand(args);
511
506
  if (typeof optionsOrCb === "function") {
512
507
  this.send(command, optionsOrCb);
513
508
  }
514
509
  else if (typeof cb === "function") {
515
510
  if (typeof optionsOrCb !== "object")
516
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
511
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
517
512
  this.send(command, optionsOrCb || {}, cb);
518
513
  }
519
514
  else {
520
515
  return this.send(command, optionsOrCb);
521
516
  }
522
- };
523
- RDS.prototype.createGlobalCluster = function (args, optionsOrCb, cb) {
524
- var command = new CreateGlobalClusterCommand(args);
517
+ }
518
+ createGlobalCluster(args, optionsOrCb, cb) {
519
+ const command = new CreateGlobalClusterCommand(args);
525
520
  if (typeof optionsOrCb === "function") {
526
521
  this.send(command, optionsOrCb);
527
522
  }
528
523
  else if (typeof cb === "function") {
529
524
  if (typeof optionsOrCb !== "object")
530
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
525
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
531
526
  this.send(command, optionsOrCb || {}, cb);
532
527
  }
533
528
  else {
534
529
  return this.send(command, optionsOrCb);
535
530
  }
536
- };
537
- RDS.prototype.createOptionGroup = function (args, optionsOrCb, cb) {
538
- var command = new CreateOptionGroupCommand(args);
531
+ }
532
+ createOptionGroup(args, optionsOrCb, cb) {
533
+ const command = new CreateOptionGroupCommand(args);
539
534
  if (typeof optionsOrCb === "function") {
540
535
  this.send(command, optionsOrCb);
541
536
  }
542
537
  else if (typeof cb === "function") {
543
538
  if (typeof optionsOrCb !== "object")
544
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
539
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
545
540
  this.send(command, optionsOrCb || {}, cb);
546
541
  }
547
542
  else {
548
543
  return this.send(command, optionsOrCb);
549
544
  }
550
- };
551
- RDS.prototype.deleteCustomDBEngineVersion = function (args, optionsOrCb, cb) {
552
- var command = new DeleteCustomDBEngineVersionCommand(args);
545
+ }
546
+ deleteCustomDBEngineVersion(args, optionsOrCb, cb) {
547
+ const command = new DeleteCustomDBEngineVersionCommand(args);
553
548
  if (typeof optionsOrCb === "function") {
554
549
  this.send(command, optionsOrCb);
555
550
  }
556
551
  else if (typeof cb === "function") {
557
552
  if (typeof optionsOrCb !== "object")
558
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
553
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
559
554
  this.send(command, optionsOrCb || {}, cb);
560
555
  }
561
556
  else {
562
557
  return this.send(command, optionsOrCb);
563
558
  }
564
- };
565
- RDS.prototype.deleteDBCluster = function (args, optionsOrCb, cb) {
566
- var command = new DeleteDBClusterCommand(args);
559
+ }
560
+ deleteDBCluster(args, optionsOrCb, cb) {
561
+ const command = new DeleteDBClusterCommand(args);
567
562
  if (typeof optionsOrCb === "function") {
568
563
  this.send(command, optionsOrCb);
569
564
  }
570
565
  else if (typeof cb === "function") {
571
566
  if (typeof optionsOrCb !== "object")
572
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
567
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
573
568
  this.send(command, optionsOrCb || {}, cb);
574
569
  }
575
570
  else {
576
571
  return this.send(command, optionsOrCb);
577
572
  }
578
- };
579
- RDS.prototype.deleteDBClusterEndpoint = function (args, optionsOrCb, cb) {
580
- var command = new DeleteDBClusterEndpointCommand(args);
573
+ }
574
+ deleteDBClusterEndpoint(args, optionsOrCb, cb) {
575
+ const command = new DeleteDBClusterEndpointCommand(args);
581
576
  if (typeof optionsOrCb === "function") {
582
577
  this.send(command, optionsOrCb);
583
578
  }
584
579
  else if (typeof cb === "function") {
585
580
  if (typeof optionsOrCb !== "object")
586
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
581
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
587
582
  this.send(command, optionsOrCb || {}, cb);
588
583
  }
589
584
  else {
590
585
  return this.send(command, optionsOrCb);
591
586
  }
592
- };
593
- RDS.prototype.deleteDBClusterParameterGroup = function (args, optionsOrCb, cb) {
594
- var command = new DeleteDBClusterParameterGroupCommand(args);
587
+ }
588
+ deleteDBClusterParameterGroup(args, optionsOrCb, cb) {
589
+ const command = new DeleteDBClusterParameterGroupCommand(args);
595
590
  if (typeof optionsOrCb === "function") {
596
591
  this.send(command, optionsOrCb);
597
592
  }
598
593
  else if (typeof cb === "function") {
599
594
  if (typeof optionsOrCb !== "object")
600
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
595
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
601
596
  this.send(command, optionsOrCb || {}, cb);
602
597
  }
603
598
  else {
604
599
  return this.send(command, optionsOrCb);
605
600
  }
606
- };
607
- RDS.prototype.deleteDBClusterSnapshot = function (args, optionsOrCb, cb) {
608
- var command = new DeleteDBClusterSnapshotCommand(args);
601
+ }
602
+ deleteDBClusterSnapshot(args, optionsOrCb, cb) {
603
+ const command = new DeleteDBClusterSnapshotCommand(args);
609
604
  if (typeof optionsOrCb === "function") {
610
605
  this.send(command, optionsOrCb);
611
606
  }
612
607
  else if (typeof cb === "function") {
613
608
  if (typeof optionsOrCb !== "object")
614
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
609
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
615
610
  this.send(command, optionsOrCb || {}, cb);
616
611
  }
617
612
  else {
618
613
  return this.send(command, optionsOrCb);
619
614
  }
620
- };
621
- RDS.prototype.deleteDBInstance = function (args, optionsOrCb, cb) {
622
- var command = new DeleteDBInstanceCommand(args);
615
+ }
616
+ deleteDBInstance(args, optionsOrCb, cb) {
617
+ const command = new DeleteDBInstanceCommand(args);
623
618
  if (typeof optionsOrCb === "function") {
624
619
  this.send(command, optionsOrCb);
625
620
  }
626
621
  else if (typeof cb === "function") {
627
622
  if (typeof optionsOrCb !== "object")
628
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
623
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
629
624
  this.send(command, optionsOrCb || {}, cb);
630
625
  }
631
626
  else {
632
627
  return this.send(command, optionsOrCb);
633
628
  }
634
- };
635
- RDS.prototype.deleteDBInstanceAutomatedBackup = function (args, optionsOrCb, cb) {
636
- var command = new DeleteDBInstanceAutomatedBackupCommand(args);
629
+ }
630
+ deleteDBInstanceAutomatedBackup(args, optionsOrCb, cb) {
631
+ const command = new DeleteDBInstanceAutomatedBackupCommand(args);
637
632
  if (typeof optionsOrCb === "function") {
638
633
  this.send(command, optionsOrCb);
639
634
  }
640
635
  else if (typeof cb === "function") {
641
636
  if (typeof optionsOrCb !== "object")
642
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
637
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
643
638
  this.send(command, optionsOrCb || {}, cb);
644
639
  }
645
640
  else {
646
641
  return this.send(command, optionsOrCb);
647
642
  }
648
- };
649
- RDS.prototype.deleteDBParameterGroup = function (args, optionsOrCb, cb) {
650
- var command = new DeleteDBParameterGroupCommand(args);
643
+ }
644
+ deleteDBParameterGroup(args, optionsOrCb, cb) {
645
+ const command = new DeleteDBParameterGroupCommand(args);
651
646
  if (typeof optionsOrCb === "function") {
652
647
  this.send(command, optionsOrCb);
653
648
  }
654
649
  else if (typeof cb === "function") {
655
650
  if (typeof optionsOrCb !== "object")
656
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
651
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
657
652
  this.send(command, optionsOrCb || {}, cb);
658
653
  }
659
654
  else {
660
655
  return this.send(command, optionsOrCb);
661
656
  }
662
- };
663
- RDS.prototype.deleteDBProxy = function (args, optionsOrCb, cb) {
664
- var command = new DeleteDBProxyCommand(args);
657
+ }
658
+ deleteDBProxy(args, optionsOrCb, cb) {
659
+ const command = new DeleteDBProxyCommand(args);
665
660
  if (typeof optionsOrCb === "function") {
666
661
  this.send(command, optionsOrCb);
667
662
  }
668
663
  else if (typeof cb === "function") {
669
664
  if (typeof optionsOrCb !== "object")
670
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
665
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
671
666
  this.send(command, optionsOrCb || {}, cb);
672
667
  }
673
668
  else {
674
669
  return this.send(command, optionsOrCb);
675
670
  }
676
- };
677
- RDS.prototype.deleteDBProxyEndpoint = function (args, optionsOrCb, cb) {
678
- var command = new DeleteDBProxyEndpointCommand(args);
671
+ }
672
+ deleteDBProxyEndpoint(args, optionsOrCb, cb) {
673
+ const command = new DeleteDBProxyEndpointCommand(args);
679
674
  if (typeof optionsOrCb === "function") {
680
675
  this.send(command, optionsOrCb);
681
676
  }
682
677
  else if (typeof cb === "function") {
683
678
  if (typeof optionsOrCb !== "object")
684
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
679
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
685
680
  this.send(command, optionsOrCb || {}, cb);
686
681
  }
687
682
  else {
688
683
  return this.send(command, optionsOrCb);
689
684
  }
690
- };
691
- RDS.prototype.deleteDBSecurityGroup = function (args, optionsOrCb, cb) {
692
- var command = new DeleteDBSecurityGroupCommand(args);
685
+ }
686
+ deleteDBSecurityGroup(args, optionsOrCb, cb) {
687
+ const command = new DeleteDBSecurityGroupCommand(args);
693
688
  if (typeof optionsOrCb === "function") {
694
689
  this.send(command, optionsOrCb);
695
690
  }
696
691
  else if (typeof cb === "function") {
697
692
  if (typeof optionsOrCb !== "object")
698
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
693
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
699
694
  this.send(command, optionsOrCb || {}, cb);
700
695
  }
701
696
  else {
702
697
  return this.send(command, optionsOrCb);
703
698
  }
704
- };
705
- RDS.prototype.deleteDBSnapshot = function (args, optionsOrCb, cb) {
706
- var command = new DeleteDBSnapshotCommand(args);
699
+ }
700
+ deleteDBSnapshot(args, optionsOrCb, cb) {
701
+ const command = new DeleteDBSnapshotCommand(args);
707
702
  if (typeof optionsOrCb === "function") {
708
703
  this.send(command, optionsOrCb);
709
704
  }
710
705
  else if (typeof cb === "function") {
711
706
  if (typeof optionsOrCb !== "object")
712
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
707
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
713
708
  this.send(command, optionsOrCb || {}, cb);
714
709
  }
715
710
  else {
716
711
  return this.send(command, optionsOrCb);
717
712
  }
718
- };
719
- RDS.prototype.deleteDBSubnetGroup = function (args, optionsOrCb, cb) {
720
- var command = new DeleteDBSubnetGroupCommand(args);
713
+ }
714
+ deleteDBSubnetGroup(args, optionsOrCb, cb) {
715
+ const command = new DeleteDBSubnetGroupCommand(args);
721
716
  if (typeof optionsOrCb === "function") {
722
717
  this.send(command, optionsOrCb);
723
718
  }
724
719
  else if (typeof cb === "function") {
725
720
  if (typeof optionsOrCb !== "object")
726
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
721
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
727
722
  this.send(command, optionsOrCb || {}, cb);
728
723
  }
729
724
  else {
730
725
  return this.send(command, optionsOrCb);
731
726
  }
732
- };
733
- RDS.prototype.deleteEventSubscription = function (args, optionsOrCb, cb) {
734
- var command = new DeleteEventSubscriptionCommand(args);
727
+ }
728
+ deleteEventSubscription(args, optionsOrCb, cb) {
729
+ const command = new DeleteEventSubscriptionCommand(args);
735
730
  if (typeof optionsOrCb === "function") {
736
731
  this.send(command, optionsOrCb);
737
732
  }
738
733
  else if (typeof cb === "function") {
739
734
  if (typeof optionsOrCb !== "object")
740
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
735
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
741
736
  this.send(command, optionsOrCb || {}, cb);
742
737
  }
743
738
  else {
744
739
  return this.send(command, optionsOrCb);
745
740
  }
746
- };
747
- RDS.prototype.deleteGlobalCluster = function (args, optionsOrCb, cb) {
748
- var command = new DeleteGlobalClusterCommand(args);
741
+ }
742
+ deleteGlobalCluster(args, optionsOrCb, cb) {
743
+ const command = new DeleteGlobalClusterCommand(args);
749
744
  if (typeof optionsOrCb === "function") {
750
745
  this.send(command, optionsOrCb);
751
746
  }
752
747
  else if (typeof cb === "function") {
753
748
  if (typeof optionsOrCb !== "object")
754
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
749
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
755
750
  this.send(command, optionsOrCb || {}, cb);
756
751
  }
757
752
  else {
758
753
  return this.send(command, optionsOrCb);
759
754
  }
760
- };
761
- RDS.prototype.deleteOptionGroup = function (args, optionsOrCb, cb) {
762
- var command = new DeleteOptionGroupCommand(args);
755
+ }
756
+ deleteOptionGroup(args, optionsOrCb, cb) {
757
+ const command = new DeleteOptionGroupCommand(args);
763
758
  if (typeof optionsOrCb === "function") {
764
759
  this.send(command, optionsOrCb);
765
760
  }
766
761
  else if (typeof cb === "function") {
767
762
  if (typeof optionsOrCb !== "object")
768
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
763
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
769
764
  this.send(command, optionsOrCb || {}, cb);
770
765
  }
771
766
  else {
772
767
  return this.send(command, optionsOrCb);
773
768
  }
774
- };
775
- RDS.prototype.deregisterDBProxyTargets = function (args, optionsOrCb, cb) {
776
- var command = new DeregisterDBProxyTargetsCommand(args);
769
+ }
770
+ deregisterDBProxyTargets(args, optionsOrCb, cb) {
771
+ const command = new DeregisterDBProxyTargetsCommand(args);
777
772
  if (typeof optionsOrCb === "function") {
778
773
  this.send(command, optionsOrCb);
779
774
  }
780
775
  else if (typeof cb === "function") {
781
776
  if (typeof optionsOrCb !== "object")
782
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
777
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
783
778
  this.send(command, optionsOrCb || {}, cb);
784
779
  }
785
780
  else {
786
781
  return this.send(command, optionsOrCb);
787
782
  }
788
- };
789
- RDS.prototype.describeAccountAttributes = function (args, optionsOrCb, cb) {
790
- var command = new DescribeAccountAttributesCommand(args);
783
+ }
784
+ describeAccountAttributes(args, optionsOrCb, cb) {
785
+ const command = new DescribeAccountAttributesCommand(args);
791
786
  if (typeof optionsOrCb === "function") {
792
787
  this.send(command, optionsOrCb);
793
788
  }
794
789
  else if (typeof cb === "function") {
795
790
  if (typeof optionsOrCb !== "object")
796
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
791
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
797
792
  this.send(command, optionsOrCb || {}, cb);
798
793
  }
799
794
  else {
800
795
  return this.send(command, optionsOrCb);
801
796
  }
802
- };
803
- RDS.prototype.describeCertificates = function (args, optionsOrCb, cb) {
804
- var command = new DescribeCertificatesCommand(args);
797
+ }
798
+ describeCertificates(args, optionsOrCb, cb) {
799
+ const command = new DescribeCertificatesCommand(args);
805
800
  if (typeof optionsOrCb === "function") {
806
801
  this.send(command, optionsOrCb);
807
802
  }
808
803
  else if (typeof cb === "function") {
809
804
  if (typeof optionsOrCb !== "object")
810
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
805
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
811
806
  this.send(command, optionsOrCb || {}, cb);
812
807
  }
813
808
  else {
814
809
  return this.send(command, optionsOrCb);
815
810
  }
816
- };
817
- RDS.prototype.describeDBClusterBacktracks = function (args, optionsOrCb, cb) {
818
- var command = new DescribeDBClusterBacktracksCommand(args);
811
+ }
812
+ describeDBClusterBacktracks(args, optionsOrCb, cb) {
813
+ const command = new DescribeDBClusterBacktracksCommand(args);
819
814
  if (typeof optionsOrCb === "function") {
820
815
  this.send(command, optionsOrCb);
821
816
  }
822
817
  else if (typeof cb === "function") {
823
818
  if (typeof optionsOrCb !== "object")
824
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
819
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
825
820
  this.send(command, optionsOrCb || {}, cb);
826
821
  }
827
822
  else {
828
823
  return this.send(command, optionsOrCb);
829
824
  }
830
- };
831
- RDS.prototype.describeDBClusterEndpoints = function (args, optionsOrCb, cb) {
832
- var command = new DescribeDBClusterEndpointsCommand(args);
825
+ }
826
+ describeDBClusterEndpoints(args, optionsOrCb, cb) {
827
+ const command = new DescribeDBClusterEndpointsCommand(args);
833
828
  if (typeof optionsOrCb === "function") {
834
829
  this.send(command, optionsOrCb);
835
830
  }
836
831
  else if (typeof cb === "function") {
837
832
  if (typeof optionsOrCb !== "object")
838
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
833
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
839
834
  this.send(command, optionsOrCb || {}, cb);
840
835
  }
841
836
  else {
842
837
  return this.send(command, optionsOrCb);
843
838
  }
844
- };
845
- RDS.prototype.describeDBClusterParameterGroups = function (args, optionsOrCb, cb) {
846
- var command = new DescribeDBClusterParameterGroupsCommand(args);
839
+ }
840
+ describeDBClusterParameterGroups(args, optionsOrCb, cb) {
841
+ const command = new DescribeDBClusterParameterGroupsCommand(args);
847
842
  if (typeof optionsOrCb === "function") {
848
843
  this.send(command, optionsOrCb);
849
844
  }
850
845
  else if (typeof cb === "function") {
851
846
  if (typeof optionsOrCb !== "object")
852
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
847
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
853
848
  this.send(command, optionsOrCb || {}, cb);
854
849
  }
855
850
  else {
856
851
  return this.send(command, optionsOrCb);
857
852
  }
858
- };
859
- RDS.prototype.describeDBClusterParameters = function (args, optionsOrCb, cb) {
860
- var command = new DescribeDBClusterParametersCommand(args);
853
+ }
854
+ describeDBClusterParameters(args, optionsOrCb, cb) {
855
+ const command = new DescribeDBClusterParametersCommand(args);
861
856
  if (typeof optionsOrCb === "function") {
862
857
  this.send(command, optionsOrCb);
863
858
  }
864
859
  else if (typeof cb === "function") {
865
860
  if (typeof optionsOrCb !== "object")
866
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
861
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
867
862
  this.send(command, optionsOrCb || {}, cb);
868
863
  }
869
864
  else {
870
865
  return this.send(command, optionsOrCb);
871
866
  }
872
- };
873
- RDS.prototype.describeDBClusters = function (args, optionsOrCb, cb) {
874
- var command = new DescribeDBClustersCommand(args);
867
+ }
868
+ describeDBClusters(args, optionsOrCb, cb) {
869
+ const command = new DescribeDBClustersCommand(args);
875
870
  if (typeof optionsOrCb === "function") {
876
871
  this.send(command, optionsOrCb);
877
872
  }
878
873
  else if (typeof cb === "function") {
879
874
  if (typeof optionsOrCb !== "object")
880
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
875
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
881
876
  this.send(command, optionsOrCb || {}, cb);
882
877
  }
883
878
  else {
884
879
  return this.send(command, optionsOrCb);
885
880
  }
886
- };
887
- RDS.prototype.describeDBClusterSnapshotAttributes = function (args, optionsOrCb, cb) {
888
- var command = new DescribeDBClusterSnapshotAttributesCommand(args);
881
+ }
882
+ describeDBClusterSnapshotAttributes(args, optionsOrCb, cb) {
883
+ const command = new DescribeDBClusterSnapshotAttributesCommand(args);
889
884
  if (typeof optionsOrCb === "function") {
890
885
  this.send(command, optionsOrCb);
891
886
  }
892
887
  else if (typeof cb === "function") {
893
888
  if (typeof optionsOrCb !== "object")
894
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
889
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
895
890
  this.send(command, optionsOrCb || {}, cb);
896
891
  }
897
892
  else {
898
893
  return this.send(command, optionsOrCb);
899
894
  }
900
- };
901
- RDS.prototype.describeDBClusterSnapshots = function (args, optionsOrCb, cb) {
902
- var command = new DescribeDBClusterSnapshotsCommand(args);
895
+ }
896
+ describeDBClusterSnapshots(args, optionsOrCb, cb) {
897
+ const command = new DescribeDBClusterSnapshotsCommand(args);
903
898
  if (typeof optionsOrCb === "function") {
904
899
  this.send(command, optionsOrCb);
905
900
  }
906
901
  else if (typeof cb === "function") {
907
902
  if (typeof optionsOrCb !== "object")
908
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
903
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
909
904
  this.send(command, optionsOrCb || {}, cb);
910
905
  }
911
906
  else {
912
907
  return this.send(command, optionsOrCb);
913
908
  }
914
- };
915
- RDS.prototype.describeDBEngineVersions = function (args, optionsOrCb, cb) {
916
- var command = new DescribeDBEngineVersionsCommand(args);
909
+ }
910
+ describeDBEngineVersions(args, optionsOrCb, cb) {
911
+ const command = new DescribeDBEngineVersionsCommand(args);
917
912
  if (typeof optionsOrCb === "function") {
918
913
  this.send(command, optionsOrCb);
919
914
  }
920
915
  else if (typeof cb === "function") {
921
916
  if (typeof optionsOrCb !== "object")
922
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
917
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
923
918
  this.send(command, optionsOrCb || {}, cb);
924
919
  }
925
920
  else {
926
921
  return this.send(command, optionsOrCb);
927
922
  }
928
- };
929
- RDS.prototype.describeDBInstanceAutomatedBackups = function (args, optionsOrCb, cb) {
930
- var command = new DescribeDBInstanceAutomatedBackupsCommand(args);
923
+ }
924
+ describeDBInstanceAutomatedBackups(args, optionsOrCb, cb) {
925
+ const command = new DescribeDBInstanceAutomatedBackupsCommand(args);
931
926
  if (typeof optionsOrCb === "function") {
932
927
  this.send(command, optionsOrCb);
933
928
  }
934
929
  else if (typeof cb === "function") {
935
930
  if (typeof optionsOrCb !== "object")
936
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
931
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
937
932
  this.send(command, optionsOrCb || {}, cb);
938
933
  }
939
934
  else {
940
935
  return this.send(command, optionsOrCb);
941
936
  }
942
- };
943
- RDS.prototype.describeDBInstances = function (args, optionsOrCb, cb) {
944
- var command = new DescribeDBInstancesCommand(args);
937
+ }
938
+ describeDBInstances(args, optionsOrCb, cb) {
939
+ const command = new DescribeDBInstancesCommand(args);
945
940
  if (typeof optionsOrCb === "function") {
946
941
  this.send(command, optionsOrCb);
947
942
  }
948
943
  else if (typeof cb === "function") {
949
944
  if (typeof optionsOrCb !== "object")
950
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
945
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
951
946
  this.send(command, optionsOrCb || {}, cb);
952
947
  }
953
948
  else {
954
949
  return this.send(command, optionsOrCb);
955
950
  }
956
- };
957
- RDS.prototype.describeDBLogFiles = function (args, optionsOrCb, cb) {
958
- var command = new DescribeDBLogFilesCommand(args);
951
+ }
952
+ describeDBLogFiles(args, optionsOrCb, cb) {
953
+ const command = new DescribeDBLogFilesCommand(args);
959
954
  if (typeof optionsOrCb === "function") {
960
955
  this.send(command, optionsOrCb);
961
956
  }
962
957
  else if (typeof cb === "function") {
963
958
  if (typeof optionsOrCb !== "object")
964
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
959
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
965
960
  this.send(command, optionsOrCb || {}, cb);
966
961
  }
967
962
  else {
968
963
  return this.send(command, optionsOrCb);
969
964
  }
970
- };
971
- RDS.prototype.describeDBParameterGroups = function (args, optionsOrCb, cb) {
972
- var command = new DescribeDBParameterGroupsCommand(args);
965
+ }
966
+ describeDBParameterGroups(args, optionsOrCb, cb) {
967
+ const command = new DescribeDBParameterGroupsCommand(args);
973
968
  if (typeof optionsOrCb === "function") {
974
969
  this.send(command, optionsOrCb);
975
970
  }
976
971
  else if (typeof cb === "function") {
977
972
  if (typeof optionsOrCb !== "object")
978
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
973
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
979
974
  this.send(command, optionsOrCb || {}, cb);
980
975
  }
981
976
  else {
982
977
  return this.send(command, optionsOrCb);
983
978
  }
984
- };
985
- RDS.prototype.describeDBParameters = function (args, optionsOrCb, cb) {
986
- var command = new DescribeDBParametersCommand(args);
979
+ }
980
+ describeDBParameters(args, optionsOrCb, cb) {
981
+ const command = new DescribeDBParametersCommand(args);
987
982
  if (typeof optionsOrCb === "function") {
988
983
  this.send(command, optionsOrCb);
989
984
  }
990
985
  else if (typeof cb === "function") {
991
986
  if (typeof optionsOrCb !== "object")
992
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
987
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
993
988
  this.send(command, optionsOrCb || {}, cb);
994
989
  }
995
990
  else {
996
991
  return this.send(command, optionsOrCb);
997
992
  }
998
- };
999
- RDS.prototype.describeDBProxies = function (args, optionsOrCb, cb) {
1000
- var command = new DescribeDBProxiesCommand(args);
993
+ }
994
+ describeDBProxies(args, optionsOrCb, cb) {
995
+ const command = new DescribeDBProxiesCommand(args);
1001
996
  if (typeof optionsOrCb === "function") {
1002
997
  this.send(command, optionsOrCb);
1003
998
  }
1004
999
  else if (typeof cb === "function") {
1005
1000
  if (typeof optionsOrCb !== "object")
1006
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1001
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1007
1002
  this.send(command, optionsOrCb || {}, cb);
1008
1003
  }
1009
1004
  else {
1010
1005
  return this.send(command, optionsOrCb);
1011
1006
  }
1012
- };
1013
- RDS.prototype.describeDBProxyEndpoints = function (args, optionsOrCb, cb) {
1014
- var command = new DescribeDBProxyEndpointsCommand(args);
1007
+ }
1008
+ describeDBProxyEndpoints(args, optionsOrCb, cb) {
1009
+ const command = new DescribeDBProxyEndpointsCommand(args);
1015
1010
  if (typeof optionsOrCb === "function") {
1016
1011
  this.send(command, optionsOrCb);
1017
1012
  }
1018
1013
  else if (typeof cb === "function") {
1019
1014
  if (typeof optionsOrCb !== "object")
1020
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1015
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1021
1016
  this.send(command, optionsOrCb || {}, cb);
1022
1017
  }
1023
1018
  else {
1024
1019
  return this.send(command, optionsOrCb);
1025
1020
  }
1026
- };
1027
- RDS.prototype.describeDBProxyTargetGroups = function (args, optionsOrCb, cb) {
1028
- var command = new DescribeDBProxyTargetGroupsCommand(args);
1021
+ }
1022
+ describeDBProxyTargetGroups(args, optionsOrCb, cb) {
1023
+ const command = new DescribeDBProxyTargetGroupsCommand(args);
1029
1024
  if (typeof optionsOrCb === "function") {
1030
1025
  this.send(command, optionsOrCb);
1031
1026
  }
1032
1027
  else if (typeof cb === "function") {
1033
1028
  if (typeof optionsOrCb !== "object")
1034
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1029
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1035
1030
  this.send(command, optionsOrCb || {}, cb);
1036
1031
  }
1037
1032
  else {
1038
1033
  return this.send(command, optionsOrCb);
1039
1034
  }
1040
- };
1041
- RDS.prototype.describeDBProxyTargets = function (args, optionsOrCb, cb) {
1042
- var command = new DescribeDBProxyTargetsCommand(args);
1035
+ }
1036
+ describeDBProxyTargets(args, optionsOrCb, cb) {
1037
+ const command = new DescribeDBProxyTargetsCommand(args);
1043
1038
  if (typeof optionsOrCb === "function") {
1044
1039
  this.send(command, optionsOrCb);
1045
1040
  }
1046
1041
  else if (typeof cb === "function") {
1047
1042
  if (typeof optionsOrCb !== "object")
1048
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1043
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1049
1044
  this.send(command, optionsOrCb || {}, cb);
1050
1045
  }
1051
1046
  else {
1052
1047
  return this.send(command, optionsOrCb);
1053
1048
  }
1054
- };
1055
- RDS.prototype.describeDBSecurityGroups = function (args, optionsOrCb, cb) {
1056
- var command = new DescribeDBSecurityGroupsCommand(args);
1049
+ }
1050
+ describeDBSecurityGroups(args, optionsOrCb, cb) {
1051
+ const command = new DescribeDBSecurityGroupsCommand(args);
1057
1052
  if (typeof optionsOrCb === "function") {
1058
1053
  this.send(command, optionsOrCb);
1059
1054
  }
1060
1055
  else if (typeof cb === "function") {
1061
1056
  if (typeof optionsOrCb !== "object")
1062
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1057
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1063
1058
  this.send(command, optionsOrCb || {}, cb);
1064
1059
  }
1065
1060
  else {
1066
1061
  return this.send(command, optionsOrCb);
1067
1062
  }
1068
- };
1069
- RDS.prototype.describeDBSnapshotAttributes = function (args, optionsOrCb, cb) {
1070
- var command = new DescribeDBSnapshotAttributesCommand(args);
1063
+ }
1064
+ describeDBSnapshotAttributes(args, optionsOrCb, cb) {
1065
+ const command = new DescribeDBSnapshotAttributesCommand(args);
1071
1066
  if (typeof optionsOrCb === "function") {
1072
1067
  this.send(command, optionsOrCb);
1073
1068
  }
1074
1069
  else if (typeof cb === "function") {
1075
1070
  if (typeof optionsOrCb !== "object")
1076
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1071
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1077
1072
  this.send(command, optionsOrCb || {}, cb);
1078
1073
  }
1079
1074
  else {
1080
1075
  return this.send(command, optionsOrCb);
1081
1076
  }
1082
- };
1083
- RDS.prototype.describeDBSnapshots = function (args, optionsOrCb, cb) {
1084
- var command = new DescribeDBSnapshotsCommand(args);
1077
+ }
1078
+ describeDBSnapshots(args, optionsOrCb, cb) {
1079
+ const command = new DescribeDBSnapshotsCommand(args);
1085
1080
  if (typeof optionsOrCb === "function") {
1086
1081
  this.send(command, optionsOrCb);
1087
1082
  }
1088
1083
  else if (typeof cb === "function") {
1089
1084
  if (typeof optionsOrCb !== "object")
1090
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1085
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1091
1086
  this.send(command, optionsOrCb || {}, cb);
1092
1087
  }
1093
1088
  else {
1094
1089
  return this.send(command, optionsOrCb);
1095
1090
  }
1096
- };
1097
- RDS.prototype.describeDBSubnetGroups = function (args, optionsOrCb, cb) {
1098
- var command = new DescribeDBSubnetGroupsCommand(args);
1091
+ }
1092
+ describeDBSubnetGroups(args, optionsOrCb, cb) {
1093
+ const command = new DescribeDBSubnetGroupsCommand(args);
1099
1094
  if (typeof optionsOrCb === "function") {
1100
1095
  this.send(command, optionsOrCb);
1101
1096
  }
1102
1097
  else if (typeof cb === "function") {
1103
1098
  if (typeof optionsOrCb !== "object")
1104
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1099
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1105
1100
  this.send(command, optionsOrCb || {}, cb);
1106
1101
  }
1107
1102
  else {
1108
1103
  return this.send(command, optionsOrCb);
1109
1104
  }
1110
- };
1111
- RDS.prototype.describeEngineDefaultClusterParameters = function (args, optionsOrCb, cb) {
1112
- var command = new DescribeEngineDefaultClusterParametersCommand(args);
1105
+ }
1106
+ describeEngineDefaultClusterParameters(args, optionsOrCb, cb) {
1107
+ const command = new DescribeEngineDefaultClusterParametersCommand(args);
1113
1108
  if (typeof optionsOrCb === "function") {
1114
1109
  this.send(command, optionsOrCb);
1115
1110
  }
1116
1111
  else if (typeof cb === "function") {
1117
1112
  if (typeof optionsOrCb !== "object")
1118
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1113
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1119
1114
  this.send(command, optionsOrCb || {}, cb);
1120
1115
  }
1121
1116
  else {
1122
1117
  return this.send(command, optionsOrCb);
1123
1118
  }
1124
- };
1125
- RDS.prototype.describeEngineDefaultParameters = function (args, optionsOrCb, cb) {
1126
- var command = new DescribeEngineDefaultParametersCommand(args);
1119
+ }
1120
+ describeEngineDefaultParameters(args, optionsOrCb, cb) {
1121
+ const command = new DescribeEngineDefaultParametersCommand(args);
1127
1122
  if (typeof optionsOrCb === "function") {
1128
1123
  this.send(command, optionsOrCb);
1129
1124
  }
1130
1125
  else if (typeof cb === "function") {
1131
1126
  if (typeof optionsOrCb !== "object")
1132
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1127
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1133
1128
  this.send(command, optionsOrCb || {}, cb);
1134
1129
  }
1135
1130
  else {
1136
1131
  return this.send(command, optionsOrCb);
1137
1132
  }
1138
- };
1139
- RDS.prototype.describeEventCategories = function (args, optionsOrCb, cb) {
1140
- var command = new DescribeEventCategoriesCommand(args);
1133
+ }
1134
+ describeEventCategories(args, optionsOrCb, cb) {
1135
+ const command = new DescribeEventCategoriesCommand(args);
1141
1136
  if (typeof optionsOrCb === "function") {
1142
1137
  this.send(command, optionsOrCb);
1143
1138
  }
1144
1139
  else if (typeof cb === "function") {
1145
1140
  if (typeof optionsOrCb !== "object")
1146
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1141
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1147
1142
  this.send(command, optionsOrCb || {}, cb);
1148
1143
  }
1149
1144
  else {
1150
1145
  return this.send(command, optionsOrCb);
1151
1146
  }
1152
- };
1153
- RDS.prototype.describeEvents = function (args, optionsOrCb, cb) {
1154
- var command = new DescribeEventsCommand(args);
1147
+ }
1148
+ describeEvents(args, optionsOrCb, cb) {
1149
+ const command = new DescribeEventsCommand(args);
1155
1150
  if (typeof optionsOrCb === "function") {
1156
1151
  this.send(command, optionsOrCb);
1157
1152
  }
1158
1153
  else if (typeof cb === "function") {
1159
1154
  if (typeof optionsOrCb !== "object")
1160
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1155
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1161
1156
  this.send(command, optionsOrCb || {}, cb);
1162
1157
  }
1163
1158
  else {
1164
1159
  return this.send(command, optionsOrCb);
1165
1160
  }
1166
- };
1167
- RDS.prototype.describeEventSubscriptions = function (args, optionsOrCb, cb) {
1168
- var command = new DescribeEventSubscriptionsCommand(args);
1161
+ }
1162
+ describeEventSubscriptions(args, optionsOrCb, cb) {
1163
+ const command = new DescribeEventSubscriptionsCommand(args);
1169
1164
  if (typeof optionsOrCb === "function") {
1170
1165
  this.send(command, optionsOrCb);
1171
1166
  }
1172
1167
  else if (typeof cb === "function") {
1173
1168
  if (typeof optionsOrCb !== "object")
1174
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1169
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1175
1170
  this.send(command, optionsOrCb || {}, cb);
1176
1171
  }
1177
1172
  else {
1178
1173
  return this.send(command, optionsOrCb);
1179
1174
  }
1180
- };
1181
- RDS.prototype.describeExportTasks = function (args, optionsOrCb, cb) {
1182
- var command = new DescribeExportTasksCommand(args);
1175
+ }
1176
+ describeExportTasks(args, optionsOrCb, cb) {
1177
+ const command = new DescribeExportTasksCommand(args);
1183
1178
  if (typeof optionsOrCb === "function") {
1184
1179
  this.send(command, optionsOrCb);
1185
1180
  }
1186
1181
  else if (typeof cb === "function") {
1187
1182
  if (typeof optionsOrCb !== "object")
1188
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1183
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1189
1184
  this.send(command, optionsOrCb || {}, cb);
1190
1185
  }
1191
1186
  else {
1192
1187
  return this.send(command, optionsOrCb);
1193
1188
  }
1194
- };
1195
- RDS.prototype.describeGlobalClusters = function (args, optionsOrCb, cb) {
1196
- var command = new DescribeGlobalClustersCommand(args);
1189
+ }
1190
+ describeGlobalClusters(args, optionsOrCb, cb) {
1191
+ const command = new DescribeGlobalClustersCommand(args);
1197
1192
  if (typeof optionsOrCb === "function") {
1198
1193
  this.send(command, optionsOrCb);
1199
1194
  }
1200
1195
  else if (typeof cb === "function") {
1201
1196
  if (typeof optionsOrCb !== "object")
1202
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1197
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1203
1198
  this.send(command, optionsOrCb || {}, cb);
1204
1199
  }
1205
1200
  else {
1206
1201
  return this.send(command, optionsOrCb);
1207
1202
  }
1208
- };
1209
- RDS.prototype.describeOptionGroupOptions = function (args, optionsOrCb, cb) {
1210
- var command = new DescribeOptionGroupOptionsCommand(args);
1203
+ }
1204
+ describeOptionGroupOptions(args, optionsOrCb, cb) {
1205
+ const command = new DescribeOptionGroupOptionsCommand(args);
1211
1206
  if (typeof optionsOrCb === "function") {
1212
1207
  this.send(command, optionsOrCb);
1213
1208
  }
1214
1209
  else if (typeof cb === "function") {
1215
1210
  if (typeof optionsOrCb !== "object")
1216
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1211
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1217
1212
  this.send(command, optionsOrCb || {}, cb);
1218
1213
  }
1219
1214
  else {
1220
1215
  return this.send(command, optionsOrCb);
1221
1216
  }
1222
- };
1223
- RDS.prototype.describeOptionGroups = function (args, optionsOrCb, cb) {
1224
- var command = new DescribeOptionGroupsCommand(args);
1217
+ }
1218
+ describeOptionGroups(args, optionsOrCb, cb) {
1219
+ const command = new DescribeOptionGroupsCommand(args);
1225
1220
  if (typeof optionsOrCb === "function") {
1226
1221
  this.send(command, optionsOrCb);
1227
1222
  }
1228
1223
  else if (typeof cb === "function") {
1229
1224
  if (typeof optionsOrCb !== "object")
1230
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1225
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1231
1226
  this.send(command, optionsOrCb || {}, cb);
1232
1227
  }
1233
1228
  else {
1234
1229
  return this.send(command, optionsOrCb);
1235
1230
  }
1236
- };
1237
- RDS.prototype.describeOrderableDBInstanceOptions = function (args, optionsOrCb, cb) {
1238
- var command = new DescribeOrderableDBInstanceOptionsCommand(args);
1231
+ }
1232
+ describeOrderableDBInstanceOptions(args, optionsOrCb, cb) {
1233
+ const command = new DescribeOrderableDBInstanceOptionsCommand(args);
1239
1234
  if (typeof optionsOrCb === "function") {
1240
1235
  this.send(command, optionsOrCb);
1241
1236
  }
1242
1237
  else if (typeof cb === "function") {
1243
1238
  if (typeof optionsOrCb !== "object")
1244
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1239
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1245
1240
  this.send(command, optionsOrCb || {}, cb);
1246
1241
  }
1247
1242
  else {
1248
1243
  return this.send(command, optionsOrCb);
1249
1244
  }
1250
- };
1251
- RDS.prototype.describePendingMaintenanceActions = function (args, optionsOrCb, cb) {
1252
- var command = new DescribePendingMaintenanceActionsCommand(args);
1245
+ }
1246
+ describePendingMaintenanceActions(args, optionsOrCb, cb) {
1247
+ const command = new DescribePendingMaintenanceActionsCommand(args);
1253
1248
  if (typeof optionsOrCb === "function") {
1254
1249
  this.send(command, optionsOrCb);
1255
1250
  }
1256
1251
  else if (typeof cb === "function") {
1257
1252
  if (typeof optionsOrCb !== "object")
1258
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1253
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1259
1254
  this.send(command, optionsOrCb || {}, cb);
1260
1255
  }
1261
1256
  else {
1262
1257
  return this.send(command, optionsOrCb);
1263
1258
  }
1264
- };
1265
- RDS.prototype.describeReservedDBInstances = function (args, optionsOrCb, cb) {
1266
- var command = new DescribeReservedDBInstancesCommand(args);
1259
+ }
1260
+ describeReservedDBInstances(args, optionsOrCb, cb) {
1261
+ const command = new DescribeReservedDBInstancesCommand(args);
1267
1262
  if (typeof optionsOrCb === "function") {
1268
1263
  this.send(command, optionsOrCb);
1269
1264
  }
1270
1265
  else if (typeof cb === "function") {
1271
1266
  if (typeof optionsOrCb !== "object")
1272
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1267
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1273
1268
  this.send(command, optionsOrCb || {}, cb);
1274
1269
  }
1275
1270
  else {
1276
1271
  return this.send(command, optionsOrCb);
1277
1272
  }
1278
- };
1279
- RDS.prototype.describeReservedDBInstancesOfferings = function (args, optionsOrCb, cb) {
1280
- var command = new DescribeReservedDBInstancesOfferingsCommand(args);
1273
+ }
1274
+ describeReservedDBInstancesOfferings(args, optionsOrCb, cb) {
1275
+ const command = new DescribeReservedDBInstancesOfferingsCommand(args);
1281
1276
  if (typeof optionsOrCb === "function") {
1282
1277
  this.send(command, optionsOrCb);
1283
1278
  }
1284
1279
  else if (typeof cb === "function") {
1285
1280
  if (typeof optionsOrCb !== "object")
1286
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1281
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1287
1282
  this.send(command, optionsOrCb || {}, cb);
1288
1283
  }
1289
1284
  else {
1290
1285
  return this.send(command, optionsOrCb);
1291
1286
  }
1292
- };
1293
- RDS.prototype.describeSourceRegions = function (args, optionsOrCb, cb) {
1294
- var command = new DescribeSourceRegionsCommand(args);
1287
+ }
1288
+ describeSourceRegions(args, optionsOrCb, cb) {
1289
+ const command = new DescribeSourceRegionsCommand(args);
1295
1290
  if (typeof optionsOrCb === "function") {
1296
1291
  this.send(command, optionsOrCb);
1297
1292
  }
1298
1293
  else if (typeof cb === "function") {
1299
1294
  if (typeof optionsOrCb !== "object")
1300
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1295
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1301
1296
  this.send(command, optionsOrCb || {}, cb);
1302
1297
  }
1303
1298
  else {
1304
1299
  return this.send(command, optionsOrCb);
1305
1300
  }
1306
- };
1307
- RDS.prototype.describeValidDBInstanceModifications = function (args, optionsOrCb, cb) {
1308
- var command = new DescribeValidDBInstanceModificationsCommand(args);
1301
+ }
1302
+ describeValidDBInstanceModifications(args, optionsOrCb, cb) {
1303
+ const command = new DescribeValidDBInstanceModificationsCommand(args);
1309
1304
  if (typeof optionsOrCb === "function") {
1310
1305
  this.send(command, optionsOrCb);
1311
1306
  }
1312
1307
  else if (typeof cb === "function") {
1313
1308
  if (typeof optionsOrCb !== "object")
1314
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1309
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1315
1310
  this.send(command, optionsOrCb || {}, cb);
1316
1311
  }
1317
1312
  else {
1318
1313
  return this.send(command, optionsOrCb);
1319
1314
  }
1320
- };
1321
- RDS.prototype.downloadDBLogFilePortion = function (args, optionsOrCb, cb) {
1322
- var command = new DownloadDBLogFilePortionCommand(args);
1315
+ }
1316
+ downloadDBLogFilePortion(args, optionsOrCb, cb) {
1317
+ const command = new DownloadDBLogFilePortionCommand(args);
1323
1318
  if (typeof optionsOrCb === "function") {
1324
1319
  this.send(command, optionsOrCb);
1325
1320
  }
1326
1321
  else if (typeof cb === "function") {
1327
1322
  if (typeof optionsOrCb !== "object")
1328
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1323
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1329
1324
  this.send(command, optionsOrCb || {}, cb);
1330
1325
  }
1331
1326
  else {
1332
1327
  return this.send(command, optionsOrCb);
1333
1328
  }
1334
- };
1335
- RDS.prototype.failoverDBCluster = function (args, optionsOrCb, cb) {
1336
- var command = new FailoverDBClusterCommand(args);
1329
+ }
1330
+ failoverDBCluster(args, optionsOrCb, cb) {
1331
+ const command = new FailoverDBClusterCommand(args);
1337
1332
  if (typeof optionsOrCb === "function") {
1338
1333
  this.send(command, optionsOrCb);
1339
1334
  }
1340
1335
  else if (typeof cb === "function") {
1341
1336
  if (typeof optionsOrCb !== "object")
1342
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1337
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1343
1338
  this.send(command, optionsOrCb || {}, cb);
1344
1339
  }
1345
1340
  else {
1346
1341
  return this.send(command, optionsOrCb);
1347
1342
  }
1348
- };
1349
- RDS.prototype.failoverGlobalCluster = function (args, optionsOrCb, cb) {
1350
- var command = new FailoverGlobalClusterCommand(args);
1343
+ }
1344
+ failoverGlobalCluster(args, optionsOrCb, cb) {
1345
+ const command = new FailoverGlobalClusterCommand(args);
1351
1346
  if (typeof optionsOrCb === "function") {
1352
1347
  this.send(command, optionsOrCb);
1353
1348
  }
1354
1349
  else if (typeof cb === "function") {
1355
1350
  if (typeof optionsOrCb !== "object")
1356
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1351
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1357
1352
  this.send(command, optionsOrCb || {}, cb);
1358
1353
  }
1359
1354
  else {
1360
1355
  return this.send(command, optionsOrCb);
1361
1356
  }
1362
- };
1363
- RDS.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
1364
- var command = new ListTagsForResourceCommand(args);
1357
+ }
1358
+ listTagsForResource(args, optionsOrCb, cb) {
1359
+ const command = new ListTagsForResourceCommand(args);
1365
1360
  if (typeof optionsOrCb === "function") {
1366
1361
  this.send(command, optionsOrCb);
1367
1362
  }
1368
1363
  else if (typeof cb === "function") {
1369
1364
  if (typeof optionsOrCb !== "object")
1370
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1365
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1371
1366
  this.send(command, optionsOrCb || {}, cb);
1372
1367
  }
1373
1368
  else {
1374
1369
  return this.send(command, optionsOrCb);
1375
1370
  }
1376
- };
1377
- RDS.prototype.modifyActivityStream = function (args, optionsOrCb, cb) {
1378
- var command = new ModifyActivityStreamCommand(args);
1371
+ }
1372
+ modifyActivityStream(args, optionsOrCb, cb) {
1373
+ const command = new ModifyActivityStreamCommand(args);
1379
1374
  if (typeof optionsOrCb === "function") {
1380
1375
  this.send(command, optionsOrCb);
1381
1376
  }
1382
1377
  else if (typeof cb === "function") {
1383
1378
  if (typeof optionsOrCb !== "object")
1384
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1379
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1385
1380
  this.send(command, optionsOrCb || {}, cb);
1386
1381
  }
1387
1382
  else {
1388
1383
  return this.send(command, optionsOrCb);
1389
1384
  }
1390
- };
1391
- RDS.prototype.modifyCertificates = function (args, optionsOrCb, cb) {
1392
- var command = new ModifyCertificatesCommand(args);
1385
+ }
1386
+ modifyCertificates(args, optionsOrCb, cb) {
1387
+ const command = new ModifyCertificatesCommand(args);
1393
1388
  if (typeof optionsOrCb === "function") {
1394
1389
  this.send(command, optionsOrCb);
1395
1390
  }
1396
1391
  else if (typeof cb === "function") {
1397
1392
  if (typeof optionsOrCb !== "object")
1398
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1393
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1399
1394
  this.send(command, optionsOrCb || {}, cb);
1400
1395
  }
1401
1396
  else {
1402
1397
  return this.send(command, optionsOrCb);
1403
1398
  }
1404
- };
1405
- RDS.prototype.modifyCurrentDBClusterCapacity = function (args, optionsOrCb, cb) {
1406
- var command = new ModifyCurrentDBClusterCapacityCommand(args);
1399
+ }
1400
+ modifyCurrentDBClusterCapacity(args, optionsOrCb, cb) {
1401
+ const command = new ModifyCurrentDBClusterCapacityCommand(args);
1407
1402
  if (typeof optionsOrCb === "function") {
1408
1403
  this.send(command, optionsOrCb);
1409
1404
  }
1410
1405
  else if (typeof cb === "function") {
1411
1406
  if (typeof optionsOrCb !== "object")
1412
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1407
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1413
1408
  this.send(command, optionsOrCb || {}, cb);
1414
1409
  }
1415
1410
  else {
1416
1411
  return this.send(command, optionsOrCb);
1417
1412
  }
1418
- };
1419
- RDS.prototype.modifyCustomDBEngineVersion = function (args, optionsOrCb, cb) {
1420
- var command = new ModifyCustomDBEngineVersionCommand(args);
1413
+ }
1414
+ modifyCustomDBEngineVersion(args, optionsOrCb, cb) {
1415
+ const command = new ModifyCustomDBEngineVersionCommand(args);
1421
1416
  if (typeof optionsOrCb === "function") {
1422
1417
  this.send(command, optionsOrCb);
1423
1418
  }
1424
1419
  else if (typeof cb === "function") {
1425
1420
  if (typeof optionsOrCb !== "object")
1426
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1421
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1427
1422
  this.send(command, optionsOrCb || {}, cb);
1428
1423
  }
1429
1424
  else {
1430
1425
  return this.send(command, optionsOrCb);
1431
1426
  }
1432
- };
1433
- RDS.prototype.modifyDBCluster = function (args, optionsOrCb, cb) {
1434
- var command = new ModifyDBClusterCommand(args);
1427
+ }
1428
+ modifyDBCluster(args, optionsOrCb, cb) {
1429
+ const command = new ModifyDBClusterCommand(args);
1435
1430
  if (typeof optionsOrCb === "function") {
1436
1431
  this.send(command, optionsOrCb);
1437
1432
  }
1438
1433
  else if (typeof cb === "function") {
1439
1434
  if (typeof optionsOrCb !== "object")
1440
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1435
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1441
1436
  this.send(command, optionsOrCb || {}, cb);
1442
1437
  }
1443
1438
  else {
1444
1439
  return this.send(command, optionsOrCb);
1445
1440
  }
1446
- };
1447
- RDS.prototype.modifyDBClusterEndpoint = function (args, optionsOrCb, cb) {
1448
- var command = new ModifyDBClusterEndpointCommand(args);
1441
+ }
1442
+ modifyDBClusterEndpoint(args, optionsOrCb, cb) {
1443
+ const command = new ModifyDBClusterEndpointCommand(args);
1449
1444
  if (typeof optionsOrCb === "function") {
1450
1445
  this.send(command, optionsOrCb);
1451
1446
  }
1452
1447
  else if (typeof cb === "function") {
1453
1448
  if (typeof optionsOrCb !== "object")
1454
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1449
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1455
1450
  this.send(command, optionsOrCb || {}, cb);
1456
1451
  }
1457
1452
  else {
1458
1453
  return this.send(command, optionsOrCb);
1459
1454
  }
1460
- };
1461
- RDS.prototype.modifyDBClusterParameterGroup = function (args, optionsOrCb, cb) {
1462
- var command = new ModifyDBClusterParameterGroupCommand(args);
1455
+ }
1456
+ modifyDBClusterParameterGroup(args, optionsOrCb, cb) {
1457
+ const command = new ModifyDBClusterParameterGroupCommand(args);
1463
1458
  if (typeof optionsOrCb === "function") {
1464
1459
  this.send(command, optionsOrCb);
1465
1460
  }
1466
1461
  else if (typeof cb === "function") {
1467
1462
  if (typeof optionsOrCb !== "object")
1468
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1463
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1469
1464
  this.send(command, optionsOrCb || {}, cb);
1470
1465
  }
1471
1466
  else {
1472
1467
  return this.send(command, optionsOrCb);
1473
1468
  }
1474
- };
1475
- RDS.prototype.modifyDBClusterSnapshotAttribute = function (args, optionsOrCb, cb) {
1476
- var command = new ModifyDBClusterSnapshotAttributeCommand(args);
1469
+ }
1470
+ modifyDBClusterSnapshotAttribute(args, optionsOrCb, cb) {
1471
+ const command = new ModifyDBClusterSnapshotAttributeCommand(args);
1477
1472
  if (typeof optionsOrCb === "function") {
1478
1473
  this.send(command, optionsOrCb);
1479
1474
  }
1480
1475
  else if (typeof cb === "function") {
1481
1476
  if (typeof optionsOrCb !== "object")
1482
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1477
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1483
1478
  this.send(command, optionsOrCb || {}, cb);
1484
1479
  }
1485
1480
  else {
1486
1481
  return this.send(command, optionsOrCb);
1487
1482
  }
1488
- };
1489
- RDS.prototype.modifyDBInstance = function (args, optionsOrCb, cb) {
1490
- var command = new ModifyDBInstanceCommand(args);
1483
+ }
1484
+ modifyDBInstance(args, optionsOrCb, cb) {
1485
+ const command = new ModifyDBInstanceCommand(args);
1491
1486
  if (typeof optionsOrCb === "function") {
1492
1487
  this.send(command, optionsOrCb);
1493
1488
  }
1494
1489
  else if (typeof cb === "function") {
1495
1490
  if (typeof optionsOrCb !== "object")
1496
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1491
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1497
1492
  this.send(command, optionsOrCb || {}, cb);
1498
1493
  }
1499
1494
  else {
1500
1495
  return this.send(command, optionsOrCb);
1501
1496
  }
1502
- };
1503
- RDS.prototype.modifyDBParameterGroup = function (args, optionsOrCb, cb) {
1504
- var command = new ModifyDBParameterGroupCommand(args);
1497
+ }
1498
+ modifyDBParameterGroup(args, optionsOrCb, cb) {
1499
+ const command = new ModifyDBParameterGroupCommand(args);
1505
1500
  if (typeof optionsOrCb === "function") {
1506
1501
  this.send(command, optionsOrCb);
1507
1502
  }
1508
1503
  else if (typeof cb === "function") {
1509
1504
  if (typeof optionsOrCb !== "object")
1510
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1505
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1511
1506
  this.send(command, optionsOrCb || {}, cb);
1512
1507
  }
1513
1508
  else {
1514
1509
  return this.send(command, optionsOrCb);
1515
1510
  }
1516
- };
1517
- RDS.prototype.modifyDBProxy = function (args, optionsOrCb, cb) {
1518
- var command = new ModifyDBProxyCommand(args);
1511
+ }
1512
+ modifyDBProxy(args, optionsOrCb, cb) {
1513
+ const command = new ModifyDBProxyCommand(args);
1519
1514
  if (typeof optionsOrCb === "function") {
1520
1515
  this.send(command, optionsOrCb);
1521
1516
  }
1522
1517
  else if (typeof cb === "function") {
1523
1518
  if (typeof optionsOrCb !== "object")
1524
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1519
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1525
1520
  this.send(command, optionsOrCb || {}, cb);
1526
1521
  }
1527
1522
  else {
1528
1523
  return this.send(command, optionsOrCb);
1529
1524
  }
1530
- };
1531
- RDS.prototype.modifyDBProxyEndpoint = function (args, optionsOrCb, cb) {
1532
- var command = new ModifyDBProxyEndpointCommand(args);
1525
+ }
1526
+ modifyDBProxyEndpoint(args, optionsOrCb, cb) {
1527
+ const command = new ModifyDBProxyEndpointCommand(args);
1533
1528
  if (typeof optionsOrCb === "function") {
1534
1529
  this.send(command, optionsOrCb);
1535
1530
  }
1536
1531
  else if (typeof cb === "function") {
1537
1532
  if (typeof optionsOrCb !== "object")
1538
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1533
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1539
1534
  this.send(command, optionsOrCb || {}, cb);
1540
1535
  }
1541
1536
  else {
1542
1537
  return this.send(command, optionsOrCb);
1543
1538
  }
1544
- };
1545
- RDS.prototype.modifyDBProxyTargetGroup = function (args, optionsOrCb, cb) {
1546
- var command = new ModifyDBProxyTargetGroupCommand(args);
1539
+ }
1540
+ modifyDBProxyTargetGroup(args, optionsOrCb, cb) {
1541
+ const command = new ModifyDBProxyTargetGroupCommand(args);
1547
1542
  if (typeof optionsOrCb === "function") {
1548
1543
  this.send(command, optionsOrCb);
1549
1544
  }
1550
1545
  else if (typeof cb === "function") {
1551
1546
  if (typeof optionsOrCb !== "object")
1552
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1547
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1553
1548
  this.send(command, optionsOrCb || {}, cb);
1554
1549
  }
1555
1550
  else {
1556
1551
  return this.send(command, optionsOrCb);
1557
1552
  }
1558
- };
1559
- RDS.prototype.modifyDBSnapshot = function (args, optionsOrCb, cb) {
1560
- var command = new ModifyDBSnapshotCommand(args);
1553
+ }
1554
+ modifyDBSnapshot(args, optionsOrCb, cb) {
1555
+ const command = new ModifyDBSnapshotCommand(args);
1561
1556
  if (typeof optionsOrCb === "function") {
1562
1557
  this.send(command, optionsOrCb);
1563
1558
  }
1564
1559
  else if (typeof cb === "function") {
1565
1560
  if (typeof optionsOrCb !== "object")
1566
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1561
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1567
1562
  this.send(command, optionsOrCb || {}, cb);
1568
1563
  }
1569
1564
  else {
1570
1565
  return this.send(command, optionsOrCb);
1571
1566
  }
1572
- };
1573
- RDS.prototype.modifyDBSnapshotAttribute = function (args, optionsOrCb, cb) {
1574
- var command = new ModifyDBSnapshotAttributeCommand(args);
1567
+ }
1568
+ modifyDBSnapshotAttribute(args, optionsOrCb, cb) {
1569
+ const command = new ModifyDBSnapshotAttributeCommand(args);
1575
1570
  if (typeof optionsOrCb === "function") {
1576
1571
  this.send(command, optionsOrCb);
1577
1572
  }
1578
1573
  else if (typeof cb === "function") {
1579
1574
  if (typeof optionsOrCb !== "object")
1580
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1575
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1581
1576
  this.send(command, optionsOrCb || {}, cb);
1582
1577
  }
1583
1578
  else {
1584
1579
  return this.send(command, optionsOrCb);
1585
1580
  }
1586
- };
1587
- RDS.prototype.modifyDBSubnetGroup = function (args, optionsOrCb, cb) {
1588
- var command = new ModifyDBSubnetGroupCommand(args);
1581
+ }
1582
+ modifyDBSubnetGroup(args, optionsOrCb, cb) {
1583
+ const command = new ModifyDBSubnetGroupCommand(args);
1589
1584
  if (typeof optionsOrCb === "function") {
1590
1585
  this.send(command, optionsOrCb);
1591
1586
  }
1592
1587
  else if (typeof cb === "function") {
1593
1588
  if (typeof optionsOrCb !== "object")
1594
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1589
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1595
1590
  this.send(command, optionsOrCb || {}, cb);
1596
1591
  }
1597
1592
  else {
1598
1593
  return this.send(command, optionsOrCb);
1599
1594
  }
1600
- };
1601
- RDS.prototype.modifyEventSubscription = function (args, optionsOrCb, cb) {
1602
- var command = new ModifyEventSubscriptionCommand(args);
1595
+ }
1596
+ modifyEventSubscription(args, optionsOrCb, cb) {
1597
+ const command = new ModifyEventSubscriptionCommand(args);
1603
1598
  if (typeof optionsOrCb === "function") {
1604
1599
  this.send(command, optionsOrCb);
1605
1600
  }
1606
1601
  else if (typeof cb === "function") {
1607
1602
  if (typeof optionsOrCb !== "object")
1608
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1603
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1609
1604
  this.send(command, optionsOrCb || {}, cb);
1610
1605
  }
1611
1606
  else {
1612
1607
  return this.send(command, optionsOrCb);
1613
1608
  }
1614
- };
1615
- RDS.prototype.modifyGlobalCluster = function (args, optionsOrCb, cb) {
1616
- var command = new ModifyGlobalClusterCommand(args);
1609
+ }
1610
+ modifyGlobalCluster(args, optionsOrCb, cb) {
1611
+ const command = new ModifyGlobalClusterCommand(args);
1617
1612
  if (typeof optionsOrCb === "function") {
1618
1613
  this.send(command, optionsOrCb);
1619
1614
  }
1620
1615
  else if (typeof cb === "function") {
1621
1616
  if (typeof optionsOrCb !== "object")
1622
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1617
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1623
1618
  this.send(command, optionsOrCb || {}, cb);
1624
1619
  }
1625
1620
  else {
1626
1621
  return this.send(command, optionsOrCb);
1627
1622
  }
1628
- };
1629
- RDS.prototype.modifyOptionGroup = function (args, optionsOrCb, cb) {
1630
- var command = new ModifyOptionGroupCommand(args);
1623
+ }
1624
+ modifyOptionGroup(args, optionsOrCb, cb) {
1625
+ const command = new ModifyOptionGroupCommand(args);
1631
1626
  if (typeof optionsOrCb === "function") {
1632
1627
  this.send(command, optionsOrCb);
1633
1628
  }
1634
1629
  else if (typeof cb === "function") {
1635
1630
  if (typeof optionsOrCb !== "object")
1636
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1631
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1637
1632
  this.send(command, optionsOrCb || {}, cb);
1638
1633
  }
1639
1634
  else {
1640
1635
  return this.send(command, optionsOrCb);
1641
1636
  }
1642
- };
1643
- RDS.prototype.promoteReadReplica = function (args, optionsOrCb, cb) {
1644
- var command = new PromoteReadReplicaCommand(args);
1637
+ }
1638
+ promoteReadReplica(args, optionsOrCb, cb) {
1639
+ const command = new PromoteReadReplicaCommand(args);
1645
1640
  if (typeof optionsOrCb === "function") {
1646
1641
  this.send(command, optionsOrCb);
1647
1642
  }
1648
1643
  else if (typeof cb === "function") {
1649
1644
  if (typeof optionsOrCb !== "object")
1650
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1645
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1651
1646
  this.send(command, optionsOrCb || {}, cb);
1652
1647
  }
1653
1648
  else {
1654
1649
  return this.send(command, optionsOrCb);
1655
1650
  }
1656
- };
1657
- RDS.prototype.promoteReadReplicaDBCluster = function (args, optionsOrCb, cb) {
1658
- var command = new PromoteReadReplicaDBClusterCommand(args);
1651
+ }
1652
+ promoteReadReplicaDBCluster(args, optionsOrCb, cb) {
1653
+ const command = new PromoteReadReplicaDBClusterCommand(args);
1659
1654
  if (typeof optionsOrCb === "function") {
1660
1655
  this.send(command, optionsOrCb);
1661
1656
  }
1662
1657
  else if (typeof cb === "function") {
1663
1658
  if (typeof optionsOrCb !== "object")
1664
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1659
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1665
1660
  this.send(command, optionsOrCb || {}, cb);
1666
1661
  }
1667
1662
  else {
1668
1663
  return this.send(command, optionsOrCb);
1669
1664
  }
1670
- };
1671
- RDS.prototype.purchaseReservedDBInstancesOffering = function (args, optionsOrCb, cb) {
1672
- var command = new PurchaseReservedDBInstancesOfferingCommand(args);
1665
+ }
1666
+ purchaseReservedDBInstancesOffering(args, optionsOrCb, cb) {
1667
+ const command = new PurchaseReservedDBInstancesOfferingCommand(args);
1673
1668
  if (typeof optionsOrCb === "function") {
1674
1669
  this.send(command, optionsOrCb);
1675
1670
  }
1676
1671
  else if (typeof cb === "function") {
1677
1672
  if (typeof optionsOrCb !== "object")
1678
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1673
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1679
1674
  this.send(command, optionsOrCb || {}, cb);
1680
1675
  }
1681
1676
  else {
1682
1677
  return this.send(command, optionsOrCb);
1683
1678
  }
1684
- };
1685
- RDS.prototype.rebootDBCluster = function (args, optionsOrCb, cb) {
1686
- var command = new RebootDBClusterCommand(args);
1679
+ }
1680
+ rebootDBCluster(args, optionsOrCb, cb) {
1681
+ const command = new RebootDBClusterCommand(args);
1687
1682
  if (typeof optionsOrCb === "function") {
1688
1683
  this.send(command, optionsOrCb);
1689
1684
  }
1690
1685
  else if (typeof cb === "function") {
1691
1686
  if (typeof optionsOrCb !== "object")
1692
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1687
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1693
1688
  this.send(command, optionsOrCb || {}, cb);
1694
1689
  }
1695
1690
  else {
1696
1691
  return this.send(command, optionsOrCb);
1697
1692
  }
1698
- };
1699
- RDS.prototype.rebootDBInstance = function (args, optionsOrCb, cb) {
1700
- var command = new RebootDBInstanceCommand(args);
1693
+ }
1694
+ rebootDBInstance(args, optionsOrCb, cb) {
1695
+ const command = new RebootDBInstanceCommand(args);
1701
1696
  if (typeof optionsOrCb === "function") {
1702
1697
  this.send(command, optionsOrCb);
1703
1698
  }
1704
1699
  else if (typeof cb === "function") {
1705
1700
  if (typeof optionsOrCb !== "object")
1706
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1701
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1707
1702
  this.send(command, optionsOrCb || {}, cb);
1708
1703
  }
1709
1704
  else {
1710
1705
  return this.send(command, optionsOrCb);
1711
1706
  }
1712
- };
1713
- RDS.prototype.registerDBProxyTargets = function (args, optionsOrCb, cb) {
1714
- var command = new RegisterDBProxyTargetsCommand(args);
1707
+ }
1708
+ registerDBProxyTargets(args, optionsOrCb, cb) {
1709
+ const command = new RegisterDBProxyTargetsCommand(args);
1715
1710
  if (typeof optionsOrCb === "function") {
1716
1711
  this.send(command, optionsOrCb);
1717
1712
  }
1718
1713
  else if (typeof cb === "function") {
1719
1714
  if (typeof optionsOrCb !== "object")
1720
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1715
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1721
1716
  this.send(command, optionsOrCb || {}, cb);
1722
1717
  }
1723
1718
  else {
1724
1719
  return this.send(command, optionsOrCb);
1725
1720
  }
1726
- };
1727
- RDS.prototype.removeFromGlobalCluster = function (args, optionsOrCb, cb) {
1728
- var command = new RemoveFromGlobalClusterCommand(args);
1721
+ }
1722
+ removeFromGlobalCluster(args, optionsOrCb, cb) {
1723
+ const command = new RemoveFromGlobalClusterCommand(args);
1729
1724
  if (typeof optionsOrCb === "function") {
1730
1725
  this.send(command, optionsOrCb);
1731
1726
  }
1732
1727
  else if (typeof cb === "function") {
1733
1728
  if (typeof optionsOrCb !== "object")
1734
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1729
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1735
1730
  this.send(command, optionsOrCb || {}, cb);
1736
1731
  }
1737
1732
  else {
1738
1733
  return this.send(command, optionsOrCb);
1739
1734
  }
1740
- };
1741
- RDS.prototype.removeRoleFromDBCluster = function (args, optionsOrCb, cb) {
1742
- var command = new RemoveRoleFromDBClusterCommand(args);
1735
+ }
1736
+ removeRoleFromDBCluster(args, optionsOrCb, cb) {
1737
+ const command = new RemoveRoleFromDBClusterCommand(args);
1743
1738
  if (typeof optionsOrCb === "function") {
1744
1739
  this.send(command, optionsOrCb);
1745
1740
  }
1746
1741
  else if (typeof cb === "function") {
1747
1742
  if (typeof optionsOrCb !== "object")
1748
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1743
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1749
1744
  this.send(command, optionsOrCb || {}, cb);
1750
1745
  }
1751
1746
  else {
1752
1747
  return this.send(command, optionsOrCb);
1753
1748
  }
1754
- };
1755
- RDS.prototype.removeRoleFromDBInstance = function (args, optionsOrCb, cb) {
1756
- var command = new RemoveRoleFromDBInstanceCommand(args);
1749
+ }
1750
+ removeRoleFromDBInstance(args, optionsOrCb, cb) {
1751
+ const command = new RemoveRoleFromDBInstanceCommand(args);
1757
1752
  if (typeof optionsOrCb === "function") {
1758
1753
  this.send(command, optionsOrCb);
1759
1754
  }
1760
1755
  else if (typeof cb === "function") {
1761
1756
  if (typeof optionsOrCb !== "object")
1762
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1757
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1763
1758
  this.send(command, optionsOrCb || {}, cb);
1764
1759
  }
1765
1760
  else {
1766
1761
  return this.send(command, optionsOrCb);
1767
1762
  }
1768
- };
1769
- RDS.prototype.removeSourceIdentifierFromSubscription = function (args, optionsOrCb, cb) {
1770
- var command = new RemoveSourceIdentifierFromSubscriptionCommand(args);
1763
+ }
1764
+ removeSourceIdentifierFromSubscription(args, optionsOrCb, cb) {
1765
+ const command = new RemoveSourceIdentifierFromSubscriptionCommand(args);
1771
1766
  if (typeof optionsOrCb === "function") {
1772
1767
  this.send(command, optionsOrCb);
1773
1768
  }
1774
1769
  else if (typeof cb === "function") {
1775
1770
  if (typeof optionsOrCb !== "object")
1776
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1771
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1777
1772
  this.send(command, optionsOrCb || {}, cb);
1778
1773
  }
1779
1774
  else {
1780
1775
  return this.send(command, optionsOrCb);
1781
1776
  }
1782
- };
1783
- RDS.prototype.removeTagsFromResource = function (args, optionsOrCb, cb) {
1784
- var command = new RemoveTagsFromResourceCommand(args);
1777
+ }
1778
+ removeTagsFromResource(args, optionsOrCb, cb) {
1779
+ const command = new RemoveTagsFromResourceCommand(args);
1785
1780
  if (typeof optionsOrCb === "function") {
1786
1781
  this.send(command, optionsOrCb);
1787
1782
  }
1788
1783
  else if (typeof cb === "function") {
1789
1784
  if (typeof optionsOrCb !== "object")
1790
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1785
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1791
1786
  this.send(command, optionsOrCb || {}, cb);
1792
1787
  }
1793
1788
  else {
1794
1789
  return this.send(command, optionsOrCb);
1795
1790
  }
1796
- };
1797
- RDS.prototype.resetDBClusterParameterGroup = function (args, optionsOrCb, cb) {
1798
- var command = new ResetDBClusterParameterGroupCommand(args);
1791
+ }
1792
+ resetDBClusterParameterGroup(args, optionsOrCb, cb) {
1793
+ const command = new ResetDBClusterParameterGroupCommand(args);
1799
1794
  if (typeof optionsOrCb === "function") {
1800
1795
  this.send(command, optionsOrCb);
1801
1796
  }
1802
1797
  else if (typeof cb === "function") {
1803
1798
  if (typeof optionsOrCb !== "object")
1804
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1799
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1805
1800
  this.send(command, optionsOrCb || {}, cb);
1806
1801
  }
1807
1802
  else {
1808
1803
  return this.send(command, optionsOrCb);
1809
1804
  }
1810
- };
1811
- RDS.prototype.resetDBParameterGroup = function (args, optionsOrCb, cb) {
1812
- var command = new ResetDBParameterGroupCommand(args);
1805
+ }
1806
+ resetDBParameterGroup(args, optionsOrCb, cb) {
1807
+ const command = new ResetDBParameterGroupCommand(args);
1813
1808
  if (typeof optionsOrCb === "function") {
1814
1809
  this.send(command, optionsOrCb);
1815
1810
  }
1816
1811
  else if (typeof cb === "function") {
1817
1812
  if (typeof optionsOrCb !== "object")
1818
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1813
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1819
1814
  this.send(command, optionsOrCb || {}, cb);
1820
1815
  }
1821
1816
  else {
1822
1817
  return this.send(command, optionsOrCb);
1823
1818
  }
1824
- };
1825
- RDS.prototype.restoreDBClusterFromS3 = function (args, optionsOrCb, cb) {
1826
- var command = new RestoreDBClusterFromS3Command(args);
1819
+ }
1820
+ restoreDBClusterFromS3(args, optionsOrCb, cb) {
1821
+ const command = new RestoreDBClusterFromS3Command(args);
1827
1822
  if (typeof optionsOrCb === "function") {
1828
1823
  this.send(command, optionsOrCb);
1829
1824
  }
1830
1825
  else if (typeof cb === "function") {
1831
1826
  if (typeof optionsOrCb !== "object")
1832
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1827
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1833
1828
  this.send(command, optionsOrCb || {}, cb);
1834
1829
  }
1835
1830
  else {
1836
1831
  return this.send(command, optionsOrCb);
1837
1832
  }
1838
- };
1839
- RDS.prototype.restoreDBClusterFromSnapshot = function (args, optionsOrCb, cb) {
1840
- var command = new RestoreDBClusterFromSnapshotCommand(args);
1833
+ }
1834
+ restoreDBClusterFromSnapshot(args, optionsOrCb, cb) {
1835
+ const command = new RestoreDBClusterFromSnapshotCommand(args);
1841
1836
  if (typeof optionsOrCb === "function") {
1842
1837
  this.send(command, optionsOrCb);
1843
1838
  }
1844
1839
  else if (typeof cb === "function") {
1845
1840
  if (typeof optionsOrCb !== "object")
1846
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1841
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1847
1842
  this.send(command, optionsOrCb || {}, cb);
1848
1843
  }
1849
1844
  else {
1850
1845
  return this.send(command, optionsOrCb);
1851
1846
  }
1852
- };
1853
- RDS.prototype.restoreDBClusterToPointInTime = function (args, optionsOrCb, cb) {
1854
- var command = new RestoreDBClusterToPointInTimeCommand(args);
1847
+ }
1848
+ restoreDBClusterToPointInTime(args, optionsOrCb, cb) {
1849
+ const command = new RestoreDBClusterToPointInTimeCommand(args);
1855
1850
  if (typeof optionsOrCb === "function") {
1856
1851
  this.send(command, optionsOrCb);
1857
1852
  }
1858
1853
  else if (typeof cb === "function") {
1859
1854
  if (typeof optionsOrCb !== "object")
1860
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1855
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1861
1856
  this.send(command, optionsOrCb || {}, cb);
1862
1857
  }
1863
1858
  else {
1864
1859
  return this.send(command, optionsOrCb);
1865
1860
  }
1866
- };
1867
- RDS.prototype.restoreDBInstanceFromDBSnapshot = function (args, optionsOrCb, cb) {
1868
- var command = new RestoreDBInstanceFromDBSnapshotCommand(args);
1861
+ }
1862
+ restoreDBInstanceFromDBSnapshot(args, optionsOrCb, cb) {
1863
+ const command = new RestoreDBInstanceFromDBSnapshotCommand(args);
1869
1864
  if (typeof optionsOrCb === "function") {
1870
1865
  this.send(command, optionsOrCb);
1871
1866
  }
1872
1867
  else if (typeof cb === "function") {
1873
1868
  if (typeof optionsOrCb !== "object")
1874
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1869
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1875
1870
  this.send(command, optionsOrCb || {}, cb);
1876
1871
  }
1877
1872
  else {
1878
1873
  return this.send(command, optionsOrCb);
1879
1874
  }
1880
- };
1881
- RDS.prototype.restoreDBInstanceFromS3 = function (args, optionsOrCb, cb) {
1882
- var command = new RestoreDBInstanceFromS3Command(args);
1875
+ }
1876
+ restoreDBInstanceFromS3(args, optionsOrCb, cb) {
1877
+ const command = new RestoreDBInstanceFromS3Command(args);
1883
1878
  if (typeof optionsOrCb === "function") {
1884
1879
  this.send(command, optionsOrCb);
1885
1880
  }
1886
1881
  else if (typeof cb === "function") {
1887
1882
  if (typeof optionsOrCb !== "object")
1888
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1883
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1889
1884
  this.send(command, optionsOrCb || {}, cb);
1890
1885
  }
1891
1886
  else {
1892
1887
  return this.send(command, optionsOrCb);
1893
1888
  }
1894
- };
1895
- RDS.prototype.restoreDBInstanceToPointInTime = function (args, optionsOrCb, cb) {
1896
- var command = new RestoreDBInstanceToPointInTimeCommand(args);
1889
+ }
1890
+ restoreDBInstanceToPointInTime(args, optionsOrCb, cb) {
1891
+ const command = new RestoreDBInstanceToPointInTimeCommand(args);
1897
1892
  if (typeof optionsOrCb === "function") {
1898
1893
  this.send(command, optionsOrCb);
1899
1894
  }
1900
1895
  else if (typeof cb === "function") {
1901
1896
  if (typeof optionsOrCb !== "object")
1902
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1897
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1903
1898
  this.send(command, optionsOrCb || {}, cb);
1904
1899
  }
1905
1900
  else {
1906
1901
  return this.send(command, optionsOrCb);
1907
1902
  }
1908
- };
1909
- RDS.prototype.revokeDBSecurityGroupIngress = function (args, optionsOrCb, cb) {
1910
- var command = new RevokeDBSecurityGroupIngressCommand(args);
1903
+ }
1904
+ revokeDBSecurityGroupIngress(args, optionsOrCb, cb) {
1905
+ const command = new RevokeDBSecurityGroupIngressCommand(args);
1911
1906
  if (typeof optionsOrCb === "function") {
1912
1907
  this.send(command, optionsOrCb);
1913
1908
  }
1914
1909
  else if (typeof cb === "function") {
1915
1910
  if (typeof optionsOrCb !== "object")
1916
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1911
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1917
1912
  this.send(command, optionsOrCb || {}, cb);
1918
1913
  }
1919
1914
  else {
1920
1915
  return this.send(command, optionsOrCb);
1921
1916
  }
1922
- };
1923
- RDS.prototype.startActivityStream = function (args, optionsOrCb, cb) {
1924
- var command = new StartActivityStreamCommand(args);
1917
+ }
1918
+ startActivityStream(args, optionsOrCb, cb) {
1919
+ const command = new StartActivityStreamCommand(args);
1925
1920
  if (typeof optionsOrCb === "function") {
1926
1921
  this.send(command, optionsOrCb);
1927
1922
  }
1928
1923
  else if (typeof cb === "function") {
1929
1924
  if (typeof optionsOrCb !== "object")
1930
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1925
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1931
1926
  this.send(command, optionsOrCb || {}, cb);
1932
1927
  }
1933
1928
  else {
1934
1929
  return this.send(command, optionsOrCb);
1935
1930
  }
1936
- };
1937
- RDS.prototype.startDBCluster = function (args, optionsOrCb, cb) {
1938
- var command = new StartDBClusterCommand(args);
1931
+ }
1932
+ startDBCluster(args, optionsOrCb, cb) {
1933
+ const command = new StartDBClusterCommand(args);
1939
1934
  if (typeof optionsOrCb === "function") {
1940
1935
  this.send(command, optionsOrCb);
1941
1936
  }
1942
1937
  else if (typeof cb === "function") {
1943
1938
  if (typeof optionsOrCb !== "object")
1944
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1939
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1945
1940
  this.send(command, optionsOrCb || {}, cb);
1946
1941
  }
1947
1942
  else {
1948
1943
  return this.send(command, optionsOrCb);
1949
1944
  }
1950
- };
1951
- RDS.prototype.startDBInstance = function (args, optionsOrCb, cb) {
1952
- var command = new StartDBInstanceCommand(args);
1945
+ }
1946
+ startDBInstance(args, optionsOrCb, cb) {
1947
+ const command = new StartDBInstanceCommand(args);
1953
1948
  if (typeof optionsOrCb === "function") {
1954
1949
  this.send(command, optionsOrCb);
1955
1950
  }
1956
1951
  else if (typeof cb === "function") {
1957
1952
  if (typeof optionsOrCb !== "object")
1958
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1953
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1959
1954
  this.send(command, optionsOrCb || {}, cb);
1960
1955
  }
1961
1956
  else {
1962
1957
  return this.send(command, optionsOrCb);
1963
1958
  }
1964
- };
1965
- RDS.prototype.startDBInstanceAutomatedBackupsReplication = function (args, optionsOrCb, cb) {
1966
- var command = new StartDBInstanceAutomatedBackupsReplicationCommand(args);
1959
+ }
1960
+ startDBInstanceAutomatedBackupsReplication(args, optionsOrCb, cb) {
1961
+ const command = new StartDBInstanceAutomatedBackupsReplicationCommand(args);
1967
1962
  if (typeof optionsOrCb === "function") {
1968
1963
  this.send(command, optionsOrCb);
1969
1964
  }
1970
1965
  else if (typeof cb === "function") {
1971
1966
  if (typeof optionsOrCb !== "object")
1972
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1967
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1973
1968
  this.send(command, optionsOrCb || {}, cb);
1974
1969
  }
1975
1970
  else {
1976
1971
  return this.send(command, optionsOrCb);
1977
1972
  }
1978
- };
1979
- RDS.prototype.startExportTask = function (args, optionsOrCb, cb) {
1980
- var command = new StartExportTaskCommand(args);
1973
+ }
1974
+ startExportTask(args, optionsOrCb, cb) {
1975
+ const command = new StartExportTaskCommand(args);
1981
1976
  if (typeof optionsOrCb === "function") {
1982
1977
  this.send(command, optionsOrCb);
1983
1978
  }
1984
1979
  else if (typeof cb === "function") {
1985
1980
  if (typeof optionsOrCb !== "object")
1986
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1981
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1987
1982
  this.send(command, optionsOrCb || {}, cb);
1988
1983
  }
1989
1984
  else {
1990
1985
  return this.send(command, optionsOrCb);
1991
1986
  }
1992
- };
1993
- RDS.prototype.stopActivityStream = function (args, optionsOrCb, cb) {
1994
- var command = new StopActivityStreamCommand(args);
1987
+ }
1988
+ stopActivityStream(args, optionsOrCb, cb) {
1989
+ const command = new StopActivityStreamCommand(args);
1995
1990
  if (typeof optionsOrCb === "function") {
1996
1991
  this.send(command, optionsOrCb);
1997
1992
  }
1998
1993
  else if (typeof cb === "function") {
1999
1994
  if (typeof optionsOrCb !== "object")
2000
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1995
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2001
1996
  this.send(command, optionsOrCb || {}, cb);
2002
1997
  }
2003
1998
  else {
2004
1999
  return this.send(command, optionsOrCb);
2005
2000
  }
2006
- };
2007
- RDS.prototype.stopDBCluster = function (args, optionsOrCb, cb) {
2008
- var command = new StopDBClusterCommand(args);
2001
+ }
2002
+ stopDBCluster(args, optionsOrCb, cb) {
2003
+ const command = new StopDBClusterCommand(args);
2009
2004
  if (typeof optionsOrCb === "function") {
2010
2005
  this.send(command, optionsOrCb);
2011
2006
  }
2012
2007
  else if (typeof cb === "function") {
2013
2008
  if (typeof optionsOrCb !== "object")
2014
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2009
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2015
2010
  this.send(command, optionsOrCb || {}, cb);
2016
2011
  }
2017
2012
  else {
2018
2013
  return this.send(command, optionsOrCb);
2019
2014
  }
2020
- };
2021
- RDS.prototype.stopDBInstance = function (args, optionsOrCb, cb) {
2022
- var command = new StopDBInstanceCommand(args);
2015
+ }
2016
+ stopDBInstance(args, optionsOrCb, cb) {
2017
+ const command = new StopDBInstanceCommand(args);
2023
2018
  if (typeof optionsOrCb === "function") {
2024
2019
  this.send(command, optionsOrCb);
2025
2020
  }
2026
2021
  else if (typeof cb === "function") {
2027
2022
  if (typeof optionsOrCb !== "object")
2028
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2023
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2029
2024
  this.send(command, optionsOrCb || {}, cb);
2030
2025
  }
2031
2026
  else {
2032
2027
  return this.send(command, optionsOrCb);
2033
2028
  }
2034
- };
2035
- RDS.prototype.stopDBInstanceAutomatedBackupsReplication = function (args, optionsOrCb, cb) {
2036
- var command = new StopDBInstanceAutomatedBackupsReplicationCommand(args);
2029
+ }
2030
+ stopDBInstanceAutomatedBackupsReplication(args, optionsOrCb, cb) {
2031
+ const command = new StopDBInstanceAutomatedBackupsReplicationCommand(args);
2037
2032
  if (typeof optionsOrCb === "function") {
2038
2033
  this.send(command, optionsOrCb);
2039
2034
  }
2040
2035
  else if (typeof cb === "function") {
2041
2036
  if (typeof optionsOrCb !== "object")
2042
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2037
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2043
2038
  this.send(command, optionsOrCb || {}, cb);
2044
2039
  }
2045
2040
  else {
2046
2041
  return this.send(command, optionsOrCb);
2047
2042
  }
2048
- };
2049
- RDS.prototype.switchoverReadReplica = function (args, optionsOrCb, cb) {
2050
- var command = new SwitchoverReadReplicaCommand(args);
2043
+ }
2044
+ switchoverReadReplica(args, optionsOrCb, cb) {
2045
+ const command = new SwitchoverReadReplicaCommand(args);
2051
2046
  if (typeof optionsOrCb === "function") {
2052
2047
  this.send(command, optionsOrCb);
2053
2048
  }
2054
2049
  else if (typeof cb === "function") {
2055
2050
  if (typeof optionsOrCb !== "object")
2056
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
2051
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2057
2052
  this.send(command, optionsOrCb || {}, cb);
2058
2053
  }
2059
2054
  else {
2060
2055
  return this.send(command, optionsOrCb);
2061
2056
  }
2062
- };
2063
- return RDS;
2064
- }(RDSClient));
2065
- export { RDS };
2057
+ }
2058
+ }