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