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