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