@aws-sdk/client-rds 3.314.0 → 3.316.0

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