@aws-sdk/client-neptune 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/Neptune.js +285 -278
- package/dist-es/NeptuneClient.js +28 -22
- package/dist-es/commands/AddRoleToDBClusterCommand.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/CopyDBClusterParameterGroupCommand.js +28 -21
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +28 -21
- package/dist-es/commands/CopyDBParameterGroupCommand.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/CreateDBParameterGroupCommand.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/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/DeleteDBInstanceCommand.js +28 -21
- package/dist-es/commands/DeleteDBParameterGroupCommand.js +29 -22
- 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/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/DescribeDBInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeDBParameterGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBParametersCommand.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/DescribeGlobalClustersCommand.js +28 -21
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +28 -21
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +28 -21
- package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.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/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/ModifyDBSubnetGroupCommand.js +28 -21
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +28 -21
- package/dist-es/commands/ModifyGlobalClusterCommand.js +28 -21
- package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +28 -21
- package/dist-es/commands/RebootDBInstanceCommand.js +28 -21
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +28 -21
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.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/RestoreDBClusterFromSnapshotCommand.js +28 -21
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +28 -21
- package/dist-es/commands/StartDBClusterCommand.js +28 -21
- package/dist-es/commands/StopDBClusterCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/NeptuneServiceException.js +10 -5
- package/dist-es/models/models_0.js +978 -1323
- 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/DescribeDBInstancesPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBParametersPaginator.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/DescribeOrderableDBInstanceOptionsPaginator.js +68 -25
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +68 -25
- package/dist-es/protocols/Aws_query.js +6692 -5151
- 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/waitForDBInstanceAvailable.js +187 -106
- package/dist-es/waiters/waitForDBInstanceDeleted.js +165 -94
- package/package.json +5 -5
package/dist-es/Neptune.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AddRoleToDBClusterCommand, } from "./commands/AddRoleToDBClusterCommand";
|
|
2
3
|
import { AddSourceIdentifierToSubscriptionCommand, } from "./commands/AddSourceIdentifierToSubscriptionCommand";
|
|
3
4
|
import { AddTagsToResourceCommand, } from "./commands/AddTagsToResourceCommand";
|
|
@@ -68,971 +69,977 @@ import { RestoreDBClusterToPointInTimeCommand, } from "./commands/RestoreDBClust
|
|
|
68
69
|
import { StartDBClusterCommand, } from "./commands/StartDBClusterCommand";
|
|
69
70
|
import { StopDBClusterCommand, } from "./commands/StopDBClusterCommand";
|
|
70
71
|
import { NeptuneClient } from "./NeptuneClient";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
var Neptune = (function (_super) {
|
|
73
|
+
__extends(Neptune, _super);
|
|
74
|
+
function Neptune() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
Neptune.prototype.addRoleToDBCluster = function (args, optionsOrCb, cb) {
|
|
78
|
+
var command = new AddRoleToDBClusterCommand(args);
|
|
74
79
|
if (typeof optionsOrCb === "function") {
|
|
75
80
|
this.send(command, optionsOrCb);
|
|
76
81
|
}
|
|
77
82
|
else if (typeof cb === "function") {
|
|
78
83
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
86
|
}
|
|
82
87
|
else {
|
|
83
88
|
return this.send(command, optionsOrCb);
|
|
84
89
|
}
|
|
85
|
-
}
|
|
86
|
-
addSourceIdentifierToSubscription(args, optionsOrCb, cb) {
|
|
87
|
-
|
|
90
|
+
};
|
|
91
|
+
Neptune.prototype.addSourceIdentifierToSubscription = function (args, optionsOrCb, cb) {
|
|
92
|
+
var command = new AddSourceIdentifierToSubscriptionCommand(args);
|
|
88
93
|
if (typeof optionsOrCb === "function") {
|
|
89
94
|
this.send(command, optionsOrCb);
|
|
90
95
|
}
|
|
91
96
|
else if (typeof cb === "function") {
|
|
92
97
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
100
|
}
|
|
96
101
|
else {
|
|
97
102
|
return this.send(command, optionsOrCb);
|
|
98
103
|
}
|
|
99
|
-
}
|
|
100
|
-
addTagsToResource(args, optionsOrCb, cb) {
|
|
101
|
-
|
|
104
|
+
};
|
|
105
|
+
Neptune.prototype.addTagsToResource = function (args, optionsOrCb, cb) {
|
|
106
|
+
var command = new AddTagsToResourceCommand(args);
|
|
102
107
|
if (typeof optionsOrCb === "function") {
|
|
103
108
|
this.send(command, optionsOrCb);
|
|
104
109
|
}
|
|
105
110
|
else if (typeof cb === "function") {
|
|
106
111
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
114
|
}
|
|
110
115
|
else {
|
|
111
116
|
return this.send(command, optionsOrCb);
|
|
112
117
|
}
|
|
113
|
-
}
|
|
114
|
-
applyPendingMaintenanceAction(args, optionsOrCb, cb) {
|
|
115
|
-
|
|
118
|
+
};
|
|
119
|
+
Neptune.prototype.applyPendingMaintenanceAction = function (args, optionsOrCb, cb) {
|
|
120
|
+
var command = new ApplyPendingMaintenanceActionCommand(args);
|
|
116
121
|
if (typeof optionsOrCb === "function") {
|
|
117
122
|
this.send(command, optionsOrCb);
|
|
118
123
|
}
|
|
119
124
|
else if (typeof cb === "function") {
|
|
120
125
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
128
|
}
|
|
124
129
|
else {
|
|
125
130
|
return this.send(command, optionsOrCb);
|
|
126
131
|
}
|
|
127
|
-
}
|
|
128
|
-
copyDBClusterParameterGroup(args, optionsOrCb, cb) {
|
|
129
|
-
|
|
132
|
+
};
|
|
133
|
+
Neptune.prototype.copyDBClusterParameterGroup = function (args, optionsOrCb, cb) {
|
|
134
|
+
var command = new CopyDBClusterParameterGroupCommand(args);
|
|
130
135
|
if (typeof optionsOrCb === "function") {
|
|
131
136
|
this.send(command, optionsOrCb);
|
|
132
137
|
}
|
|
133
138
|
else if (typeof cb === "function") {
|
|
134
139
|
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
136
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
137
142
|
}
|
|
138
143
|
else {
|
|
139
144
|
return this.send(command, optionsOrCb);
|
|
140
145
|
}
|
|
141
|
-
}
|
|
142
|
-
copyDBClusterSnapshot(args, optionsOrCb, cb) {
|
|
143
|
-
|
|
146
|
+
};
|
|
147
|
+
Neptune.prototype.copyDBClusterSnapshot = function (args, optionsOrCb, cb) {
|
|
148
|
+
var command = new CopyDBClusterSnapshotCommand(args);
|
|
144
149
|
if (typeof optionsOrCb === "function") {
|
|
145
150
|
this.send(command, optionsOrCb);
|
|
146
151
|
}
|
|
147
152
|
else if (typeof cb === "function") {
|
|
148
153
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
150
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
156
|
}
|
|
152
157
|
else {
|
|
153
158
|
return this.send(command, optionsOrCb);
|
|
154
159
|
}
|
|
155
|
-
}
|
|
156
|
-
copyDBParameterGroup(args, optionsOrCb, cb) {
|
|
157
|
-
|
|
160
|
+
};
|
|
161
|
+
Neptune.prototype.copyDBParameterGroup = function (args, optionsOrCb, cb) {
|
|
162
|
+
var command = new CopyDBParameterGroupCommand(args);
|
|
158
163
|
if (typeof optionsOrCb === "function") {
|
|
159
164
|
this.send(command, optionsOrCb);
|
|
160
165
|
}
|
|
161
166
|
else if (typeof cb === "function") {
|
|
162
167
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
164
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
170
|
}
|
|
166
171
|
else {
|
|
167
172
|
return this.send(command, optionsOrCb);
|
|
168
173
|
}
|
|
169
|
-
}
|
|
170
|
-
createDBCluster(args, optionsOrCb, cb) {
|
|
171
|
-
|
|
174
|
+
};
|
|
175
|
+
Neptune.prototype.createDBCluster = function (args, optionsOrCb, cb) {
|
|
176
|
+
var command = new CreateDBClusterCommand(args);
|
|
172
177
|
if (typeof optionsOrCb === "function") {
|
|
173
178
|
this.send(command, optionsOrCb);
|
|
174
179
|
}
|
|
175
180
|
else if (typeof cb === "function") {
|
|
176
181
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
178
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
184
|
}
|
|
180
185
|
else {
|
|
181
186
|
return this.send(command, optionsOrCb);
|
|
182
187
|
}
|
|
183
|
-
}
|
|
184
|
-
createDBClusterEndpoint(args, optionsOrCb, cb) {
|
|
185
|
-
|
|
188
|
+
};
|
|
189
|
+
Neptune.prototype.createDBClusterEndpoint = function (args, optionsOrCb, cb) {
|
|
190
|
+
var command = new CreateDBClusterEndpointCommand(args);
|
|
186
191
|
if (typeof optionsOrCb === "function") {
|
|
187
192
|
this.send(command, optionsOrCb);
|
|
188
193
|
}
|
|
189
194
|
else if (typeof cb === "function") {
|
|
190
195
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
192
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
198
|
}
|
|
194
199
|
else {
|
|
195
200
|
return this.send(command, optionsOrCb);
|
|
196
201
|
}
|
|
197
|
-
}
|
|
198
|
-
createDBClusterParameterGroup(args, optionsOrCb, cb) {
|
|
199
|
-
|
|
202
|
+
};
|
|
203
|
+
Neptune.prototype.createDBClusterParameterGroup = function (args, optionsOrCb, cb) {
|
|
204
|
+
var command = new CreateDBClusterParameterGroupCommand(args);
|
|
200
205
|
if (typeof optionsOrCb === "function") {
|
|
201
206
|
this.send(command, optionsOrCb);
|
|
202
207
|
}
|
|
203
208
|
else if (typeof cb === "function") {
|
|
204
209
|
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(
|
|
210
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
206
211
|
this.send(command, optionsOrCb || {}, cb);
|
|
207
212
|
}
|
|
208
213
|
else {
|
|
209
214
|
return this.send(command, optionsOrCb);
|
|
210
215
|
}
|
|
211
|
-
}
|
|
212
|
-
createDBClusterSnapshot(args, optionsOrCb, cb) {
|
|
213
|
-
|
|
216
|
+
};
|
|
217
|
+
Neptune.prototype.createDBClusterSnapshot = function (args, optionsOrCb, cb) {
|
|
218
|
+
var command = new CreateDBClusterSnapshotCommand(args);
|
|
214
219
|
if (typeof optionsOrCb === "function") {
|
|
215
220
|
this.send(command, optionsOrCb);
|
|
216
221
|
}
|
|
217
222
|
else if (typeof cb === "function") {
|
|
218
223
|
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(
|
|
224
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
220
225
|
this.send(command, optionsOrCb || {}, cb);
|
|
221
226
|
}
|
|
222
227
|
else {
|
|
223
228
|
return this.send(command, optionsOrCb);
|
|
224
229
|
}
|
|
225
|
-
}
|
|
226
|
-
createDBInstance(args, optionsOrCb, cb) {
|
|
227
|
-
|
|
230
|
+
};
|
|
231
|
+
Neptune.prototype.createDBInstance = function (args, optionsOrCb, cb) {
|
|
232
|
+
var command = new CreateDBInstanceCommand(args);
|
|
228
233
|
if (typeof optionsOrCb === "function") {
|
|
229
234
|
this.send(command, optionsOrCb);
|
|
230
235
|
}
|
|
231
236
|
else if (typeof cb === "function") {
|
|
232
237
|
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(
|
|
238
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
234
239
|
this.send(command, optionsOrCb || {}, cb);
|
|
235
240
|
}
|
|
236
241
|
else {
|
|
237
242
|
return this.send(command, optionsOrCb);
|
|
238
243
|
}
|
|
239
|
-
}
|
|
240
|
-
createDBParameterGroup(args, optionsOrCb, cb) {
|
|
241
|
-
|
|
244
|
+
};
|
|
245
|
+
Neptune.prototype.createDBParameterGroup = function (args, optionsOrCb, cb) {
|
|
246
|
+
var command = new CreateDBParameterGroupCommand(args);
|
|
242
247
|
if (typeof optionsOrCb === "function") {
|
|
243
248
|
this.send(command, optionsOrCb);
|
|
244
249
|
}
|
|
245
250
|
else if (typeof cb === "function") {
|
|
246
251
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(
|
|
252
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
248
253
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
254
|
}
|
|
250
255
|
else {
|
|
251
256
|
return this.send(command, optionsOrCb);
|
|
252
257
|
}
|
|
253
|
-
}
|
|
254
|
-
createDBSubnetGroup(args, optionsOrCb, cb) {
|
|
255
|
-
|
|
258
|
+
};
|
|
259
|
+
Neptune.prototype.createDBSubnetGroup = function (args, optionsOrCb, cb) {
|
|
260
|
+
var command = new CreateDBSubnetGroupCommand(args);
|
|
256
261
|
if (typeof optionsOrCb === "function") {
|
|
257
262
|
this.send(command, optionsOrCb);
|
|
258
263
|
}
|
|
259
264
|
else if (typeof cb === "function") {
|
|
260
265
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(
|
|
266
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
262
267
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
268
|
}
|
|
264
269
|
else {
|
|
265
270
|
return this.send(command, optionsOrCb);
|
|
266
271
|
}
|
|
267
|
-
}
|
|
268
|
-
createEventSubscription(args, optionsOrCb, cb) {
|
|
269
|
-
|
|
272
|
+
};
|
|
273
|
+
Neptune.prototype.createEventSubscription = function (args, optionsOrCb, cb) {
|
|
274
|
+
var command = new CreateEventSubscriptionCommand(args);
|
|
270
275
|
if (typeof optionsOrCb === "function") {
|
|
271
276
|
this.send(command, optionsOrCb);
|
|
272
277
|
}
|
|
273
278
|
else if (typeof cb === "function") {
|
|
274
279
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(
|
|
280
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
276
281
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
282
|
}
|
|
278
283
|
else {
|
|
279
284
|
return this.send(command, optionsOrCb);
|
|
280
285
|
}
|
|
281
|
-
}
|
|
282
|
-
createGlobalCluster(args, optionsOrCb, cb) {
|
|
283
|
-
|
|
286
|
+
};
|
|
287
|
+
Neptune.prototype.createGlobalCluster = function (args, optionsOrCb, cb) {
|
|
288
|
+
var command = new CreateGlobalClusterCommand(args);
|
|
284
289
|
if (typeof optionsOrCb === "function") {
|
|
285
290
|
this.send(command, optionsOrCb);
|
|
286
291
|
}
|
|
287
292
|
else if (typeof cb === "function") {
|
|
288
293
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(
|
|
294
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
290
295
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
296
|
}
|
|
292
297
|
else {
|
|
293
298
|
return this.send(command, optionsOrCb);
|
|
294
299
|
}
|
|
295
|
-
}
|
|
296
|
-
deleteDBCluster(args, optionsOrCb, cb) {
|
|
297
|
-
|
|
300
|
+
};
|
|
301
|
+
Neptune.prototype.deleteDBCluster = function (args, optionsOrCb, cb) {
|
|
302
|
+
var command = new DeleteDBClusterCommand(args);
|
|
298
303
|
if (typeof optionsOrCb === "function") {
|
|
299
304
|
this.send(command, optionsOrCb);
|
|
300
305
|
}
|
|
301
306
|
else if (typeof cb === "function") {
|
|
302
307
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error(
|
|
308
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
304
309
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
310
|
}
|
|
306
311
|
else {
|
|
307
312
|
return this.send(command, optionsOrCb);
|
|
308
313
|
}
|
|
309
|
-
}
|
|
310
|
-
deleteDBClusterEndpoint(args, optionsOrCb, cb) {
|
|
311
|
-
|
|
314
|
+
};
|
|
315
|
+
Neptune.prototype.deleteDBClusterEndpoint = function (args, optionsOrCb, cb) {
|
|
316
|
+
var command = new DeleteDBClusterEndpointCommand(args);
|
|
312
317
|
if (typeof optionsOrCb === "function") {
|
|
313
318
|
this.send(command, optionsOrCb);
|
|
314
319
|
}
|
|
315
320
|
else if (typeof cb === "function") {
|
|
316
321
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(
|
|
322
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
323
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
324
|
}
|
|
320
325
|
else {
|
|
321
326
|
return this.send(command, optionsOrCb);
|
|
322
327
|
}
|
|
323
|
-
}
|
|
324
|
-
deleteDBClusterParameterGroup(args, optionsOrCb, cb) {
|
|
325
|
-
|
|
328
|
+
};
|
|
329
|
+
Neptune.prototype.deleteDBClusterParameterGroup = function (args, optionsOrCb, cb) {
|
|
330
|
+
var command = new DeleteDBClusterParameterGroupCommand(args);
|
|
326
331
|
if (typeof optionsOrCb === "function") {
|
|
327
332
|
this.send(command, optionsOrCb);
|
|
328
333
|
}
|
|
329
334
|
else if (typeof cb === "function") {
|
|
330
335
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(
|
|
336
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
332
337
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
338
|
}
|
|
334
339
|
else {
|
|
335
340
|
return this.send(command, optionsOrCb);
|
|
336
341
|
}
|
|
337
|
-
}
|
|
338
|
-
deleteDBClusterSnapshot(args, optionsOrCb, cb) {
|
|
339
|
-
|
|
342
|
+
};
|
|
343
|
+
Neptune.prototype.deleteDBClusterSnapshot = function (args, optionsOrCb, cb) {
|
|
344
|
+
var command = new DeleteDBClusterSnapshotCommand(args);
|
|
340
345
|
if (typeof optionsOrCb === "function") {
|
|
341
346
|
this.send(command, optionsOrCb);
|
|
342
347
|
}
|
|
343
348
|
else if (typeof cb === "function") {
|
|
344
349
|
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(
|
|
350
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
346
351
|
this.send(command, optionsOrCb || {}, cb);
|
|
347
352
|
}
|
|
348
353
|
else {
|
|
349
354
|
return this.send(command, optionsOrCb);
|
|
350
355
|
}
|
|
351
|
-
}
|
|
352
|
-
deleteDBInstance(args, optionsOrCb, cb) {
|
|
353
|
-
|
|
356
|
+
};
|
|
357
|
+
Neptune.prototype.deleteDBInstance = function (args, optionsOrCb, cb) {
|
|
358
|
+
var command = new DeleteDBInstanceCommand(args);
|
|
354
359
|
if (typeof optionsOrCb === "function") {
|
|
355
360
|
this.send(command, optionsOrCb);
|
|
356
361
|
}
|
|
357
362
|
else if (typeof cb === "function") {
|
|
358
363
|
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(
|
|
364
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
360
365
|
this.send(command, optionsOrCb || {}, cb);
|
|
361
366
|
}
|
|
362
367
|
else {
|
|
363
368
|
return this.send(command, optionsOrCb);
|
|
364
369
|
}
|
|
365
|
-
}
|
|
366
|
-
deleteDBParameterGroup(args, optionsOrCb, cb) {
|
|
367
|
-
|
|
370
|
+
};
|
|
371
|
+
Neptune.prototype.deleteDBParameterGroup = function (args, optionsOrCb, cb) {
|
|
372
|
+
var command = new DeleteDBParameterGroupCommand(args);
|
|
368
373
|
if (typeof optionsOrCb === "function") {
|
|
369
374
|
this.send(command, optionsOrCb);
|
|
370
375
|
}
|
|
371
376
|
else if (typeof cb === "function") {
|
|
372
377
|
if (typeof optionsOrCb !== "object")
|
|
373
|
-
throw new Error(
|
|
378
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
374
379
|
this.send(command, optionsOrCb || {}, cb);
|
|
375
380
|
}
|
|
376
381
|
else {
|
|
377
382
|
return this.send(command, optionsOrCb);
|
|
378
383
|
}
|
|
379
|
-
}
|
|
380
|
-
deleteDBSubnetGroup(args, optionsOrCb, cb) {
|
|
381
|
-
|
|
384
|
+
};
|
|
385
|
+
Neptune.prototype.deleteDBSubnetGroup = function (args, optionsOrCb, cb) {
|
|
386
|
+
var command = new DeleteDBSubnetGroupCommand(args);
|
|
382
387
|
if (typeof optionsOrCb === "function") {
|
|
383
388
|
this.send(command, optionsOrCb);
|
|
384
389
|
}
|
|
385
390
|
else if (typeof cb === "function") {
|
|
386
391
|
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error(
|
|
392
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
388
393
|
this.send(command, optionsOrCb || {}, cb);
|
|
389
394
|
}
|
|
390
395
|
else {
|
|
391
396
|
return this.send(command, optionsOrCb);
|
|
392
397
|
}
|
|
393
|
-
}
|
|
394
|
-
deleteEventSubscription(args, optionsOrCb, cb) {
|
|
395
|
-
|
|
398
|
+
};
|
|
399
|
+
Neptune.prototype.deleteEventSubscription = function (args, optionsOrCb, cb) {
|
|
400
|
+
var command = new DeleteEventSubscriptionCommand(args);
|
|
396
401
|
if (typeof optionsOrCb === "function") {
|
|
397
402
|
this.send(command, optionsOrCb);
|
|
398
403
|
}
|
|
399
404
|
else if (typeof cb === "function") {
|
|
400
405
|
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error(
|
|
406
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
402
407
|
this.send(command, optionsOrCb || {}, cb);
|
|
403
408
|
}
|
|
404
409
|
else {
|
|
405
410
|
return this.send(command, optionsOrCb);
|
|
406
411
|
}
|
|
407
|
-
}
|
|
408
|
-
deleteGlobalCluster(args, optionsOrCb, cb) {
|
|
409
|
-
|
|
412
|
+
};
|
|
413
|
+
Neptune.prototype.deleteGlobalCluster = function (args, optionsOrCb, cb) {
|
|
414
|
+
var command = new DeleteGlobalClusterCommand(args);
|
|
410
415
|
if (typeof optionsOrCb === "function") {
|
|
411
416
|
this.send(command, optionsOrCb);
|
|
412
417
|
}
|
|
413
418
|
else if (typeof cb === "function") {
|
|
414
419
|
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error(
|
|
420
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
416
421
|
this.send(command, optionsOrCb || {}, cb);
|
|
417
422
|
}
|
|
418
423
|
else {
|
|
419
424
|
return this.send(command, optionsOrCb);
|
|
420
425
|
}
|
|
421
|
-
}
|
|
422
|
-
describeDBClusterEndpoints(args, optionsOrCb, cb) {
|
|
423
|
-
|
|
426
|
+
};
|
|
427
|
+
Neptune.prototype.describeDBClusterEndpoints = function (args, optionsOrCb, cb) {
|
|
428
|
+
var command = new DescribeDBClusterEndpointsCommand(args);
|
|
424
429
|
if (typeof optionsOrCb === "function") {
|
|
425
430
|
this.send(command, optionsOrCb);
|
|
426
431
|
}
|
|
427
432
|
else if (typeof cb === "function") {
|
|
428
433
|
if (typeof optionsOrCb !== "object")
|
|
429
|
-
throw new Error(
|
|
434
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
430
435
|
this.send(command, optionsOrCb || {}, cb);
|
|
431
436
|
}
|
|
432
437
|
else {
|
|
433
438
|
return this.send(command, optionsOrCb);
|
|
434
439
|
}
|
|
435
|
-
}
|
|
436
|
-
describeDBClusterParameterGroups(args, optionsOrCb, cb) {
|
|
437
|
-
|
|
440
|
+
};
|
|
441
|
+
Neptune.prototype.describeDBClusterParameterGroups = function (args, optionsOrCb, cb) {
|
|
442
|
+
var command = new DescribeDBClusterParameterGroupsCommand(args);
|
|
438
443
|
if (typeof optionsOrCb === "function") {
|
|
439
444
|
this.send(command, optionsOrCb);
|
|
440
445
|
}
|
|
441
446
|
else if (typeof cb === "function") {
|
|
442
447
|
if (typeof optionsOrCb !== "object")
|
|
443
|
-
throw new Error(
|
|
448
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
444
449
|
this.send(command, optionsOrCb || {}, cb);
|
|
445
450
|
}
|
|
446
451
|
else {
|
|
447
452
|
return this.send(command, optionsOrCb);
|
|
448
453
|
}
|
|
449
|
-
}
|
|
450
|
-
describeDBClusterParameters(args, optionsOrCb, cb) {
|
|
451
|
-
|
|
454
|
+
};
|
|
455
|
+
Neptune.prototype.describeDBClusterParameters = function (args, optionsOrCb, cb) {
|
|
456
|
+
var command = new DescribeDBClusterParametersCommand(args);
|
|
452
457
|
if (typeof optionsOrCb === "function") {
|
|
453
458
|
this.send(command, optionsOrCb);
|
|
454
459
|
}
|
|
455
460
|
else if (typeof cb === "function") {
|
|
456
461
|
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error(
|
|
462
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
458
463
|
this.send(command, optionsOrCb || {}, cb);
|
|
459
464
|
}
|
|
460
465
|
else {
|
|
461
466
|
return this.send(command, optionsOrCb);
|
|
462
467
|
}
|
|
463
|
-
}
|
|
464
|
-
describeDBClusters(args, optionsOrCb, cb) {
|
|
465
|
-
|
|
468
|
+
};
|
|
469
|
+
Neptune.prototype.describeDBClusters = function (args, optionsOrCb, cb) {
|
|
470
|
+
var command = new DescribeDBClustersCommand(args);
|
|
466
471
|
if (typeof optionsOrCb === "function") {
|
|
467
472
|
this.send(command, optionsOrCb);
|
|
468
473
|
}
|
|
469
474
|
else if (typeof cb === "function") {
|
|
470
475
|
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error(
|
|
476
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
472
477
|
this.send(command, optionsOrCb || {}, cb);
|
|
473
478
|
}
|
|
474
479
|
else {
|
|
475
480
|
return this.send(command, optionsOrCb);
|
|
476
481
|
}
|
|
477
|
-
}
|
|
478
|
-
describeDBClusterSnapshotAttributes(args, optionsOrCb, cb) {
|
|
479
|
-
|
|
482
|
+
};
|
|
483
|
+
Neptune.prototype.describeDBClusterSnapshotAttributes = function (args, optionsOrCb, cb) {
|
|
484
|
+
var command = new DescribeDBClusterSnapshotAttributesCommand(args);
|
|
480
485
|
if (typeof optionsOrCb === "function") {
|
|
481
486
|
this.send(command, optionsOrCb);
|
|
482
487
|
}
|
|
483
488
|
else if (typeof cb === "function") {
|
|
484
489
|
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error(
|
|
490
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
486
491
|
this.send(command, optionsOrCb || {}, cb);
|
|
487
492
|
}
|
|
488
493
|
else {
|
|
489
494
|
return this.send(command, optionsOrCb);
|
|
490
495
|
}
|
|
491
|
-
}
|
|
492
|
-
describeDBClusterSnapshots(args, optionsOrCb, cb) {
|
|
493
|
-
|
|
496
|
+
};
|
|
497
|
+
Neptune.prototype.describeDBClusterSnapshots = function (args, optionsOrCb, cb) {
|
|
498
|
+
var command = new DescribeDBClusterSnapshotsCommand(args);
|
|
494
499
|
if (typeof optionsOrCb === "function") {
|
|
495
500
|
this.send(command, optionsOrCb);
|
|
496
501
|
}
|
|
497
502
|
else if (typeof cb === "function") {
|
|
498
503
|
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error(
|
|
504
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
500
505
|
this.send(command, optionsOrCb || {}, cb);
|
|
501
506
|
}
|
|
502
507
|
else {
|
|
503
508
|
return this.send(command, optionsOrCb);
|
|
504
509
|
}
|
|
505
|
-
}
|
|
506
|
-
describeDBEngineVersions(args, optionsOrCb, cb) {
|
|
507
|
-
|
|
510
|
+
};
|
|
511
|
+
Neptune.prototype.describeDBEngineVersions = function (args, optionsOrCb, cb) {
|
|
512
|
+
var command = new DescribeDBEngineVersionsCommand(args);
|
|
508
513
|
if (typeof optionsOrCb === "function") {
|
|
509
514
|
this.send(command, optionsOrCb);
|
|
510
515
|
}
|
|
511
516
|
else if (typeof cb === "function") {
|
|
512
517
|
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error(
|
|
518
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
514
519
|
this.send(command, optionsOrCb || {}, cb);
|
|
515
520
|
}
|
|
516
521
|
else {
|
|
517
522
|
return this.send(command, optionsOrCb);
|
|
518
523
|
}
|
|
519
|
-
}
|
|
520
|
-
describeDBInstances(args, optionsOrCb, cb) {
|
|
521
|
-
|
|
524
|
+
};
|
|
525
|
+
Neptune.prototype.describeDBInstances = function (args, optionsOrCb, cb) {
|
|
526
|
+
var command = new DescribeDBInstancesCommand(args);
|
|
522
527
|
if (typeof optionsOrCb === "function") {
|
|
523
528
|
this.send(command, optionsOrCb);
|
|
524
529
|
}
|
|
525
530
|
else if (typeof cb === "function") {
|
|
526
531
|
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error(
|
|
532
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
528
533
|
this.send(command, optionsOrCb || {}, cb);
|
|
529
534
|
}
|
|
530
535
|
else {
|
|
531
536
|
return this.send(command, optionsOrCb);
|
|
532
537
|
}
|
|
533
|
-
}
|
|
534
|
-
describeDBParameterGroups(args, optionsOrCb, cb) {
|
|
535
|
-
|
|
538
|
+
};
|
|
539
|
+
Neptune.prototype.describeDBParameterGroups = function (args, optionsOrCb, cb) {
|
|
540
|
+
var command = new DescribeDBParameterGroupsCommand(args);
|
|
536
541
|
if (typeof optionsOrCb === "function") {
|
|
537
542
|
this.send(command, optionsOrCb);
|
|
538
543
|
}
|
|
539
544
|
else if (typeof cb === "function") {
|
|
540
545
|
if (typeof optionsOrCb !== "object")
|
|
541
|
-
throw new Error(
|
|
546
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
542
547
|
this.send(command, optionsOrCb || {}, cb);
|
|
543
548
|
}
|
|
544
549
|
else {
|
|
545
550
|
return this.send(command, optionsOrCb);
|
|
546
551
|
}
|
|
547
|
-
}
|
|
548
|
-
describeDBParameters(args, optionsOrCb, cb) {
|
|
549
|
-
|
|
552
|
+
};
|
|
553
|
+
Neptune.prototype.describeDBParameters = function (args, optionsOrCb, cb) {
|
|
554
|
+
var command = new DescribeDBParametersCommand(args);
|
|
550
555
|
if (typeof optionsOrCb === "function") {
|
|
551
556
|
this.send(command, optionsOrCb);
|
|
552
557
|
}
|
|
553
558
|
else if (typeof cb === "function") {
|
|
554
559
|
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error(
|
|
560
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
556
561
|
this.send(command, optionsOrCb || {}, cb);
|
|
557
562
|
}
|
|
558
563
|
else {
|
|
559
564
|
return this.send(command, optionsOrCb);
|
|
560
565
|
}
|
|
561
|
-
}
|
|
562
|
-
describeDBSubnetGroups(args, optionsOrCb, cb) {
|
|
563
|
-
|
|
566
|
+
};
|
|
567
|
+
Neptune.prototype.describeDBSubnetGroups = function (args, optionsOrCb, cb) {
|
|
568
|
+
var command = new DescribeDBSubnetGroupsCommand(args);
|
|
564
569
|
if (typeof optionsOrCb === "function") {
|
|
565
570
|
this.send(command, optionsOrCb);
|
|
566
571
|
}
|
|
567
572
|
else if (typeof cb === "function") {
|
|
568
573
|
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error(
|
|
574
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
570
575
|
this.send(command, optionsOrCb || {}, cb);
|
|
571
576
|
}
|
|
572
577
|
else {
|
|
573
578
|
return this.send(command, optionsOrCb);
|
|
574
579
|
}
|
|
575
|
-
}
|
|
576
|
-
describeEngineDefaultClusterParameters(args, optionsOrCb, cb) {
|
|
577
|
-
|
|
580
|
+
};
|
|
581
|
+
Neptune.prototype.describeEngineDefaultClusterParameters = function (args, optionsOrCb, cb) {
|
|
582
|
+
var command = new DescribeEngineDefaultClusterParametersCommand(args);
|
|
578
583
|
if (typeof optionsOrCb === "function") {
|
|
579
584
|
this.send(command, optionsOrCb);
|
|
580
585
|
}
|
|
581
586
|
else if (typeof cb === "function") {
|
|
582
587
|
if (typeof optionsOrCb !== "object")
|
|
583
|
-
throw new Error(
|
|
588
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
584
589
|
this.send(command, optionsOrCb || {}, cb);
|
|
585
590
|
}
|
|
586
591
|
else {
|
|
587
592
|
return this.send(command, optionsOrCb);
|
|
588
593
|
}
|
|
589
|
-
}
|
|
590
|
-
describeEngineDefaultParameters(args, optionsOrCb, cb) {
|
|
591
|
-
|
|
594
|
+
};
|
|
595
|
+
Neptune.prototype.describeEngineDefaultParameters = function (args, optionsOrCb, cb) {
|
|
596
|
+
var command = new DescribeEngineDefaultParametersCommand(args);
|
|
592
597
|
if (typeof optionsOrCb === "function") {
|
|
593
598
|
this.send(command, optionsOrCb);
|
|
594
599
|
}
|
|
595
600
|
else if (typeof cb === "function") {
|
|
596
601
|
if (typeof optionsOrCb !== "object")
|
|
597
|
-
throw new Error(
|
|
602
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
598
603
|
this.send(command, optionsOrCb || {}, cb);
|
|
599
604
|
}
|
|
600
605
|
else {
|
|
601
606
|
return this.send(command, optionsOrCb);
|
|
602
607
|
}
|
|
603
|
-
}
|
|
604
|
-
describeEventCategories(args, optionsOrCb, cb) {
|
|
605
|
-
|
|
608
|
+
};
|
|
609
|
+
Neptune.prototype.describeEventCategories = function (args, optionsOrCb, cb) {
|
|
610
|
+
var command = new DescribeEventCategoriesCommand(args);
|
|
606
611
|
if (typeof optionsOrCb === "function") {
|
|
607
612
|
this.send(command, optionsOrCb);
|
|
608
613
|
}
|
|
609
614
|
else if (typeof cb === "function") {
|
|
610
615
|
if (typeof optionsOrCb !== "object")
|
|
611
|
-
throw new Error(
|
|
616
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
612
617
|
this.send(command, optionsOrCb || {}, cb);
|
|
613
618
|
}
|
|
614
619
|
else {
|
|
615
620
|
return this.send(command, optionsOrCb);
|
|
616
621
|
}
|
|
617
|
-
}
|
|
618
|
-
describeEvents(args, optionsOrCb, cb) {
|
|
619
|
-
|
|
622
|
+
};
|
|
623
|
+
Neptune.prototype.describeEvents = function (args, optionsOrCb, cb) {
|
|
624
|
+
var command = new DescribeEventsCommand(args);
|
|
620
625
|
if (typeof optionsOrCb === "function") {
|
|
621
626
|
this.send(command, optionsOrCb);
|
|
622
627
|
}
|
|
623
628
|
else if (typeof cb === "function") {
|
|
624
629
|
if (typeof optionsOrCb !== "object")
|
|
625
|
-
throw new Error(
|
|
630
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
626
631
|
this.send(command, optionsOrCb || {}, cb);
|
|
627
632
|
}
|
|
628
633
|
else {
|
|
629
634
|
return this.send(command, optionsOrCb);
|
|
630
635
|
}
|
|
631
|
-
}
|
|
632
|
-
describeEventSubscriptions(args, optionsOrCb, cb) {
|
|
633
|
-
|
|
636
|
+
};
|
|
637
|
+
Neptune.prototype.describeEventSubscriptions = function (args, optionsOrCb, cb) {
|
|
638
|
+
var command = new DescribeEventSubscriptionsCommand(args);
|
|
634
639
|
if (typeof optionsOrCb === "function") {
|
|
635
640
|
this.send(command, optionsOrCb);
|
|
636
641
|
}
|
|
637
642
|
else if (typeof cb === "function") {
|
|
638
643
|
if (typeof optionsOrCb !== "object")
|
|
639
|
-
throw new Error(
|
|
644
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
640
645
|
this.send(command, optionsOrCb || {}, cb);
|
|
641
646
|
}
|
|
642
647
|
else {
|
|
643
648
|
return this.send(command, optionsOrCb);
|
|
644
649
|
}
|
|
645
|
-
}
|
|
646
|
-
describeGlobalClusters(args, optionsOrCb, cb) {
|
|
647
|
-
|
|
650
|
+
};
|
|
651
|
+
Neptune.prototype.describeGlobalClusters = function (args, optionsOrCb, cb) {
|
|
652
|
+
var command = new DescribeGlobalClustersCommand(args);
|
|
648
653
|
if (typeof optionsOrCb === "function") {
|
|
649
654
|
this.send(command, optionsOrCb);
|
|
650
655
|
}
|
|
651
656
|
else if (typeof cb === "function") {
|
|
652
657
|
if (typeof optionsOrCb !== "object")
|
|
653
|
-
throw new Error(
|
|
658
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
654
659
|
this.send(command, optionsOrCb || {}, cb);
|
|
655
660
|
}
|
|
656
661
|
else {
|
|
657
662
|
return this.send(command, optionsOrCb);
|
|
658
663
|
}
|
|
659
|
-
}
|
|
660
|
-
describeOrderableDBInstanceOptions(args, optionsOrCb, cb) {
|
|
661
|
-
|
|
664
|
+
};
|
|
665
|
+
Neptune.prototype.describeOrderableDBInstanceOptions = function (args, optionsOrCb, cb) {
|
|
666
|
+
var command = new DescribeOrderableDBInstanceOptionsCommand(args);
|
|
662
667
|
if (typeof optionsOrCb === "function") {
|
|
663
668
|
this.send(command, optionsOrCb);
|
|
664
669
|
}
|
|
665
670
|
else if (typeof cb === "function") {
|
|
666
671
|
if (typeof optionsOrCb !== "object")
|
|
667
|
-
throw new Error(
|
|
672
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
668
673
|
this.send(command, optionsOrCb || {}, cb);
|
|
669
674
|
}
|
|
670
675
|
else {
|
|
671
676
|
return this.send(command, optionsOrCb);
|
|
672
677
|
}
|
|
673
|
-
}
|
|
674
|
-
describePendingMaintenanceActions(args, optionsOrCb, cb) {
|
|
675
|
-
|
|
678
|
+
};
|
|
679
|
+
Neptune.prototype.describePendingMaintenanceActions = function (args, optionsOrCb, cb) {
|
|
680
|
+
var command = new DescribePendingMaintenanceActionsCommand(args);
|
|
676
681
|
if (typeof optionsOrCb === "function") {
|
|
677
682
|
this.send(command, optionsOrCb);
|
|
678
683
|
}
|
|
679
684
|
else if (typeof cb === "function") {
|
|
680
685
|
if (typeof optionsOrCb !== "object")
|
|
681
|
-
throw new Error(
|
|
686
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
682
687
|
this.send(command, optionsOrCb || {}, cb);
|
|
683
688
|
}
|
|
684
689
|
else {
|
|
685
690
|
return this.send(command, optionsOrCb);
|
|
686
691
|
}
|
|
687
|
-
}
|
|
688
|
-
describeValidDBInstanceModifications(args, optionsOrCb, cb) {
|
|
689
|
-
|
|
692
|
+
};
|
|
693
|
+
Neptune.prototype.describeValidDBInstanceModifications = function (args, optionsOrCb, cb) {
|
|
694
|
+
var command = new DescribeValidDBInstanceModificationsCommand(args);
|
|
690
695
|
if (typeof optionsOrCb === "function") {
|
|
691
696
|
this.send(command, optionsOrCb);
|
|
692
697
|
}
|
|
693
698
|
else if (typeof cb === "function") {
|
|
694
699
|
if (typeof optionsOrCb !== "object")
|
|
695
|
-
throw new Error(
|
|
700
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
696
701
|
this.send(command, optionsOrCb || {}, cb);
|
|
697
702
|
}
|
|
698
703
|
else {
|
|
699
704
|
return this.send(command, optionsOrCb);
|
|
700
705
|
}
|
|
701
|
-
}
|
|
702
|
-
failoverDBCluster(args, optionsOrCb, cb) {
|
|
703
|
-
|
|
706
|
+
};
|
|
707
|
+
Neptune.prototype.failoverDBCluster = function (args, optionsOrCb, cb) {
|
|
708
|
+
var command = new FailoverDBClusterCommand(args);
|
|
704
709
|
if (typeof optionsOrCb === "function") {
|
|
705
710
|
this.send(command, optionsOrCb);
|
|
706
711
|
}
|
|
707
712
|
else if (typeof cb === "function") {
|
|
708
713
|
if (typeof optionsOrCb !== "object")
|
|
709
|
-
throw new Error(
|
|
714
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
710
715
|
this.send(command, optionsOrCb || {}, cb);
|
|
711
716
|
}
|
|
712
717
|
else {
|
|
713
718
|
return this.send(command, optionsOrCb);
|
|
714
719
|
}
|
|
715
|
-
}
|
|
716
|
-
failoverGlobalCluster(args, optionsOrCb, cb) {
|
|
717
|
-
|
|
720
|
+
};
|
|
721
|
+
Neptune.prototype.failoverGlobalCluster = function (args, optionsOrCb, cb) {
|
|
722
|
+
var command = new FailoverGlobalClusterCommand(args);
|
|
718
723
|
if (typeof optionsOrCb === "function") {
|
|
719
724
|
this.send(command, optionsOrCb);
|
|
720
725
|
}
|
|
721
726
|
else if (typeof cb === "function") {
|
|
722
727
|
if (typeof optionsOrCb !== "object")
|
|
723
|
-
throw new Error(
|
|
728
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
724
729
|
this.send(command, optionsOrCb || {}, cb);
|
|
725
730
|
}
|
|
726
731
|
else {
|
|
727
732
|
return this.send(command, optionsOrCb);
|
|
728
733
|
}
|
|
729
|
-
}
|
|
730
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
731
|
-
|
|
734
|
+
};
|
|
735
|
+
Neptune.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
736
|
+
var command = new ListTagsForResourceCommand(args);
|
|
732
737
|
if (typeof optionsOrCb === "function") {
|
|
733
738
|
this.send(command, optionsOrCb);
|
|
734
739
|
}
|
|
735
740
|
else if (typeof cb === "function") {
|
|
736
741
|
if (typeof optionsOrCb !== "object")
|
|
737
|
-
throw new Error(
|
|
742
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
738
743
|
this.send(command, optionsOrCb || {}, cb);
|
|
739
744
|
}
|
|
740
745
|
else {
|
|
741
746
|
return this.send(command, optionsOrCb);
|
|
742
747
|
}
|
|
743
|
-
}
|
|
744
|
-
modifyDBCluster(args, optionsOrCb, cb) {
|
|
745
|
-
|
|
748
|
+
};
|
|
749
|
+
Neptune.prototype.modifyDBCluster = function (args, optionsOrCb, cb) {
|
|
750
|
+
var command = new ModifyDBClusterCommand(args);
|
|
746
751
|
if (typeof optionsOrCb === "function") {
|
|
747
752
|
this.send(command, optionsOrCb);
|
|
748
753
|
}
|
|
749
754
|
else if (typeof cb === "function") {
|
|
750
755
|
if (typeof optionsOrCb !== "object")
|
|
751
|
-
throw new Error(
|
|
756
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
752
757
|
this.send(command, optionsOrCb || {}, cb);
|
|
753
758
|
}
|
|
754
759
|
else {
|
|
755
760
|
return this.send(command, optionsOrCb);
|
|
756
761
|
}
|
|
757
|
-
}
|
|
758
|
-
modifyDBClusterEndpoint(args, optionsOrCb, cb) {
|
|
759
|
-
|
|
762
|
+
};
|
|
763
|
+
Neptune.prototype.modifyDBClusterEndpoint = function (args, optionsOrCb, cb) {
|
|
764
|
+
var command = new ModifyDBClusterEndpointCommand(args);
|
|
760
765
|
if (typeof optionsOrCb === "function") {
|
|
761
766
|
this.send(command, optionsOrCb);
|
|
762
767
|
}
|
|
763
768
|
else if (typeof cb === "function") {
|
|
764
769
|
if (typeof optionsOrCb !== "object")
|
|
765
|
-
throw new Error(
|
|
770
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
766
771
|
this.send(command, optionsOrCb || {}, cb);
|
|
767
772
|
}
|
|
768
773
|
else {
|
|
769
774
|
return this.send(command, optionsOrCb);
|
|
770
775
|
}
|
|
771
|
-
}
|
|
772
|
-
modifyDBClusterParameterGroup(args, optionsOrCb, cb) {
|
|
773
|
-
|
|
776
|
+
};
|
|
777
|
+
Neptune.prototype.modifyDBClusterParameterGroup = function (args, optionsOrCb, cb) {
|
|
778
|
+
var command = new ModifyDBClusterParameterGroupCommand(args);
|
|
774
779
|
if (typeof optionsOrCb === "function") {
|
|
775
780
|
this.send(command, optionsOrCb);
|
|
776
781
|
}
|
|
777
782
|
else if (typeof cb === "function") {
|
|
778
783
|
if (typeof optionsOrCb !== "object")
|
|
779
|
-
throw new Error(
|
|
784
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
780
785
|
this.send(command, optionsOrCb || {}, cb);
|
|
781
786
|
}
|
|
782
787
|
else {
|
|
783
788
|
return this.send(command, optionsOrCb);
|
|
784
789
|
}
|
|
785
|
-
}
|
|
786
|
-
modifyDBClusterSnapshotAttribute(args, optionsOrCb, cb) {
|
|
787
|
-
|
|
790
|
+
};
|
|
791
|
+
Neptune.prototype.modifyDBClusterSnapshotAttribute = function (args, optionsOrCb, cb) {
|
|
792
|
+
var command = new ModifyDBClusterSnapshotAttributeCommand(args);
|
|
788
793
|
if (typeof optionsOrCb === "function") {
|
|
789
794
|
this.send(command, optionsOrCb);
|
|
790
795
|
}
|
|
791
796
|
else if (typeof cb === "function") {
|
|
792
797
|
if (typeof optionsOrCb !== "object")
|
|
793
|
-
throw new Error(
|
|
798
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
794
799
|
this.send(command, optionsOrCb || {}, cb);
|
|
795
800
|
}
|
|
796
801
|
else {
|
|
797
802
|
return this.send(command, optionsOrCb);
|
|
798
803
|
}
|
|
799
|
-
}
|
|
800
|
-
modifyDBInstance(args, optionsOrCb, cb) {
|
|
801
|
-
|
|
804
|
+
};
|
|
805
|
+
Neptune.prototype.modifyDBInstance = function (args, optionsOrCb, cb) {
|
|
806
|
+
var command = new ModifyDBInstanceCommand(args);
|
|
802
807
|
if (typeof optionsOrCb === "function") {
|
|
803
808
|
this.send(command, optionsOrCb);
|
|
804
809
|
}
|
|
805
810
|
else if (typeof cb === "function") {
|
|
806
811
|
if (typeof optionsOrCb !== "object")
|
|
807
|
-
throw new Error(
|
|
812
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
808
813
|
this.send(command, optionsOrCb || {}, cb);
|
|
809
814
|
}
|
|
810
815
|
else {
|
|
811
816
|
return this.send(command, optionsOrCb);
|
|
812
817
|
}
|
|
813
|
-
}
|
|
814
|
-
modifyDBParameterGroup(args, optionsOrCb, cb) {
|
|
815
|
-
|
|
818
|
+
};
|
|
819
|
+
Neptune.prototype.modifyDBParameterGroup = function (args, optionsOrCb, cb) {
|
|
820
|
+
var command = new ModifyDBParameterGroupCommand(args);
|
|
816
821
|
if (typeof optionsOrCb === "function") {
|
|
817
822
|
this.send(command, optionsOrCb);
|
|
818
823
|
}
|
|
819
824
|
else if (typeof cb === "function") {
|
|
820
825
|
if (typeof optionsOrCb !== "object")
|
|
821
|
-
throw new Error(
|
|
826
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
822
827
|
this.send(command, optionsOrCb || {}, cb);
|
|
823
828
|
}
|
|
824
829
|
else {
|
|
825
830
|
return this.send(command, optionsOrCb);
|
|
826
831
|
}
|
|
827
|
-
}
|
|
828
|
-
modifyDBSubnetGroup(args, optionsOrCb, cb) {
|
|
829
|
-
|
|
832
|
+
};
|
|
833
|
+
Neptune.prototype.modifyDBSubnetGroup = function (args, optionsOrCb, cb) {
|
|
834
|
+
var command = new ModifyDBSubnetGroupCommand(args);
|
|
830
835
|
if (typeof optionsOrCb === "function") {
|
|
831
836
|
this.send(command, optionsOrCb);
|
|
832
837
|
}
|
|
833
838
|
else if (typeof cb === "function") {
|
|
834
839
|
if (typeof optionsOrCb !== "object")
|
|
835
|
-
throw new Error(
|
|
840
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
836
841
|
this.send(command, optionsOrCb || {}, cb);
|
|
837
842
|
}
|
|
838
843
|
else {
|
|
839
844
|
return this.send(command, optionsOrCb);
|
|
840
845
|
}
|
|
841
|
-
}
|
|
842
|
-
modifyEventSubscription(args, optionsOrCb, cb) {
|
|
843
|
-
|
|
846
|
+
};
|
|
847
|
+
Neptune.prototype.modifyEventSubscription = function (args, optionsOrCb, cb) {
|
|
848
|
+
var command = new ModifyEventSubscriptionCommand(args);
|
|
844
849
|
if (typeof optionsOrCb === "function") {
|
|
845
850
|
this.send(command, optionsOrCb);
|
|
846
851
|
}
|
|
847
852
|
else if (typeof cb === "function") {
|
|
848
853
|
if (typeof optionsOrCb !== "object")
|
|
849
|
-
throw new Error(
|
|
854
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
850
855
|
this.send(command, optionsOrCb || {}, cb);
|
|
851
856
|
}
|
|
852
857
|
else {
|
|
853
858
|
return this.send(command, optionsOrCb);
|
|
854
859
|
}
|
|
855
|
-
}
|
|
856
|
-
modifyGlobalCluster(args, optionsOrCb, cb) {
|
|
857
|
-
|
|
860
|
+
};
|
|
861
|
+
Neptune.prototype.modifyGlobalCluster = function (args, optionsOrCb, cb) {
|
|
862
|
+
var command = new ModifyGlobalClusterCommand(args);
|
|
858
863
|
if (typeof optionsOrCb === "function") {
|
|
859
864
|
this.send(command, optionsOrCb);
|
|
860
865
|
}
|
|
861
866
|
else if (typeof cb === "function") {
|
|
862
867
|
if (typeof optionsOrCb !== "object")
|
|
863
|
-
throw new Error(
|
|
868
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
864
869
|
this.send(command, optionsOrCb || {}, cb);
|
|
865
870
|
}
|
|
866
871
|
else {
|
|
867
872
|
return this.send(command, optionsOrCb);
|
|
868
873
|
}
|
|
869
|
-
}
|
|
870
|
-
promoteReadReplicaDBCluster(args, optionsOrCb, cb) {
|
|
871
|
-
|
|
874
|
+
};
|
|
875
|
+
Neptune.prototype.promoteReadReplicaDBCluster = function (args, optionsOrCb, cb) {
|
|
876
|
+
var command = new PromoteReadReplicaDBClusterCommand(args);
|
|
872
877
|
if (typeof optionsOrCb === "function") {
|
|
873
878
|
this.send(command, optionsOrCb);
|
|
874
879
|
}
|
|
875
880
|
else if (typeof cb === "function") {
|
|
876
881
|
if (typeof optionsOrCb !== "object")
|
|
877
|
-
throw new Error(
|
|
882
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
878
883
|
this.send(command, optionsOrCb || {}, cb);
|
|
879
884
|
}
|
|
880
885
|
else {
|
|
881
886
|
return this.send(command, optionsOrCb);
|
|
882
887
|
}
|
|
883
|
-
}
|
|
884
|
-
rebootDBInstance(args, optionsOrCb, cb) {
|
|
885
|
-
|
|
888
|
+
};
|
|
889
|
+
Neptune.prototype.rebootDBInstance = function (args, optionsOrCb, cb) {
|
|
890
|
+
var command = new RebootDBInstanceCommand(args);
|
|
886
891
|
if (typeof optionsOrCb === "function") {
|
|
887
892
|
this.send(command, optionsOrCb);
|
|
888
893
|
}
|
|
889
894
|
else if (typeof cb === "function") {
|
|
890
895
|
if (typeof optionsOrCb !== "object")
|
|
891
|
-
throw new Error(
|
|
896
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
892
897
|
this.send(command, optionsOrCb || {}, cb);
|
|
893
898
|
}
|
|
894
899
|
else {
|
|
895
900
|
return this.send(command, optionsOrCb);
|
|
896
901
|
}
|
|
897
|
-
}
|
|
898
|
-
removeFromGlobalCluster(args, optionsOrCb, cb) {
|
|
899
|
-
|
|
902
|
+
};
|
|
903
|
+
Neptune.prototype.removeFromGlobalCluster = function (args, optionsOrCb, cb) {
|
|
904
|
+
var command = new RemoveFromGlobalClusterCommand(args);
|
|
900
905
|
if (typeof optionsOrCb === "function") {
|
|
901
906
|
this.send(command, optionsOrCb);
|
|
902
907
|
}
|
|
903
908
|
else if (typeof cb === "function") {
|
|
904
909
|
if (typeof optionsOrCb !== "object")
|
|
905
|
-
throw new Error(
|
|
910
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
906
911
|
this.send(command, optionsOrCb || {}, cb);
|
|
907
912
|
}
|
|
908
913
|
else {
|
|
909
914
|
return this.send(command, optionsOrCb);
|
|
910
915
|
}
|
|
911
|
-
}
|
|
912
|
-
removeRoleFromDBCluster(args, optionsOrCb, cb) {
|
|
913
|
-
|
|
916
|
+
};
|
|
917
|
+
Neptune.prototype.removeRoleFromDBCluster = function (args, optionsOrCb, cb) {
|
|
918
|
+
var command = new RemoveRoleFromDBClusterCommand(args);
|
|
914
919
|
if (typeof optionsOrCb === "function") {
|
|
915
920
|
this.send(command, optionsOrCb);
|
|
916
921
|
}
|
|
917
922
|
else if (typeof cb === "function") {
|
|
918
923
|
if (typeof optionsOrCb !== "object")
|
|
919
|
-
throw new Error(
|
|
924
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
920
925
|
this.send(command, optionsOrCb || {}, cb);
|
|
921
926
|
}
|
|
922
927
|
else {
|
|
923
928
|
return this.send(command, optionsOrCb);
|
|
924
929
|
}
|
|
925
|
-
}
|
|
926
|
-
removeSourceIdentifierFromSubscription(args, optionsOrCb, cb) {
|
|
927
|
-
|
|
930
|
+
};
|
|
931
|
+
Neptune.prototype.removeSourceIdentifierFromSubscription = function (args, optionsOrCb, cb) {
|
|
932
|
+
var command = new RemoveSourceIdentifierFromSubscriptionCommand(args);
|
|
928
933
|
if (typeof optionsOrCb === "function") {
|
|
929
934
|
this.send(command, optionsOrCb);
|
|
930
935
|
}
|
|
931
936
|
else if (typeof cb === "function") {
|
|
932
937
|
if (typeof optionsOrCb !== "object")
|
|
933
|
-
throw new Error(
|
|
938
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
934
939
|
this.send(command, optionsOrCb || {}, cb);
|
|
935
940
|
}
|
|
936
941
|
else {
|
|
937
942
|
return this.send(command, optionsOrCb);
|
|
938
943
|
}
|
|
939
|
-
}
|
|
940
|
-
removeTagsFromResource(args, optionsOrCb, cb) {
|
|
941
|
-
|
|
944
|
+
};
|
|
945
|
+
Neptune.prototype.removeTagsFromResource = function (args, optionsOrCb, cb) {
|
|
946
|
+
var command = new RemoveTagsFromResourceCommand(args);
|
|
942
947
|
if (typeof optionsOrCb === "function") {
|
|
943
948
|
this.send(command, optionsOrCb);
|
|
944
949
|
}
|
|
945
950
|
else if (typeof cb === "function") {
|
|
946
951
|
if (typeof optionsOrCb !== "object")
|
|
947
|
-
throw new Error(
|
|
952
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
948
953
|
this.send(command, optionsOrCb || {}, cb);
|
|
949
954
|
}
|
|
950
955
|
else {
|
|
951
956
|
return this.send(command, optionsOrCb);
|
|
952
957
|
}
|
|
953
|
-
}
|
|
954
|
-
resetDBClusterParameterGroup(args, optionsOrCb, cb) {
|
|
955
|
-
|
|
958
|
+
};
|
|
959
|
+
Neptune.prototype.resetDBClusterParameterGroup = function (args, optionsOrCb, cb) {
|
|
960
|
+
var command = new ResetDBClusterParameterGroupCommand(args);
|
|
956
961
|
if (typeof optionsOrCb === "function") {
|
|
957
962
|
this.send(command, optionsOrCb);
|
|
958
963
|
}
|
|
959
964
|
else if (typeof cb === "function") {
|
|
960
965
|
if (typeof optionsOrCb !== "object")
|
|
961
|
-
throw new Error(
|
|
966
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
962
967
|
this.send(command, optionsOrCb || {}, cb);
|
|
963
968
|
}
|
|
964
969
|
else {
|
|
965
970
|
return this.send(command, optionsOrCb);
|
|
966
971
|
}
|
|
967
|
-
}
|
|
968
|
-
resetDBParameterGroup(args, optionsOrCb, cb) {
|
|
969
|
-
|
|
972
|
+
};
|
|
973
|
+
Neptune.prototype.resetDBParameterGroup = function (args, optionsOrCb, cb) {
|
|
974
|
+
var command = new ResetDBParameterGroupCommand(args);
|
|
970
975
|
if (typeof optionsOrCb === "function") {
|
|
971
976
|
this.send(command, optionsOrCb);
|
|
972
977
|
}
|
|
973
978
|
else if (typeof cb === "function") {
|
|
974
979
|
if (typeof optionsOrCb !== "object")
|
|
975
|
-
throw new Error(
|
|
980
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
976
981
|
this.send(command, optionsOrCb || {}, cb);
|
|
977
982
|
}
|
|
978
983
|
else {
|
|
979
984
|
return this.send(command, optionsOrCb);
|
|
980
985
|
}
|
|
981
|
-
}
|
|
982
|
-
restoreDBClusterFromSnapshot(args, optionsOrCb, cb) {
|
|
983
|
-
|
|
986
|
+
};
|
|
987
|
+
Neptune.prototype.restoreDBClusterFromSnapshot = function (args, optionsOrCb, cb) {
|
|
988
|
+
var command = new RestoreDBClusterFromSnapshotCommand(args);
|
|
984
989
|
if (typeof optionsOrCb === "function") {
|
|
985
990
|
this.send(command, optionsOrCb);
|
|
986
991
|
}
|
|
987
992
|
else if (typeof cb === "function") {
|
|
988
993
|
if (typeof optionsOrCb !== "object")
|
|
989
|
-
throw new Error(
|
|
994
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
990
995
|
this.send(command, optionsOrCb || {}, cb);
|
|
991
996
|
}
|
|
992
997
|
else {
|
|
993
998
|
return this.send(command, optionsOrCb);
|
|
994
999
|
}
|
|
995
|
-
}
|
|
996
|
-
restoreDBClusterToPointInTime(args, optionsOrCb, cb) {
|
|
997
|
-
|
|
1000
|
+
};
|
|
1001
|
+
Neptune.prototype.restoreDBClusterToPointInTime = function (args, optionsOrCb, cb) {
|
|
1002
|
+
var command = new RestoreDBClusterToPointInTimeCommand(args);
|
|
998
1003
|
if (typeof optionsOrCb === "function") {
|
|
999
1004
|
this.send(command, optionsOrCb);
|
|
1000
1005
|
}
|
|
1001
1006
|
else if (typeof cb === "function") {
|
|
1002
1007
|
if (typeof optionsOrCb !== "object")
|
|
1003
|
-
throw new Error(
|
|
1008
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1004
1009
|
this.send(command, optionsOrCb || {}, cb);
|
|
1005
1010
|
}
|
|
1006
1011
|
else {
|
|
1007
1012
|
return this.send(command, optionsOrCb);
|
|
1008
1013
|
}
|
|
1009
|
-
}
|
|
1010
|
-
startDBCluster(args, optionsOrCb, cb) {
|
|
1011
|
-
|
|
1014
|
+
};
|
|
1015
|
+
Neptune.prototype.startDBCluster = function (args, optionsOrCb, cb) {
|
|
1016
|
+
var command = new StartDBClusterCommand(args);
|
|
1012
1017
|
if (typeof optionsOrCb === "function") {
|
|
1013
1018
|
this.send(command, optionsOrCb);
|
|
1014
1019
|
}
|
|
1015
1020
|
else if (typeof cb === "function") {
|
|
1016
1021
|
if (typeof optionsOrCb !== "object")
|
|
1017
|
-
throw new Error(
|
|
1022
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1018
1023
|
this.send(command, optionsOrCb || {}, cb);
|
|
1019
1024
|
}
|
|
1020
1025
|
else {
|
|
1021
1026
|
return this.send(command, optionsOrCb);
|
|
1022
1027
|
}
|
|
1023
|
-
}
|
|
1024
|
-
stopDBCluster(args, optionsOrCb, cb) {
|
|
1025
|
-
|
|
1028
|
+
};
|
|
1029
|
+
Neptune.prototype.stopDBCluster = function (args, optionsOrCb, cb) {
|
|
1030
|
+
var command = new StopDBClusterCommand(args);
|
|
1026
1031
|
if (typeof optionsOrCb === "function") {
|
|
1027
1032
|
this.send(command, optionsOrCb);
|
|
1028
1033
|
}
|
|
1029
1034
|
else if (typeof cb === "function") {
|
|
1030
1035
|
if (typeof optionsOrCb !== "object")
|
|
1031
|
-
throw new Error(
|
|
1036
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1032
1037
|
this.send(command, optionsOrCb || {}, cb);
|
|
1033
1038
|
}
|
|
1034
1039
|
else {
|
|
1035
1040
|
return this.send(command, optionsOrCb);
|
|
1036
1041
|
}
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1042
|
+
};
|
|
1043
|
+
return Neptune;
|
|
1044
|
+
}(NeptuneClient));
|
|
1045
|
+
export { Neptune };
|