@aws-sdk/client-lightsail 3.181.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.
Files changed (168) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Lightsail.js +622 -629
  3. package/dist-es/LightsailClient.js +22 -28
  4. package/dist-es/commands/AllocateStaticIpCommand.js +21 -28
  5. package/dist-es/commands/AttachCertificateToDistributionCommand.js +21 -28
  6. package/dist-es/commands/AttachDiskCommand.js +21 -28
  7. package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +21 -28
  8. package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +21 -28
  9. package/dist-es/commands/AttachStaticIpCommand.js +21 -28
  10. package/dist-es/commands/CloseInstancePublicPortsCommand.js +21 -28
  11. package/dist-es/commands/CopySnapshotCommand.js +21 -28
  12. package/dist-es/commands/CreateBucketAccessKeyCommand.js +21 -28
  13. package/dist-es/commands/CreateBucketCommand.js +21 -28
  14. package/dist-es/commands/CreateCertificateCommand.js +21 -28
  15. package/dist-es/commands/CreateCloudFormationStackCommand.js +21 -28
  16. package/dist-es/commands/CreateContactMethodCommand.js +21 -28
  17. package/dist-es/commands/CreateContainerServiceCommand.js +21 -28
  18. package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +21 -28
  19. package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +21 -28
  20. package/dist-es/commands/CreateDiskCommand.js +21 -28
  21. package/dist-es/commands/CreateDiskFromSnapshotCommand.js +21 -28
  22. package/dist-es/commands/CreateDiskSnapshotCommand.js +21 -28
  23. package/dist-es/commands/CreateDistributionCommand.js +21 -28
  24. package/dist-es/commands/CreateDomainCommand.js +21 -28
  25. package/dist-es/commands/CreateDomainEntryCommand.js +21 -28
  26. package/dist-es/commands/CreateInstanceSnapshotCommand.js +21 -28
  27. package/dist-es/commands/CreateInstancesCommand.js +21 -28
  28. package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +21 -28
  29. package/dist-es/commands/CreateKeyPairCommand.js +21 -28
  30. package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
  31. package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +21 -28
  32. package/dist-es/commands/CreateRelationalDatabaseCommand.js +21 -28
  33. package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +21 -28
  34. package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +21 -28
  35. package/dist-es/commands/DeleteAlarmCommand.js +21 -28
  36. package/dist-es/commands/DeleteAutoSnapshotCommand.js +21 -28
  37. package/dist-es/commands/DeleteBucketAccessKeyCommand.js +21 -28
  38. package/dist-es/commands/DeleteBucketCommand.js +21 -28
  39. package/dist-es/commands/DeleteCertificateCommand.js +21 -28
  40. package/dist-es/commands/DeleteContactMethodCommand.js +21 -28
  41. package/dist-es/commands/DeleteContainerImageCommand.js +21 -28
  42. package/dist-es/commands/DeleteContainerServiceCommand.js +21 -28
  43. package/dist-es/commands/DeleteDiskCommand.js +21 -28
  44. package/dist-es/commands/DeleteDiskSnapshotCommand.js +21 -28
  45. package/dist-es/commands/DeleteDistributionCommand.js +21 -28
  46. package/dist-es/commands/DeleteDomainCommand.js +21 -28
  47. package/dist-es/commands/DeleteDomainEntryCommand.js +21 -28
  48. package/dist-es/commands/DeleteInstanceCommand.js +21 -28
  49. package/dist-es/commands/DeleteInstanceSnapshotCommand.js +21 -28
  50. package/dist-es/commands/DeleteKeyPairCommand.js +21 -28
  51. package/dist-es/commands/DeleteKnownHostKeysCommand.js +21 -28
  52. package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
  53. package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +21 -28
  54. package/dist-es/commands/DeleteRelationalDatabaseCommand.js +21 -28
  55. package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +21 -28
  56. package/dist-es/commands/DetachCertificateFromDistributionCommand.js +21 -28
  57. package/dist-es/commands/DetachDiskCommand.js +21 -28
  58. package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +21 -28
  59. package/dist-es/commands/DetachStaticIpCommand.js +21 -28
  60. package/dist-es/commands/DisableAddOnCommand.js +21 -28
  61. package/dist-es/commands/DownloadDefaultKeyPairCommand.js +21 -28
  62. package/dist-es/commands/EnableAddOnCommand.js +21 -28
  63. package/dist-es/commands/ExportSnapshotCommand.js +21 -28
  64. package/dist-es/commands/GetActiveNamesCommand.js +21 -28
  65. package/dist-es/commands/GetAlarmsCommand.js +21 -28
  66. package/dist-es/commands/GetAutoSnapshotsCommand.js +21 -28
  67. package/dist-es/commands/GetBlueprintsCommand.js +21 -28
  68. package/dist-es/commands/GetBucketAccessKeysCommand.js +21 -28
  69. package/dist-es/commands/GetBucketBundlesCommand.js +21 -28
  70. package/dist-es/commands/GetBucketMetricDataCommand.js +21 -28
  71. package/dist-es/commands/GetBucketsCommand.js +21 -28
  72. package/dist-es/commands/GetBundlesCommand.js +21 -28
  73. package/dist-es/commands/GetCertificatesCommand.js +21 -28
  74. package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +21 -28
  75. package/dist-es/commands/GetContactMethodsCommand.js +21 -28
  76. package/dist-es/commands/GetContainerAPIMetadataCommand.js +21 -28
  77. package/dist-es/commands/GetContainerImagesCommand.js +21 -28
  78. package/dist-es/commands/GetContainerLogCommand.js +21 -28
  79. package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +21 -28
  80. package/dist-es/commands/GetContainerServiceMetricDataCommand.js +21 -28
  81. package/dist-es/commands/GetContainerServicePowersCommand.js +21 -28
  82. package/dist-es/commands/GetContainerServicesCommand.js +21 -28
  83. package/dist-es/commands/GetDiskCommand.js +21 -28
  84. package/dist-es/commands/GetDiskSnapshotCommand.js +21 -28
  85. package/dist-es/commands/GetDiskSnapshotsCommand.js +21 -28
  86. package/dist-es/commands/GetDisksCommand.js +21 -28
  87. package/dist-es/commands/GetDistributionBundlesCommand.js +21 -28
  88. package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +21 -28
  89. package/dist-es/commands/GetDistributionMetricDataCommand.js +21 -28
  90. package/dist-es/commands/GetDistributionsCommand.js +21 -28
  91. package/dist-es/commands/GetDomainCommand.js +21 -28
  92. package/dist-es/commands/GetDomainsCommand.js +21 -28
  93. package/dist-es/commands/GetExportSnapshotRecordsCommand.js +21 -28
  94. package/dist-es/commands/GetInstanceAccessDetailsCommand.js +21 -28
  95. package/dist-es/commands/GetInstanceCommand.js +21 -28
  96. package/dist-es/commands/GetInstanceMetricDataCommand.js +21 -28
  97. package/dist-es/commands/GetInstancePortStatesCommand.js +21 -28
  98. package/dist-es/commands/GetInstanceSnapshotCommand.js +21 -28
  99. package/dist-es/commands/GetInstanceSnapshotsCommand.js +21 -28
  100. package/dist-es/commands/GetInstanceStateCommand.js +21 -28
  101. package/dist-es/commands/GetInstancesCommand.js +21 -28
  102. package/dist-es/commands/GetKeyPairCommand.js +21 -28
  103. package/dist-es/commands/GetKeyPairsCommand.js +21 -28
  104. package/dist-es/commands/GetLoadBalancerCommand.js +21 -28
  105. package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +21 -28
  106. package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +21 -28
  107. package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +21 -28
  108. package/dist-es/commands/GetLoadBalancersCommand.js +21 -28
  109. package/dist-es/commands/GetOperationCommand.js +21 -28
  110. package/dist-es/commands/GetOperationsCommand.js +21 -28
  111. package/dist-es/commands/GetOperationsForResourceCommand.js +21 -28
  112. package/dist-es/commands/GetRegionsCommand.js +21 -28
  113. package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +21 -28
  114. package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +21 -28
  115. package/dist-es/commands/GetRelationalDatabaseCommand.js +21 -28
  116. package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +21 -28
  117. package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +21 -28
  118. package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +21 -28
  119. package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +21 -28
  120. package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +21 -28
  121. package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +21 -28
  122. package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +21 -28
  123. package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +21 -28
  124. package/dist-es/commands/GetRelationalDatabasesCommand.js +21 -28
  125. package/dist-es/commands/GetStaticIpCommand.js +21 -28
  126. package/dist-es/commands/GetStaticIpsCommand.js +21 -28
  127. package/dist-es/commands/ImportKeyPairCommand.js +21 -28
  128. package/dist-es/commands/IsVpcPeeredCommand.js +21 -28
  129. package/dist-es/commands/OpenInstancePublicPortsCommand.js +21 -28
  130. package/dist-es/commands/PeerVpcCommand.js +21 -28
  131. package/dist-es/commands/PutAlarmCommand.js +21 -28
  132. package/dist-es/commands/PutInstancePublicPortsCommand.js +21 -28
  133. package/dist-es/commands/RebootInstanceCommand.js +21 -28
  134. package/dist-es/commands/RebootRelationalDatabaseCommand.js +21 -28
  135. package/dist-es/commands/RegisterContainerImageCommand.js +21 -28
  136. package/dist-es/commands/ReleaseStaticIpCommand.js +21 -28
  137. package/dist-es/commands/ResetDistributionCacheCommand.js +21 -28
  138. package/dist-es/commands/SendContactMethodVerificationCommand.js +21 -28
  139. package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
  140. package/dist-es/commands/SetResourceAccessForBucketCommand.js +21 -28
  141. package/dist-es/commands/StartInstanceCommand.js +21 -28
  142. package/dist-es/commands/StartRelationalDatabaseCommand.js +21 -28
  143. package/dist-es/commands/StopInstanceCommand.js +21 -28
  144. package/dist-es/commands/StopRelationalDatabaseCommand.js +21 -28
  145. package/dist-es/commands/TagResourceCommand.js +21 -28
  146. package/dist-es/commands/TestAlarmCommand.js +21 -28
  147. package/dist-es/commands/UnpeerVpcCommand.js +21 -28
  148. package/dist-es/commands/UntagResourceCommand.js +21 -28
  149. package/dist-es/commands/UpdateBucketBundleCommand.js +21 -28
  150. package/dist-es/commands/UpdateBucketCommand.js +21 -28
  151. package/dist-es/commands/UpdateContainerServiceCommand.js +21 -28
  152. package/dist-es/commands/UpdateDistributionBundleCommand.js +21 -28
  153. package/dist-es/commands/UpdateDistributionCommand.js +21 -28
  154. package/dist-es/commands/UpdateDomainEntryCommand.js +21 -28
  155. package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +21 -28
  156. package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +21 -28
  157. package/dist-es/commands/UpdateRelationalDatabaseCommand.js +21 -28
  158. package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +21 -28
  159. package/dist-es/endpoints.js +8 -8
  160. package/dist-es/models/LightsailServiceException.js +5 -10
  161. package/dist-es/models/models_0.js +849 -348
  162. package/dist-es/models/models_1.js +497 -166
  163. package/dist-es/protocols/Aws_json1_1.js +10880 -14201
  164. package/dist-es/runtimeConfig.browser.js +26 -12
  165. package/dist-es/runtimeConfig.js +30 -12
  166. package/dist-es/runtimeConfig.native.js +8 -5
  167. package/dist-es/runtimeConfig.shared.js +8 -11
  168. package/package.json +33 -33
