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