@aws-sdk/client-lightsail 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Lightsail.js +629 -622
- package/dist-es/LightsailClient.js +28 -22
- package/dist-es/commands/AllocateStaticIpCommand.js +28 -21
- package/dist-es/commands/AttachCertificateToDistributionCommand.js +28 -21
- package/dist-es/commands/AttachDiskCommand.js +28 -21
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +28 -21
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/AttachStaticIpCommand.js +28 -21
- package/dist-es/commands/CloseInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/CopySnapshotCommand.js +28 -21
- package/dist-es/commands/CreateBucketAccessKeyCommand.js +28 -21
- package/dist-es/commands/CreateBucketCommand.js +28 -21
- package/dist-es/commands/CreateCertificateCommand.js +28 -21
- package/dist-es/commands/CreateCloudFormationStackCommand.js +28 -21
- package/dist-es/commands/CreateContactMethodCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +28 -21
- package/dist-es/commands/CreateDiskCommand.js +28 -21
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDistributionCommand.js +28 -21
- package/dist-es/commands/CreateDomainCommand.js +28 -21
- package/dist-es/commands/CreateDomainEntryCommand.js +28 -21
- package/dist-es/commands/CreateInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateInstancesCommand.js +28 -21
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateKeyPairCommand.js +28 -21
- package/dist-es/commands/CreateLoadBalancerCommand.js +28 -21
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteAlarmCommand.js +28 -21
- package/dist-es/commands/DeleteAutoSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js +28 -21
- package/dist-es/commands/DeleteBucketCommand.js +28 -21
- package/dist-es/commands/DeleteCertificateCommand.js +28 -21
- package/dist-es/commands/DeleteContactMethodCommand.js +28 -21
- package/dist-es/commands/DeleteContainerImageCommand.js +28 -21
- package/dist-es/commands/DeleteContainerServiceCommand.js +28 -21
- package/dist-es/commands/DeleteDiskCommand.js +28 -21
- package/dist-es/commands/DeleteDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteDistributionCommand.js +28 -21
- package/dist-es/commands/DeleteDomainCommand.js +28 -21
- package/dist-es/commands/DeleteDomainEntryCommand.js +28 -21
- package/dist-es/commands/DeleteInstanceCommand.js +28 -21
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteKeyPairCommand.js +28 -21
- package/dist-es/commands/DeleteKnownHostKeysCommand.js +28 -21
- package/dist-es/commands/DeleteLoadBalancerCommand.js +28 -21
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js +28 -21
- package/dist-es/commands/DetachDiskCommand.js +28 -21
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +28 -21
- package/dist-es/commands/DetachStaticIpCommand.js +28 -21
- package/dist-es/commands/DisableAddOnCommand.js +28 -21
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js +28 -21
- package/dist-es/commands/EnableAddOnCommand.js +28 -21
- package/dist-es/commands/ExportSnapshotCommand.js +28 -21
- package/dist-es/commands/GetActiveNamesCommand.js +28 -21
- package/dist-es/commands/GetAlarmsCommand.js +28 -21
- package/dist-es/commands/GetAutoSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetBlueprintsCommand.js +28 -21
- package/dist-es/commands/GetBucketAccessKeysCommand.js +28 -21
- package/dist-es/commands/GetBucketBundlesCommand.js +28 -21
- package/dist-es/commands/GetBucketMetricDataCommand.js +28 -21
- package/dist-es/commands/GetBucketsCommand.js +28 -21
- package/dist-es/commands/GetBundlesCommand.js +28 -21
- package/dist-es/commands/GetCertificatesCommand.js +28 -21
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +28 -21
- package/dist-es/commands/GetContactMethodsCommand.js +28 -21
- package/dist-es/commands/GetContainerAPIMetadataCommand.js +28 -21
- package/dist-es/commands/GetContainerImagesCommand.js +28 -21
- package/dist-es/commands/GetContainerLogCommand.js +28 -21
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +28 -21
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js +28 -21
- package/dist-es/commands/GetContainerServicePowersCommand.js +28 -21
- package/dist-es/commands/GetContainerServicesCommand.js +28 -21
- package/dist-es/commands/GetDiskCommand.js +28 -21
- package/dist-es/commands/GetDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/GetDiskSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetDisksCommand.js +28 -21
- package/dist-es/commands/GetDistributionBundlesCommand.js +28 -21
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +28 -21
- package/dist-es/commands/GetDistributionMetricDataCommand.js +28 -21
- package/dist-es/commands/GetDistributionsCommand.js +28 -21
- package/dist-es/commands/GetDomainCommand.js +28 -21
- package/dist-es/commands/GetDomainsCommand.js +28 -21
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js +28 -21
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js +28 -21
- package/dist-es/commands/GetInstanceCommand.js +28 -21
- package/dist-es/commands/GetInstanceMetricDataCommand.js +28 -21
- package/dist-es/commands/GetInstancePortStatesCommand.js +28 -21
- package/dist-es/commands/GetInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/GetInstanceSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetInstanceStateCommand.js +28 -21
- package/dist-es/commands/GetInstancesCommand.js +28 -21
- package/dist-es/commands/GetKeyPairCommand.js +28 -21
- package/dist-es/commands/GetKeyPairsCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancersCommand.js +28 -21
- package/dist-es/commands/GetOperationCommand.js +28 -21
- package/dist-es/commands/GetOperationsCommand.js +28 -21
- package/dist-es/commands/GetOperationsForResourceCommand.js +28 -21
- package/dist-es/commands/GetRegionsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabasesCommand.js +28 -21
- package/dist-es/commands/GetStaticIpCommand.js +28 -21
- package/dist-es/commands/GetStaticIpsCommand.js +28 -21
- package/dist-es/commands/ImportKeyPairCommand.js +28 -21
- package/dist-es/commands/IsVpcPeeredCommand.js +28 -21
- package/dist-es/commands/OpenInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/PeerVpcCommand.js +28 -21
- package/dist-es/commands/PutAlarmCommand.js +28 -21
- package/dist-es/commands/PutInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/RebootInstanceCommand.js +28 -21
- package/dist-es/commands/RebootRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/RegisterContainerImageCommand.js +28 -21
- package/dist-es/commands/ReleaseStaticIpCommand.js +28 -21
- package/dist-es/commands/ResetDistributionCacheCommand.js +28 -21
- package/dist-es/commands/SendContactMethodVerificationCommand.js +28 -21
- package/dist-es/commands/SetIpAddressTypeCommand.js +28 -21
- package/dist-es/commands/SetResourceAccessForBucketCommand.js +28 -21
- package/dist-es/commands/StartInstanceCommand.js +28 -21
- package/dist-es/commands/StartRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/StopInstanceCommand.js +28 -21
- package/dist-es/commands/StopRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TestAlarmCommand.js +28 -21
- package/dist-es/commands/UnpeerVpcCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateBucketBundleCommand.js +28 -21
- package/dist-es/commands/UpdateBucketCommand.js +28 -21
- package/dist-es/commands/UpdateContainerServiceCommand.js +28 -21
- package/dist-es/commands/UpdateDistributionBundleCommand.js +28 -21
- package/dist-es/commands/UpdateDistributionCommand.js +28 -21
- package/dist-es/commands/UpdateDomainEntryCommand.js +28 -21
- package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +28 -21
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +28 -21
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LightsailServiceException.js +10 -5
- package/dist-es/models/models_0.js +348 -849
- package/dist-es/models/models_1.js +166 -497
- package/dist-es/protocols/Aws_json1_1.js +14201 -10880
- 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/package.json +33 -33
package/dist-es/Lightsail.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AllocateStaticIpCommand, } from "./commands/AllocateStaticIpCommand";
|
|
2
3
|
import { AttachCertificateToDistributionCommand, } from "./commands/AttachCertificateToDistributionCommand";
|
|
3
4
|
import { AttachDiskCommand } from "./commands/AttachDiskCommand";
|
|
@@ -154,2175 +155,2181 @@ import { UpdateLoadBalancerAttributeCommand, } from "./commands/UpdateLoadBalanc
|
|
|
154
155
|
import { UpdateRelationalDatabaseCommand, } from "./commands/UpdateRelationalDatabaseCommand";
|
|
155
156
|
import { UpdateRelationalDatabaseParametersCommand, } from "./commands/UpdateRelationalDatabaseParametersCommand";
|
|
156
157
|
import { LightsailClient } from "./LightsailClient";
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
var Lightsail = (function (_super) {
|
|
159
|
+
__extends(Lightsail, _super);
|
|
160
|
+
function Lightsail() {
|
|
161
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
162
|
+
}
|
|
163
|
+
Lightsail.prototype.allocateStaticIp = function (args, optionsOrCb, cb) {
|
|
164
|
+
var command = new AllocateStaticIpCommand(args);
|
|
160
165
|
if (typeof optionsOrCb === "function") {
|
|
161
166
|
this.send(command, optionsOrCb);
|
|
162
167
|
}
|
|
163
168
|
else if (typeof cb === "function") {
|
|
164
169
|
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error(
|
|
170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
166
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
167
172
|
}
|
|
168
173
|
else {
|
|
169
174
|
return this.send(command, optionsOrCb);
|
|
170
175
|
}
|
|
171
|
-
}
|
|
172
|
-
attachCertificateToDistribution(args, optionsOrCb, cb) {
|
|
173
|
-
|
|
176
|
+
};
|
|
177
|
+
Lightsail.prototype.attachCertificateToDistribution = function (args, optionsOrCb, cb) {
|
|
178
|
+
var command = new AttachCertificateToDistributionCommand(args);
|
|
174
179
|
if (typeof optionsOrCb === "function") {
|
|
175
180
|
this.send(command, optionsOrCb);
|
|
176
181
|
}
|
|
177
182
|
else if (typeof cb === "function") {
|
|
178
183
|
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error(
|
|
184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
180
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
181
186
|
}
|
|
182
187
|
else {
|
|
183
188
|
return this.send(command, optionsOrCb);
|
|
184
189
|
}
|
|
185
|
-
}
|
|
186
|
-
attachDisk(args, optionsOrCb, cb) {
|
|
187
|
-
|
|
190
|
+
};
|
|
191
|
+
Lightsail.prototype.attachDisk = function (args, optionsOrCb, cb) {
|
|
192
|
+
var command = new AttachDiskCommand(args);
|
|
188
193
|
if (typeof optionsOrCb === "function") {
|
|
189
194
|
this.send(command, optionsOrCb);
|
|
190
195
|
}
|
|
191
196
|
else if (typeof cb === "function") {
|
|
192
197
|
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error(
|
|
198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
194
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
195
200
|
}
|
|
196
201
|
else {
|
|
197
202
|
return this.send(command, optionsOrCb);
|
|
198
203
|
}
|
|
199
|
-
}
|
|
200
|
-
attachInstancesToLoadBalancer(args, optionsOrCb, cb) {
|
|
201
|
-
|
|
204
|
+
};
|
|
205
|
+
Lightsail.prototype.attachInstancesToLoadBalancer = function (args, optionsOrCb, cb) {
|
|
206
|
+
var command = new AttachInstancesToLoadBalancerCommand(args);
|
|
202
207
|
if (typeof optionsOrCb === "function") {
|
|
203
208
|
this.send(command, optionsOrCb);
|
|
204
209
|
}
|
|
205
210
|
else if (typeof cb === "function") {
|
|
206
211
|
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error(
|
|
212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
208
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
209
214
|
}
|
|
210
215
|
else {
|
|
211
216
|
return this.send(command, optionsOrCb);
|
|
212
217
|
}
|
|
213
|
-
}
|
|
214
|
-
attachLoadBalancerTlsCertificate(args, optionsOrCb, cb) {
|
|
215
|
-
|
|
218
|
+
};
|
|
219
|
+
Lightsail.prototype.attachLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
|
|
220
|
+
var command = new AttachLoadBalancerTlsCertificateCommand(args);
|
|
216
221
|
if (typeof optionsOrCb === "function") {
|
|
217
222
|
this.send(command, optionsOrCb);
|
|
218
223
|
}
|
|
219
224
|
else if (typeof cb === "function") {
|
|
220
225
|
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error(
|
|
226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
222
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
223
228
|
}
|
|
224
229
|
else {
|
|
225
230
|
return this.send(command, optionsOrCb);
|
|
226
231
|
}
|
|
227
|
-
}
|
|
228
|
-
attachStaticIp(args, optionsOrCb, cb) {
|
|
229
|
-
|
|
232
|
+
};
|
|
233
|
+
Lightsail.prototype.attachStaticIp = function (args, optionsOrCb, cb) {
|
|
234
|
+
var command = new AttachStaticIpCommand(args);
|
|
230
235
|
if (typeof optionsOrCb === "function") {
|
|
231
236
|
this.send(command, optionsOrCb);
|
|
232
237
|
}
|
|
233
238
|
else if (typeof cb === "function") {
|
|
234
239
|
if (typeof optionsOrCb !== "object")
|
|
235
|
-
throw new Error(
|
|
240
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
236
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
237
242
|
}
|
|
238
243
|
else {
|
|
239
244
|
return this.send(command, optionsOrCb);
|
|
240
245
|
}
|
|
241
|
-
}
|
|
242
|
-
closeInstancePublicPorts(args, optionsOrCb, cb) {
|
|
243
|
-
|
|
246
|
+
};
|
|
247
|
+
Lightsail.prototype.closeInstancePublicPorts = function (args, optionsOrCb, cb) {
|
|
248
|
+
var command = new CloseInstancePublicPortsCommand(args);
|
|
244
249
|
if (typeof optionsOrCb === "function") {
|
|
245
250
|
this.send(command, optionsOrCb);
|
|
246
251
|
}
|
|
247
252
|
else if (typeof cb === "function") {
|
|
248
253
|
if (typeof optionsOrCb !== "object")
|
|
249
|
-
throw new Error(
|
|
254
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
250
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
251
256
|
}
|
|
252
257
|
else {
|
|
253
258
|
return this.send(command, optionsOrCb);
|
|
254
259
|
}
|
|
255
|
-
}
|
|
256
|
-
copySnapshot(args, optionsOrCb, cb) {
|
|
257
|
-
|
|
260
|
+
};
|
|
261
|
+
Lightsail.prototype.copySnapshot = function (args, optionsOrCb, cb) {
|
|
262
|
+
var command = new CopySnapshotCommand(args);
|
|
258
263
|
if (typeof optionsOrCb === "function") {
|
|
259
264
|
this.send(command, optionsOrCb);
|
|
260
265
|
}
|
|
261
266
|
else if (typeof cb === "function") {
|
|
262
267
|
if (typeof optionsOrCb !== "object")
|
|
263
|
-
throw new Error(
|
|
268
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
264
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
265
270
|
}
|
|
266
271
|
else {
|
|
267
272
|
return this.send(command, optionsOrCb);
|
|
268
273
|
}
|
|
269
|
-
}
|
|
270
|
-
createBucket(args, optionsOrCb, cb) {
|
|
271
|
-
|
|
274
|
+
};
|
|
275
|
+
Lightsail.prototype.createBucket = function (args, optionsOrCb, cb) {
|
|
276
|
+
var command = new CreateBucketCommand(args);
|
|
272
277
|
if (typeof optionsOrCb === "function") {
|
|
273
278
|
this.send(command, optionsOrCb);
|
|
274
279
|
}
|
|
275
280
|
else if (typeof cb === "function") {
|
|
276
281
|
if (typeof optionsOrCb !== "object")
|
|
277
|
-
throw new Error(
|
|
282
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
278
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
279
284
|
}
|
|
280
285
|
else {
|
|
281
286
|
return this.send(command, optionsOrCb);
|
|
282
287
|
}
|
|
283
|
-
}
|
|
284
|
-
createBucketAccessKey(args, optionsOrCb, cb) {
|
|
285
|
-
|
|
288
|
+
};
|
|
289
|
+
Lightsail.prototype.createBucketAccessKey = function (args, optionsOrCb, cb) {
|
|
290
|
+
var command = new CreateBucketAccessKeyCommand(args);
|
|
286
291
|
if (typeof optionsOrCb === "function") {
|
|
287
292
|
this.send(command, optionsOrCb);
|
|
288
293
|
}
|
|
289
294
|
else if (typeof cb === "function") {
|
|
290
295
|
if (typeof optionsOrCb !== "object")
|
|
291
|
-
throw new Error(
|
|
296
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
292
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
293
298
|
}
|
|
294
299
|
else {
|
|
295
300
|
return this.send(command, optionsOrCb);
|
|
296
301
|
}
|
|
297
|
-
}
|
|
298
|
-
createCertificate(args, optionsOrCb, cb) {
|
|
299
|
-
|
|
302
|
+
};
|
|
303
|
+
Lightsail.prototype.createCertificate = function (args, optionsOrCb, cb) {
|
|
304
|
+
var command = new CreateCertificateCommand(args);
|
|
300
305
|
if (typeof optionsOrCb === "function") {
|
|
301
306
|
this.send(command, optionsOrCb);
|
|
302
307
|
}
|
|
303
308
|
else if (typeof cb === "function") {
|
|
304
309
|
if (typeof optionsOrCb !== "object")
|
|
305
|
-
throw new Error(
|
|
310
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
306
311
|
this.send(command, optionsOrCb || {}, cb);
|
|
307
312
|
}
|
|
308
313
|
else {
|
|
309
314
|
return this.send(command, optionsOrCb);
|
|
310
315
|
}
|
|
311
|
-
}
|
|
312
|
-
createCloudFormationStack(args, optionsOrCb, cb) {
|
|
313
|
-
|
|
316
|
+
};
|
|
317
|
+
Lightsail.prototype.createCloudFormationStack = function (args, optionsOrCb, cb) {
|
|
318
|
+
var command = new CreateCloudFormationStackCommand(args);
|
|
314
319
|
if (typeof optionsOrCb === "function") {
|
|
315
320
|
this.send(command, optionsOrCb);
|
|
316
321
|
}
|
|
317
322
|
else if (typeof cb === "function") {
|
|
318
323
|
if (typeof optionsOrCb !== "object")
|
|
319
|
-
throw new Error(
|
|
324
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
320
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
321
326
|
}
|
|
322
327
|
else {
|
|
323
328
|
return this.send(command, optionsOrCb);
|
|
324
329
|
}
|
|
325
|
-
}
|
|
326
|
-
createContactMethod(args, optionsOrCb, cb) {
|
|
327
|
-
|
|
330
|
+
};
|
|
331
|
+
Lightsail.prototype.createContactMethod = function (args, optionsOrCb, cb) {
|
|
332
|
+
var command = new CreateContactMethodCommand(args);
|
|
328
333
|
if (typeof optionsOrCb === "function") {
|
|
329
334
|
this.send(command, optionsOrCb);
|
|
330
335
|
}
|
|
331
336
|
else if (typeof cb === "function") {
|
|
332
337
|
if (typeof optionsOrCb !== "object")
|
|
333
|
-
throw new Error(
|
|
338
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
334
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
335
340
|
}
|
|
336
341
|
else {
|
|
337
342
|
return this.send(command, optionsOrCb);
|
|
338
343
|
}
|
|
339
|
-
}
|
|
340
|
-
createContainerService(args, optionsOrCb, cb) {
|
|
341
|
-
|
|
344
|
+
};
|
|
345
|
+
Lightsail.prototype.createContainerService = function (args, optionsOrCb, cb) {
|
|
346
|
+
var command = new CreateContainerServiceCommand(args);
|
|
342
347
|
if (typeof optionsOrCb === "function") {
|
|
343
348
|
this.send(command, optionsOrCb);
|
|
344
349
|
}
|
|
345
350
|
else if (typeof cb === "function") {
|
|
346
351
|
if (typeof optionsOrCb !== "object")
|
|
347
|
-
throw new Error(
|
|
352
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
348
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
349
354
|
}
|
|
350
355
|
else {
|
|
351
356
|
return this.send(command, optionsOrCb);
|
|
352
357
|
}
|
|
353
|
-
}
|
|
354
|
-
createContainerServiceDeployment(args, optionsOrCb, cb) {
|
|
355
|
-
|
|
358
|
+
};
|
|
359
|
+
Lightsail.prototype.createContainerServiceDeployment = function (args, optionsOrCb, cb) {
|
|
360
|
+
var command = new CreateContainerServiceDeploymentCommand(args);
|
|
356
361
|
if (typeof optionsOrCb === "function") {
|
|
357
362
|
this.send(command, optionsOrCb);
|
|
358
363
|
}
|
|
359
364
|
else if (typeof cb === "function") {
|
|
360
365
|
if (typeof optionsOrCb !== "object")
|
|
361
|
-
throw new Error(
|
|
366
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
362
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
363
368
|
}
|
|
364
369
|
else {
|
|
365
370
|
return this.send(command, optionsOrCb);
|
|
366
371
|
}
|
|
367
|
-
}
|
|
368
|
-
createContainerServiceRegistryLogin(args, optionsOrCb, cb) {
|
|
369
|
-
|
|
372
|
+
};
|
|
373
|
+
Lightsail.prototype.createContainerServiceRegistryLogin = function (args, optionsOrCb, cb) {
|
|
374
|
+
var command = new CreateContainerServiceRegistryLoginCommand(args);
|
|
370
375
|
if (typeof optionsOrCb === "function") {
|
|
371
376
|
this.send(command, optionsOrCb);
|
|
372
377
|
}
|
|
373
378
|
else if (typeof cb === "function") {
|
|
374
379
|
if (typeof optionsOrCb !== "object")
|
|
375
|
-
throw new Error(
|
|
380
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
376
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
377
382
|
}
|
|
378
383
|
else {
|
|
379
384
|
return this.send(command, optionsOrCb);
|
|
380
385
|
}
|
|
381
|
-
}
|
|
382
|
-
createDisk(args, optionsOrCb, cb) {
|
|
383
|
-
|
|
386
|
+
};
|
|
387
|
+
Lightsail.prototype.createDisk = function (args, optionsOrCb, cb) {
|
|
388
|
+
var command = new CreateDiskCommand(args);
|
|
384
389
|
if (typeof optionsOrCb === "function") {
|
|
385
390
|
this.send(command, optionsOrCb);
|
|
386
391
|
}
|
|
387
392
|
else if (typeof cb === "function") {
|
|
388
393
|
if (typeof optionsOrCb !== "object")
|
|
389
|
-
throw new Error(
|
|
394
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
390
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
391
396
|
}
|
|
392
397
|
else {
|
|
393
398
|
return this.send(command, optionsOrCb);
|
|
394
399
|
}
|
|
395
|
-
}
|
|
396
|
-
createDiskFromSnapshot(args, optionsOrCb, cb) {
|
|
397
|
-
|
|
400
|
+
};
|
|
401
|
+
Lightsail.prototype.createDiskFromSnapshot = function (args, optionsOrCb, cb) {
|
|
402
|
+
var command = new CreateDiskFromSnapshotCommand(args);
|
|
398
403
|
if (typeof optionsOrCb === "function") {
|
|
399
404
|
this.send(command, optionsOrCb);
|
|
400
405
|
}
|
|
401
406
|
else if (typeof cb === "function") {
|
|
402
407
|
if (typeof optionsOrCb !== "object")
|
|
403
|
-
throw new Error(
|
|
408
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
404
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
405
410
|
}
|
|
406
411
|
else {
|
|
407
412
|
return this.send(command, optionsOrCb);
|
|
408
413
|
}
|
|
409
|
-
}
|
|
410
|
-
createDiskSnapshot(args, optionsOrCb, cb) {
|
|
411
|
-
|
|
414
|
+
};
|
|
415
|
+
Lightsail.prototype.createDiskSnapshot = function (args, optionsOrCb, cb) {
|
|
416
|
+
var command = new CreateDiskSnapshotCommand(args);
|
|
412
417
|
if (typeof optionsOrCb === "function") {
|
|
413
418
|
this.send(command, optionsOrCb);
|
|
414
419
|
}
|
|
415
420
|
else if (typeof cb === "function") {
|
|
416
421
|
if (typeof optionsOrCb !== "object")
|
|
417
|
-
throw new Error(
|
|
422
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
418
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
419
424
|
}
|
|
420
425
|
else {
|
|
421
426
|
return this.send(command, optionsOrCb);
|
|
422
427
|
}
|
|
423
|
-
}
|
|
424
|
-
createDistribution(args, optionsOrCb, cb) {
|
|
425
|
-
|
|
428
|
+
};
|
|
429
|
+
Lightsail.prototype.createDistribution = function (args, optionsOrCb, cb) {
|
|
430
|
+
var command = new CreateDistributionCommand(args);
|
|
426
431
|
if (typeof optionsOrCb === "function") {
|
|
427
432
|
this.send(command, optionsOrCb);
|
|
428
433
|
}
|
|
429
434
|
else if (typeof cb === "function") {
|
|
430
435
|
if (typeof optionsOrCb !== "object")
|
|
431
|
-
throw new Error(
|
|
436
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
432
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
433
438
|
}
|
|
434
439
|
else {
|
|
435
440
|
return this.send(command, optionsOrCb);
|
|
436
441
|
}
|
|
437
|
-
}
|
|
438
|
-
createDomain(args, optionsOrCb, cb) {
|
|
439
|
-
|
|
442
|
+
};
|
|
443
|
+
Lightsail.prototype.createDomain = function (args, optionsOrCb, cb) {
|
|
444
|
+
var command = new CreateDomainCommand(args);
|
|
440
445
|
if (typeof optionsOrCb === "function") {
|
|
441
446
|
this.send(command, optionsOrCb);
|
|
442
447
|
}
|
|
443
448
|
else if (typeof cb === "function") {
|
|
444
449
|
if (typeof optionsOrCb !== "object")
|
|
445
|
-
throw new Error(
|
|
450
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
446
451
|
this.send(command, optionsOrCb || {}, cb);
|
|
447
452
|
}
|
|
448
453
|
else {
|
|
449
454
|
return this.send(command, optionsOrCb);
|
|
450
455
|
}
|
|
451
|
-
}
|
|
452
|
-
createDomainEntry(args, optionsOrCb, cb) {
|
|
453
|
-
|
|
456
|
+
};
|
|
457
|
+
Lightsail.prototype.createDomainEntry = function (args, optionsOrCb, cb) {
|
|
458
|
+
var command = new CreateDomainEntryCommand(args);
|
|
454
459
|
if (typeof optionsOrCb === "function") {
|
|
455
460
|
this.send(command, optionsOrCb);
|
|
456
461
|
}
|
|
457
462
|
else if (typeof cb === "function") {
|
|
458
463
|
if (typeof optionsOrCb !== "object")
|
|
459
|
-
throw new Error(
|
|
464
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
460
465
|
this.send(command, optionsOrCb || {}, cb);
|
|
461
466
|
}
|
|
462
467
|
else {
|
|
463
468
|
return this.send(command, optionsOrCb);
|
|
464
469
|
}
|
|
465
|
-
}
|
|
466
|
-
createInstances(args, optionsOrCb, cb) {
|
|
467
|
-
|
|
470
|
+
};
|
|
471
|
+
Lightsail.prototype.createInstances = function (args, optionsOrCb, cb) {
|
|
472
|
+
var command = new CreateInstancesCommand(args);
|
|
468
473
|
if (typeof optionsOrCb === "function") {
|
|
469
474
|
this.send(command, optionsOrCb);
|
|
470
475
|
}
|
|
471
476
|
else if (typeof cb === "function") {
|
|
472
477
|
if (typeof optionsOrCb !== "object")
|
|
473
|
-
throw new Error(
|
|
478
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
474
479
|
this.send(command, optionsOrCb || {}, cb);
|
|
475
480
|
}
|
|
476
481
|
else {
|
|
477
482
|
return this.send(command, optionsOrCb);
|
|
478
483
|
}
|
|
479
|
-
}
|
|
480
|
-
createInstancesFromSnapshot(args, optionsOrCb, cb) {
|
|
481
|
-
|
|
484
|
+
};
|
|
485
|
+
Lightsail.prototype.createInstancesFromSnapshot = function (args, optionsOrCb, cb) {
|
|
486
|
+
var command = new CreateInstancesFromSnapshotCommand(args);
|
|
482
487
|
if (typeof optionsOrCb === "function") {
|
|
483
488
|
this.send(command, optionsOrCb);
|
|
484
489
|
}
|
|
485
490
|
else if (typeof cb === "function") {
|
|
486
491
|
if (typeof optionsOrCb !== "object")
|
|
487
|
-
throw new Error(
|
|
492
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
488
493
|
this.send(command, optionsOrCb || {}, cb);
|
|
489
494
|
}
|
|
490
495
|
else {
|
|
491
496
|
return this.send(command, optionsOrCb);
|
|
492
497
|
}
|
|
493
|
-
}
|
|
494
|
-
createInstanceSnapshot(args, optionsOrCb, cb) {
|
|
495
|
-
|
|
498
|
+
};
|
|
499
|
+
Lightsail.prototype.createInstanceSnapshot = function (args, optionsOrCb, cb) {
|
|
500
|
+
var command = new CreateInstanceSnapshotCommand(args);
|
|
496
501
|
if (typeof optionsOrCb === "function") {
|
|
497
502
|
this.send(command, optionsOrCb);
|
|
498
503
|
}
|
|
499
504
|
else if (typeof cb === "function") {
|
|
500
505
|
if (typeof optionsOrCb !== "object")
|
|
501
|
-
throw new Error(
|
|
506
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
502
507
|
this.send(command, optionsOrCb || {}, cb);
|
|
503
508
|
}
|
|
504
509
|
else {
|
|
505
510
|
return this.send(command, optionsOrCb);
|
|
506
511
|
}
|
|
507
|
-
}
|
|
508
|
-
createKeyPair(args, optionsOrCb, cb) {
|
|
509
|
-
|
|
512
|
+
};
|
|
513
|
+
Lightsail.prototype.createKeyPair = function (args, optionsOrCb, cb) {
|
|
514
|
+
var command = new CreateKeyPairCommand(args);
|
|
510
515
|
if (typeof optionsOrCb === "function") {
|
|
511
516
|
this.send(command, optionsOrCb);
|
|
512
517
|
}
|
|
513
518
|
else if (typeof cb === "function") {
|
|
514
519
|
if (typeof optionsOrCb !== "object")
|
|
515
|
-
throw new Error(
|
|
520
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
516
521
|
this.send(command, optionsOrCb || {}, cb);
|
|
517
522
|
}
|
|
518
523
|
else {
|
|
519
524
|
return this.send(command, optionsOrCb);
|
|
520
525
|
}
|
|
521
|
-
}
|
|
522
|
-
createLoadBalancer(args, optionsOrCb, cb) {
|
|
523
|
-
|
|
526
|
+
};
|
|
527
|
+
Lightsail.prototype.createLoadBalancer = function (args, optionsOrCb, cb) {
|
|
528
|
+
var command = new CreateLoadBalancerCommand(args);
|
|
524
529
|
if (typeof optionsOrCb === "function") {
|
|
525
530
|
this.send(command, optionsOrCb);
|
|
526
531
|
}
|
|
527
532
|
else if (typeof cb === "function") {
|
|
528
533
|
if (typeof optionsOrCb !== "object")
|
|
529
|
-
throw new Error(
|
|
534
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
530
535
|
this.send(command, optionsOrCb || {}, cb);
|
|
531
536
|
}
|
|
532
537
|
else {
|
|
533
538
|
return this.send(command, optionsOrCb);
|
|
534
539
|
}
|
|
535
|
-
}
|
|
536
|
-
createLoadBalancerTlsCertificate(args, optionsOrCb, cb) {
|
|
537
|
-
|
|
540
|
+
};
|
|
541
|
+
Lightsail.prototype.createLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
|
|
542
|
+
var command = new CreateLoadBalancerTlsCertificateCommand(args);
|
|
538
543
|
if (typeof optionsOrCb === "function") {
|
|
539
544
|
this.send(command, optionsOrCb);
|
|
540
545
|
}
|
|
541
546
|
else if (typeof cb === "function") {
|
|
542
547
|
if (typeof optionsOrCb !== "object")
|
|
543
|
-
throw new Error(
|
|
548
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
544
549
|
this.send(command, optionsOrCb || {}, cb);
|
|
545
550
|
}
|
|
546
551
|
else {
|
|
547
552
|
return this.send(command, optionsOrCb);
|
|
548
553
|
}
|
|
549
|
-
}
|
|
550
|
-
createRelationalDatabase(args, optionsOrCb, cb) {
|
|
551
|
-
|
|
554
|
+
};
|
|
555
|
+
Lightsail.prototype.createRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
556
|
+
var command = new CreateRelationalDatabaseCommand(args);
|
|
552
557
|
if (typeof optionsOrCb === "function") {
|
|
553
558
|
this.send(command, optionsOrCb);
|
|
554
559
|
}
|
|
555
560
|
else if (typeof cb === "function") {
|
|
556
561
|
if (typeof optionsOrCb !== "object")
|
|
557
|
-
throw new Error(
|
|
562
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
558
563
|
this.send(command, optionsOrCb || {}, cb);
|
|
559
564
|
}
|
|
560
565
|
else {
|
|
561
566
|
return this.send(command, optionsOrCb);
|
|
562
567
|
}
|
|
563
|
-
}
|
|
564
|
-
createRelationalDatabaseFromSnapshot(args, optionsOrCb, cb) {
|
|
565
|
-
|
|
568
|
+
};
|
|
569
|
+
Lightsail.prototype.createRelationalDatabaseFromSnapshot = function (args, optionsOrCb, cb) {
|
|
570
|
+
var command = new CreateRelationalDatabaseFromSnapshotCommand(args);
|
|
566
571
|
if (typeof optionsOrCb === "function") {
|
|
567
572
|
this.send(command, optionsOrCb);
|
|
568
573
|
}
|
|
569
574
|
else if (typeof cb === "function") {
|
|
570
575
|
if (typeof optionsOrCb !== "object")
|
|
571
|
-
throw new Error(
|
|
576
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
572
577
|
this.send(command, optionsOrCb || {}, cb);
|
|
573
578
|
}
|
|
574
579
|
else {
|
|
575
580
|
return this.send(command, optionsOrCb);
|
|
576
581
|
}
|
|
577
|
-
}
|
|
578
|
-
createRelationalDatabaseSnapshot(args, optionsOrCb, cb) {
|
|
579
|
-
|
|
582
|
+
};
|
|
583
|
+
Lightsail.prototype.createRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
|
|
584
|
+
var command = new CreateRelationalDatabaseSnapshotCommand(args);
|
|
580
585
|
if (typeof optionsOrCb === "function") {
|
|
581
586
|
this.send(command, optionsOrCb);
|
|
582
587
|
}
|
|
583
588
|
else if (typeof cb === "function") {
|
|
584
589
|
if (typeof optionsOrCb !== "object")
|
|
585
|
-
throw new Error(
|
|
590
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
586
591
|
this.send(command, optionsOrCb || {}, cb);
|
|
587
592
|
}
|
|
588
593
|
else {
|
|
589
594
|
return this.send(command, optionsOrCb);
|
|
590
595
|
}
|
|
591
|
-
}
|
|
592
|
-
deleteAlarm(args, optionsOrCb, cb) {
|
|
593
|
-
|
|
596
|
+
};
|
|
597
|
+
Lightsail.prototype.deleteAlarm = function (args, optionsOrCb, cb) {
|
|
598
|
+
var command = new DeleteAlarmCommand(args);
|
|
594
599
|
if (typeof optionsOrCb === "function") {
|
|
595
600
|
this.send(command, optionsOrCb);
|
|
596
601
|
}
|
|
597
602
|
else if (typeof cb === "function") {
|
|
598
603
|
if (typeof optionsOrCb !== "object")
|
|
599
|
-
throw new Error(
|
|
604
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
600
605
|
this.send(command, optionsOrCb || {}, cb);
|
|
601
606
|
}
|
|
602
607
|
else {
|
|
603
608
|
return this.send(command, optionsOrCb);
|
|
604
609
|
}
|
|
605
|
-
}
|
|
606
|
-
deleteAutoSnapshot(args, optionsOrCb, cb) {
|
|
607
|
-
|
|
610
|
+
};
|
|
611
|
+
Lightsail.prototype.deleteAutoSnapshot = function (args, optionsOrCb, cb) {
|
|
612
|
+
var command = new DeleteAutoSnapshotCommand(args);
|
|
608
613
|
if (typeof optionsOrCb === "function") {
|
|
609
614
|
this.send(command, optionsOrCb);
|
|
610
615
|
}
|
|
611
616
|
else if (typeof cb === "function") {
|
|
612
617
|
if (typeof optionsOrCb !== "object")
|
|
613
|
-
throw new Error(
|
|
618
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
614
619
|
this.send(command, optionsOrCb || {}, cb);
|
|
615
620
|
}
|
|
616
621
|
else {
|
|
617
622
|
return this.send(command, optionsOrCb);
|
|
618
623
|
}
|
|
619
|
-
}
|
|
620
|
-
deleteBucket(args, optionsOrCb, cb) {
|
|
621
|
-
|
|
624
|
+
};
|
|
625
|
+
Lightsail.prototype.deleteBucket = function (args, optionsOrCb, cb) {
|
|
626
|
+
var command = new DeleteBucketCommand(args);
|
|
622
627
|
if (typeof optionsOrCb === "function") {
|
|
623
628
|
this.send(command, optionsOrCb);
|
|
624
629
|
}
|
|
625
630
|
else if (typeof cb === "function") {
|
|
626
631
|
if (typeof optionsOrCb !== "object")
|
|
627
|
-
throw new Error(
|
|
632
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
628
633
|
this.send(command, optionsOrCb || {}, cb);
|
|
629
634
|
}
|
|
630
635
|
else {
|
|
631
636
|
return this.send(command, optionsOrCb);
|
|
632
637
|
}
|
|
633
|
-
}
|
|
634
|
-
deleteBucketAccessKey(args, optionsOrCb, cb) {
|
|
635
|
-
|
|
638
|
+
};
|
|
639
|
+
Lightsail.prototype.deleteBucketAccessKey = function (args, optionsOrCb, cb) {
|
|
640
|
+
var command = new DeleteBucketAccessKeyCommand(args);
|
|
636
641
|
if (typeof optionsOrCb === "function") {
|
|
637
642
|
this.send(command, optionsOrCb);
|
|
638
643
|
}
|
|
639
644
|
else if (typeof cb === "function") {
|
|
640
645
|
if (typeof optionsOrCb !== "object")
|
|
641
|
-
throw new Error(
|
|
646
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
642
647
|
this.send(command, optionsOrCb || {}, cb);
|
|
643
648
|
}
|
|
644
649
|
else {
|
|
645
650
|
return this.send(command, optionsOrCb);
|
|
646
651
|
}
|
|
647
|
-
}
|
|
648
|
-
deleteCertificate(args, optionsOrCb, cb) {
|
|
649
|
-
|
|
652
|
+
};
|
|
653
|
+
Lightsail.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
|
|
654
|
+
var command = new DeleteCertificateCommand(args);
|
|
650
655
|
if (typeof optionsOrCb === "function") {
|
|
651
656
|
this.send(command, optionsOrCb);
|
|
652
657
|
}
|
|
653
658
|
else if (typeof cb === "function") {
|
|
654
659
|
if (typeof optionsOrCb !== "object")
|
|
655
|
-
throw new Error(
|
|
660
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
656
661
|
this.send(command, optionsOrCb || {}, cb);
|
|
657
662
|
}
|
|
658
663
|
else {
|
|
659
664
|
return this.send(command, optionsOrCb);
|
|
660
665
|
}
|
|
661
|
-
}
|
|
662
|
-
deleteContactMethod(args, optionsOrCb, cb) {
|
|
663
|
-
|
|
666
|
+
};
|
|
667
|
+
Lightsail.prototype.deleteContactMethod = function (args, optionsOrCb, cb) {
|
|
668
|
+
var command = new DeleteContactMethodCommand(args);
|
|
664
669
|
if (typeof optionsOrCb === "function") {
|
|
665
670
|
this.send(command, optionsOrCb);
|
|
666
671
|
}
|
|
667
672
|
else if (typeof cb === "function") {
|
|
668
673
|
if (typeof optionsOrCb !== "object")
|
|
669
|
-
throw new Error(
|
|
674
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
670
675
|
this.send(command, optionsOrCb || {}, cb);
|
|
671
676
|
}
|
|
672
677
|
else {
|
|
673
678
|
return this.send(command, optionsOrCb);
|
|
674
679
|
}
|
|
675
|
-
}
|
|
676
|
-
deleteContainerImage(args, optionsOrCb, cb) {
|
|
677
|
-
|
|
680
|
+
};
|
|
681
|
+
Lightsail.prototype.deleteContainerImage = function (args, optionsOrCb, cb) {
|
|
682
|
+
var command = new DeleteContainerImageCommand(args);
|
|
678
683
|
if (typeof optionsOrCb === "function") {
|
|
679
684
|
this.send(command, optionsOrCb);
|
|
680
685
|
}
|
|
681
686
|
else if (typeof cb === "function") {
|
|
682
687
|
if (typeof optionsOrCb !== "object")
|
|
683
|
-
throw new Error(
|
|
688
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
684
689
|
this.send(command, optionsOrCb || {}, cb);
|
|
685
690
|
}
|
|
686
691
|
else {
|
|
687
692
|
return this.send(command, optionsOrCb);
|
|
688
693
|
}
|
|
689
|
-
}
|
|
690
|
-
deleteContainerService(args, optionsOrCb, cb) {
|
|
691
|
-
|
|
694
|
+
};
|
|
695
|
+
Lightsail.prototype.deleteContainerService = function (args, optionsOrCb, cb) {
|
|
696
|
+
var command = new DeleteContainerServiceCommand(args);
|
|
692
697
|
if (typeof optionsOrCb === "function") {
|
|
693
698
|
this.send(command, optionsOrCb);
|
|
694
699
|
}
|
|
695
700
|
else if (typeof cb === "function") {
|
|
696
701
|
if (typeof optionsOrCb !== "object")
|
|
697
|
-
throw new Error(
|
|
702
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
698
703
|
this.send(command, optionsOrCb || {}, cb);
|
|
699
704
|
}
|
|
700
705
|
else {
|
|
701
706
|
return this.send(command, optionsOrCb);
|
|
702
707
|
}
|
|
703
|
-
}
|
|
704
|
-
deleteDisk(args, optionsOrCb, cb) {
|
|
705
|
-
|
|
708
|
+
};
|
|
709
|
+
Lightsail.prototype.deleteDisk = function (args, optionsOrCb, cb) {
|
|
710
|
+
var command = new DeleteDiskCommand(args);
|
|
706
711
|
if (typeof optionsOrCb === "function") {
|
|
707
712
|
this.send(command, optionsOrCb);
|
|
708
713
|
}
|
|
709
714
|
else if (typeof cb === "function") {
|
|
710
715
|
if (typeof optionsOrCb !== "object")
|
|
711
|
-
throw new Error(
|
|
716
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
712
717
|
this.send(command, optionsOrCb || {}, cb);
|
|
713
718
|
}
|
|
714
719
|
else {
|
|
715
720
|
return this.send(command, optionsOrCb);
|
|
716
721
|
}
|
|
717
|
-
}
|
|
718
|
-
deleteDiskSnapshot(args, optionsOrCb, cb) {
|
|
719
|
-
|
|
722
|
+
};
|
|
723
|
+
Lightsail.prototype.deleteDiskSnapshot = function (args, optionsOrCb, cb) {
|
|
724
|
+
var command = new DeleteDiskSnapshotCommand(args);
|
|
720
725
|
if (typeof optionsOrCb === "function") {
|
|
721
726
|
this.send(command, optionsOrCb);
|
|
722
727
|
}
|
|
723
728
|
else if (typeof cb === "function") {
|
|
724
729
|
if (typeof optionsOrCb !== "object")
|
|
725
|
-
throw new Error(
|
|
730
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
726
731
|
this.send(command, optionsOrCb || {}, cb);
|
|
727
732
|
}
|
|
728
733
|
else {
|
|
729
734
|
return this.send(command, optionsOrCb);
|
|
730
735
|
}
|
|
731
|
-
}
|
|
732
|
-
deleteDistribution(args, optionsOrCb, cb) {
|
|
733
|
-
|
|
736
|
+
};
|
|
737
|
+
Lightsail.prototype.deleteDistribution = function (args, optionsOrCb, cb) {
|
|
738
|
+
var command = new DeleteDistributionCommand(args);
|
|
734
739
|
if (typeof optionsOrCb === "function") {
|
|
735
740
|
this.send(command, optionsOrCb);
|
|
736
741
|
}
|
|
737
742
|
else if (typeof cb === "function") {
|
|
738
743
|
if (typeof optionsOrCb !== "object")
|
|
739
|
-
throw new Error(
|
|
744
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
740
745
|
this.send(command, optionsOrCb || {}, cb);
|
|
741
746
|
}
|
|
742
747
|
else {
|
|
743
748
|
return this.send(command, optionsOrCb);
|
|
744
749
|
}
|
|
745
|
-
}
|
|
746
|
-
deleteDomain(args, optionsOrCb, cb) {
|
|
747
|
-
|
|
750
|
+
};
|
|
751
|
+
Lightsail.prototype.deleteDomain = function (args, optionsOrCb, cb) {
|
|
752
|
+
var command = new DeleteDomainCommand(args);
|
|
748
753
|
if (typeof optionsOrCb === "function") {
|
|
749
754
|
this.send(command, optionsOrCb);
|
|
750
755
|
}
|
|
751
756
|
else if (typeof cb === "function") {
|
|
752
757
|
if (typeof optionsOrCb !== "object")
|
|
753
|
-
throw new Error(
|
|
758
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
754
759
|
this.send(command, optionsOrCb || {}, cb);
|
|
755
760
|
}
|
|
756
761
|
else {
|
|
757
762
|
return this.send(command, optionsOrCb);
|
|
758
763
|
}
|
|
759
|
-
}
|
|
760
|
-
deleteDomainEntry(args, optionsOrCb, cb) {
|
|
761
|
-
|
|
764
|
+
};
|
|
765
|
+
Lightsail.prototype.deleteDomainEntry = function (args, optionsOrCb, cb) {
|
|
766
|
+
var command = new DeleteDomainEntryCommand(args);
|
|
762
767
|
if (typeof optionsOrCb === "function") {
|
|
763
768
|
this.send(command, optionsOrCb);
|
|
764
769
|
}
|
|
765
770
|
else if (typeof cb === "function") {
|
|
766
771
|
if (typeof optionsOrCb !== "object")
|
|
767
|
-
throw new Error(
|
|
772
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
768
773
|
this.send(command, optionsOrCb || {}, cb);
|
|
769
774
|
}
|
|
770
775
|
else {
|
|
771
776
|
return this.send(command, optionsOrCb);
|
|
772
777
|
}
|
|
773
|
-
}
|
|
774
|
-
deleteInstance(args, optionsOrCb, cb) {
|
|
775
|
-
|
|
778
|
+
};
|
|
779
|
+
Lightsail.prototype.deleteInstance = function (args, optionsOrCb, cb) {
|
|
780
|
+
var command = new DeleteInstanceCommand(args);
|
|
776
781
|
if (typeof optionsOrCb === "function") {
|
|
777
782
|
this.send(command, optionsOrCb);
|
|
778
783
|
}
|
|
779
784
|
else if (typeof cb === "function") {
|
|
780
785
|
if (typeof optionsOrCb !== "object")
|
|
781
|
-
throw new Error(
|
|
786
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
782
787
|
this.send(command, optionsOrCb || {}, cb);
|
|
783
788
|
}
|
|
784
789
|
else {
|
|
785
790
|
return this.send(command, optionsOrCb);
|
|
786
791
|
}
|
|
787
|
-
}
|
|
788
|
-
deleteInstanceSnapshot(args, optionsOrCb, cb) {
|
|
789
|
-
|
|
792
|
+
};
|
|
793
|
+
Lightsail.prototype.deleteInstanceSnapshot = function (args, optionsOrCb, cb) {
|
|
794
|
+
var command = new DeleteInstanceSnapshotCommand(args);
|
|
790
795
|
if (typeof optionsOrCb === "function") {
|
|
791
796
|
this.send(command, optionsOrCb);
|
|
792
797
|
}
|
|
793
798
|
else if (typeof cb === "function") {
|
|
794
799
|
if (typeof optionsOrCb !== "object")
|
|
795
|
-
throw new Error(
|
|
800
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
796
801
|
this.send(command, optionsOrCb || {}, cb);
|
|
797
802
|
}
|
|
798
803
|
else {
|
|
799
804
|
return this.send(command, optionsOrCb);
|
|
800
805
|
}
|
|
801
|
-
}
|
|
802
|
-
deleteKeyPair(args, optionsOrCb, cb) {
|
|
803
|
-
|
|
806
|
+
};
|
|
807
|
+
Lightsail.prototype.deleteKeyPair = function (args, optionsOrCb, cb) {
|
|
808
|
+
var command = new DeleteKeyPairCommand(args);
|
|
804
809
|
if (typeof optionsOrCb === "function") {
|
|
805
810
|
this.send(command, optionsOrCb);
|
|
806
811
|
}
|
|
807
812
|
else if (typeof cb === "function") {
|
|
808
813
|
if (typeof optionsOrCb !== "object")
|
|
809
|
-
throw new Error(
|
|
814
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
810
815
|
this.send(command, optionsOrCb || {}, cb);
|
|
811
816
|
}
|
|
812
817
|
else {
|
|
813
818
|
return this.send(command, optionsOrCb);
|
|
814
819
|
}
|
|
815
|
-
}
|
|
816
|
-
deleteKnownHostKeys(args, optionsOrCb, cb) {
|
|
817
|
-
|
|
820
|
+
};
|
|
821
|
+
Lightsail.prototype.deleteKnownHostKeys = function (args, optionsOrCb, cb) {
|
|
822
|
+
var command = new DeleteKnownHostKeysCommand(args);
|
|
818
823
|
if (typeof optionsOrCb === "function") {
|
|
819
824
|
this.send(command, optionsOrCb);
|
|
820
825
|
}
|
|
821
826
|
else if (typeof cb === "function") {
|
|
822
827
|
if (typeof optionsOrCb !== "object")
|
|
823
|
-
throw new Error(
|
|
828
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
824
829
|
this.send(command, optionsOrCb || {}, cb);
|
|
825
830
|
}
|
|
826
831
|
else {
|
|
827
832
|
return this.send(command, optionsOrCb);
|
|
828
833
|
}
|
|
829
|
-
}
|
|
830
|
-
deleteLoadBalancer(args, optionsOrCb, cb) {
|
|
831
|
-
|
|
834
|
+
};
|
|
835
|
+
Lightsail.prototype.deleteLoadBalancer = function (args, optionsOrCb, cb) {
|
|
836
|
+
var command = new DeleteLoadBalancerCommand(args);
|
|
832
837
|
if (typeof optionsOrCb === "function") {
|
|
833
838
|
this.send(command, optionsOrCb);
|
|
834
839
|
}
|
|
835
840
|
else if (typeof cb === "function") {
|
|
836
841
|
if (typeof optionsOrCb !== "object")
|
|
837
|
-
throw new Error(
|
|
842
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
838
843
|
this.send(command, optionsOrCb || {}, cb);
|
|
839
844
|
}
|
|
840
845
|
else {
|
|
841
846
|
return this.send(command, optionsOrCb);
|
|
842
847
|
}
|
|
843
|
-
}
|
|
844
|
-
deleteLoadBalancerTlsCertificate(args, optionsOrCb, cb) {
|
|
845
|
-
|
|
848
|
+
};
|
|
849
|
+
Lightsail.prototype.deleteLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
|
|
850
|
+
var command = new DeleteLoadBalancerTlsCertificateCommand(args);
|
|
846
851
|
if (typeof optionsOrCb === "function") {
|
|
847
852
|
this.send(command, optionsOrCb);
|
|
848
853
|
}
|
|
849
854
|
else if (typeof cb === "function") {
|
|
850
855
|
if (typeof optionsOrCb !== "object")
|
|
851
|
-
throw new Error(
|
|
856
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
852
857
|
this.send(command, optionsOrCb || {}, cb);
|
|
853
858
|
}
|
|
854
859
|
else {
|
|
855
860
|
return this.send(command, optionsOrCb);
|
|
856
861
|
}
|
|
857
|
-
}
|
|
858
|
-
deleteRelationalDatabase(args, optionsOrCb, cb) {
|
|
859
|
-
|
|
862
|
+
};
|
|
863
|
+
Lightsail.prototype.deleteRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
864
|
+
var command = new DeleteRelationalDatabaseCommand(args);
|
|
860
865
|
if (typeof optionsOrCb === "function") {
|
|
861
866
|
this.send(command, optionsOrCb);
|
|
862
867
|
}
|
|
863
868
|
else if (typeof cb === "function") {
|
|
864
869
|
if (typeof optionsOrCb !== "object")
|
|
865
|
-
throw new Error(
|
|
870
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
866
871
|
this.send(command, optionsOrCb || {}, cb);
|
|
867
872
|
}
|
|
868
873
|
else {
|
|
869
874
|
return this.send(command, optionsOrCb);
|
|
870
875
|
}
|
|
871
|
-
}
|
|
872
|
-
deleteRelationalDatabaseSnapshot(args, optionsOrCb, cb) {
|
|
873
|
-
|
|
876
|
+
};
|
|
877
|
+
Lightsail.prototype.deleteRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
|
|
878
|
+
var command = new DeleteRelationalDatabaseSnapshotCommand(args);
|
|
874
879
|
if (typeof optionsOrCb === "function") {
|
|
875
880
|
this.send(command, optionsOrCb);
|
|
876
881
|
}
|
|
877
882
|
else if (typeof cb === "function") {
|
|
878
883
|
if (typeof optionsOrCb !== "object")
|
|
879
|
-
throw new Error(
|
|
884
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
880
885
|
this.send(command, optionsOrCb || {}, cb);
|
|
881
886
|
}
|
|
882
887
|
else {
|
|
883
888
|
return this.send(command, optionsOrCb);
|
|
884
889
|
}
|
|
885
|
-
}
|
|
886
|
-
detachCertificateFromDistribution(args, optionsOrCb, cb) {
|
|
887
|
-
|
|
890
|
+
};
|
|
891
|
+
Lightsail.prototype.detachCertificateFromDistribution = function (args, optionsOrCb, cb) {
|
|
892
|
+
var command = new DetachCertificateFromDistributionCommand(args);
|
|
888
893
|
if (typeof optionsOrCb === "function") {
|
|
889
894
|
this.send(command, optionsOrCb);
|
|
890
895
|
}
|
|
891
896
|
else if (typeof cb === "function") {
|
|
892
897
|
if (typeof optionsOrCb !== "object")
|
|
893
|
-
throw new Error(
|
|
898
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
894
899
|
this.send(command, optionsOrCb || {}, cb);
|
|
895
900
|
}
|
|
896
901
|
else {
|
|
897
902
|
return this.send(command, optionsOrCb);
|
|
898
903
|
}
|
|
899
|
-
}
|
|
900
|
-
detachDisk(args, optionsOrCb, cb) {
|
|
901
|
-
|
|
904
|
+
};
|
|
905
|
+
Lightsail.prototype.detachDisk = function (args, optionsOrCb, cb) {
|
|
906
|
+
var command = new DetachDiskCommand(args);
|
|
902
907
|
if (typeof optionsOrCb === "function") {
|
|
903
908
|
this.send(command, optionsOrCb);
|
|
904
909
|
}
|
|
905
910
|
else if (typeof cb === "function") {
|
|
906
911
|
if (typeof optionsOrCb !== "object")
|
|
907
|
-
throw new Error(
|
|
912
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
908
913
|
this.send(command, optionsOrCb || {}, cb);
|
|
909
914
|
}
|
|
910
915
|
else {
|
|
911
916
|
return this.send(command, optionsOrCb);
|
|
912
917
|
}
|
|
913
|
-
}
|
|
914
|
-
detachInstancesFromLoadBalancer(args, optionsOrCb, cb) {
|
|
915
|
-
|
|
918
|
+
};
|
|
919
|
+
Lightsail.prototype.detachInstancesFromLoadBalancer = function (args, optionsOrCb, cb) {
|
|
920
|
+
var command = new DetachInstancesFromLoadBalancerCommand(args);
|
|
916
921
|
if (typeof optionsOrCb === "function") {
|
|
917
922
|
this.send(command, optionsOrCb);
|
|
918
923
|
}
|
|
919
924
|
else if (typeof cb === "function") {
|
|
920
925
|
if (typeof optionsOrCb !== "object")
|
|
921
|
-
throw new Error(
|
|
926
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
922
927
|
this.send(command, optionsOrCb || {}, cb);
|
|
923
928
|
}
|
|
924
929
|
else {
|
|
925
930
|
return this.send(command, optionsOrCb);
|
|
926
931
|
}
|
|
927
|
-
}
|
|
928
|
-
detachStaticIp(args, optionsOrCb, cb) {
|
|
929
|
-
|
|
932
|
+
};
|
|
933
|
+
Lightsail.prototype.detachStaticIp = function (args, optionsOrCb, cb) {
|
|
934
|
+
var command = new DetachStaticIpCommand(args);
|
|
930
935
|
if (typeof optionsOrCb === "function") {
|
|
931
936
|
this.send(command, optionsOrCb);
|
|
932
937
|
}
|
|
933
938
|
else if (typeof cb === "function") {
|
|
934
939
|
if (typeof optionsOrCb !== "object")
|
|
935
|
-
throw new Error(
|
|
940
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
936
941
|
this.send(command, optionsOrCb || {}, cb);
|
|
937
942
|
}
|
|
938
943
|
else {
|
|
939
944
|
return this.send(command, optionsOrCb);
|
|
940
945
|
}
|
|
941
|
-
}
|
|
942
|
-
disableAddOn(args, optionsOrCb, cb) {
|
|
943
|
-
|
|
946
|
+
};
|
|
947
|
+
Lightsail.prototype.disableAddOn = function (args, optionsOrCb, cb) {
|
|
948
|
+
var command = new DisableAddOnCommand(args);
|
|
944
949
|
if (typeof optionsOrCb === "function") {
|
|
945
950
|
this.send(command, optionsOrCb);
|
|
946
951
|
}
|
|
947
952
|
else if (typeof cb === "function") {
|
|
948
953
|
if (typeof optionsOrCb !== "object")
|
|
949
|
-
throw new Error(
|
|
954
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
950
955
|
this.send(command, optionsOrCb || {}, cb);
|
|
951
956
|
}
|
|
952
957
|
else {
|
|
953
958
|
return this.send(command, optionsOrCb);
|
|
954
959
|
}
|
|
955
|
-
}
|
|
956
|
-
downloadDefaultKeyPair(args, optionsOrCb, cb) {
|
|
957
|
-
|
|
960
|
+
};
|
|
961
|
+
Lightsail.prototype.downloadDefaultKeyPair = function (args, optionsOrCb, cb) {
|
|
962
|
+
var command = new DownloadDefaultKeyPairCommand(args);
|
|
958
963
|
if (typeof optionsOrCb === "function") {
|
|
959
964
|
this.send(command, optionsOrCb);
|
|
960
965
|
}
|
|
961
966
|
else if (typeof cb === "function") {
|
|
962
967
|
if (typeof optionsOrCb !== "object")
|
|
963
|
-
throw new Error(
|
|
968
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
964
969
|
this.send(command, optionsOrCb || {}, cb);
|
|
965
970
|
}
|
|
966
971
|
else {
|
|
967
972
|
return this.send(command, optionsOrCb);
|
|
968
973
|
}
|
|
969
|
-
}
|
|
970
|
-
enableAddOn(args, optionsOrCb, cb) {
|
|
971
|
-
|
|
974
|
+
};
|
|
975
|
+
Lightsail.prototype.enableAddOn = function (args, optionsOrCb, cb) {
|
|
976
|
+
var command = new EnableAddOnCommand(args);
|
|
972
977
|
if (typeof optionsOrCb === "function") {
|
|
973
978
|
this.send(command, optionsOrCb);
|
|
974
979
|
}
|
|
975
980
|
else if (typeof cb === "function") {
|
|
976
981
|
if (typeof optionsOrCb !== "object")
|
|
977
|
-
throw new Error(
|
|
982
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
978
983
|
this.send(command, optionsOrCb || {}, cb);
|
|
979
984
|
}
|
|
980
985
|
else {
|
|
981
986
|
return this.send(command, optionsOrCb);
|
|
982
987
|
}
|
|
983
|
-
}
|
|
984
|
-
exportSnapshot(args, optionsOrCb, cb) {
|
|
985
|
-
|
|
988
|
+
};
|
|
989
|
+
Lightsail.prototype.exportSnapshot = function (args, optionsOrCb, cb) {
|
|
990
|
+
var command = new ExportSnapshotCommand(args);
|
|
986
991
|
if (typeof optionsOrCb === "function") {
|
|
987
992
|
this.send(command, optionsOrCb);
|
|
988
993
|
}
|
|
989
994
|
else if (typeof cb === "function") {
|
|
990
995
|
if (typeof optionsOrCb !== "object")
|
|
991
|
-
throw new Error(
|
|
996
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
992
997
|
this.send(command, optionsOrCb || {}, cb);
|
|
993
998
|
}
|
|
994
999
|
else {
|
|
995
1000
|
return this.send(command, optionsOrCb);
|
|
996
1001
|
}
|
|
997
|
-
}
|
|
998
|
-
getActiveNames(args, optionsOrCb, cb) {
|
|
999
|
-
|
|
1002
|
+
};
|
|
1003
|
+
Lightsail.prototype.getActiveNames = function (args, optionsOrCb, cb) {
|
|
1004
|
+
var command = new GetActiveNamesCommand(args);
|
|
1000
1005
|
if (typeof optionsOrCb === "function") {
|
|
1001
1006
|
this.send(command, optionsOrCb);
|
|
1002
1007
|
}
|
|
1003
1008
|
else if (typeof cb === "function") {
|
|
1004
1009
|
if (typeof optionsOrCb !== "object")
|
|
1005
|
-
throw new Error(
|
|
1010
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1006
1011
|
this.send(command, optionsOrCb || {}, cb);
|
|
1007
1012
|
}
|
|
1008
1013
|
else {
|
|
1009
1014
|
return this.send(command, optionsOrCb);
|
|
1010
1015
|
}
|
|
1011
|
-
}
|
|
1012
|
-
getAlarms(args, optionsOrCb, cb) {
|
|
1013
|
-
|
|
1016
|
+
};
|
|
1017
|
+
Lightsail.prototype.getAlarms = function (args, optionsOrCb, cb) {
|
|
1018
|
+
var command = new GetAlarmsCommand(args);
|
|
1014
1019
|
if (typeof optionsOrCb === "function") {
|
|
1015
1020
|
this.send(command, optionsOrCb);
|
|
1016
1021
|
}
|
|
1017
1022
|
else if (typeof cb === "function") {
|
|
1018
1023
|
if (typeof optionsOrCb !== "object")
|
|
1019
|
-
throw new Error(
|
|
1024
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1020
1025
|
this.send(command, optionsOrCb || {}, cb);
|
|
1021
1026
|
}
|
|
1022
1027
|
else {
|
|
1023
1028
|
return this.send(command, optionsOrCb);
|
|
1024
1029
|
}
|
|
1025
|
-
}
|
|
1026
|
-
getAutoSnapshots(args, optionsOrCb, cb) {
|
|
1027
|
-
|
|
1030
|
+
};
|
|
1031
|
+
Lightsail.prototype.getAutoSnapshots = function (args, optionsOrCb, cb) {
|
|
1032
|
+
var command = new GetAutoSnapshotsCommand(args);
|
|
1028
1033
|
if (typeof optionsOrCb === "function") {
|
|
1029
1034
|
this.send(command, optionsOrCb);
|
|
1030
1035
|
}
|
|
1031
1036
|
else if (typeof cb === "function") {
|
|
1032
1037
|
if (typeof optionsOrCb !== "object")
|
|
1033
|
-
throw new Error(
|
|
1038
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1034
1039
|
this.send(command, optionsOrCb || {}, cb);
|
|
1035
1040
|
}
|
|
1036
1041
|
else {
|
|
1037
1042
|
return this.send(command, optionsOrCb);
|
|
1038
1043
|
}
|
|
1039
|
-
}
|
|
1040
|
-
getBlueprints(args, optionsOrCb, cb) {
|
|
1041
|
-
|
|
1044
|
+
};
|
|
1045
|
+
Lightsail.prototype.getBlueprints = function (args, optionsOrCb, cb) {
|
|
1046
|
+
var command = new GetBlueprintsCommand(args);
|
|
1042
1047
|
if (typeof optionsOrCb === "function") {
|
|
1043
1048
|
this.send(command, optionsOrCb);
|
|
1044
1049
|
}
|
|
1045
1050
|
else if (typeof cb === "function") {
|
|
1046
1051
|
if (typeof optionsOrCb !== "object")
|
|
1047
|
-
throw new Error(
|
|
1052
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1048
1053
|
this.send(command, optionsOrCb || {}, cb);
|
|
1049
1054
|
}
|
|
1050
1055
|
else {
|
|
1051
1056
|
return this.send(command, optionsOrCb);
|
|
1052
1057
|
}
|
|
1053
|
-
}
|
|
1054
|
-
getBucketAccessKeys(args, optionsOrCb, cb) {
|
|
1055
|
-
|
|
1058
|
+
};
|
|
1059
|
+
Lightsail.prototype.getBucketAccessKeys = function (args, optionsOrCb, cb) {
|
|
1060
|
+
var command = new GetBucketAccessKeysCommand(args);
|
|
1056
1061
|
if (typeof optionsOrCb === "function") {
|
|
1057
1062
|
this.send(command, optionsOrCb);
|
|
1058
1063
|
}
|
|
1059
1064
|
else if (typeof cb === "function") {
|
|
1060
1065
|
if (typeof optionsOrCb !== "object")
|
|
1061
|
-
throw new Error(
|
|
1066
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1062
1067
|
this.send(command, optionsOrCb || {}, cb);
|
|
1063
1068
|
}
|
|
1064
1069
|
else {
|
|
1065
1070
|
return this.send(command, optionsOrCb);
|
|
1066
1071
|
}
|
|
1067
|
-
}
|
|
1068
|
-
getBucketBundles(args, optionsOrCb, cb) {
|
|
1069
|
-
|
|
1072
|
+
};
|
|
1073
|
+
Lightsail.prototype.getBucketBundles = function (args, optionsOrCb, cb) {
|
|
1074
|
+
var command = new GetBucketBundlesCommand(args);
|
|
1070
1075
|
if (typeof optionsOrCb === "function") {
|
|
1071
1076
|
this.send(command, optionsOrCb);
|
|
1072
1077
|
}
|
|
1073
1078
|
else if (typeof cb === "function") {
|
|
1074
1079
|
if (typeof optionsOrCb !== "object")
|
|
1075
|
-
throw new Error(
|
|
1080
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1076
1081
|
this.send(command, optionsOrCb || {}, cb);
|
|
1077
1082
|
}
|
|
1078
1083
|
else {
|
|
1079
1084
|
return this.send(command, optionsOrCb);
|
|
1080
1085
|
}
|
|
1081
|
-
}
|
|
1082
|
-
getBucketMetricData(args, optionsOrCb, cb) {
|
|
1083
|
-
|
|
1086
|
+
};
|
|
1087
|
+
Lightsail.prototype.getBucketMetricData = function (args, optionsOrCb, cb) {
|
|
1088
|
+
var command = new GetBucketMetricDataCommand(args);
|
|
1084
1089
|
if (typeof optionsOrCb === "function") {
|
|
1085
1090
|
this.send(command, optionsOrCb);
|
|
1086
1091
|
}
|
|
1087
1092
|
else if (typeof cb === "function") {
|
|
1088
1093
|
if (typeof optionsOrCb !== "object")
|
|
1089
|
-
throw new Error(
|
|
1094
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1090
1095
|
this.send(command, optionsOrCb || {}, cb);
|
|
1091
1096
|
}
|
|
1092
1097
|
else {
|
|
1093
1098
|
return this.send(command, optionsOrCb);
|
|
1094
1099
|
}
|
|
1095
|
-
}
|
|
1096
|
-
getBuckets(args, optionsOrCb, cb) {
|
|
1097
|
-
|
|
1100
|
+
};
|
|
1101
|
+
Lightsail.prototype.getBuckets = function (args, optionsOrCb, cb) {
|
|
1102
|
+
var command = new GetBucketsCommand(args);
|
|
1098
1103
|
if (typeof optionsOrCb === "function") {
|
|
1099
1104
|
this.send(command, optionsOrCb);
|
|
1100
1105
|
}
|
|
1101
1106
|
else if (typeof cb === "function") {
|
|
1102
1107
|
if (typeof optionsOrCb !== "object")
|
|
1103
|
-
throw new Error(
|
|
1108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1104
1109
|
this.send(command, optionsOrCb || {}, cb);
|
|
1105
1110
|
}
|
|
1106
1111
|
else {
|
|
1107
1112
|
return this.send(command, optionsOrCb);
|
|
1108
1113
|
}
|
|
1109
|
-
}
|
|
1110
|
-
getBundles(args, optionsOrCb, cb) {
|
|
1111
|
-
|
|
1114
|
+
};
|
|
1115
|
+
Lightsail.prototype.getBundles = function (args, optionsOrCb, cb) {
|
|
1116
|
+
var command = new GetBundlesCommand(args);
|
|
1112
1117
|
if (typeof optionsOrCb === "function") {
|
|
1113
1118
|
this.send(command, optionsOrCb);
|
|
1114
1119
|
}
|
|
1115
1120
|
else if (typeof cb === "function") {
|
|
1116
1121
|
if (typeof optionsOrCb !== "object")
|
|
1117
|
-
throw new Error(
|
|
1122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1118
1123
|
this.send(command, optionsOrCb || {}, cb);
|
|
1119
1124
|
}
|
|
1120
1125
|
else {
|
|
1121
1126
|
return this.send(command, optionsOrCb);
|
|
1122
1127
|
}
|
|
1123
|
-
}
|
|
1124
|
-
getCertificates(args, optionsOrCb, cb) {
|
|
1125
|
-
|
|
1128
|
+
};
|
|
1129
|
+
Lightsail.prototype.getCertificates = function (args, optionsOrCb, cb) {
|
|
1130
|
+
var command = new GetCertificatesCommand(args);
|
|
1126
1131
|
if (typeof optionsOrCb === "function") {
|
|
1127
1132
|
this.send(command, optionsOrCb);
|
|
1128
1133
|
}
|
|
1129
1134
|
else if (typeof cb === "function") {
|
|
1130
1135
|
if (typeof optionsOrCb !== "object")
|
|
1131
|
-
throw new Error(
|
|
1136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1132
1137
|
this.send(command, optionsOrCb || {}, cb);
|
|
1133
1138
|
}
|
|
1134
1139
|
else {
|
|
1135
1140
|
return this.send(command, optionsOrCb);
|
|
1136
1141
|
}
|
|
1137
|
-
}
|
|
1138
|
-
getCloudFormationStackRecords(args, optionsOrCb, cb) {
|
|
1139
|
-
|
|
1142
|
+
};
|
|
1143
|
+
Lightsail.prototype.getCloudFormationStackRecords = function (args, optionsOrCb, cb) {
|
|
1144
|
+
var command = new GetCloudFormationStackRecordsCommand(args);
|
|
1140
1145
|
if (typeof optionsOrCb === "function") {
|
|
1141
1146
|
this.send(command, optionsOrCb);
|
|
1142
1147
|
}
|
|
1143
1148
|
else if (typeof cb === "function") {
|
|
1144
1149
|
if (typeof optionsOrCb !== "object")
|
|
1145
|
-
throw new Error(
|
|
1150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1146
1151
|
this.send(command, optionsOrCb || {}, cb);
|
|
1147
1152
|
}
|
|
1148
1153
|
else {
|
|
1149
1154
|
return this.send(command, optionsOrCb);
|
|
1150
1155
|
}
|
|
1151
|
-
}
|
|
1152
|
-
getContactMethods(args, optionsOrCb, cb) {
|
|
1153
|
-
|
|
1156
|
+
};
|
|
1157
|
+
Lightsail.prototype.getContactMethods = function (args, optionsOrCb, cb) {
|
|
1158
|
+
var command = new GetContactMethodsCommand(args);
|
|
1154
1159
|
if (typeof optionsOrCb === "function") {
|
|
1155
1160
|
this.send(command, optionsOrCb);
|
|
1156
1161
|
}
|
|
1157
1162
|
else if (typeof cb === "function") {
|
|
1158
1163
|
if (typeof optionsOrCb !== "object")
|
|
1159
|
-
throw new Error(
|
|
1164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1160
1165
|
this.send(command, optionsOrCb || {}, cb);
|
|
1161
1166
|
}
|
|
1162
1167
|
else {
|
|
1163
1168
|
return this.send(command, optionsOrCb);
|
|
1164
1169
|
}
|
|
1165
|
-
}
|
|
1166
|
-
getContainerAPIMetadata(args, optionsOrCb, cb) {
|
|
1167
|
-
|
|
1170
|
+
};
|
|
1171
|
+
Lightsail.prototype.getContainerAPIMetadata = function (args, optionsOrCb, cb) {
|
|
1172
|
+
var command = new GetContainerAPIMetadataCommand(args);
|
|
1168
1173
|
if (typeof optionsOrCb === "function") {
|
|
1169
1174
|
this.send(command, optionsOrCb);
|
|
1170
1175
|
}
|
|
1171
1176
|
else if (typeof cb === "function") {
|
|
1172
1177
|
if (typeof optionsOrCb !== "object")
|
|
1173
|
-
throw new Error(
|
|
1178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1174
1179
|
this.send(command, optionsOrCb || {}, cb);
|
|
1175
1180
|
}
|
|
1176
1181
|
else {
|
|
1177
1182
|
return this.send(command, optionsOrCb);
|
|
1178
1183
|
}
|
|
1179
|
-
}
|
|
1180
|
-
getContainerImages(args, optionsOrCb, cb) {
|
|
1181
|
-
|
|
1184
|
+
};
|
|
1185
|
+
Lightsail.prototype.getContainerImages = function (args, optionsOrCb, cb) {
|
|
1186
|
+
var command = new GetContainerImagesCommand(args);
|
|
1182
1187
|
if (typeof optionsOrCb === "function") {
|
|
1183
1188
|
this.send(command, optionsOrCb);
|
|
1184
1189
|
}
|
|
1185
1190
|
else if (typeof cb === "function") {
|
|
1186
1191
|
if (typeof optionsOrCb !== "object")
|
|
1187
|
-
throw new Error(
|
|
1192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1188
1193
|
this.send(command, optionsOrCb || {}, cb);
|
|
1189
1194
|
}
|
|
1190
1195
|
else {
|
|
1191
1196
|
return this.send(command, optionsOrCb);
|
|
1192
1197
|
}
|
|
1193
|
-
}
|
|
1194
|
-
getContainerLog(args, optionsOrCb, cb) {
|
|
1195
|
-
|
|
1198
|
+
};
|
|
1199
|
+
Lightsail.prototype.getContainerLog = function (args, optionsOrCb, cb) {
|
|
1200
|
+
var command = new GetContainerLogCommand(args);
|
|
1196
1201
|
if (typeof optionsOrCb === "function") {
|
|
1197
1202
|
this.send(command, optionsOrCb);
|
|
1198
1203
|
}
|
|
1199
1204
|
else if (typeof cb === "function") {
|
|
1200
1205
|
if (typeof optionsOrCb !== "object")
|
|
1201
|
-
throw new Error(
|
|
1206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1202
1207
|
this.send(command, optionsOrCb || {}, cb);
|
|
1203
1208
|
}
|
|
1204
1209
|
else {
|
|
1205
1210
|
return this.send(command, optionsOrCb);
|
|
1206
1211
|
}
|
|
1207
|
-
}
|
|
1208
|
-
getContainerServiceDeployments(args, optionsOrCb, cb) {
|
|
1209
|
-
|
|
1212
|
+
};
|
|
1213
|
+
Lightsail.prototype.getContainerServiceDeployments = function (args, optionsOrCb, cb) {
|
|
1214
|
+
var command = new GetContainerServiceDeploymentsCommand(args);
|
|
1210
1215
|
if (typeof optionsOrCb === "function") {
|
|
1211
1216
|
this.send(command, optionsOrCb);
|
|
1212
1217
|
}
|
|
1213
1218
|
else if (typeof cb === "function") {
|
|
1214
1219
|
if (typeof optionsOrCb !== "object")
|
|
1215
|
-
throw new Error(
|
|
1220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1216
1221
|
this.send(command, optionsOrCb || {}, cb);
|
|
1217
1222
|
}
|
|
1218
1223
|
else {
|
|
1219
1224
|
return this.send(command, optionsOrCb);
|
|
1220
1225
|
}
|
|
1221
|
-
}
|
|
1222
|
-
getContainerServiceMetricData(args, optionsOrCb, cb) {
|
|
1223
|
-
|
|
1226
|
+
};
|
|
1227
|
+
Lightsail.prototype.getContainerServiceMetricData = function (args, optionsOrCb, cb) {
|
|
1228
|
+
var command = new GetContainerServiceMetricDataCommand(args);
|
|
1224
1229
|
if (typeof optionsOrCb === "function") {
|
|
1225
1230
|
this.send(command, optionsOrCb);
|
|
1226
1231
|
}
|
|
1227
1232
|
else if (typeof cb === "function") {
|
|
1228
1233
|
if (typeof optionsOrCb !== "object")
|
|
1229
|
-
throw new Error(
|
|
1234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1230
1235
|
this.send(command, optionsOrCb || {}, cb);
|
|
1231
1236
|
}
|
|
1232
1237
|
else {
|
|
1233
1238
|
return this.send(command, optionsOrCb);
|
|
1234
1239
|
}
|
|
1235
|
-
}
|
|
1236
|
-
getContainerServicePowers(args, optionsOrCb, cb) {
|
|
1237
|
-
|
|
1240
|
+
};
|
|
1241
|
+
Lightsail.prototype.getContainerServicePowers = function (args, optionsOrCb, cb) {
|
|
1242
|
+
var command = new GetContainerServicePowersCommand(args);
|
|
1238
1243
|
if (typeof optionsOrCb === "function") {
|
|
1239
1244
|
this.send(command, optionsOrCb);
|
|
1240
1245
|
}
|
|
1241
1246
|
else if (typeof cb === "function") {
|
|
1242
1247
|
if (typeof optionsOrCb !== "object")
|
|
1243
|
-
throw new Error(
|
|
1248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1244
1249
|
this.send(command, optionsOrCb || {}, cb);
|
|
1245
1250
|
}
|
|
1246
1251
|
else {
|
|
1247
1252
|
return this.send(command, optionsOrCb);
|
|
1248
1253
|
}
|
|
1249
|
-
}
|
|
1250
|
-
getContainerServices(args, optionsOrCb, cb) {
|
|
1251
|
-
|
|
1254
|
+
};
|
|
1255
|
+
Lightsail.prototype.getContainerServices = function (args, optionsOrCb, cb) {
|
|
1256
|
+
var command = new GetContainerServicesCommand(args);
|
|
1252
1257
|
if (typeof optionsOrCb === "function") {
|
|
1253
1258
|
this.send(command, optionsOrCb);
|
|
1254
1259
|
}
|
|
1255
1260
|
else if (typeof cb === "function") {
|
|
1256
1261
|
if (typeof optionsOrCb !== "object")
|
|
1257
|
-
throw new Error(
|
|
1262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1258
1263
|
this.send(command, optionsOrCb || {}, cb);
|
|
1259
1264
|
}
|
|
1260
1265
|
else {
|
|
1261
1266
|
return this.send(command, optionsOrCb);
|
|
1262
1267
|
}
|
|
1263
|
-
}
|
|
1264
|
-
getDisk(args, optionsOrCb, cb) {
|
|
1265
|
-
|
|
1268
|
+
};
|
|
1269
|
+
Lightsail.prototype.getDisk = function (args, optionsOrCb, cb) {
|
|
1270
|
+
var command = new GetDiskCommand(args);
|
|
1266
1271
|
if (typeof optionsOrCb === "function") {
|
|
1267
1272
|
this.send(command, optionsOrCb);
|
|
1268
1273
|
}
|
|
1269
1274
|
else if (typeof cb === "function") {
|
|
1270
1275
|
if (typeof optionsOrCb !== "object")
|
|
1271
|
-
throw new Error(
|
|
1276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1272
1277
|
this.send(command, optionsOrCb || {}, cb);
|
|
1273
1278
|
}
|
|
1274
1279
|
else {
|
|
1275
1280
|
return this.send(command, optionsOrCb);
|
|
1276
1281
|
}
|
|
1277
|
-
}
|
|
1278
|
-
getDisks(args, optionsOrCb, cb) {
|
|
1279
|
-
|
|
1282
|
+
};
|
|
1283
|
+
Lightsail.prototype.getDisks = function (args, optionsOrCb, cb) {
|
|
1284
|
+
var command = new GetDisksCommand(args);
|
|
1280
1285
|
if (typeof optionsOrCb === "function") {
|
|
1281
1286
|
this.send(command, optionsOrCb);
|
|
1282
1287
|
}
|
|
1283
1288
|
else if (typeof cb === "function") {
|
|
1284
1289
|
if (typeof optionsOrCb !== "object")
|
|
1285
|
-
throw new Error(
|
|
1290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1286
1291
|
this.send(command, optionsOrCb || {}, cb);
|
|
1287
1292
|
}
|
|
1288
1293
|
else {
|
|
1289
1294
|
return this.send(command, optionsOrCb);
|
|
1290
1295
|
}
|
|
1291
|
-
}
|
|
1292
|
-
getDiskSnapshot(args, optionsOrCb, cb) {
|
|
1293
|
-
|
|
1296
|
+
};
|
|
1297
|
+
Lightsail.prototype.getDiskSnapshot = function (args, optionsOrCb, cb) {
|
|
1298
|
+
var command = new GetDiskSnapshotCommand(args);
|
|
1294
1299
|
if (typeof optionsOrCb === "function") {
|
|
1295
1300
|
this.send(command, optionsOrCb);
|
|
1296
1301
|
}
|
|
1297
1302
|
else if (typeof cb === "function") {
|
|
1298
1303
|
if (typeof optionsOrCb !== "object")
|
|
1299
|
-
throw new Error(
|
|
1304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1300
1305
|
this.send(command, optionsOrCb || {}, cb);
|
|
1301
1306
|
}
|
|
1302
1307
|
else {
|
|
1303
1308
|
return this.send(command, optionsOrCb);
|
|
1304
1309
|
}
|
|
1305
|
-
}
|
|
1306
|
-
getDiskSnapshots(args, optionsOrCb, cb) {
|
|
1307
|
-
|
|
1310
|
+
};
|
|
1311
|
+
Lightsail.prototype.getDiskSnapshots = function (args, optionsOrCb, cb) {
|
|
1312
|
+
var command = new GetDiskSnapshotsCommand(args);
|
|
1308
1313
|
if (typeof optionsOrCb === "function") {
|
|
1309
1314
|
this.send(command, optionsOrCb);
|
|
1310
1315
|
}
|
|
1311
1316
|
else if (typeof cb === "function") {
|
|
1312
1317
|
if (typeof optionsOrCb !== "object")
|
|
1313
|
-
throw new Error(
|
|
1318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1314
1319
|
this.send(command, optionsOrCb || {}, cb);
|
|
1315
1320
|
}
|
|
1316
1321
|
else {
|
|
1317
1322
|
return this.send(command, optionsOrCb);
|
|
1318
1323
|
}
|
|
1319
|
-
}
|
|
1320
|
-
getDistributionBundles(args, optionsOrCb, cb) {
|
|
1321
|
-
|
|
1324
|
+
};
|
|
1325
|
+
Lightsail.prototype.getDistributionBundles = function (args, optionsOrCb, cb) {
|
|
1326
|
+
var command = new GetDistributionBundlesCommand(args);
|
|
1322
1327
|
if (typeof optionsOrCb === "function") {
|
|
1323
1328
|
this.send(command, optionsOrCb);
|
|
1324
1329
|
}
|
|
1325
1330
|
else if (typeof cb === "function") {
|
|
1326
1331
|
if (typeof optionsOrCb !== "object")
|
|
1327
|
-
throw new Error(
|
|
1332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1328
1333
|
this.send(command, optionsOrCb || {}, cb);
|
|
1329
1334
|
}
|
|
1330
1335
|
else {
|
|
1331
1336
|
return this.send(command, optionsOrCb);
|
|
1332
1337
|
}
|
|
1333
|
-
}
|
|
1334
|
-
getDistributionLatestCacheReset(args, optionsOrCb, cb) {
|
|
1335
|
-
|
|
1338
|
+
};
|
|
1339
|
+
Lightsail.prototype.getDistributionLatestCacheReset = function (args, optionsOrCb, cb) {
|
|
1340
|
+
var command = new GetDistributionLatestCacheResetCommand(args);
|
|
1336
1341
|
if (typeof optionsOrCb === "function") {
|
|
1337
1342
|
this.send(command, optionsOrCb);
|
|
1338
1343
|
}
|
|
1339
1344
|
else if (typeof cb === "function") {
|
|
1340
1345
|
if (typeof optionsOrCb !== "object")
|
|
1341
|
-
throw new Error(
|
|
1346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1342
1347
|
this.send(command, optionsOrCb || {}, cb);
|
|
1343
1348
|
}
|
|
1344
1349
|
else {
|
|
1345
1350
|
return this.send(command, optionsOrCb);
|
|
1346
1351
|
}
|
|
1347
|
-
}
|
|
1348
|
-
getDistributionMetricData(args, optionsOrCb, cb) {
|
|
1349
|
-
|
|
1352
|
+
};
|
|
1353
|
+
Lightsail.prototype.getDistributionMetricData = function (args, optionsOrCb, cb) {
|
|
1354
|
+
var command = new GetDistributionMetricDataCommand(args);
|
|
1350
1355
|
if (typeof optionsOrCb === "function") {
|
|
1351
1356
|
this.send(command, optionsOrCb);
|
|
1352
1357
|
}
|
|
1353
1358
|
else if (typeof cb === "function") {
|
|
1354
1359
|
if (typeof optionsOrCb !== "object")
|
|
1355
|
-
throw new Error(
|
|
1360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1356
1361
|
this.send(command, optionsOrCb || {}, cb);
|
|
1357
1362
|
}
|
|
1358
1363
|
else {
|
|
1359
1364
|
return this.send(command, optionsOrCb);
|
|
1360
1365
|
}
|
|
1361
|
-
}
|
|
1362
|
-
getDistributions(args, optionsOrCb, cb) {
|
|
1363
|
-
|
|
1366
|
+
};
|
|
1367
|
+
Lightsail.prototype.getDistributions = function (args, optionsOrCb, cb) {
|
|
1368
|
+
var command = new GetDistributionsCommand(args);
|
|
1364
1369
|
if (typeof optionsOrCb === "function") {
|
|
1365
1370
|
this.send(command, optionsOrCb);
|
|
1366
1371
|
}
|
|
1367
1372
|
else if (typeof cb === "function") {
|
|
1368
1373
|
if (typeof optionsOrCb !== "object")
|
|
1369
|
-
throw new Error(
|
|
1374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1370
1375
|
this.send(command, optionsOrCb || {}, cb);
|
|
1371
1376
|
}
|
|
1372
1377
|
else {
|
|
1373
1378
|
return this.send(command, optionsOrCb);
|
|
1374
1379
|
}
|
|
1375
|
-
}
|
|
1376
|
-
getDomain(args, optionsOrCb, cb) {
|
|
1377
|
-
|
|
1380
|
+
};
|
|
1381
|
+
Lightsail.prototype.getDomain = function (args, optionsOrCb, cb) {
|
|
1382
|
+
var command = new GetDomainCommand(args);
|
|
1378
1383
|
if (typeof optionsOrCb === "function") {
|
|
1379
1384
|
this.send(command, optionsOrCb);
|
|
1380
1385
|
}
|
|
1381
1386
|
else if (typeof cb === "function") {
|
|
1382
1387
|
if (typeof optionsOrCb !== "object")
|
|
1383
|
-
throw new Error(
|
|
1388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1384
1389
|
this.send(command, optionsOrCb || {}, cb);
|
|
1385
1390
|
}
|
|
1386
1391
|
else {
|
|
1387
1392
|
return this.send(command, optionsOrCb);
|
|
1388
1393
|
}
|
|
1389
|
-
}
|
|
1390
|
-
getDomains(args, optionsOrCb, cb) {
|
|
1391
|
-
|
|
1394
|
+
};
|
|
1395
|
+
Lightsail.prototype.getDomains = function (args, optionsOrCb, cb) {
|
|
1396
|
+
var command = new GetDomainsCommand(args);
|
|
1392
1397
|
if (typeof optionsOrCb === "function") {
|
|
1393
1398
|
this.send(command, optionsOrCb);
|
|
1394
1399
|
}
|
|
1395
1400
|
else if (typeof cb === "function") {
|
|
1396
1401
|
if (typeof optionsOrCb !== "object")
|
|
1397
|
-
throw new Error(
|
|
1402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1398
1403
|
this.send(command, optionsOrCb || {}, cb);
|
|
1399
1404
|
}
|
|
1400
1405
|
else {
|
|
1401
1406
|
return this.send(command, optionsOrCb);
|
|
1402
1407
|
}
|
|
1403
|
-
}
|
|
1404
|
-
getExportSnapshotRecords(args, optionsOrCb, cb) {
|
|
1405
|
-
|
|
1408
|
+
};
|
|
1409
|
+
Lightsail.prototype.getExportSnapshotRecords = function (args, optionsOrCb, cb) {
|
|
1410
|
+
var command = new GetExportSnapshotRecordsCommand(args);
|
|
1406
1411
|
if (typeof optionsOrCb === "function") {
|
|
1407
1412
|
this.send(command, optionsOrCb);
|
|
1408
1413
|
}
|
|
1409
1414
|
else if (typeof cb === "function") {
|
|
1410
1415
|
if (typeof optionsOrCb !== "object")
|
|
1411
|
-
throw new Error(
|
|
1416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1412
1417
|
this.send(command, optionsOrCb || {}, cb);
|
|
1413
1418
|
}
|
|
1414
1419
|
else {
|
|
1415
1420
|
return this.send(command, optionsOrCb);
|
|
1416
1421
|
}
|
|
1417
|
-
}
|
|
1418
|
-
getInstance(args, optionsOrCb, cb) {
|
|
1419
|
-
|
|
1422
|
+
};
|
|
1423
|
+
Lightsail.prototype.getInstance = function (args, optionsOrCb, cb) {
|
|
1424
|
+
var command = new GetInstanceCommand(args);
|
|
1420
1425
|
if (typeof optionsOrCb === "function") {
|
|
1421
1426
|
this.send(command, optionsOrCb);
|
|
1422
1427
|
}
|
|
1423
1428
|
else if (typeof cb === "function") {
|
|
1424
1429
|
if (typeof optionsOrCb !== "object")
|
|
1425
|
-
throw new Error(
|
|
1430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1426
1431
|
this.send(command, optionsOrCb || {}, cb);
|
|
1427
1432
|
}
|
|
1428
1433
|
else {
|
|
1429
1434
|
return this.send(command, optionsOrCb);
|
|
1430
1435
|
}
|
|
1431
|
-
}
|
|
1432
|
-
getInstanceAccessDetails(args, optionsOrCb, cb) {
|
|
1433
|
-
|
|
1436
|
+
};
|
|
1437
|
+
Lightsail.prototype.getInstanceAccessDetails = function (args, optionsOrCb, cb) {
|
|
1438
|
+
var command = new GetInstanceAccessDetailsCommand(args);
|
|
1434
1439
|
if (typeof optionsOrCb === "function") {
|
|
1435
1440
|
this.send(command, optionsOrCb);
|
|
1436
1441
|
}
|
|
1437
1442
|
else if (typeof cb === "function") {
|
|
1438
1443
|
if (typeof optionsOrCb !== "object")
|
|
1439
|
-
throw new Error(
|
|
1444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1440
1445
|
this.send(command, optionsOrCb || {}, cb);
|
|
1441
1446
|
}
|
|
1442
1447
|
else {
|
|
1443
1448
|
return this.send(command, optionsOrCb);
|
|
1444
1449
|
}
|
|
1445
|
-
}
|
|
1446
|
-
getInstanceMetricData(args, optionsOrCb, cb) {
|
|
1447
|
-
|
|
1450
|
+
};
|
|
1451
|
+
Lightsail.prototype.getInstanceMetricData = function (args, optionsOrCb, cb) {
|
|
1452
|
+
var command = new GetInstanceMetricDataCommand(args);
|
|
1448
1453
|
if (typeof optionsOrCb === "function") {
|
|
1449
1454
|
this.send(command, optionsOrCb);
|
|
1450
1455
|
}
|
|
1451
1456
|
else if (typeof cb === "function") {
|
|
1452
1457
|
if (typeof optionsOrCb !== "object")
|
|
1453
|
-
throw new Error(
|
|
1458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1454
1459
|
this.send(command, optionsOrCb || {}, cb);
|
|
1455
1460
|
}
|
|
1456
1461
|
else {
|
|
1457
1462
|
return this.send(command, optionsOrCb);
|
|
1458
1463
|
}
|
|
1459
|
-
}
|
|
1460
|
-
getInstancePortStates(args, optionsOrCb, cb) {
|
|
1461
|
-
|
|
1464
|
+
};
|
|
1465
|
+
Lightsail.prototype.getInstancePortStates = function (args, optionsOrCb, cb) {
|
|
1466
|
+
var command = new GetInstancePortStatesCommand(args);
|
|
1462
1467
|
if (typeof optionsOrCb === "function") {
|
|
1463
1468
|
this.send(command, optionsOrCb);
|
|
1464
1469
|
}
|
|
1465
1470
|
else if (typeof cb === "function") {
|
|
1466
1471
|
if (typeof optionsOrCb !== "object")
|
|
1467
|
-
throw new Error(
|
|
1472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1468
1473
|
this.send(command, optionsOrCb || {}, cb);
|
|
1469
1474
|
}
|
|
1470
1475
|
else {
|
|
1471
1476
|
return this.send(command, optionsOrCb);
|
|
1472
1477
|
}
|
|
1473
|
-
}
|
|
1474
|
-
getInstances(args, optionsOrCb, cb) {
|
|
1475
|
-
|
|
1478
|
+
};
|
|
1479
|
+
Lightsail.prototype.getInstances = function (args, optionsOrCb, cb) {
|
|
1480
|
+
var command = new GetInstancesCommand(args);
|
|
1476
1481
|
if (typeof optionsOrCb === "function") {
|
|
1477
1482
|
this.send(command, optionsOrCb);
|
|
1478
1483
|
}
|
|
1479
1484
|
else if (typeof cb === "function") {
|
|
1480
1485
|
if (typeof optionsOrCb !== "object")
|
|
1481
|
-
throw new Error(
|
|
1486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1482
1487
|
this.send(command, optionsOrCb || {}, cb);
|
|
1483
1488
|
}
|
|
1484
1489
|
else {
|
|
1485
1490
|
return this.send(command, optionsOrCb);
|
|
1486
1491
|
}
|
|
1487
|
-
}
|
|
1488
|
-
getInstanceSnapshot(args, optionsOrCb, cb) {
|
|
1489
|
-
|
|
1492
|
+
};
|
|
1493
|
+
Lightsail.prototype.getInstanceSnapshot = function (args, optionsOrCb, cb) {
|
|
1494
|
+
var command = new GetInstanceSnapshotCommand(args);
|
|
1490
1495
|
if (typeof optionsOrCb === "function") {
|
|
1491
1496
|
this.send(command, optionsOrCb);
|
|
1492
1497
|
}
|
|
1493
1498
|
else if (typeof cb === "function") {
|
|
1494
1499
|
if (typeof optionsOrCb !== "object")
|
|
1495
|
-
throw new Error(
|
|
1500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1496
1501
|
this.send(command, optionsOrCb || {}, cb);
|
|
1497
1502
|
}
|
|
1498
1503
|
else {
|
|
1499
1504
|
return this.send(command, optionsOrCb);
|
|
1500
1505
|
}
|
|
1501
|
-
}
|
|
1502
|
-
getInstanceSnapshots(args, optionsOrCb, cb) {
|
|
1503
|
-
|
|
1506
|
+
};
|
|
1507
|
+
Lightsail.prototype.getInstanceSnapshots = function (args, optionsOrCb, cb) {
|
|
1508
|
+
var command = new GetInstanceSnapshotsCommand(args);
|
|
1504
1509
|
if (typeof optionsOrCb === "function") {
|
|
1505
1510
|
this.send(command, optionsOrCb);
|
|
1506
1511
|
}
|
|
1507
1512
|
else if (typeof cb === "function") {
|
|
1508
1513
|
if (typeof optionsOrCb !== "object")
|
|
1509
|
-
throw new Error(
|
|
1514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1510
1515
|
this.send(command, optionsOrCb || {}, cb);
|
|
1511
1516
|
}
|
|
1512
1517
|
else {
|
|
1513
1518
|
return this.send(command, optionsOrCb);
|
|
1514
1519
|
}
|
|
1515
|
-
}
|
|
1516
|
-
getInstanceState(args, optionsOrCb, cb) {
|
|
1517
|
-
|
|
1520
|
+
};
|
|
1521
|
+
Lightsail.prototype.getInstanceState = function (args, optionsOrCb, cb) {
|
|
1522
|
+
var command = new GetInstanceStateCommand(args);
|
|
1518
1523
|
if (typeof optionsOrCb === "function") {
|
|
1519
1524
|
this.send(command, optionsOrCb);
|
|
1520
1525
|
}
|
|
1521
1526
|
else if (typeof cb === "function") {
|
|
1522
1527
|
if (typeof optionsOrCb !== "object")
|
|
1523
|
-
throw new Error(
|
|
1528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1524
1529
|
this.send(command, optionsOrCb || {}, cb);
|
|
1525
1530
|
}
|
|
1526
1531
|
else {
|
|
1527
1532
|
return this.send(command, optionsOrCb);
|
|
1528
1533
|
}
|
|
1529
|
-
}
|
|
1530
|
-
getKeyPair(args, optionsOrCb, cb) {
|
|
1531
|
-
|
|
1534
|
+
};
|
|
1535
|
+
Lightsail.prototype.getKeyPair = function (args, optionsOrCb, cb) {
|
|
1536
|
+
var command = new GetKeyPairCommand(args);
|
|
1532
1537
|
if (typeof optionsOrCb === "function") {
|
|
1533
1538
|
this.send(command, optionsOrCb);
|
|
1534
1539
|
}
|
|
1535
1540
|
else if (typeof cb === "function") {
|
|
1536
1541
|
if (typeof optionsOrCb !== "object")
|
|
1537
|
-
throw new Error(
|
|
1542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1538
1543
|
this.send(command, optionsOrCb || {}, cb);
|
|
1539
1544
|
}
|
|
1540
1545
|
else {
|
|
1541
1546
|
return this.send(command, optionsOrCb);
|
|
1542
1547
|
}
|
|
1543
|
-
}
|
|
1544
|
-
getKeyPairs(args, optionsOrCb, cb) {
|
|
1545
|
-
|
|
1548
|
+
};
|
|
1549
|
+
Lightsail.prototype.getKeyPairs = function (args, optionsOrCb, cb) {
|
|
1550
|
+
var command = new GetKeyPairsCommand(args);
|
|
1546
1551
|
if (typeof optionsOrCb === "function") {
|
|
1547
1552
|
this.send(command, optionsOrCb);
|
|
1548
1553
|
}
|
|
1549
1554
|
else if (typeof cb === "function") {
|
|
1550
1555
|
if (typeof optionsOrCb !== "object")
|
|
1551
|
-
throw new Error(
|
|
1556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1552
1557
|
this.send(command, optionsOrCb || {}, cb);
|
|
1553
1558
|
}
|
|
1554
1559
|
else {
|
|
1555
1560
|
return this.send(command, optionsOrCb);
|
|
1556
1561
|
}
|
|
1557
|
-
}
|
|
1558
|
-
getLoadBalancer(args, optionsOrCb, cb) {
|
|
1559
|
-
|
|
1562
|
+
};
|
|
1563
|
+
Lightsail.prototype.getLoadBalancer = function (args, optionsOrCb, cb) {
|
|
1564
|
+
var command = new GetLoadBalancerCommand(args);
|
|
1560
1565
|
if (typeof optionsOrCb === "function") {
|
|
1561
1566
|
this.send(command, optionsOrCb);
|
|
1562
1567
|
}
|
|
1563
1568
|
else if (typeof cb === "function") {
|
|
1564
1569
|
if (typeof optionsOrCb !== "object")
|
|
1565
|
-
throw new Error(
|
|
1570
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1566
1571
|
this.send(command, optionsOrCb || {}, cb);
|
|
1567
1572
|
}
|
|
1568
1573
|
else {
|
|
1569
1574
|
return this.send(command, optionsOrCb);
|
|
1570
1575
|
}
|
|
1571
|
-
}
|
|
1572
|
-
getLoadBalancerMetricData(args, optionsOrCb, cb) {
|
|
1573
|
-
|
|
1576
|
+
};
|
|
1577
|
+
Lightsail.prototype.getLoadBalancerMetricData = function (args, optionsOrCb, cb) {
|
|
1578
|
+
var command = new GetLoadBalancerMetricDataCommand(args);
|
|
1574
1579
|
if (typeof optionsOrCb === "function") {
|
|
1575
1580
|
this.send(command, optionsOrCb);
|
|
1576
1581
|
}
|
|
1577
1582
|
else if (typeof cb === "function") {
|
|
1578
1583
|
if (typeof optionsOrCb !== "object")
|
|
1579
|
-
throw new Error(
|
|
1584
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1580
1585
|
this.send(command, optionsOrCb || {}, cb);
|
|
1581
1586
|
}
|
|
1582
1587
|
else {
|
|
1583
1588
|
return this.send(command, optionsOrCb);
|
|
1584
1589
|
}
|
|
1585
|
-
}
|
|
1586
|
-
getLoadBalancers(args, optionsOrCb, cb) {
|
|
1587
|
-
|
|
1590
|
+
};
|
|
1591
|
+
Lightsail.prototype.getLoadBalancers = function (args, optionsOrCb, cb) {
|
|
1592
|
+
var command = new GetLoadBalancersCommand(args);
|
|
1588
1593
|
if (typeof optionsOrCb === "function") {
|
|
1589
1594
|
this.send(command, optionsOrCb);
|
|
1590
1595
|
}
|
|
1591
1596
|
else if (typeof cb === "function") {
|
|
1592
1597
|
if (typeof optionsOrCb !== "object")
|
|
1593
|
-
throw new Error(
|
|
1598
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1594
1599
|
this.send(command, optionsOrCb || {}, cb);
|
|
1595
1600
|
}
|
|
1596
1601
|
else {
|
|
1597
1602
|
return this.send(command, optionsOrCb);
|
|
1598
1603
|
}
|
|
1599
|
-
}
|
|
1600
|
-
getLoadBalancerTlsCertificates(args, optionsOrCb, cb) {
|
|
1601
|
-
|
|
1604
|
+
};
|
|
1605
|
+
Lightsail.prototype.getLoadBalancerTlsCertificates = function (args, optionsOrCb, cb) {
|
|
1606
|
+
var command = new GetLoadBalancerTlsCertificatesCommand(args);
|
|
1602
1607
|
if (typeof optionsOrCb === "function") {
|
|
1603
1608
|
this.send(command, optionsOrCb);
|
|
1604
1609
|
}
|
|
1605
1610
|
else if (typeof cb === "function") {
|
|
1606
1611
|
if (typeof optionsOrCb !== "object")
|
|
1607
|
-
throw new Error(
|
|
1612
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1608
1613
|
this.send(command, optionsOrCb || {}, cb);
|
|
1609
1614
|
}
|
|
1610
1615
|
else {
|
|
1611
1616
|
return this.send(command, optionsOrCb);
|
|
1612
1617
|
}
|
|
1613
|
-
}
|
|
1614
|
-
getLoadBalancerTlsPolicies(args, optionsOrCb, cb) {
|
|
1615
|
-
|
|
1618
|
+
};
|
|
1619
|
+
Lightsail.prototype.getLoadBalancerTlsPolicies = function (args, optionsOrCb, cb) {
|
|
1620
|
+
var command = new GetLoadBalancerTlsPoliciesCommand(args);
|
|
1616
1621
|
if (typeof optionsOrCb === "function") {
|
|
1617
1622
|
this.send(command, optionsOrCb);
|
|
1618
1623
|
}
|
|
1619
1624
|
else if (typeof cb === "function") {
|
|
1620
1625
|
if (typeof optionsOrCb !== "object")
|
|
1621
|
-
throw new Error(
|
|
1626
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1622
1627
|
this.send(command, optionsOrCb || {}, cb);
|
|
1623
1628
|
}
|
|
1624
1629
|
else {
|
|
1625
1630
|
return this.send(command, optionsOrCb);
|
|
1626
1631
|
}
|
|
1627
|
-
}
|
|
1628
|
-
getOperation(args, optionsOrCb, cb) {
|
|
1629
|
-
|
|
1632
|
+
};
|
|
1633
|
+
Lightsail.prototype.getOperation = function (args, optionsOrCb, cb) {
|
|
1634
|
+
var command = new GetOperationCommand(args);
|
|
1630
1635
|
if (typeof optionsOrCb === "function") {
|
|
1631
1636
|
this.send(command, optionsOrCb);
|
|
1632
1637
|
}
|
|
1633
1638
|
else if (typeof cb === "function") {
|
|
1634
1639
|
if (typeof optionsOrCb !== "object")
|
|
1635
|
-
throw new Error(
|
|
1640
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1636
1641
|
this.send(command, optionsOrCb || {}, cb);
|
|
1637
1642
|
}
|
|
1638
1643
|
else {
|
|
1639
1644
|
return this.send(command, optionsOrCb);
|
|
1640
1645
|
}
|
|
1641
|
-
}
|
|
1642
|
-
getOperations(args, optionsOrCb, cb) {
|
|
1643
|
-
|
|
1646
|
+
};
|
|
1647
|
+
Lightsail.prototype.getOperations = function (args, optionsOrCb, cb) {
|
|
1648
|
+
var command = new GetOperationsCommand(args);
|
|
1644
1649
|
if (typeof optionsOrCb === "function") {
|
|
1645
1650
|
this.send(command, optionsOrCb);
|
|
1646
1651
|
}
|
|
1647
1652
|
else if (typeof cb === "function") {
|
|
1648
1653
|
if (typeof optionsOrCb !== "object")
|
|
1649
|
-
throw new Error(
|
|
1654
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1650
1655
|
this.send(command, optionsOrCb || {}, cb);
|
|
1651
1656
|
}
|
|
1652
1657
|
else {
|
|
1653
1658
|
return this.send(command, optionsOrCb);
|
|
1654
1659
|
}
|
|
1655
|
-
}
|
|
1656
|
-
getOperationsForResource(args, optionsOrCb, cb) {
|
|
1657
|
-
|
|
1660
|
+
};
|
|
1661
|
+
Lightsail.prototype.getOperationsForResource = function (args, optionsOrCb, cb) {
|
|
1662
|
+
var command = new GetOperationsForResourceCommand(args);
|
|
1658
1663
|
if (typeof optionsOrCb === "function") {
|
|
1659
1664
|
this.send(command, optionsOrCb);
|
|
1660
1665
|
}
|
|
1661
1666
|
else if (typeof cb === "function") {
|
|
1662
1667
|
if (typeof optionsOrCb !== "object")
|
|
1663
|
-
throw new Error(
|
|
1668
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1664
1669
|
this.send(command, optionsOrCb || {}, cb);
|
|
1665
1670
|
}
|
|
1666
1671
|
else {
|
|
1667
1672
|
return this.send(command, optionsOrCb);
|
|
1668
1673
|
}
|
|
1669
|
-
}
|
|
1670
|
-
getRegions(args, optionsOrCb, cb) {
|
|
1671
|
-
|
|
1674
|
+
};
|
|
1675
|
+
Lightsail.prototype.getRegions = function (args, optionsOrCb, cb) {
|
|
1676
|
+
var command = new GetRegionsCommand(args);
|
|
1672
1677
|
if (typeof optionsOrCb === "function") {
|
|
1673
1678
|
this.send(command, optionsOrCb);
|
|
1674
1679
|
}
|
|
1675
1680
|
else if (typeof cb === "function") {
|
|
1676
1681
|
if (typeof optionsOrCb !== "object")
|
|
1677
|
-
throw new Error(
|
|
1682
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1678
1683
|
this.send(command, optionsOrCb || {}, cb);
|
|
1679
1684
|
}
|
|
1680
1685
|
else {
|
|
1681
1686
|
return this.send(command, optionsOrCb);
|
|
1682
1687
|
}
|
|
1683
|
-
}
|
|
1684
|
-
getRelationalDatabase(args, optionsOrCb, cb) {
|
|
1685
|
-
|
|
1688
|
+
};
|
|
1689
|
+
Lightsail.prototype.getRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
1690
|
+
var command = new GetRelationalDatabaseCommand(args);
|
|
1686
1691
|
if (typeof optionsOrCb === "function") {
|
|
1687
1692
|
this.send(command, optionsOrCb);
|
|
1688
1693
|
}
|
|
1689
1694
|
else if (typeof cb === "function") {
|
|
1690
1695
|
if (typeof optionsOrCb !== "object")
|
|
1691
|
-
throw new Error(
|
|
1696
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1692
1697
|
this.send(command, optionsOrCb || {}, cb);
|
|
1693
1698
|
}
|
|
1694
1699
|
else {
|
|
1695
1700
|
return this.send(command, optionsOrCb);
|
|
1696
1701
|
}
|
|
1697
|
-
}
|
|
1698
|
-
getRelationalDatabaseBlueprints(args, optionsOrCb, cb) {
|
|
1699
|
-
|
|
1702
|
+
};
|
|
1703
|
+
Lightsail.prototype.getRelationalDatabaseBlueprints = function (args, optionsOrCb, cb) {
|
|
1704
|
+
var command = new GetRelationalDatabaseBlueprintsCommand(args);
|
|
1700
1705
|
if (typeof optionsOrCb === "function") {
|
|
1701
1706
|
this.send(command, optionsOrCb);
|
|
1702
1707
|
}
|
|
1703
1708
|
else if (typeof cb === "function") {
|
|
1704
1709
|
if (typeof optionsOrCb !== "object")
|
|
1705
|
-
throw new Error(
|
|
1710
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1706
1711
|
this.send(command, optionsOrCb || {}, cb);
|
|
1707
1712
|
}
|
|
1708
1713
|
else {
|
|
1709
1714
|
return this.send(command, optionsOrCb);
|
|
1710
1715
|
}
|
|
1711
|
-
}
|
|
1712
|
-
getRelationalDatabaseBundles(args, optionsOrCb, cb) {
|
|
1713
|
-
|
|
1716
|
+
};
|
|
1717
|
+
Lightsail.prototype.getRelationalDatabaseBundles = function (args, optionsOrCb, cb) {
|
|
1718
|
+
var command = new GetRelationalDatabaseBundlesCommand(args);
|
|
1714
1719
|
if (typeof optionsOrCb === "function") {
|
|
1715
1720
|
this.send(command, optionsOrCb);
|
|
1716
1721
|
}
|
|
1717
1722
|
else if (typeof cb === "function") {
|
|
1718
1723
|
if (typeof optionsOrCb !== "object")
|
|
1719
|
-
throw new Error(
|
|
1724
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1720
1725
|
this.send(command, optionsOrCb || {}, cb);
|
|
1721
1726
|
}
|
|
1722
1727
|
else {
|
|
1723
1728
|
return this.send(command, optionsOrCb);
|
|
1724
1729
|
}
|
|
1725
|
-
}
|
|
1726
|
-
getRelationalDatabaseEvents(args, optionsOrCb, cb) {
|
|
1727
|
-
|
|
1730
|
+
};
|
|
1731
|
+
Lightsail.prototype.getRelationalDatabaseEvents = function (args, optionsOrCb, cb) {
|
|
1732
|
+
var command = new GetRelationalDatabaseEventsCommand(args);
|
|
1728
1733
|
if (typeof optionsOrCb === "function") {
|
|
1729
1734
|
this.send(command, optionsOrCb);
|
|
1730
1735
|
}
|
|
1731
1736
|
else if (typeof cb === "function") {
|
|
1732
1737
|
if (typeof optionsOrCb !== "object")
|
|
1733
|
-
throw new Error(
|
|
1738
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1734
1739
|
this.send(command, optionsOrCb || {}, cb);
|
|
1735
1740
|
}
|
|
1736
1741
|
else {
|
|
1737
1742
|
return this.send(command, optionsOrCb);
|
|
1738
1743
|
}
|
|
1739
|
-
}
|
|
1740
|
-
getRelationalDatabaseLogEvents(args, optionsOrCb, cb) {
|
|
1741
|
-
|
|
1744
|
+
};
|
|
1745
|
+
Lightsail.prototype.getRelationalDatabaseLogEvents = function (args, optionsOrCb, cb) {
|
|
1746
|
+
var command = new GetRelationalDatabaseLogEventsCommand(args);
|
|
1742
1747
|
if (typeof optionsOrCb === "function") {
|
|
1743
1748
|
this.send(command, optionsOrCb);
|
|
1744
1749
|
}
|
|
1745
1750
|
else if (typeof cb === "function") {
|
|
1746
1751
|
if (typeof optionsOrCb !== "object")
|
|
1747
|
-
throw new Error(
|
|
1752
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1748
1753
|
this.send(command, optionsOrCb || {}, cb);
|
|
1749
1754
|
}
|
|
1750
1755
|
else {
|
|
1751
1756
|
return this.send(command, optionsOrCb);
|
|
1752
1757
|
}
|
|
1753
|
-
}
|
|
1754
|
-
getRelationalDatabaseLogStreams(args, optionsOrCb, cb) {
|
|
1755
|
-
|
|
1758
|
+
};
|
|
1759
|
+
Lightsail.prototype.getRelationalDatabaseLogStreams = function (args, optionsOrCb, cb) {
|
|
1760
|
+
var command = new GetRelationalDatabaseLogStreamsCommand(args);
|
|
1756
1761
|
if (typeof optionsOrCb === "function") {
|
|
1757
1762
|
this.send(command, optionsOrCb);
|
|
1758
1763
|
}
|
|
1759
1764
|
else if (typeof cb === "function") {
|
|
1760
1765
|
if (typeof optionsOrCb !== "object")
|
|
1761
|
-
throw new Error(
|
|
1766
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1762
1767
|
this.send(command, optionsOrCb || {}, cb);
|
|
1763
1768
|
}
|
|
1764
1769
|
else {
|
|
1765
1770
|
return this.send(command, optionsOrCb);
|
|
1766
1771
|
}
|
|
1767
|
-
}
|
|
1768
|
-
getRelationalDatabaseMasterUserPassword(args, optionsOrCb, cb) {
|
|
1769
|
-
|
|
1772
|
+
};
|
|
1773
|
+
Lightsail.prototype.getRelationalDatabaseMasterUserPassword = function (args, optionsOrCb, cb) {
|
|
1774
|
+
var command = new GetRelationalDatabaseMasterUserPasswordCommand(args);
|
|
1770
1775
|
if (typeof optionsOrCb === "function") {
|
|
1771
1776
|
this.send(command, optionsOrCb);
|
|
1772
1777
|
}
|
|
1773
1778
|
else if (typeof cb === "function") {
|
|
1774
1779
|
if (typeof optionsOrCb !== "object")
|
|
1775
|
-
throw new Error(
|
|
1780
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1776
1781
|
this.send(command, optionsOrCb || {}, cb);
|
|
1777
1782
|
}
|
|
1778
1783
|
else {
|
|
1779
1784
|
return this.send(command, optionsOrCb);
|
|
1780
1785
|
}
|
|
1781
|
-
}
|
|
1782
|
-
getRelationalDatabaseMetricData(args, optionsOrCb, cb) {
|
|
1783
|
-
|
|
1786
|
+
};
|
|
1787
|
+
Lightsail.prototype.getRelationalDatabaseMetricData = function (args, optionsOrCb, cb) {
|
|
1788
|
+
var command = new GetRelationalDatabaseMetricDataCommand(args);
|
|
1784
1789
|
if (typeof optionsOrCb === "function") {
|
|
1785
1790
|
this.send(command, optionsOrCb);
|
|
1786
1791
|
}
|
|
1787
1792
|
else if (typeof cb === "function") {
|
|
1788
1793
|
if (typeof optionsOrCb !== "object")
|
|
1789
|
-
throw new Error(
|
|
1794
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1790
1795
|
this.send(command, optionsOrCb || {}, cb);
|
|
1791
1796
|
}
|
|
1792
1797
|
else {
|
|
1793
1798
|
return this.send(command, optionsOrCb);
|
|
1794
1799
|
}
|
|
1795
|
-
}
|
|
1796
|
-
getRelationalDatabaseParameters(args, optionsOrCb, cb) {
|
|
1797
|
-
|
|
1800
|
+
};
|
|
1801
|
+
Lightsail.prototype.getRelationalDatabaseParameters = function (args, optionsOrCb, cb) {
|
|
1802
|
+
var command = new GetRelationalDatabaseParametersCommand(args);
|
|
1798
1803
|
if (typeof optionsOrCb === "function") {
|
|
1799
1804
|
this.send(command, optionsOrCb);
|
|
1800
1805
|
}
|
|
1801
1806
|
else if (typeof cb === "function") {
|
|
1802
1807
|
if (typeof optionsOrCb !== "object")
|
|
1803
|
-
throw new Error(
|
|
1808
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1804
1809
|
this.send(command, optionsOrCb || {}, cb);
|
|
1805
1810
|
}
|
|
1806
1811
|
else {
|
|
1807
1812
|
return this.send(command, optionsOrCb);
|
|
1808
1813
|
}
|
|
1809
|
-
}
|
|
1810
|
-
getRelationalDatabases(args, optionsOrCb, cb) {
|
|
1811
|
-
|
|
1814
|
+
};
|
|
1815
|
+
Lightsail.prototype.getRelationalDatabases = function (args, optionsOrCb, cb) {
|
|
1816
|
+
var command = new GetRelationalDatabasesCommand(args);
|
|
1812
1817
|
if (typeof optionsOrCb === "function") {
|
|
1813
1818
|
this.send(command, optionsOrCb);
|
|
1814
1819
|
}
|
|
1815
1820
|
else if (typeof cb === "function") {
|
|
1816
1821
|
if (typeof optionsOrCb !== "object")
|
|
1817
|
-
throw new Error(
|
|
1822
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1818
1823
|
this.send(command, optionsOrCb || {}, cb);
|
|
1819
1824
|
}
|
|
1820
1825
|
else {
|
|
1821
1826
|
return this.send(command, optionsOrCb);
|
|
1822
1827
|
}
|
|
1823
|
-
}
|
|
1824
|
-
getRelationalDatabaseSnapshot(args, optionsOrCb, cb) {
|
|
1825
|
-
|
|
1828
|
+
};
|
|
1829
|
+
Lightsail.prototype.getRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
|
|
1830
|
+
var command = new GetRelationalDatabaseSnapshotCommand(args);
|
|
1826
1831
|
if (typeof optionsOrCb === "function") {
|
|
1827
1832
|
this.send(command, optionsOrCb);
|
|
1828
1833
|
}
|
|
1829
1834
|
else if (typeof cb === "function") {
|
|
1830
1835
|
if (typeof optionsOrCb !== "object")
|
|
1831
|
-
throw new Error(
|
|
1836
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1832
1837
|
this.send(command, optionsOrCb || {}, cb);
|
|
1833
1838
|
}
|
|
1834
1839
|
else {
|
|
1835
1840
|
return this.send(command, optionsOrCb);
|
|
1836
1841
|
}
|
|
1837
|
-
}
|
|
1838
|
-
getRelationalDatabaseSnapshots(args, optionsOrCb, cb) {
|
|
1839
|
-
|
|
1842
|
+
};
|
|
1843
|
+
Lightsail.prototype.getRelationalDatabaseSnapshots = function (args, optionsOrCb, cb) {
|
|
1844
|
+
var command = new GetRelationalDatabaseSnapshotsCommand(args);
|
|
1840
1845
|
if (typeof optionsOrCb === "function") {
|
|
1841
1846
|
this.send(command, optionsOrCb);
|
|
1842
1847
|
}
|
|
1843
1848
|
else if (typeof cb === "function") {
|
|
1844
1849
|
if (typeof optionsOrCb !== "object")
|
|
1845
|
-
throw new Error(
|
|
1850
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1846
1851
|
this.send(command, optionsOrCb || {}, cb);
|
|
1847
1852
|
}
|
|
1848
1853
|
else {
|
|
1849
1854
|
return this.send(command, optionsOrCb);
|
|
1850
1855
|
}
|
|
1851
|
-
}
|
|
1852
|
-
getStaticIp(args, optionsOrCb, cb) {
|
|
1853
|
-
|
|
1856
|
+
};
|
|
1857
|
+
Lightsail.prototype.getStaticIp = function (args, optionsOrCb, cb) {
|
|
1858
|
+
var command = new GetStaticIpCommand(args);
|
|
1854
1859
|
if (typeof optionsOrCb === "function") {
|
|
1855
1860
|
this.send(command, optionsOrCb);
|
|
1856
1861
|
}
|
|
1857
1862
|
else if (typeof cb === "function") {
|
|
1858
1863
|
if (typeof optionsOrCb !== "object")
|
|
1859
|
-
throw new Error(
|
|
1864
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1860
1865
|
this.send(command, optionsOrCb || {}, cb);
|
|
1861
1866
|
}
|
|
1862
1867
|
else {
|
|
1863
1868
|
return this.send(command, optionsOrCb);
|
|
1864
1869
|
}
|
|
1865
|
-
}
|
|
1866
|
-
getStaticIps(args, optionsOrCb, cb) {
|
|
1867
|
-
|
|
1870
|
+
};
|
|
1871
|
+
Lightsail.prototype.getStaticIps = function (args, optionsOrCb, cb) {
|
|
1872
|
+
var command = new GetStaticIpsCommand(args);
|
|
1868
1873
|
if (typeof optionsOrCb === "function") {
|
|
1869
1874
|
this.send(command, optionsOrCb);
|
|
1870
1875
|
}
|
|
1871
1876
|
else if (typeof cb === "function") {
|
|
1872
1877
|
if (typeof optionsOrCb !== "object")
|
|
1873
|
-
throw new Error(
|
|
1878
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1874
1879
|
this.send(command, optionsOrCb || {}, cb);
|
|
1875
1880
|
}
|
|
1876
1881
|
else {
|
|
1877
1882
|
return this.send(command, optionsOrCb);
|
|
1878
1883
|
}
|
|
1879
|
-
}
|
|
1880
|
-
importKeyPair(args, optionsOrCb, cb) {
|
|
1881
|
-
|
|
1884
|
+
};
|
|
1885
|
+
Lightsail.prototype.importKeyPair = function (args, optionsOrCb, cb) {
|
|
1886
|
+
var command = new ImportKeyPairCommand(args);
|
|
1882
1887
|
if (typeof optionsOrCb === "function") {
|
|
1883
1888
|
this.send(command, optionsOrCb);
|
|
1884
1889
|
}
|
|
1885
1890
|
else if (typeof cb === "function") {
|
|
1886
1891
|
if (typeof optionsOrCb !== "object")
|
|
1887
|
-
throw new Error(
|
|
1892
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1888
1893
|
this.send(command, optionsOrCb || {}, cb);
|
|
1889
1894
|
}
|
|
1890
1895
|
else {
|
|
1891
1896
|
return this.send(command, optionsOrCb);
|
|
1892
1897
|
}
|
|
1893
|
-
}
|
|
1894
|
-
isVpcPeered(args, optionsOrCb, cb) {
|
|
1895
|
-
|
|
1898
|
+
};
|
|
1899
|
+
Lightsail.prototype.isVpcPeered = function (args, optionsOrCb, cb) {
|
|
1900
|
+
var command = new IsVpcPeeredCommand(args);
|
|
1896
1901
|
if (typeof optionsOrCb === "function") {
|
|
1897
1902
|
this.send(command, optionsOrCb);
|
|
1898
1903
|
}
|
|
1899
1904
|
else if (typeof cb === "function") {
|
|
1900
1905
|
if (typeof optionsOrCb !== "object")
|
|
1901
|
-
throw new Error(
|
|
1906
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1902
1907
|
this.send(command, optionsOrCb || {}, cb);
|
|
1903
1908
|
}
|
|
1904
1909
|
else {
|
|
1905
1910
|
return this.send(command, optionsOrCb);
|
|
1906
1911
|
}
|
|
1907
|
-
}
|
|
1908
|
-
openInstancePublicPorts(args, optionsOrCb, cb) {
|
|
1909
|
-
|
|
1912
|
+
};
|
|
1913
|
+
Lightsail.prototype.openInstancePublicPorts = function (args, optionsOrCb, cb) {
|
|
1914
|
+
var command = new OpenInstancePublicPortsCommand(args);
|
|
1910
1915
|
if (typeof optionsOrCb === "function") {
|
|
1911
1916
|
this.send(command, optionsOrCb);
|
|
1912
1917
|
}
|
|
1913
1918
|
else if (typeof cb === "function") {
|
|
1914
1919
|
if (typeof optionsOrCb !== "object")
|
|
1915
|
-
throw new Error(
|
|
1920
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1916
1921
|
this.send(command, optionsOrCb || {}, cb);
|
|
1917
1922
|
}
|
|
1918
1923
|
else {
|
|
1919
1924
|
return this.send(command, optionsOrCb);
|
|
1920
1925
|
}
|
|
1921
|
-
}
|
|
1922
|
-
peerVpc(args, optionsOrCb, cb) {
|
|
1923
|
-
|
|
1926
|
+
};
|
|
1927
|
+
Lightsail.prototype.peerVpc = function (args, optionsOrCb, cb) {
|
|
1928
|
+
var command = new PeerVpcCommand(args);
|
|
1924
1929
|
if (typeof optionsOrCb === "function") {
|
|
1925
1930
|
this.send(command, optionsOrCb);
|
|
1926
1931
|
}
|
|
1927
1932
|
else if (typeof cb === "function") {
|
|
1928
1933
|
if (typeof optionsOrCb !== "object")
|
|
1929
|
-
throw new Error(
|
|
1934
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1930
1935
|
this.send(command, optionsOrCb || {}, cb);
|
|
1931
1936
|
}
|
|
1932
1937
|
else {
|
|
1933
1938
|
return this.send(command, optionsOrCb);
|
|
1934
1939
|
}
|
|
1935
|
-
}
|
|
1936
|
-
putAlarm(args, optionsOrCb, cb) {
|
|
1937
|
-
|
|
1940
|
+
};
|
|
1941
|
+
Lightsail.prototype.putAlarm = function (args, optionsOrCb, cb) {
|
|
1942
|
+
var command = new PutAlarmCommand(args);
|
|
1938
1943
|
if (typeof optionsOrCb === "function") {
|
|
1939
1944
|
this.send(command, optionsOrCb);
|
|
1940
1945
|
}
|
|
1941
1946
|
else if (typeof cb === "function") {
|
|
1942
1947
|
if (typeof optionsOrCb !== "object")
|
|
1943
|
-
throw new Error(
|
|
1948
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1944
1949
|
this.send(command, optionsOrCb || {}, cb);
|
|
1945
1950
|
}
|
|
1946
1951
|
else {
|
|
1947
1952
|
return this.send(command, optionsOrCb);
|
|
1948
1953
|
}
|
|
1949
|
-
}
|
|
1950
|
-
putInstancePublicPorts(args, optionsOrCb, cb) {
|
|
1951
|
-
|
|
1954
|
+
};
|
|
1955
|
+
Lightsail.prototype.putInstancePublicPorts = function (args, optionsOrCb, cb) {
|
|
1956
|
+
var command = new PutInstancePublicPortsCommand(args);
|
|
1952
1957
|
if (typeof optionsOrCb === "function") {
|
|
1953
1958
|
this.send(command, optionsOrCb);
|
|
1954
1959
|
}
|
|
1955
1960
|
else if (typeof cb === "function") {
|
|
1956
1961
|
if (typeof optionsOrCb !== "object")
|
|
1957
|
-
throw new Error(
|
|
1962
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1958
1963
|
this.send(command, optionsOrCb || {}, cb);
|
|
1959
1964
|
}
|
|
1960
1965
|
else {
|
|
1961
1966
|
return this.send(command, optionsOrCb);
|
|
1962
1967
|
}
|
|
1963
|
-
}
|
|
1964
|
-
rebootInstance(args, optionsOrCb, cb) {
|
|
1965
|
-
|
|
1968
|
+
};
|
|
1969
|
+
Lightsail.prototype.rebootInstance = function (args, optionsOrCb, cb) {
|
|
1970
|
+
var command = new RebootInstanceCommand(args);
|
|
1966
1971
|
if (typeof optionsOrCb === "function") {
|
|
1967
1972
|
this.send(command, optionsOrCb);
|
|
1968
1973
|
}
|
|
1969
1974
|
else if (typeof cb === "function") {
|
|
1970
1975
|
if (typeof optionsOrCb !== "object")
|
|
1971
|
-
throw new Error(
|
|
1976
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1972
1977
|
this.send(command, optionsOrCb || {}, cb);
|
|
1973
1978
|
}
|
|
1974
1979
|
else {
|
|
1975
1980
|
return this.send(command, optionsOrCb);
|
|
1976
1981
|
}
|
|
1977
|
-
}
|
|
1978
|
-
rebootRelationalDatabase(args, optionsOrCb, cb) {
|
|
1979
|
-
|
|
1982
|
+
};
|
|
1983
|
+
Lightsail.prototype.rebootRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
1984
|
+
var command = new RebootRelationalDatabaseCommand(args);
|
|
1980
1985
|
if (typeof optionsOrCb === "function") {
|
|
1981
1986
|
this.send(command, optionsOrCb);
|
|
1982
1987
|
}
|
|
1983
1988
|
else if (typeof cb === "function") {
|
|
1984
1989
|
if (typeof optionsOrCb !== "object")
|
|
1985
|
-
throw new Error(
|
|
1990
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1986
1991
|
this.send(command, optionsOrCb || {}, cb);
|
|
1987
1992
|
}
|
|
1988
1993
|
else {
|
|
1989
1994
|
return this.send(command, optionsOrCb);
|
|
1990
1995
|
}
|
|
1991
|
-
}
|
|
1992
|
-
registerContainerImage(args, optionsOrCb, cb) {
|
|
1993
|
-
|
|
1996
|
+
};
|
|
1997
|
+
Lightsail.prototype.registerContainerImage = function (args, optionsOrCb, cb) {
|
|
1998
|
+
var command = new RegisterContainerImageCommand(args);
|
|
1994
1999
|
if (typeof optionsOrCb === "function") {
|
|
1995
2000
|
this.send(command, optionsOrCb);
|
|
1996
2001
|
}
|
|
1997
2002
|
else if (typeof cb === "function") {
|
|
1998
2003
|
if (typeof optionsOrCb !== "object")
|
|
1999
|
-
throw new Error(
|
|
2004
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2000
2005
|
this.send(command, optionsOrCb || {}, cb);
|
|
2001
2006
|
}
|
|
2002
2007
|
else {
|
|
2003
2008
|
return this.send(command, optionsOrCb);
|
|
2004
2009
|
}
|
|
2005
|
-
}
|
|
2006
|
-
releaseStaticIp(args, optionsOrCb, cb) {
|
|
2007
|
-
|
|
2010
|
+
};
|
|
2011
|
+
Lightsail.prototype.releaseStaticIp = function (args, optionsOrCb, cb) {
|
|
2012
|
+
var command = new ReleaseStaticIpCommand(args);
|
|
2008
2013
|
if (typeof optionsOrCb === "function") {
|
|
2009
2014
|
this.send(command, optionsOrCb);
|
|
2010
2015
|
}
|
|
2011
2016
|
else if (typeof cb === "function") {
|
|
2012
2017
|
if (typeof optionsOrCb !== "object")
|
|
2013
|
-
throw new Error(
|
|
2018
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2014
2019
|
this.send(command, optionsOrCb || {}, cb);
|
|
2015
2020
|
}
|
|
2016
2021
|
else {
|
|
2017
2022
|
return this.send(command, optionsOrCb);
|
|
2018
2023
|
}
|
|
2019
|
-
}
|
|
2020
|
-
resetDistributionCache(args, optionsOrCb, cb) {
|
|
2021
|
-
|
|
2024
|
+
};
|
|
2025
|
+
Lightsail.prototype.resetDistributionCache = function (args, optionsOrCb, cb) {
|
|
2026
|
+
var command = new ResetDistributionCacheCommand(args);
|
|
2022
2027
|
if (typeof optionsOrCb === "function") {
|
|
2023
2028
|
this.send(command, optionsOrCb);
|
|
2024
2029
|
}
|
|
2025
2030
|
else if (typeof cb === "function") {
|
|
2026
2031
|
if (typeof optionsOrCb !== "object")
|
|
2027
|
-
throw new Error(
|
|
2032
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2028
2033
|
this.send(command, optionsOrCb || {}, cb);
|
|
2029
2034
|
}
|
|
2030
2035
|
else {
|
|
2031
2036
|
return this.send(command, optionsOrCb);
|
|
2032
2037
|
}
|
|
2033
|
-
}
|
|
2034
|
-
sendContactMethodVerification(args, optionsOrCb, cb) {
|
|
2035
|
-
|
|
2038
|
+
};
|
|
2039
|
+
Lightsail.prototype.sendContactMethodVerification = function (args, optionsOrCb, cb) {
|
|
2040
|
+
var command = new SendContactMethodVerificationCommand(args);
|
|
2036
2041
|
if (typeof optionsOrCb === "function") {
|
|
2037
2042
|
this.send(command, optionsOrCb);
|
|
2038
2043
|
}
|
|
2039
2044
|
else if (typeof cb === "function") {
|
|
2040
2045
|
if (typeof optionsOrCb !== "object")
|
|
2041
|
-
throw new Error(
|
|
2046
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2042
2047
|
this.send(command, optionsOrCb || {}, cb);
|
|
2043
2048
|
}
|
|
2044
2049
|
else {
|
|
2045
2050
|
return this.send(command, optionsOrCb);
|
|
2046
2051
|
}
|
|
2047
|
-
}
|
|
2048
|
-
setIpAddressType(args, optionsOrCb, cb) {
|
|
2049
|
-
|
|
2052
|
+
};
|
|
2053
|
+
Lightsail.prototype.setIpAddressType = function (args, optionsOrCb, cb) {
|
|
2054
|
+
var command = new SetIpAddressTypeCommand(args);
|
|
2050
2055
|
if (typeof optionsOrCb === "function") {
|
|
2051
2056
|
this.send(command, optionsOrCb);
|
|
2052
2057
|
}
|
|
2053
2058
|
else if (typeof cb === "function") {
|
|
2054
2059
|
if (typeof optionsOrCb !== "object")
|
|
2055
|
-
throw new Error(
|
|
2060
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2056
2061
|
this.send(command, optionsOrCb || {}, cb);
|
|
2057
2062
|
}
|
|
2058
2063
|
else {
|
|
2059
2064
|
return this.send(command, optionsOrCb);
|
|
2060
2065
|
}
|
|
2061
|
-
}
|
|
2062
|
-
setResourceAccessForBucket(args, optionsOrCb, cb) {
|
|
2063
|
-
|
|
2066
|
+
};
|
|
2067
|
+
Lightsail.prototype.setResourceAccessForBucket = function (args, optionsOrCb, cb) {
|
|
2068
|
+
var command = new SetResourceAccessForBucketCommand(args);
|
|
2064
2069
|
if (typeof optionsOrCb === "function") {
|
|
2065
2070
|
this.send(command, optionsOrCb);
|
|
2066
2071
|
}
|
|
2067
2072
|
else if (typeof cb === "function") {
|
|
2068
2073
|
if (typeof optionsOrCb !== "object")
|
|
2069
|
-
throw new Error(
|
|
2074
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2070
2075
|
this.send(command, optionsOrCb || {}, cb);
|
|
2071
2076
|
}
|
|
2072
2077
|
else {
|
|
2073
2078
|
return this.send(command, optionsOrCb);
|
|
2074
2079
|
}
|
|
2075
|
-
}
|
|
2076
|
-
startInstance(args, optionsOrCb, cb) {
|
|
2077
|
-
|
|
2080
|
+
};
|
|
2081
|
+
Lightsail.prototype.startInstance = function (args, optionsOrCb, cb) {
|
|
2082
|
+
var command = new StartInstanceCommand(args);
|
|
2078
2083
|
if (typeof optionsOrCb === "function") {
|
|
2079
2084
|
this.send(command, optionsOrCb);
|
|
2080
2085
|
}
|
|
2081
2086
|
else if (typeof cb === "function") {
|
|
2082
2087
|
if (typeof optionsOrCb !== "object")
|
|
2083
|
-
throw new Error(
|
|
2088
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2084
2089
|
this.send(command, optionsOrCb || {}, cb);
|
|
2085
2090
|
}
|
|
2086
2091
|
else {
|
|
2087
2092
|
return this.send(command, optionsOrCb);
|
|
2088
2093
|
}
|
|
2089
|
-
}
|
|
2090
|
-
startRelationalDatabase(args, optionsOrCb, cb) {
|
|
2091
|
-
|
|
2094
|
+
};
|
|
2095
|
+
Lightsail.prototype.startRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
2096
|
+
var command = new StartRelationalDatabaseCommand(args);
|
|
2092
2097
|
if (typeof optionsOrCb === "function") {
|
|
2093
2098
|
this.send(command, optionsOrCb);
|
|
2094
2099
|
}
|
|
2095
2100
|
else if (typeof cb === "function") {
|
|
2096
2101
|
if (typeof optionsOrCb !== "object")
|
|
2097
|
-
throw new Error(
|
|
2102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2098
2103
|
this.send(command, optionsOrCb || {}, cb);
|
|
2099
2104
|
}
|
|
2100
2105
|
else {
|
|
2101
2106
|
return this.send(command, optionsOrCb);
|
|
2102
2107
|
}
|
|
2103
|
-
}
|
|
2104
|
-
stopInstance(args, optionsOrCb, cb) {
|
|
2105
|
-
|
|
2108
|
+
};
|
|
2109
|
+
Lightsail.prototype.stopInstance = function (args, optionsOrCb, cb) {
|
|
2110
|
+
var command = new StopInstanceCommand(args);
|
|
2106
2111
|
if (typeof optionsOrCb === "function") {
|
|
2107
2112
|
this.send(command, optionsOrCb);
|
|
2108
2113
|
}
|
|
2109
2114
|
else if (typeof cb === "function") {
|
|
2110
2115
|
if (typeof optionsOrCb !== "object")
|
|
2111
|
-
throw new Error(
|
|
2116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2112
2117
|
this.send(command, optionsOrCb || {}, cb);
|
|
2113
2118
|
}
|
|
2114
2119
|
else {
|
|
2115
2120
|
return this.send(command, optionsOrCb);
|
|
2116
2121
|
}
|
|
2117
|
-
}
|
|
2118
|
-
stopRelationalDatabase(args, optionsOrCb, cb) {
|
|
2119
|
-
|
|
2122
|
+
};
|
|
2123
|
+
Lightsail.prototype.stopRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
2124
|
+
var command = new StopRelationalDatabaseCommand(args);
|
|
2120
2125
|
if (typeof optionsOrCb === "function") {
|
|
2121
2126
|
this.send(command, optionsOrCb);
|
|
2122
2127
|
}
|
|
2123
2128
|
else if (typeof cb === "function") {
|
|
2124
2129
|
if (typeof optionsOrCb !== "object")
|
|
2125
|
-
throw new Error(
|
|
2130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2126
2131
|
this.send(command, optionsOrCb || {}, cb);
|
|
2127
2132
|
}
|
|
2128
2133
|
else {
|
|
2129
2134
|
return this.send(command, optionsOrCb);
|
|
2130
2135
|
}
|
|
2131
|
-
}
|
|
2132
|
-
tagResource(args, optionsOrCb, cb) {
|
|
2133
|
-
|
|
2136
|
+
};
|
|
2137
|
+
Lightsail.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
2138
|
+
var command = new TagResourceCommand(args);
|
|
2134
2139
|
if (typeof optionsOrCb === "function") {
|
|
2135
2140
|
this.send(command, optionsOrCb);
|
|
2136
2141
|
}
|
|
2137
2142
|
else if (typeof cb === "function") {
|
|
2138
2143
|
if (typeof optionsOrCb !== "object")
|
|
2139
|
-
throw new Error(
|
|
2144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2140
2145
|
this.send(command, optionsOrCb || {}, cb);
|
|
2141
2146
|
}
|
|
2142
2147
|
else {
|
|
2143
2148
|
return this.send(command, optionsOrCb);
|
|
2144
2149
|
}
|
|
2145
|
-
}
|
|
2146
|
-
testAlarm(args, optionsOrCb, cb) {
|
|
2147
|
-
|
|
2150
|
+
};
|
|
2151
|
+
Lightsail.prototype.testAlarm = function (args, optionsOrCb, cb) {
|
|
2152
|
+
var command = new TestAlarmCommand(args);
|
|
2148
2153
|
if (typeof optionsOrCb === "function") {
|
|
2149
2154
|
this.send(command, optionsOrCb);
|
|
2150
2155
|
}
|
|
2151
2156
|
else if (typeof cb === "function") {
|
|
2152
2157
|
if (typeof optionsOrCb !== "object")
|
|
2153
|
-
throw new Error(
|
|
2158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2154
2159
|
this.send(command, optionsOrCb || {}, cb);
|
|
2155
2160
|
}
|
|
2156
2161
|
else {
|
|
2157
2162
|
return this.send(command, optionsOrCb);
|
|
2158
2163
|
}
|
|
2159
|
-
}
|
|
2160
|
-
unpeerVpc(args, optionsOrCb, cb) {
|
|
2161
|
-
|
|
2164
|
+
};
|
|
2165
|
+
Lightsail.prototype.unpeerVpc = function (args, optionsOrCb, cb) {
|
|
2166
|
+
var command = new UnpeerVpcCommand(args);
|
|
2162
2167
|
if (typeof optionsOrCb === "function") {
|
|
2163
2168
|
this.send(command, optionsOrCb);
|
|
2164
2169
|
}
|
|
2165
2170
|
else if (typeof cb === "function") {
|
|
2166
2171
|
if (typeof optionsOrCb !== "object")
|
|
2167
|
-
throw new Error(
|
|
2172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2168
2173
|
this.send(command, optionsOrCb || {}, cb);
|
|
2169
2174
|
}
|
|
2170
2175
|
else {
|
|
2171
2176
|
return this.send(command, optionsOrCb);
|
|
2172
2177
|
}
|
|
2173
|
-
}
|
|
2174
|
-
untagResource(args, optionsOrCb, cb) {
|
|
2175
|
-
|
|
2178
|
+
};
|
|
2179
|
+
Lightsail.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
2180
|
+
var command = new UntagResourceCommand(args);
|
|
2176
2181
|
if (typeof optionsOrCb === "function") {
|
|
2177
2182
|
this.send(command, optionsOrCb);
|
|
2178
2183
|
}
|
|
2179
2184
|
else if (typeof cb === "function") {
|
|
2180
2185
|
if (typeof optionsOrCb !== "object")
|
|
2181
|
-
throw new Error(
|
|
2186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2182
2187
|
this.send(command, optionsOrCb || {}, cb);
|
|
2183
2188
|
}
|
|
2184
2189
|
else {
|
|
2185
2190
|
return this.send(command, optionsOrCb);
|
|
2186
2191
|
}
|
|
2187
|
-
}
|
|
2188
|
-
updateBucket(args, optionsOrCb, cb) {
|
|
2189
|
-
|
|
2192
|
+
};
|
|
2193
|
+
Lightsail.prototype.updateBucket = function (args, optionsOrCb, cb) {
|
|
2194
|
+
var command = new UpdateBucketCommand(args);
|
|
2190
2195
|
if (typeof optionsOrCb === "function") {
|
|
2191
2196
|
this.send(command, optionsOrCb);
|
|
2192
2197
|
}
|
|
2193
2198
|
else if (typeof cb === "function") {
|
|
2194
2199
|
if (typeof optionsOrCb !== "object")
|
|
2195
|
-
throw new Error(
|
|
2200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2196
2201
|
this.send(command, optionsOrCb || {}, cb);
|
|
2197
2202
|
}
|
|
2198
2203
|
else {
|
|
2199
2204
|
return this.send(command, optionsOrCb);
|
|
2200
2205
|
}
|
|
2201
|
-
}
|
|
2202
|
-
updateBucketBundle(args, optionsOrCb, cb) {
|
|
2203
|
-
|
|
2206
|
+
};
|
|
2207
|
+
Lightsail.prototype.updateBucketBundle = function (args, optionsOrCb, cb) {
|
|
2208
|
+
var command = new UpdateBucketBundleCommand(args);
|
|
2204
2209
|
if (typeof optionsOrCb === "function") {
|
|
2205
2210
|
this.send(command, optionsOrCb);
|
|
2206
2211
|
}
|
|
2207
2212
|
else if (typeof cb === "function") {
|
|
2208
2213
|
if (typeof optionsOrCb !== "object")
|
|
2209
|
-
throw new Error(
|
|
2214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2210
2215
|
this.send(command, optionsOrCb || {}, cb);
|
|
2211
2216
|
}
|
|
2212
2217
|
else {
|
|
2213
2218
|
return this.send(command, optionsOrCb);
|
|
2214
2219
|
}
|
|
2215
|
-
}
|
|
2216
|
-
updateContainerService(args, optionsOrCb, cb) {
|
|
2217
|
-
|
|
2220
|
+
};
|
|
2221
|
+
Lightsail.prototype.updateContainerService = function (args, optionsOrCb, cb) {
|
|
2222
|
+
var command = new UpdateContainerServiceCommand(args);
|
|
2218
2223
|
if (typeof optionsOrCb === "function") {
|
|
2219
2224
|
this.send(command, optionsOrCb);
|
|
2220
2225
|
}
|
|
2221
2226
|
else if (typeof cb === "function") {
|
|
2222
2227
|
if (typeof optionsOrCb !== "object")
|
|
2223
|
-
throw new Error(
|
|
2228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2224
2229
|
this.send(command, optionsOrCb || {}, cb);
|
|
2225
2230
|
}
|
|
2226
2231
|
else {
|
|
2227
2232
|
return this.send(command, optionsOrCb);
|
|
2228
2233
|
}
|
|
2229
|
-
}
|
|
2230
|
-
updateDistribution(args, optionsOrCb, cb) {
|
|
2231
|
-
|
|
2234
|
+
};
|
|
2235
|
+
Lightsail.prototype.updateDistribution = function (args, optionsOrCb, cb) {
|
|
2236
|
+
var command = new UpdateDistributionCommand(args);
|
|
2232
2237
|
if (typeof optionsOrCb === "function") {
|
|
2233
2238
|
this.send(command, optionsOrCb);
|
|
2234
2239
|
}
|
|
2235
2240
|
else if (typeof cb === "function") {
|
|
2236
2241
|
if (typeof optionsOrCb !== "object")
|
|
2237
|
-
throw new Error(
|
|
2242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2238
2243
|
this.send(command, optionsOrCb || {}, cb);
|
|
2239
2244
|
}
|
|
2240
2245
|
else {
|
|
2241
2246
|
return this.send(command, optionsOrCb);
|
|
2242
2247
|
}
|
|
2243
|
-
}
|
|
2244
|
-
updateDistributionBundle(args, optionsOrCb, cb) {
|
|
2245
|
-
|
|
2248
|
+
};
|
|
2249
|
+
Lightsail.prototype.updateDistributionBundle = function (args, optionsOrCb, cb) {
|
|
2250
|
+
var command = new UpdateDistributionBundleCommand(args);
|
|
2246
2251
|
if (typeof optionsOrCb === "function") {
|
|
2247
2252
|
this.send(command, optionsOrCb);
|
|
2248
2253
|
}
|
|
2249
2254
|
else if (typeof cb === "function") {
|
|
2250
2255
|
if (typeof optionsOrCb !== "object")
|
|
2251
|
-
throw new Error(
|
|
2256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2252
2257
|
this.send(command, optionsOrCb || {}, cb);
|
|
2253
2258
|
}
|
|
2254
2259
|
else {
|
|
2255
2260
|
return this.send(command, optionsOrCb);
|
|
2256
2261
|
}
|
|
2257
|
-
}
|
|
2258
|
-
updateDomainEntry(args, optionsOrCb, cb) {
|
|
2259
|
-
|
|
2262
|
+
};
|
|
2263
|
+
Lightsail.prototype.updateDomainEntry = function (args, optionsOrCb, cb) {
|
|
2264
|
+
var command = new UpdateDomainEntryCommand(args);
|
|
2260
2265
|
if (typeof optionsOrCb === "function") {
|
|
2261
2266
|
this.send(command, optionsOrCb);
|
|
2262
2267
|
}
|
|
2263
2268
|
else if (typeof cb === "function") {
|
|
2264
2269
|
if (typeof optionsOrCb !== "object")
|
|
2265
|
-
throw new Error(
|
|
2270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2266
2271
|
this.send(command, optionsOrCb || {}, cb);
|
|
2267
2272
|
}
|
|
2268
2273
|
else {
|
|
2269
2274
|
return this.send(command, optionsOrCb);
|
|
2270
2275
|
}
|
|
2271
|
-
}
|
|
2272
|
-
updateInstanceMetadataOptions(args, optionsOrCb, cb) {
|
|
2273
|
-
|
|
2276
|
+
};
|
|
2277
|
+
Lightsail.prototype.updateInstanceMetadataOptions = function (args, optionsOrCb, cb) {
|
|
2278
|
+
var command = new UpdateInstanceMetadataOptionsCommand(args);
|
|
2274
2279
|
if (typeof optionsOrCb === "function") {
|
|
2275
2280
|
this.send(command, optionsOrCb);
|
|
2276
2281
|
}
|
|
2277
2282
|
else if (typeof cb === "function") {
|
|
2278
2283
|
if (typeof optionsOrCb !== "object")
|
|
2279
|
-
throw new Error(
|
|
2284
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2280
2285
|
this.send(command, optionsOrCb || {}, cb);
|
|
2281
2286
|
}
|
|
2282
2287
|
else {
|
|
2283
2288
|
return this.send(command, optionsOrCb);
|
|
2284
2289
|
}
|
|
2285
|
-
}
|
|
2286
|
-
updateLoadBalancerAttribute(args, optionsOrCb, cb) {
|
|
2287
|
-
|
|
2290
|
+
};
|
|
2291
|
+
Lightsail.prototype.updateLoadBalancerAttribute = function (args, optionsOrCb, cb) {
|
|
2292
|
+
var command = new UpdateLoadBalancerAttributeCommand(args);
|
|
2288
2293
|
if (typeof optionsOrCb === "function") {
|
|
2289
2294
|
this.send(command, optionsOrCb);
|
|
2290
2295
|
}
|
|
2291
2296
|
else if (typeof cb === "function") {
|
|
2292
2297
|
if (typeof optionsOrCb !== "object")
|
|
2293
|
-
throw new Error(
|
|
2298
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2294
2299
|
this.send(command, optionsOrCb || {}, cb);
|
|
2295
2300
|
}
|
|
2296
2301
|
else {
|
|
2297
2302
|
return this.send(command, optionsOrCb);
|
|
2298
2303
|
}
|
|
2299
|
-
}
|
|
2300
|
-
updateRelationalDatabase(args, optionsOrCb, cb) {
|
|
2301
|
-
|
|
2304
|
+
};
|
|
2305
|
+
Lightsail.prototype.updateRelationalDatabase = function (args, optionsOrCb, cb) {
|
|
2306
|
+
var command = new UpdateRelationalDatabaseCommand(args);
|
|
2302
2307
|
if (typeof optionsOrCb === "function") {
|
|
2303
2308
|
this.send(command, optionsOrCb);
|
|
2304
2309
|
}
|
|
2305
2310
|
else if (typeof cb === "function") {
|
|
2306
2311
|
if (typeof optionsOrCb !== "object")
|
|
2307
|
-
throw new Error(
|
|
2312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2308
2313
|
this.send(command, optionsOrCb || {}, cb);
|
|
2309
2314
|
}
|
|
2310
2315
|
else {
|
|
2311
2316
|
return this.send(command, optionsOrCb);
|
|
2312
2317
|
}
|
|
2313
|
-
}
|
|
2314
|
-
updateRelationalDatabaseParameters(args, optionsOrCb, cb) {
|
|
2315
|
-
|
|
2318
|
+
};
|
|
2319
|
+
Lightsail.prototype.updateRelationalDatabaseParameters = function (args, optionsOrCb, cb) {
|
|
2320
|
+
var command = new UpdateRelationalDatabaseParametersCommand(args);
|
|
2316
2321
|
if (typeof optionsOrCb === "function") {
|
|
2317
2322
|
this.send(command, optionsOrCb);
|
|
2318
2323
|
}
|
|
2319
2324
|
else if (typeof cb === "function") {
|
|
2320
2325
|
if (typeof optionsOrCb !== "object")
|
|
2321
|
-
throw new Error(
|
|
2326
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
2322
2327
|
this.send(command, optionsOrCb || {}, cb);
|
|
2323
2328
|
}
|
|
2324
2329
|
else {
|
|
2325
2330
|
return this.send(command, optionsOrCb);
|
|
2326
2331
|
}
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2332
|
+
};
|
|
2333
|
+
return Lightsail;
|
|
2334
|
+
}(LightsailClient));
|
|
2335
|
+
export { Lightsail };
|