@@ -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
- var Lightsail = (function (_super) {
159
- __extends(Lightsail, _super);
160
- function Lightsail() {
161
- return _super !== null && _super.apply(this, arguments) || this;
162
- }
163
- Lightsail.prototype.allocateStaticIp = function (args, optionsOrCb, cb) {
164
- var command = new AllocateStaticIpCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.attachCertificateToDistribution = function (args, optionsOrCb, cb) {
178
- var command = new AttachCertificateToDistributionCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.attachDisk = function (args, optionsOrCb, cb) {
192
- var command = new AttachDiskCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.attachInstancesToLoadBalancer = function (args, optionsOrCb, cb) {
206
- var command = new AttachInstancesToLoadBalancerCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.attachLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
220
- var command = new AttachLoadBalancerTlsCertificateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.attachStaticIp = function (args, optionsOrCb, cb) {
234
- var command = new AttachStaticIpCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.closeInstancePublicPorts = function (args, optionsOrCb, cb) {
248
- var command = new CloseInstancePublicPortsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.copySnapshot = function (args, optionsOrCb, cb) {
262
- var command = new CopySnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createBucket = function (args, optionsOrCb, cb) {
276
- var command = new CreateBucketCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createBucketAccessKey = function (args, optionsOrCb, cb) {
290
- var command = new CreateBucketAccessKeyCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createCertificate = function (args, optionsOrCb, cb) {
304
- var command = new CreateCertificateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createCloudFormationStack = function (args, optionsOrCb, cb) {
318
- var command = new CreateCloudFormationStackCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createContactMethod = function (args, optionsOrCb, cb) {
332
- var command = new CreateContactMethodCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createContainerService = function (args, optionsOrCb, cb) {
346
- var command = new CreateContainerServiceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createContainerServiceDeployment = function (args, optionsOrCb, cb) {
360
- var command = new CreateContainerServiceDeploymentCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createContainerServiceRegistryLogin = function (args, optionsOrCb, cb) {
374
- var command = new CreateContainerServiceRegistryLoginCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDisk = function (args, optionsOrCb, cb) {
388
- var command = new CreateDiskCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDiskFromSnapshot = function (args, optionsOrCb, cb) {
402
- var command = new CreateDiskFromSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDiskSnapshot = function (args, optionsOrCb, cb) {
416
- var command = new CreateDiskSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDistribution = function (args, optionsOrCb, cb) {
430
- var command = new CreateDistributionCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDomain = function (args, optionsOrCb, cb) {
444
- var command = new CreateDomainCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createDomainEntry = function (args, optionsOrCb, cb) {
458
- var command = new CreateDomainEntryCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createInstances = function (args, optionsOrCb, cb) {
472
- var command = new CreateInstancesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createInstancesFromSnapshot = function (args, optionsOrCb, cb) {
486
- var command = new CreateInstancesFromSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createInstanceSnapshot = function (args, optionsOrCb, cb) {
500
- var command = new CreateInstanceSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createKeyPair = function (args, optionsOrCb, cb) {
514
- var command = new CreateKeyPairCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createLoadBalancer = function (args, optionsOrCb, cb) {
528
- var command = new CreateLoadBalancerCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
542
- var command = new CreateLoadBalancerTlsCertificateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createRelationalDatabase = function (args, optionsOrCb, cb) {
556
- var command = new CreateRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createRelationalDatabaseFromSnapshot = function (args, optionsOrCb, cb) {
570
- var command = new CreateRelationalDatabaseFromSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.createRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
584
- var command = new CreateRelationalDatabaseSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteAlarm = function (args, optionsOrCb, cb) {
598
- var command = new DeleteAlarmCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteAutoSnapshot = function (args, optionsOrCb, cb) {
612
- var command = new DeleteAutoSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteBucket = function (args, optionsOrCb, cb) {
626
- var command = new DeleteBucketCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteBucketAccessKey = function (args, optionsOrCb, cb) {
640
- var command = new DeleteBucketAccessKeyCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteCertificate = function (args, optionsOrCb, cb) {
654
- var command = new DeleteCertificateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteContactMethod = function (args, optionsOrCb, cb) {
668
- var command = new DeleteContactMethodCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteContainerImage = function (args, optionsOrCb, cb) {
682
- var command = new DeleteContainerImageCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteContainerService = function (args, optionsOrCb, cb) {
696
- var command = new DeleteContainerServiceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteDisk = function (args, optionsOrCb, cb) {
710
- var command = new DeleteDiskCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteDiskSnapshot = function (args, optionsOrCb, cb) {
724
- var command = new DeleteDiskSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteDistribution = function (args, optionsOrCb, cb) {
738
- var command = new DeleteDistributionCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteDomain = function (args, optionsOrCb, cb) {
752
- var command = new DeleteDomainCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteDomainEntry = function (args, optionsOrCb, cb) {
766
- var command = new DeleteDomainEntryCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteInstance = function (args, optionsOrCb, cb) {
780
- var command = new DeleteInstanceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteInstanceSnapshot = function (args, optionsOrCb, cb) {
794
- var command = new DeleteInstanceSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteKeyPair = function (args, optionsOrCb, cb) {
808
- var command = new DeleteKeyPairCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteKnownHostKeys = function (args, optionsOrCb, cb) {
822
- var command = new DeleteKnownHostKeysCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteLoadBalancer = function (args, optionsOrCb, cb) {
836
- var command = new DeleteLoadBalancerCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteLoadBalancerTlsCertificate = function (args, optionsOrCb, cb) {
850
- var command = new DeleteLoadBalancerTlsCertificateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteRelationalDatabase = function (args, optionsOrCb, cb) {
864
- var command = new DeleteRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.deleteRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
878
- var command = new DeleteRelationalDatabaseSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.detachCertificateFromDistribution = function (args, optionsOrCb, cb) {
892
- var command = new DetachCertificateFromDistributionCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.detachDisk = function (args, optionsOrCb, cb) {
906
- var command = new DetachDiskCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.detachInstancesFromLoadBalancer = function (args, optionsOrCb, cb) {
920
- var command = new DetachInstancesFromLoadBalancerCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.detachStaticIp = function (args, optionsOrCb, cb) {
934
- var command = new DetachStaticIpCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.disableAddOn = function (args, optionsOrCb, cb) {
948
- var command = new DisableAddOnCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.downloadDefaultKeyPair = function (args, optionsOrCb, cb) {
962
- var command = new DownloadDefaultKeyPairCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.enableAddOn = function (args, optionsOrCb, cb) {
976
- var command = new EnableAddOnCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.exportSnapshot = function (args, optionsOrCb, cb) {
990
- var command = new ExportSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getActiveNames = function (args, optionsOrCb, cb) {
1004
- var command = new GetActiveNamesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getAlarms = function (args, optionsOrCb, cb) {
1018
- var command = new GetAlarmsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getAutoSnapshots = function (args, optionsOrCb, cb) {
1032
- var command = new GetAutoSnapshotsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBlueprints = function (args, optionsOrCb, cb) {
1046
- var command = new GetBlueprintsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBucketAccessKeys = function (args, optionsOrCb, cb) {
1060
- var command = new GetBucketAccessKeysCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBucketBundles = function (args, optionsOrCb, cb) {
1074
- var command = new GetBucketBundlesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBucketMetricData = function (args, optionsOrCb, cb) {
1088
- var command = new GetBucketMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBuckets = function (args, optionsOrCb, cb) {
1102
- var command = new GetBucketsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getBundles = function (args, optionsOrCb, cb) {
1116
- var command = new GetBundlesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getCertificates = function (args, optionsOrCb, cb) {
1130
- var command = new GetCertificatesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getCloudFormationStackRecords = function (args, optionsOrCb, cb) {
1144
- var command = new GetCloudFormationStackRecordsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContactMethods = function (args, optionsOrCb, cb) {
1158
- var command = new GetContactMethodsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerAPIMetadata = function (args, optionsOrCb, cb) {
1172
- var command = new GetContainerAPIMetadataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerImages = function (args, optionsOrCb, cb) {
1186
- var command = new GetContainerImagesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerLog = function (args, optionsOrCb, cb) {
1200
- var command = new GetContainerLogCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerServiceDeployments = function (args, optionsOrCb, cb) {
1214
- var command = new GetContainerServiceDeploymentsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerServiceMetricData = function (args, optionsOrCb, cb) {
1228
- var command = new GetContainerServiceMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerServicePowers = function (args, optionsOrCb, cb) {
1242
- var command = new GetContainerServicePowersCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getContainerServices = function (args, optionsOrCb, cb) {
1256
- var command = new GetContainerServicesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDisk = function (args, optionsOrCb, cb) {
1270
- var command = new GetDiskCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDisks = function (args, optionsOrCb, cb) {
1284
- var command = new GetDisksCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDiskSnapshot = function (args, optionsOrCb, cb) {
1298
- var command = new GetDiskSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDiskSnapshots = function (args, optionsOrCb, cb) {
1312
- var command = new GetDiskSnapshotsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDistributionBundles = function (args, optionsOrCb, cb) {
1326
- var command = new GetDistributionBundlesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDistributionLatestCacheReset = function (args, optionsOrCb, cb) {
1340
- var command = new GetDistributionLatestCacheResetCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDistributionMetricData = function (args, optionsOrCb, cb) {
1354
- var command = new GetDistributionMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDistributions = function (args, optionsOrCb, cb) {
1368
- var command = new GetDistributionsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDomain = function (args, optionsOrCb, cb) {
1382
- var command = new GetDomainCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getDomains = function (args, optionsOrCb, cb) {
1396
- var command = new GetDomainsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getExportSnapshotRecords = function (args, optionsOrCb, cb) {
1410
- var command = new GetExportSnapshotRecordsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstance = function (args, optionsOrCb, cb) {
1424
- var command = new GetInstanceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstanceAccessDetails = function (args, optionsOrCb, cb) {
1438
- var command = new GetInstanceAccessDetailsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstanceMetricData = function (args, optionsOrCb, cb) {
1452
- var command = new GetInstanceMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstancePortStates = function (args, optionsOrCb, cb) {
1466
- var command = new GetInstancePortStatesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstances = function (args, optionsOrCb, cb) {
1480
- var command = new GetInstancesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstanceSnapshot = function (args, optionsOrCb, cb) {
1494
- var command = new GetInstanceSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstanceSnapshots = function (args, optionsOrCb, cb) {
1508
- var command = new GetInstanceSnapshotsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getInstanceState = function (args, optionsOrCb, cb) {
1522
- var command = new GetInstanceStateCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getKeyPair = function (args, optionsOrCb, cb) {
1536
- var command = new GetKeyPairCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getKeyPairs = function (args, optionsOrCb, cb) {
1550
- var command = new GetKeyPairsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getLoadBalancer = function (args, optionsOrCb, cb) {
1564
- var command = new GetLoadBalancerCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getLoadBalancerMetricData = function (args, optionsOrCb, cb) {
1578
- var command = new GetLoadBalancerMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getLoadBalancers = function (args, optionsOrCb, cb) {
1592
- var command = new GetLoadBalancersCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getLoadBalancerTlsCertificates = function (args, optionsOrCb, cb) {
1606
- var command = new GetLoadBalancerTlsCertificatesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getLoadBalancerTlsPolicies = function (args, optionsOrCb, cb) {
1620
- var command = new GetLoadBalancerTlsPoliciesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getOperation = function (args, optionsOrCb, cb) {
1634
- var command = new GetOperationCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getOperations = function (args, optionsOrCb, cb) {
1648
- var command = new GetOperationsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getOperationsForResource = function (args, optionsOrCb, cb) {
1662
- var command = new GetOperationsForResourceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRegions = function (args, optionsOrCb, cb) {
1676
- var command = new GetRegionsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabase = function (args, optionsOrCb, cb) {
1690
- var command = new GetRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseBlueprints = function (args, optionsOrCb, cb) {
1704
- var command = new GetRelationalDatabaseBlueprintsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseBundles = function (args, optionsOrCb, cb) {
1718
- var command = new GetRelationalDatabaseBundlesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseEvents = function (args, optionsOrCb, cb) {
1732
- var command = new GetRelationalDatabaseEventsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseLogEvents = function (args, optionsOrCb, cb) {
1746
- var command = new GetRelationalDatabaseLogEventsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseLogStreams = function (args, optionsOrCb, cb) {
1760
- var command = new GetRelationalDatabaseLogStreamsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseMasterUserPassword = function (args, optionsOrCb, cb) {
1774
- var command = new GetRelationalDatabaseMasterUserPasswordCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseMetricData = function (args, optionsOrCb, cb) {
1788
- var command = new GetRelationalDatabaseMetricDataCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseParameters = function (args, optionsOrCb, cb) {
1802
- var command = new GetRelationalDatabaseParametersCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabases = function (args, optionsOrCb, cb) {
1816
- var command = new GetRelationalDatabasesCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseSnapshot = function (args, optionsOrCb, cb) {
1830
- var command = new GetRelationalDatabaseSnapshotCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getRelationalDatabaseSnapshots = function (args, optionsOrCb, cb) {
1844
- var command = new GetRelationalDatabaseSnapshotsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getStaticIp = function (args, optionsOrCb, cb) {
1858
- var command = new GetStaticIpCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.getStaticIps = function (args, optionsOrCb, cb) {
1872
- var command = new GetStaticIpsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.importKeyPair = function (args, optionsOrCb, cb) {
1886
- var command = new ImportKeyPairCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.isVpcPeered = function (args, optionsOrCb, cb) {
1900
- var command = new IsVpcPeeredCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.openInstancePublicPorts = function (args, optionsOrCb, cb) {
1914
- var command = new OpenInstancePublicPortsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.peerVpc = function (args, optionsOrCb, cb) {
1928
- var command = new PeerVpcCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.putAlarm = function (args, optionsOrCb, cb) {
1942
- var command = new PutAlarmCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.putInstancePublicPorts = function (args, optionsOrCb, cb) {
1956
- var command = new PutInstancePublicPortsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.rebootInstance = function (args, optionsOrCb, cb) {
1970
- var command = new RebootInstanceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.rebootRelationalDatabase = function (args, optionsOrCb, cb) {
1984
- var command = new RebootRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.registerContainerImage = function (args, optionsOrCb, cb) {
1998
- var command = new RegisterContainerImageCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.releaseStaticIp = function (args, optionsOrCb, cb) {
2012
- var command = new ReleaseStaticIpCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.resetDistributionCache = function (args, optionsOrCb, cb) {
2026
- var command = new ResetDistributionCacheCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.sendContactMethodVerification = function (args, optionsOrCb, cb) {
2040
- var command = new SendContactMethodVerificationCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.setIpAddressType = function (args, optionsOrCb, cb) {
2054
- var command = new SetIpAddressTypeCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.setResourceAccessForBucket = function (args, optionsOrCb, cb) {
2068
- var command = new SetResourceAccessForBucketCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.startInstance = function (args, optionsOrCb, cb) {
2082
- var command = new StartInstanceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.startRelationalDatabase = function (args, optionsOrCb, cb) {
2096
- var command = new StartRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.stopInstance = function (args, optionsOrCb, cb) {
2110
- var command = new StopInstanceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.stopRelationalDatabase = function (args, optionsOrCb, cb) {
2124
- var command = new StopRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.tagResource = function (args, optionsOrCb, cb) {
2138
- var command = new TagResourceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.testAlarm = function (args, optionsOrCb, cb) {
2152
- var command = new TestAlarmCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.unpeerVpc = function (args, optionsOrCb, cb) {
2166
- var command = new UnpeerVpcCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.untagResource = function (args, optionsOrCb, cb) {
2180
- var command = new UntagResourceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateBucket = function (args, optionsOrCb, cb) {
2194
- var command = new UpdateBucketCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateBucketBundle = function (args, optionsOrCb, cb) {
2208
- var command = new UpdateBucketBundleCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateContainerService = function (args, optionsOrCb, cb) {
2222
- var command = new UpdateContainerServiceCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateDistribution = function (args, optionsOrCb, cb) {
2236
- var command = new UpdateDistributionCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateDistributionBundle = function (args, optionsOrCb, cb) {
2250
- var command = new UpdateDistributionBundleCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateDomainEntry = function (args, optionsOrCb, cb) {
2264
- var command = new UpdateDomainEntryCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateInstanceMetadataOptions = function (args, optionsOrCb, cb) {
2278
- var command = new UpdateInstanceMetadataOptionsCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateLoadBalancerAttribute = function (args, optionsOrCb, cb) {
2292
- var command = new UpdateLoadBalancerAttributeCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateRelationalDatabase = function (args, optionsOrCb, cb) {
2306
- var command = new UpdateRelationalDatabaseCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- Lightsail.prototype.updateRelationalDatabaseParameters = function (args, optionsOrCb, cb) {
2320
- var command = new UpdateRelationalDatabaseParametersCommand(args);
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("Expect http options but get ".concat(typeof optionsOrCb));
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
- return Lightsail;
2334
- }(LightsailClient));
2335
- export { Lightsail };
2327
+ }
2328
+ }