@aws-sdk/client-route-53 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restXml.js +2 -2
  3. package/dist-es/Route53.js +289 -282
  4. package/dist-es/Route53Client.js +28 -22
  5. package/dist-es/commands/ActivateKeySigningKeyCommand.js +28 -21
  6. package/dist-es/commands/AssociateVPCWithHostedZoneCommand.js +28 -21
  7. package/dist-es/commands/ChangeCidrCollectionCommand.js +28 -21
  8. package/dist-es/commands/ChangeResourceRecordSetsCommand.js +28 -21
  9. package/dist-es/commands/ChangeTagsForResourceCommand.js +28 -21
  10. package/dist-es/commands/CreateCidrCollectionCommand.js +28 -21
  11. package/dist-es/commands/CreateHealthCheckCommand.js +28 -21
  12. package/dist-es/commands/CreateHostedZoneCommand.js +28 -21
  13. package/dist-es/commands/CreateKeySigningKeyCommand.js +28 -21
  14. package/dist-es/commands/CreateQueryLoggingConfigCommand.js +28 -21
  15. package/dist-es/commands/CreateReusableDelegationSetCommand.js +28 -21
  16. package/dist-es/commands/CreateTrafficPolicyCommand.js +28 -21
  17. package/dist-es/commands/CreateTrafficPolicyInstanceCommand.js +28 -21
  18. package/dist-es/commands/CreateTrafficPolicyVersionCommand.js +28 -21
  19. package/dist-es/commands/CreateVPCAssociationAuthorizationCommand.js +28 -21
  20. package/dist-es/commands/DeactivateKeySigningKeyCommand.js +28 -21
  21. package/dist-es/commands/DeleteCidrCollectionCommand.js +28 -21
  22. package/dist-es/commands/DeleteHealthCheckCommand.js +28 -21
  23. package/dist-es/commands/DeleteHostedZoneCommand.js +28 -21
  24. package/dist-es/commands/DeleteKeySigningKeyCommand.js +28 -21
  25. package/dist-es/commands/DeleteQueryLoggingConfigCommand.js +28 -21
  26. package/dist-es/commands/DeleteReusableDelegationSetCommand.js +28 -21
  27. package/dist-es/commands/DeleteTrafficPolicyCommand.js +28 -21
  28. package/dist-es/commands/DeleteTrafficPolicyInstanceCommand.js +28 -21
  29. package/dist-es/commands/DeleteVPCAssociationAuthorizationCommand.js +28 -21
  30. package/dist-es/commands/DisableHostedZoneDNSSECCommand.js +28 -21
  31. package/dist-es/commands/DisassociateVPCFromHostedZoneCommand.js +28 -21
  32. package/dist-es/commands/EnableHostedZoneDNSSECCommand.js +28 -21
  33. package/dist-es/commands/GetAccountLimitCommand.js +28 -21
  34. package/dist-es/commands/GetChangeCommand.js +28 -21
  35. package/dist-es/commands/GetCheckerIpRangesCommand.js +28 -21
  36. package/dist-es/commands/GetDNSSECCommand.js +28 -21
  37. package/dist-es/commands/GetGeoLocationCommand.js +28 -21
  38. package/dist-es/commands/GetHealthCheckCommand.js +28 -21
  39. package/dist-es/commands/GetHealthCheckCountCommand.js +28 -21
  40. package/dist-es/commands/GetHealthCheckLastFailureReasonCommand.js +28 -21
  41. package/dist-es/commands/GetHealthCheckStatusCommand.js +28 -21
  42. package/dist-es/commands/GetHostedZoneCommand.js +28 -21
  43. package/dist-es/commands/GetHostedZoneCountCommand.js +28 -21
  44. package/dist-es/commands/GetHostedZoneLimitCommand.js +28 -21
  45. package/dist-es/commands/GetQueryLoggingConfigCommand.js +28 -21
  46. package/dist-es/commands/GetReusableDelegationSetCommand.js +28 -21
  47. package/dist-es/commands/GetReusableDelegationSetLimitCommand.js +28 -21
  48. package/dist-es/commands/GetTrafficPolicyCommand.js +28 -21
  49. package/dist-es/commands/GetTrafficPolicyInstanceCommand.js +28 -21
  50. package/dist-es/commands/GetTrafficPolicyInstanceCountCommand.js +28 -21
  51. package/dist-es/commands/ListCidrBlocksCommand.js +28 -21
  52. package/dist-es/commands/ListCidrCollectionsCommand.js +28 -21
  53. package/dist-es/commands/ListCidrLocationsCommand.js +28 -21
  54. package/dist-es/commands/ListGeoLocationsCommand.js +28 -21
  55. package/dist-es/commands/ListHealthChecksCommand.js +28 -21
  56. package/dist-es/commands/ListHostedZonesByNameCommand.js +28 -21
  57. package/dist-es/commands/ListHostedZonesByVPCCommand.js +28 -21
  58. package/dist-es/commands/ListHostedZonesCommand.js +28 -21
  59. package/dist-es/commands/ListQueryLoggingConfigsCommand.js +28 -21
  60. package/dist-es/commands/ListResourceRecordSetsCommand.js +28 -21
  61. package/dist-es/commands/ListReusableDelegationSetsCommand.js +28 -21
  62. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  63. package/dist-es/commands/ListTagsForResourcesCommand.js +28 -21
  64. package/dist-es/commands/ListTrafficPoliciesCommand.js +28 -21
  65. package/dist-es/commands/ListTrafficPolicyInstancesByHostedZoneCommand.js +28 -21
  66. package/dist-es/commands/ListTrafficPolicyInstancesByPolicyCommand.js +28 -21
  67. package/dist-es/commands/ListTrafficPolicyInstancesCommand.js +28 -21
  68. package/dist-es/commands/ListTrafficPolicyVersionsCommand.js +28 -21
  69. package/dist-es/commands/ListVPCAssociationAuthorizationsCommand.js +28 -21
  70. package/dist-es/commands/TestDNSAnswerCommand.js +28 -21
  71. package/dist-es/commands/UpdateHealthCheckCommand.js +28 -21
  72. package/dist-es/commands/UpdateHostedZoneCommentCommand.js +28 -21
  73. package/dist-es/commands/UpdateTrafficPolicyCommentCommand.js +28 -21
  74. package/dist-es/commands/UpdateTrafficPolicyInstanceCommand.js +28 -21
  75. package/dist-es/endpoints.js +8 -8
  76. package/dist-es/models/Route53ServiceException.js +10 -5
  77. package/dist-es/models/models_0.js +1015 -1372
  78. package/dist-es/pagination/ListCidrBlocksPaginator.js +68 -25
  79. package/dist-es/pagination/ListCidrCollectionsPaginator.js +68 -25
  80. package/dist-es/pagination/ListCidrLocationsPaginator.js +68 -25
  81. package/dist-es/pagination/ListHealthChecksPaginator.js +68 -25
  82. package/dist-es/pagination/ListHostedZonesPaginator.js +68 -25
  83. package/dist-es/pagination/ListQueryLoggingConfigsPaginator.js +68 -25
  84. package/dist-es/protocols/Aws_restXml.js +7941 -5739
  85. package/dist-es/runtimeConfig.browser.js +12 -26
  86. package/dist-es/runtimeConfig.js +12 -30
  87. package/dist-es/runtimeConfig.native.js +5 -8
  88. package/dist-es/runtimeConfig.shared.js +11 -8
  89. package/dist-es/waiters/waitForResourceRecordSetsChanged.js +48 -28
  90. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { ActivateKeySigningKeyCommand, } from "./commands/ActivateKeySigningKeyCommand";
2
3
  import { AssociateVPCWithHostedZoneCommand, } from "./commands/AssociateVPCWithHostedZoneCommand";
3
4
  import { ChangeCidrCollectionCommand, } from "./commands/ChangeCidrCollectionCommand";
@@ -69,985 +70,991 @@ import { UpdateHostedZoneCommentCommand, } from "./commands/UpdateHostedZoneComm
69
70
  import { UpdateTrafficPolicyCommentCommand, } from "./commands/UpdateTrafficPolicyCommentCommand";
70
71
  import { UpdateTrafficPolicyInstanceCommand, } from "./commands/UpdateTrafficPolicyInstanceCommand";
71
72
  import { Route53Client } from "./Route53Client";
72
- export class Route53 extends Route53Client {
73
- activateKeySigningKey(args, optionsOrCb, cb) {
74
- const command = new ActivateKeySigningKeyCommand(args);
73
+ var Route53 = (function (_super) {
74
+ __extends(Route53, _super);
75
+ function Route53() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ Route53.prototype.activateKeySigningKey = function (args, optionsOrCb, cb) {
79
+ var command = new ActivateKeySigningKeyCommand(args);
75
80
  if (typeof optionsOrCb === "function") {
76
81
  this.send(command, optionsOrCb);
77
82
  }
78
83
  else if (typeof cb === "function") {
79
84
  if (typeof optionsOrCb !== "object")
80
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
85
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
81
86
  this.send(command, optionsOrCb || {}, cb);
82
87
  }
83
88
  else {
84
89
  return this.send(command, optionsOrCb);
85
90
  }
86
- }
87
- associateVPCWithHostedZone(args, optionsOrCb, cb) {
88
- const command = new AssociateVPCWithHostedZoneCommand(args);
91
+ };
92
+ Route53.prototype.associateVPCWithHostedZone = function (args, optionsOrCb, cb) {
93
+ var command = new AssociateVPCWithHostedZoneCommand(args);
89
94
  if (typeof optionsOrCb === "function") {
90
95
  this.send(command, optionsOrCb);
91
96
  }
92
97
  else if (typeof cb === "function") {
93
98
  if (typeof optionsOrCb !== "object")
94
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
99
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
95
100
  this.send(command, optionsOrCb || {}, cb);
96
101
  }
97
102
  else {
98
103
  return this.send(command, optionsOrCb);
99
104
  }
100
- }
101
- changeCidrCollection(args, optionsOrCb, cb) {
102
- const command = new ChangeCidrCollectionCommand(args);
105
+ };
106
+ Route53.prototype.changeCidrCollection = function (args, optionsOrCb, cb) {
107
+ var command = new ChangeCidrCollectionCommand(args);
103
108
  if (typeof optionsOrCb === "function") {
104
109
  this.send(command, optionsOrCb);
105
110
  }
106
111
  else if (typeof cb === "function") {
107
112
  if (typeof optionsOrCb !== "object")
108
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
113
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
109
114
  this.send(command, optionsOrCb || {}, cb);
110
115
  }
111
116
  else {
112
117
  return this.send(command, optionsOrCb);
113
118
  }
114
- }
115
- changeResourceRecordSets(args, optionsOrCb, cb) {
116
- const command = new ChangeResourceRecordSetsCommand(args);
119
+ };
120
+ Route53.prototype.changeResourceRecordSets = function (args, optionsOrCb, cb) {
121
+ var command = new ChangeResourceRecordSetsCommand(args);
117
122
  if (typeof optionsOrCb === "function") {
118
123
  this.send(command, optionsOrCb);
119
124
  }
120
125
  else if (typeof cb === "function") {
121
126
  if (typeof optionsOrCb !== "object")
122
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
127
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
123
128
  this.send(command, optionsOrCb || {}, cb);
124
129
  }
125
130
  else {
126
131
  return this.send(command, optionsOrCb);
127
132
  }
128
- }
129
- changeTagsForResource(args, optionsOrCb, cb) {
130
- const command = new ChangeTagsForResourceCommand(args);
133
+ };
134
+ Route53.prototype.changeTagsForResource = function (args, optionsOrCb, cb) {
135
+ var command = new ChangeTagsForResourceCommand(args);
131
136
  if (typeof optionsOrCb === "function") {
132
137
  this.send(command, optionsOrCb);
133
138
  }
134
139
  else if (typeof cb === "function") {
135
140
  if (typeof optionsOrCb !== "object")
136
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
141
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
137
142
  this.send(command, optionsOrCb || {}, cb);
138
143
  }
139
144
  else {
140
145
  return this.send(command, optionsOrCb);
141
146
  }
142
- }
143
- createCidrCollection(args, optionsOrCb, cb) {
144
- const command = new CreateCidrCollectionCommand(args);
147
+ };
148
+ Route53.prototype.createCidrCollection = function (args, optionsOrCb, cb) {
149
+ var command = new CreateCidrCollectionCommand(args);
145
150
  if (typeof optionsOrCb === "function") {
146
151
  this.send(command, optionsOrCb);
147
152
  }
148
153
  else if (typeof cb === "function") {
149
154
  if (typeof optionsOrCb !== "object")
150
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
155
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
151
156
  this.send(command, optionsOrCb || {}, cb);
152
157
  }
153
158
  else {
154
159
  return this.send(command, optionsOrCb);
155
160
  }
156
- }
157
- createHealthCheck(args, optionsOrCb, cb) {
158
- const command = new CreateHealthCheckCommand(args);
161
+ };
162
+ Route53.prototype.createHealthCheck = function (args, optionsOrCb, cb) {
163
+ var command = new CreateHealthCheckCommand(args);
159
164
  if (typeof optionsOrCb === "function") {
160
165
  this.send(command, optionsOrCb);
161
166
  }
162
167
  else if (typeof cb === "function") {
163
168
  if (typeof optionsOrCb !== "object")
164
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
169
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
165
170
  this.send(command, optionsOrCb || {}, cb);
166
171
  }
167
172
  else {
168
173
  return this.send(command, optionsOrCb);
169
174
  }
170
- }
171
- createHostedZone(args, optionsOrCb, cb) {
172
- const command = new CreateHostedZoneCommand(args);
175
+ };
176
+ Route53.prototype.createHostedZone = function (args, optionsOrCb, cb) {
177
+ var command = new CreateHostedZoneCommand(args);
173
178
  if (typeof optionsOrCb === "function") {
174
179
  this.send(command, optionsOrCb);
175
180
  }
176
181
  else if (typeof cb === "function") {
177
182
  if (typeof optionsOrCb !== "object")
178
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
183
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
179
184
  this.send(command, optionsOrCb || {}, cb);
180
185
  }
181
186
  else {
182
187
  return this.send(command, optionsOrCb);
183
188
  }
184
- }
185
- createKeySigningKey(args, optionsOrCb, cb) {
186
- const command = new CreateKeySigningKeyCommand(args);
189
+ };
190
+ Route53.prototype.createKeySigningKey = function (args, optionsOrCb, cb) {
191
+ var command = new CreateKeySigningKeyCommand(args);
187
192
  if (typeof optionsOrCb === "function") {
188
193
  this.send(command, optionsOrCb);
189
194
  }
190
195
  else if (typeof cb === "function") {
191
196
  if (typeof optionsOrCb !== "object")
192
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
197
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
193
198
  this.send(command, optionsOrCb || {}, cb);
194
199
  }
195
200
  else {
196
201
  return this.send(command, optionsOrCb);
197
202
  }
198
- }
199
- createQueryLoggingConfig(args, optionsOrCb, cb) {
200
- const command = new CreateQueryLoggingConfigCommand(args);
203
+ };
204
+ Route53.prototype.createQueryLoggingConfig = function (args, optionsOrCb, cb) {
205
+ var command = new CreateQueryLoggingConfigCommand(args);
201
206
  if (typeof optionsOrCb === "function") {
202
207
  this.send(command, optionsOrCb);
203
208
  }
204
209
  else if (typeof cb === "function") {
205
210
  if (typeof optionsOrCb !== "object")
206
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
211
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
207
212
  this.send(command, optionsOrCb || {}, cb);
208
213
  }
209
214
  else {
210
215
  return this.send(command, optionsOrCb);
211
216
  }
212
- }
213
- createReusableDelegationSet(args, optionsOrCb, cb) {
214
- const command = new CreateReusableDelegationSetCommand(args);
217
+ };
218
+ Route53.prototype.createReusableDelegationSet = function (args, optionsOrCb, cb) {
219
+ var command = new CreateReusableDelegationSetCommand(args);
215
220
  if (typeof optionsOrCb === "function") {
216
221
  this.send(command, optionsOrCb);
217
222
  }
218
223
  else if (typeof cb === "function") {
219
224
  if (typeof optionsOrCb !== "object")
220
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
225
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
221
226
  this.send(command, optionsOrCb || {}, cb);
222
227
  }
223
228
  else {
224
229
  return this.send(command, optionsOrCb);
225
230
  }
226
- }
227
- createTrafficPolicy(args, optionsOrCb, cb) {
228
- const command = new CreateTrafficPolicyCommand(args);
231
+ };
232
+ Route53.prototype.createTrafficPolicy = function (args, optionsOrCb, cb) {
233
+ var command = new CreateTrafficPolicyCommand(args);
229
234
  if (typeof optionsOrCb === "function") {
230
235
  this.send(command, optionsOrCb);
231
236
  }
232
237
  else if (typeof cb === "function") {
233
238
  if (typeof optionsOrCb !== "object")
234
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
239
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
235
240
  this.send(command, optionsOrCb || {}, cb);
236
241
  }
237
242
  else {
238
243
  return this.send(command, optionsOrCb);
239
244
  }
240
- }
241
- createTrafficPolicyInstance(args, optionsOrCb, cb) {
242
- const command = new CreateTrafficPolicyInstanceCommand(args);
245
+ };
246
+ Route53.prototype.createTrafficPolicyInstance = function (args, optionsOrCb, cb) {
247
+ var command = new CreateTrafficPolicyInstanceCommand(args);
243
248
  if (typeof optionsOrCb === "function") {
244
249
  this.send(command, optionsOrCb);
245
250
  }
246
251
  else if (typeof cb === "function") {
247
252
  if (typeof optionsOrCb !== "object")
248
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
253
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
249
254
  this.send(command, optionsOrCb || {}, cb);
250
255
  }
251
256
  else {
252
257
  return this.send(command, optionsOrCb);
253
258
  }
254
- }
255
- createTrafficPolicyVersion(args, optionsOrCb, cb) {
256
- const command = new CreateTrafficPolicyVersionCommand(args);
259
+ };
260
+ Route53.prototype.createTrafficPolicyVersion = function (args, optionsOrCb, cb) {
261
+ var command = new CreateTrafficPolicyVersionCommand(args);
257
262
  if (typeof optionsOrCb === "function") {
258
263
  this.send(command, optionsOrCb);
259
264
  }
260
265
  else if (typeof cb === "function") {
261
266
  if (typeof optionsOrCb !== "object")
262
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
267
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
263
268
  this.send(command, optionsOrCb || {}, cb);
264
269
  }
265
270
  else {
266
271
  return this.send(command, optionsOrCb);
267
272
  }
268
- }
269
- createVPCAssociationAuthorization(args, optionsOrCb, cb) {
270
- const command = new CreateVPCAssociationAuthorizationCommand(args);
273
+ };
274
+ Route53.prototype.createVPCAssociationAuthorization = function (args, optionsOrCb, cb) {
275
+ var command = new CreateVPCAssociationAuthorizationCommand(args);
271
276
  if (typeof optionsOrCb === "function") {
272
277
  this.send(command, optionsOrCb);
273
278
  }
274
279
  else if (typeof cb === "function") {
275
280
  if (typeof optionsOrCb !== "object")
276
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
281
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
277
282
  this.send(command, optionsOrCb || {}, cb);
278
283
  }
279
284
  else {
280
285
  return this.send(command, optionsOrCb);
281
286
  }
282
- }
283
- deactivateKeySigningKey(args, optionsOrCb, cb) {
284
- const command = new DeactivateKeySigningKeyCommand(args);
287
+ };
288
+ Route53.prototype.deactivateKeySigningKey = function (args, optionsOrCb, cb) {
289
+ var command = new DeactivateKeySigningKeyCommand(args);
285
290
  if (typeof optionsOrCb === "function") {
286
291
  this.send(command, optionsOrCb);
287
292
  }
288
293
  else if (typeof cb === "function") {
289
294
  if (typeof optionsOrCb !== "object")
290
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
295
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
291
296
  this.send(command, optionsOrCb || {}, cb);
292
297
  }
293
298
  else {
294
299
  return this.send(command, optionsOrCb);
295
300
  }
296
- }
297
- deleteCidrCollection(args, optionsOrCb, cb) {
298
- const command = new DeleteCidrCollectionCommand(args);
301
+ };
302
+ Route53.prototype.deleteCidrCollection = function (args, optionsOrCb, cb) {
303
+ var command = new DeleteCidrCollectionCommand(args);
299
304
  if (typeof optionsOrCb === "function") {
300
305
  this.send(command, optionsOrCb);
301
306
  }
302
307
  else if (typeof cb === "function") {
303
308
  if (typeof optionsOrCb !== "object")
304
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
309
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
305
310
  this.send(command, optionsOrCb || {}, cb);
306
311
  }
307
312
  else {
308
313
  return this.send(command, optionsOrCb);
309
314
  }
310
- }
311
- deleteHealthCheck(args, optionsOrCb, cb) {
312
- const command = new DeleteHealthCheckCommand(args);
315
+ };
316
+ Route53.prototype.deleteHealthCheck = function (args, optionsOrCb, cb) {
317
+ var command = new DeleteHealthCheckCommand(args);
313
318
  if (typeof optionsOrCb === "function") {
314
319
  this.send(command, optionsOrCb);
315
320
  }
316
321
  else if (typeof cb === "function") {
317
322
  if (typeof optionsOrCb !== "object")
318
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
323
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
319
324
  this.send(command, optionsOrCb || {}, cb);
320
325
  }
321
326
  else {
322
327
  return this.send(command, optionsOrCb);
323
328
  }
324
- }
325
- deleteHostedZone(args, optionsOrCb, cb) {
326
- const command = new DeleteHostedZoneCommand(args);
329
+ };
330
+ Route53.prototype.deleteHostedZone = function (args, optionsOrCb, cb) {
331
+ var command = new DeleteHostedZoneCommand(args);
327
332
  if (typeof optionsOrCb === "function") {
328
333
  this.send(command, optionsOrCb);
329
334
  }
330
335
  else if (typeof cb === "function") {
331
336
  if (typeof optionsOrCb !== "object")
332
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
337
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
333
338
  this.send(command, optionsOrCb || {}, cb);
334
339
  }
335
340
  else {
336
341
  return this.send(command, optionsOrCb);
337
342
  }
338
- }
339
- deleteKeySigningKey(args, optionsOrCb, cb) {
340
- const command = new DeleteKeySigningKeyCommand(args);
343
+ };
344
+ Route53.prototype.deleteKeySigningKey = function (args, optionsOrCb, cb) {
345
+ var command = new DeleteKeySigningKeyCommand(args);
341
346
  if (typeof optionsOrCb === "function") {
342
347
  this.send(command, optionsOrCb);
343
348
  }
344
349
  else if (typeof cb === "function") {
345
350
  if (typeof optionsOrCb !== "object")
346
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
351
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
347
352
  this.send(command, optionsOrCb || {}, cb);
348
353
  }
349
354
  else {
350
355
  return this.send(command, optionsOrCb);
351
356
  }
352
- }
353
- deleteQueryLoggingConfig(args, optionsOrCb, cb) {
354
- const command = new DeleteQueryLoggingConfigCommand(args);
357
+ };
358
+ Route53.prototype.deleteQueryLoggingConfig = function (args, optionsOrCb, cb) {
359
+ var command = new DeleteQueryLoggingConfigCommand(args);
355
360
  if (typeof optionsOrCb === "function") {
356
361
  this.send(command, optionsOrCb);
357
362
  }
358
363
  else if (typeof cb === "function") {
359
364
  if (typeof optionsOrCb !== "object")
360
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
365
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
361
366
  this.send(command, optionsOrCb || {}, cb);
362
367
  }
363
368
  else {
364
369
  return this.send(command, optionsOrCb);
365
370
  }
366
- }
367
- deleteReusableDelegationSet(args, optionsOrCb, cb) {
368
- const command = new DeleteReusableDelegationSetCommand(args);
371
+ };
372
+ Route53.prototype.deleteReusableDelegationSet = function (args, optionsOrCb, cb) {
373
+ var command = new DeleteReusableDelegationSetCommand(args);
369
374
  if (typeof optionsOrCb === "function") {
370
375
  this.send(command, optionsOrCb);
371
376
  }
372
377
  else if (typeof cb === "function") {
373
378
  if (typeof optionsOrCb !== "object")
374
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
379
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
375
380
  this.send(command, optionsOrCb || {}, cb);
376
381
  }
377
382
  else {
378
383
  return this.send(command, optionsOrCb);
379
384
  }
380
- }
381
- deleteTrafficPolicy(args, optionsOrCb, cb) {
382
- const command = new DeleteTrafficPolicyCommand(args);
385
+ };
386
+ Route53.prototype.deleteTrafficPolicy = function (args, optionsOrCb, cb) {
387
+ var command = new DeleteTrafficPolicyCommand(args);
383
388
  if (typeof optionsOrCb === "function") {
384
389
  this.send(command, optionsOrCb);
385
390
  }
386
391
  else if (typeof cb === "function") {
387
392
  if (typeof optionsOrCb !== "object")
388
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
393
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
389
394
  this.send(command, optionsOrCb || {}, cb);
390
395
  }
391
396
  else {
392
397
  return this.send(command, optionsOrCb);
393
398
  }
394
- }
395
- deleteTrafficPolicyInstance(args, optionsOrCb, cb) {
396
- const command = new DeleteTrafficPolicyInstanceCommand(args);
399
+ };
400
+ Route53.prototype.deleteTrafficPolicyInstance = function (args, optionsOrCb, cb) {
401
+ var command = new DeleteTrafficPolicyInstanceCommand(args);
397
402
  if (typeof optionsOrCb === "function") {
398
403
  this.send(command, optionsOrCb);
399
404
  }
400
405
  else if (typeof cb === "function") {
401
406
  if (typeof optionsOrCb !== "object")
402
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
407
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
403
408
  this.send(command, optionsOrCb || {}, cb);
404
409
  }
405
410
  else {
406
411
  return this.send(command, optionsOrCb);
407
412
  }
408
- }
409
- deleteVPCAssociationAuthorization(args, optionsOrCb, cb) {
410
- const command = new DeleteVPCAssociationAuthorizationCommand(args);
413
+ };
414
+ Route53.prototype.deleteVPCAssociationAuthorization = function (args, optionsOrCb, cb) {
415
+ var command = new DeleteVPCAssociationAuthorizationCommand(args);
411
416
  if (typeof optionsOrCb === "function") {
412
417
  this.send(command, optionsOrCb);
413
418
  }
414
419
  else if (typeof cb === "function") {
415
420
  if (typeof optionsOrCb !== "object")
416
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
421
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
417
422
  this.send(command, optionsOrCb || {}, cb);
418
423
  }
419
424
  else {
420
425
  return this.send(command, optionsOrCb);
421
426
  }
422
- }
423
- disableHostedZoneDNSSEC(args, optionsOrCb, cb) {
424
- const command = new DisableHostedZoneDNSSECCommand(args);
427
+ };
428
+ Route53.prototype.disableHostedZoneDNSSEC = function (args, optionsOrCb, cb) {
429
+ var command = new DisableHostedZoneDNSSECCommand(args);
425
430
  if (typeof optionsOrCb === "function") {
426
431
  this.send(command, optionsOrCb);
427
432
  }
428
433
  else if (typeof cb === "function") {
429
434
  if (typeof optionsOrCb !== "object")
430
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
435
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
431
436
  this.send(command, optionsOrCb || {}, cb);
432
437
  }
433
438
  else {
434
439
  return this.send(command, optionsOrCb);
435
440
  }
436
- }
437
- disassociateVPCFromHostedZone(args, optionsOrCb, cb) {
438
- const command = new DisassociateVPCFromHostedZoneCommand(args);
441
+ };
442
+ Route53.prototype.disassociateVPCFromHostedZone = function (args, optionsOrCb, cb) {
443
+ var command = new DisassociateVPCFromHostedZoneCommand(args);
439
444
  if (typeof optionsOrCb === "function") {
440
445
  this.send(command, optionsOrCb);
441
446
  }
442
447
  else if (typeof cb === "function") {
443
448
  if (typeof optionsOrCb !== "object")
444
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
449
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
445
450
  this.send(command, optionsOrCb || {}, cb);
446
451
  }
447
452
  else {
448
453
  return this.send(command, optionsOrCb);
449
454
  }
450
- }
451
- enableHostedZoneDNSSEC(args, optionsOrCb, cb) {
452
- const command = new EnableHostedZoneDNSSECCommand(args);
455
+ };
456
+ Route53.prototype.enableHostedZoneDNSSEC = function (args, optionsOrCb, cb) {
457
+ var command = new EnableHostedZoneDNSSECCommand(args);
453
458
  if (typeof optionsOrCb === "function") {
454
459
  this.send(command, optionsOrCb);
455
460
  }
456
461
  else if (typeof cb === "function") {
457
462
  if (typeof optionsOrCb !== "object")
458
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
459
464
  this.send(command, optionsOrCb || {}, cb);
460
465
  }
461
466
  else {
462
467
  return this.send(command, optionsOrCb);
463
468
  }
464
- }
465
- getAccountLimit(args, optionsOrCb, cb) {
466
- const command = new GetAccountLimitCommand(args);
469
+ };
470
+ Route53.prototype.getAccountLimit = function (args, optionsOrCb, cb) {
471
+ var command = new GetAccountLimitCommand(args);
467
472
  if (typeof optionsOrCb === "function") {
468
473
  this.send(command, optionsOrCb);
469
474
  }
470
475
  else if (typeof cb === "function") {
471
476
  if (typeof optionsOrCb !== "object")
472
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
477
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
473
478
  this.send(command, optionsOrCb || {}, cb);
474
479
  }
475
480
  else {
476
481
  return this.send(command, optionsOrCb);
477
482
  }
478
- }
479
- getChange(args, optionsOrCb, cb) {
480
- const command = new GetChangeCommand(args);
483
+ };
484
+ Route53.prototype.getChange = function (args, optionsOrCb, cb) {
485
+ var command = new GetChangeCommand(args);
481
486
  if (typeof optionsOrCb === "function") {
482
487
  this.send(command, optionsOrCb);
483
488
  }
484
489
  else if (typeof cb === "function") {
485
490
  if (typeof optionsOrCb !== "object")
486
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
491
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
487
492
  this.send(command, optionsOrCb || {}, cb);
488
493
  }
489
494
  else {
490
495
  return this.send(command, optionsOrCb);
491
496
  }
492
- }
493
- getCheckerIpRanges(args, optionsOrCb, cb) {
494
- const command = new GetCheckerIpRangesCommand(args);
497
+ };
498
+ Route53.prototype.getCheckerIpRanges = function (args, optionsOrCb, cb) {
499
+ var command = new GetCheckerIpRangesCommand(args);
495
500
  if (typeof optionsOrCb === "function") {
496
501
  this.send(command, optionsOrCb);
497
502
  }
498
503
  else if (typeof cb === "function") {
499
504
  if (typeof optionsOrCb !== "object")
500
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
505
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
501
506
  this.send(command, optionsOrCb || {}, cb);
502
507
  }
503
508
  else {
504
509
  return this.send(command, optionsOrCb);
505
510
  }
506
- }
507
- getDNSSEC(args, optionsOrCb, cb) {
508
- const command = new GetDNSSECCommand(args);
511
+ };
512
+ Route53.prototype.getDNSSEC = function (args, optionsOrCb, cb) {
513
+ var command = new GetDNSSECCommand(args);
509
514
  if (typeof optionsOrCb === "function") {
510
515
  this.send(command, optionsOrCb);
511
516
  }
512
517
  else if (typeof cb === "function") {
513
518
  if (typeof optionsOrCb !== "object")
514
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
519
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
515
520
  this.send(command, optionsOrCb || {}, cb);
516
521
  }
517
522
  else {
518
523
  return this.send(command, optionsOrCb);
519
524
  }
520
- }
521
- getGeoLocation(args, optionsOrCb, cb) {
522
- const command = new GetGeoLocationCommand(args);
525
+ };
526
+ Route53.prototype.getGeoLocation = function (args, optionsOrCb, cb) {
527
+ var command = new GetGeoLocationCommand(args);
523
528
  if (typeof optionsOrCb === "function") {
524
529
  this.send(command, optionsOrCb);
525
530
  }
526
531
  else if (typeof cb === "function") {
527
532
  if (typeof optionsOrCb !== "object")
528
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
533
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
529
534
  this.send(command, optionsOrCb || {}, cb);
530
535
  }
531
536
  else {
532
537
  return this.send(command, optionsOrCb);
533
538
  }
534
- }
535
- getHealthCheck(args, optionsOrCb, cb) {
536
- const command = new GetHealthCheckCommand(args);
539
+ };
540
+ Route53.prototype.getHealthCheck = function (args, optionsOrCb, cb) {
541
+ var command = new GetHealthCheckCommand(args);
537
542
  if (typeof optionsOrCb === "function") {
538
543
  this.send(command, optionsOrCb);
539
544
  }
540
545
  else if (typeof cb === "function") {
541
546
  if (typeof optionsOrCb !== "object")
542
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
547
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
543
548
  this.send(command, optionsOrCb || {}, cb);
544
549
  }
545
550
  else {
546
551
  return this.send(command, optionsOrCb);
547
552
  }
548
- }
549
- getHealthCheckCount(args, optionsOrCb, cb) {
550
- const command = new GetHealthCheckCountCommand(args);
553
+ };
554
+ Route53.prototype.getHealthCheckCount = function (args, optionsOrCb, cb) {
555
+ var command = new GetHealthCheckCountCommand(args);
551
556
  if (typeof optionsOrCb === "function") {
552
557
  this.send(command, optionsOrCb);
553
558
  }
554
559
  else if (typeof cb === "function") {
555
560
  if (typeof optionsOrCb !== "object")
556
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
561
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
557
562
  this.send(command, optionsOrCb || {}, cb);
558
563
  }
559
564
  else {
560
565
  return this.send(command, optionsOrCb);
561
566
  }
562
- }
563
- getHealthCheckLastFailureReason(args, optionsOrCb, cb) {
564
- const command = new GetHealthCheckLastFailureReasonCommand(args);
567
+ };
568
+ Route53.prototype.getHealthCheckLastFailureReason = function (args, optionsOrCb, cb) {
569
+ var command = new GetHealthCheckLastFailureReasonCommand(args);
565
570
  if (typeof optionsOrCb === "function") {
566
571
  this.send(command, optionsOrCb);
567
572
  }
568
573
  else if (typeof cb === "function") {
569
574
  if (typeof optionsOrCb !== "object")
570
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
575
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
571
576
  this.send(command, optionsOrCb || {}, cb);
572
577
  }
573
578
  else {
574
579
  return this.send(command, optionsOrCb);
575
580
  }
576
- }
577
- getHealthCheckStatus(args, optionsOrCb, cb) {
578
- const command = new GetHealthCheckStatusCommand(args);
581
+ };
582
+ Route53.prototype.getHealthCheckStatus = function (args, optionsOrCb, cb) {
583
+ var command = new GetHealthCheckStatusCommand(args);
579
584
  if (typeof optionsOrCb === "function") {
580
585
  this.send(command, optionsOrCb);
581
586
  }
582
587
  else if (typeof cb === "function") {
583
588
  if (typeof optionsOrCb !== "object")
584
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
589
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
585
590
  this.send(command, optionsOrCb || {}, cb);
586
591
  }
587
592
  else {
588
593
  return this.send(command, optionsOrCb);
589
594
  }
590
- }
591
- getHostedZone(args, optionsOrCb, cb) {
592
- const command = new GetHostedZoneCommand(args);
595
+ };
596
+ Route53.prototype.getHostedZone = function (args, optionsOrCb, cb) {
597
+ var command = new GetHostedZoneCommand(args);
593
598
  if (typeof optionsOrCb === "function") {
594
599
  this.send(command, optionsOrCb);
595
600
  }
596
601
  else if (typeof cb === "function") {
597
602
  if (typeof optionsOrCb !== "object")
598
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
603
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
599
604
  this.send(command, optionsOrCb || {}, cb);
600
605
  }
601
606
  else {
602
607
  return this.send(command, optionsOrCb);
603
608
  }
604
- }
605
- getHostedZoneCount(args, optionsOrCb, cb) {
606
- const command = new GetHostedZoneCountCommand(args);
609
+ };
610
+ Route53.prototype.getHostedZoneCount = function (args, optionsOrCb, cb) {
611
+ var command = new GetHostedZoneCountCommand(args);
607
612
  if (typeof optionsOrCb === "function") {
608
613
  this.send(command, optionsOrCb);
609
614
  }
610
615
  else if (typeof cb === "function") {
611
616
  if (typeof optionsOrCb !== "object")
612
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
617
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
613
618
  this.send(command, optionsOrCb || {}, cb);
614
619
  }
615
620
  else {
616
621
  return this.send(command, optionsOrCb);
617
622
  }
618
- }
619
- getHostedZoneLimit(args, optionsOrCb, cb) {
620
- const command = new GetHostedZoneLimitCommand(args);
623
+ };
624
+ Route53.prototype.getHostedZoneLimit = function (args, optionsOrCb, cb) {
625
+ var command = new GetHostedZoneLimitCommand(args);
621
626
  if (typeof optionsOrCb === "function") {
622
627
  this.send(command, optionsOrCb);
623
628
  }
624
629
  else if (typeof cb === "function") {
625
630
  if (typeof optionsOrCb !== "object")
626
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
631
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
627
632
  this.send(command, optionsOrCb || {}, cb);
628
633
  }
629
634
  else {
630
635
  return this.send(command, optionsOrCb);
631
636
  }
632
- }
633
- getQueryLoggingConfig(args, optionsOrCb, cb) {
634
- const command = new GetQueryLoggingConfigCommand(args);
637
+ };
638
+ Route53.prototype.getQueryLoggingConfig = function (args, optionsOrCb, cb) {
639
+ var command = new GetQueryLoggingConfigCommand(args);
635
640
  if (typeof optionsOrCb === "function") {
636
641
  this.send(command, optionsOrCb);
637
642
  }
638
643
  else if (typeof cb === "function") {
639
644
  if (typeof optionsOrCb !== "object")
640
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
645
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
641
646
  this.send(command, optionsOrCb || {}, cb);
642
647
  }
643
648
  else {
644
649
  return this.send(command, optionsOrCb);
645
650
  }
646
- }
647
- getReusableDelegationSet(args, optionsOrCb, cb) {
648
- const command = new GetReusableDelegationSetCommand(args);
651
+ };
652
+ Route53.prototype.getReusableDelegationSet = function (args, optionsOrCb, cb) {
653
+ var command = new GetReusableDelegationSetCommand(args);
649
654
  if (typeof optionsOrCb === "function") {
650
655
  this.send(command, optionsOrCb);
651
656
  }
652
657
  else if (typeof cb === "function") {
653
658
  if (typeof optionsOrCb !== "object")
654
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
659
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
655
660
  this.send(command, optionsOrCb || {}, cb);
656
661
  }
657
662
  else {
658
663
  return this.send(command, optionsOrCb);
659
664
  }
660
- }
661
- getReusableDelegationSetLimit(args, optionsOrCb, cb) {
662
- const command = new GetReusableDelegationSetLimitCommand(args);
665
+ };
666
+ Route53.prototype.getReusableDelegationSetLimit = function (args, optionsOrCb, cb) {
667
+ var command = new GetReusableDelegationSetLimitCommand(args);
663
668
  if (typeof optionsOrCb === "function") {
664
669
  this.send(command, optionsOrCb);
665
670
  }
666
671
  else if (typeof cb === "function") {
667
672
  if (typeof optionsOrCb !== "object")
668
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
673
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
669
674
  this.send(command, optionsOrCb || {}, cb);
670
675
  }
671
676
  else {
672
677
  return this.send(command, optionsOrCb);
673
678
  }
674
- }
675
- getTrafficPolicy(args, optionsOrCb, cb) {
676
- const command = new GetTrafficPolicyCommand(args);
679
+ };
680
+ Route53.prototype.getTrafficPolicy = function (args, optionsOrCb, cb) {
681
+ var command = new GetTrafficPolicyCommand(args);
677
682
  if (typeof optionsOrCb === "function") {
678
683
  this.send(command, optionsOrCb);
679
684
  }
680
685
  else if (typeof cb === "function") {
681
686
  if (typeof optionsOrCb !== "object")
682
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
687
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
683
688
  this.send(command, optionsOrCb || {}, cb);
684
689
  }
685
690
  else {
686
691
  return this.send(command, optionsOrCb);
687
692
  }
688
- }
689
- getTrafficPolicyInstance(args, optionsOrCb, cb) {
690
- const command = new GetTrafficPolicyInstanceCommand(args);
693
+ };
694
+ Route53.prototype.getTrafficPolicyInstance = function (args, optionsOrCb, cb) {
695
+ var command = new GetTrafficPolicyInstanceCommand(args);
691
696
  if (typeof optionsOrCb === "function") {
692
697
  this.send(command, optionsOrCb);
693
698
  }
694
699
  else if (typeof cb === "function") {
695
700
  if (typeof optionsOrCb !== "object")
696
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
701
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
697
702
  this.send(command, optionsOrCb || {}, cb);
698
703
  }
699
704
  else {
700
705
  return this.send(command, optionsOrCb);
701
706
  }
702
- }
703
- getTrafficPolicyInstanceCount(args, optionsOrCb, cb) {
704
- const command = new GetTrafficPolicyInstanceCountCommand(args);
707
+ };
708
+ Route53.prototype.getTrafficPolicyInstanceCount = function (args, optionsOrCb, cb) {
709
+ var command = new GetTrafficPolicyInstanceCountCommand(args);
705
710
  if (typeof optionsOrCb === "function") {
706
711
  this.send(command, optionsOrCb);
707
712
  }
708
713
  else if (typeof cb === "function") {
709
714
  if (typeof optionsOrCb !== "object")
710
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
715
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
711
716
  this.send(command, optionsOrCb || {}, cb);
712
717
  }
713
718
  else {
714
719
  return this.send(command, optionsOrCb);
715
720
  }
716
- }
717
- listCidrBlocks(args, optionsOrCb, cb) {
718
- const command = new ListCidrBlocksCommand(args);
721
+ };
722
+ Route53.prototype.listCidrBlocks = function (args, optionsOrCb, cb) {
723
+ var command = new ListCidrBlocksCommand(args);
719
724
  if (typeof optionsOrCb === "function") {
720
725
  this.send(command, optionsOrCb);
721
726
  }
722
727
  else if (typeof cb === "function") {
723
728
  if (typeof optionsOrCb !== "object")
724
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
729
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
725
730
  this.send(command, optionsOrCb || {}, cb);
726
731
  }
727
732
  else {
728
733
  return this.send(command, optionsOrCb);
729
734
  }
730
- }
731
- listCidrCollections(args, optionsOrCb, cb) {
732
- const command = new ListCidrCollectionsCommand(args);
735
+ };
736
+ Route53.prototype.listCidrCollections = function (args, optionsOrCb, cb) {
737
+ var command = new ListCidrCollectionsCommand(args);
733
738
  if (typeof optionsOrCb === "function") {
734
739
  this.send(command, optionsOrCb);
735
740
  }
736
741
  else if (typeof cb === "function") {
737
742
  if (typeof optionsOrCb !== "object")
738
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
743
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
739
744
  this.send(command, optionsOrCb || {}, cb);
740
745
  }
741
746
  else {
742
747
  return this.send(command, optionsOrCb);
743
748
  }
744
- }
745
- listCidrLocations(args, optionsOrCb, cb) {
746
- const command = new ListCidrLocationsCommand(args);
749
+ };
750
+ Route53.prototype.listCidrLocations = function (args, optionsOrCb, cb) {
751
+ var command = new ListCidrLocationsCommand(args);
747
752
  if (typeof optionsOrCb === "function") {
748
753
  this.send(command, optionsOrCb);
749
754
  }
750
755
  else if (typeof cb === "function") {
751
756
  if (typeof optionsOrCb !== "object")
752
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
757
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
753
758
  this.send(command, optionsOrCb || {}, cb);
754
759
  }
755
760
  else {
756
761
  return this.send(command, optionsOrCb);
757
762
  }
758
- }
759
- listGeoLocations(args, optionsOrCb, cb) {
760
- const command = new ListGeoLocationsCommand(args);
763
+ };
764
+ Route53.prototype.listGeoLocations = function (args, optionsOrCb, cb) {
765
+ var command = new ListGeoLocationsCommand(args);
761
766
  if (typeof optionsOrCb === "function") {
762
767
  this.send(command, optionsOrCb);
763
768
  }
764
769
  else if (typeof cb === "function") {
765
770
  if (typeof optionsOrCb !== "object")
766
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
771
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
767
772
  this.send(command, optionsOrCb || {}, cb);
768
773
  }
769
774
  else {
770
775
  return this.send(command, optionsOrCb);
771
776
  }
772
- }
773
- listHealthChecks(args, optionsOrCb, cb) {
774
- const command = new ListHealthChecksCommand(args);
777
+ };
778
+ Route53.prototype.listHealthChecks = function (args, optionsOrCb, cb) {
779
+ var command = new ListHealthChecksCommand(args);
775
780
  if (typeof optionsOrCb === "function") {
776
781
  this.send(command, optionsOrCb);
777
782
  }
778
783
  else if (typeof cb === "function") {
779
784
  if (typeof optionsOrCb !== "object")
780
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
785
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
781
786
  this.send(command, optionsOrCb || {}, cb);
782
787
  }
783
788
  else {
784
789
  return this.send(command, optionsOrCb);
785
790
  }
786
- }
787
- listHostedZones(args, optionsOrCb, cb) {
788
- const command = new ListHostedZonesCommand(args);
791
+ };
792
+ Route53.prototype.listHostedZones = function (args, optionsOrCb, cb) {
793
+ var command = new ListHostedZonesCommand(args);
789
794
  if (typeof optionsOrCb === "function") {
790
795
  this.send(command, optionsOrCb);
791
796
  }
792
797
  else if (typeof cb === "function") {
793
798
  if (typeof optionsOrCb !== "object")
794
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
799
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
795
800
  this.send(command, optionsOrCb || {}, cb);
796
801
  }
797
802
  else {
798
803
  return this.send(command, optionsOrCb);
799
804
  }
800
- }
801
- listHostedZonesByName(args, optionsOrCb, cb) {
802
- const command = new ListHostedZonesByNameCommand(args);
805
+ };
806
+ Route53.prototype.listHostedZonesByName = function (args, optionsOrCb, cb) {
807
+ var command = new ListHostedZonesByNameCommand(args);
803
808
  if (typeof optionsOrCb === "function") {
804
809
  this.send(command, optionsOrCb);
805
810
  }
806
811
  else if (typeof cb === "function") {
807
812
  if (typeof optionsOrCb !== "object")
808
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
813
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
809
814
  this.send(command, optionsOrCb || {}, cb);
810
815
  }
811
816
  else {
812
817
  return this.send(command, optionsOrCb);
813
818
  }
814
- }
815
- listHostedZonesByVPC(args, optionsOrCb, cb) {
816
- const command = new ListHostedZonesByVPCCommand(args);
819
+ };
820
+ Route53.prototype.listHostedZonesByVPC = function (args, optionsOrCb, cb) {
821
+ var command = new ListHostedZonesByVPCCommand(args);
817
822
  if (typeof optionsOrCb === "function") {
818
823
  this.send(command, optionsOrCb);
819
824
  }
820
825
  else if (typeof cb === "function") {
821
826
  if (typeof optionsOrCb !== "object")
822
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
827
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
823
828
  this.send(command, optionsOrCb || {}, cb);
824
829
  }
825
830
  else {
826
831
  return this.send(command, optionsOrCb);
827
832
  }
828
- }
829
- listQueryLoggingConfigs(args, optionsOrCb, cb) {
830
- const command = new ListQueryLoggingConfigsCommand(args);
833
+ };
834
+ Route53.prototype.listQueryLoggingConfigs = function (args, optionsOrCb, cb) {
835
+ var command = new ListQueryLoggingConfigsCommand(args);
831
836
  if (typeof optionsOrCb === "function") {
832
837
  this.send(command, optionsOrCb);
833
838
  }
834
839
  else if (typeof cb === "function") {
835
840
  if (typeof optionsOrCb !== "object")
836
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
841
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
837
842
  this.send(command, optionsOrCb || {}, cb);
838
843
  }
839
844
  else {
840
845
  return this.send(command, optionsOrCb);
841
846
  }
842
- }
843
- listResourceRecordSets(args, optionsOrCb, cb) {
844
- const command = new ListResourceRecordSetsCommand(args);
847
+ };
848
+ Route53.prototype.listResourceRecordSets = function (args, optionsOrCb, cb) {
849
+ var command = new ListResourceRecordSetsCommand(args);
845
850
  if (typeof optionsOrCb === "function") {
846
851
  this.send(command, optionsOrCb);
847
852
  }
848
853
  else if (typeof cb === "function") {
849
854
  if (typeof optionsOrCb !== "object")
850
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
855
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
851
856
  this.send(command, optionsOrCb || {}, cb);
852
857
  }
853
858
  else {
854
859
  return this.send(command, optionsOrCb);
855
860
  }
856
- }
857
- listReusableDelegationSets(args, optionsOrCb, cb) {
858
- const command = new ListReusableDelegationSetsCommand(args);
861
+ };
862
+ Route53.prototype.listReusableDelegationSets = function (args, optionsOrCb, cb) {
863
+ var command = new ListReusableDelegationSetsCommand(args);
859
864
  if (typeof optionsOrCb === "function") {
860
865
  this.send(command, optionsOrCb);
861
866
  }
862
867
  else if (typeof cb === "function") {
863
868
  if (typeof optionsOrCb !== "object")
864
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
869
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
865
870
  this.send(command, optionsOrCb || {}, cb);
866
871
  }
867
872
  else {
868
873
  return this.send(command, optionsOrCb);
869
874
  }
870
- }
871
- listTagsForResource(args, optionsOrCb, cb) {
872
- const command = new ListTagsForResourceCommand(args);
875
+ };
876
+ Route53.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
877
+ var command = new ListTagsForResourceCommand(args);
873
878
  if (typeof optionsOrCb === "function") {
874
879
  this.send(command, optionsOrCb);
875
880
  }
876
881
  else if (typeof cb === "function") {
877
882
  if (typeof optionsOrCb !== "object")
878
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
883
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
879
884
  this.send(command, optionsOrCb || {}, cb);
880
885
  }
881
886
  else {
882
887
  return this.send(command, optionsOrCb);
883
888
  }
884
- }
885
- listTagsForResources(args, optionsOrCb, cb) {
886
- const command = new ListTagsForResourcesCommand(args);
889
+ };
890
+ Route53.prototype.listTagsForResources = function (args, optionsOrCb, cb) {
891
+ var command = new ListTagsForResourcesCommand(args);
887
892
  if (typeof optionsOrCb === "function") {
888
893
  this.send(command, optionsOrCb);
889
894
  }
890
895
  else if (typeof cb === "function") {
891
896
  if (typeof optionsOrCb !== "object")
892
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
897
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
893
898
  this.send(command, optionsOrCb || {}, cb);
894
899
  }
895
900
  else {
896
901
  return this.send(command, optionsOrCb);
897
902
  }
898
- }
899
- listTrafficPolicies(args, optionsOrCb, cb) {
900
- const command = new ListTrafficPoliciesCommand(args);
903
+ };
904
+ Route53.prototype.listTrafficPolicies = function (args, optionsOrCb, cb) {
905
+ var command = new ListTrafficPoliciesCommand(args);
901
906
  if (typeof optionsOrCb === "function") {
902
907
  this.send(command, optionsOrCb);
903
908
  }
904
909
  else if (typeof cb === "function") {
905
910
  if (typeof optionsOrCb !== "object")
906
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
911
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
907
912
  this.send(command, optionsOrCb || {}, cb);
908
913
  }
909
914
  else {
910
915
  return this.send(command, optionsOrCb);
911
916
  }
912
- }
913
- listTrafficPolicyInstances(args, optionsOrCb, cb) {
914
- const command = new ListTrafficPolicyInstancesCommand(args);
917
+ };
918
+ Route53.prototype.listTrafficPolicyInstances = function (args, optionsOrCb, cb) {
919
+ var command = new ListTrafficPolicyInstancesCommand(args);
915
920
  if (typeof optionsOrCb === "function") {
916
921
  this.send(command, optionsOrCb);
917
922
  }
918
923
  else if (typeof cb === "function") {
919
924
  if (typeof optionsOrCb !== "object")
920
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
925
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
921
926
  this.send(command, optionsOrCb || {}, cb);
922
927
  }
923
928
  else {
924
929
  return this.send(command, optionsOrCb);
925
930
  }
926
- }
927
- listTrafficPolicyInstancesByHostedZone(args, optionsOrCb, cb) {
928
- const command = new ListTrafficPolicyInstancesByHostedZoneCommand(args);
931
+ };
932
+ Route53.prototype.listTrafficPolicyInstancesByHostedZone = function (args, optionsOrCb, cb) {
933
+ var command = new ListTrafficPolicyInstancesByHostedZoneCommand(args);
929
934
  if (typeof optionsOrCb === "function") {
930
935
  this.send(command, optionsOrCb);
931
936
  }
932
937
  else if (typeof cb === "function") {
933
938
  if (typeof optionsOrCb !== "object")
934
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
939
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
935
940
  this.send(command, optionsOrCb || {}, cb);
936
941
  }
937
942
  else {
938
943
  return this.send(command, optionsOrCb);
939
944
  }
940
- }
941
- listTrafficPolicyInstancesByPolicy(args, optionsOrCb, cb) {
942
- const command = new ListTrafficPolicyInstancesByPolicyCommand(args);
945
+ };
946
+ Route53.prototype.listTrafficPolicyInstancesByPolicy = function (args, optionsOrCb, cb) {
947
+ var command = new ListTrafficPolicyInstancesByPolicyCommand(args);
943
948
  if (typeof optionsOrCb === "function") {
944
949
  this.send(command, optionsOrCb);
945
950
  }
946
951
  else if (typeof cb === "function") {
947
952
  if (typeof optionsOrCb !== "object")
948
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
953
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
949
954
  this.send(command, optionsOrCb || {}, cb);
950
955
  }
951
956
  else {
952
957
  return this.send(command, optionsOrCb);
953
958
  }
954
- }
955
- listTrafficPolicyVersions(args, optionsOrCb, cb) {
956
- const command = new ListTrafficPolicyVersionsCommand(args);
959
+ };
960
+ Route53.prototype.listTrafficPolicyVersions = function (args, optionsOrCb, cb) {
961
+ var command = new ListTrafficPolicyVersionsCommand(args);
957
962
  if (typeof optionsOrCb === "function") {
958
963
  this.send(command, optionsOrCb);
959
964
  }
960
965
  else if (typeof cb === "function") {
961
966
  if (typeof optionsOrCb !== "object")
962
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
967
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
963
968
  this.send(command, optionsOrCb || {}, cb);
964
969
  }
965
970
  else {
966
971
  return this.send(command, optionsOrCb);
967
972
  }
968
- }
969
- listVPCAssociationAuthorizations(args, optionsOrCb, cb) {
970
- const command = new ListVPCAssociationAuthorizationsCommand(args);
973
+ };
974
+ Route53.prototype.listVPCAssociationAuthorizations = function (args, optionsOrCb, cb) {
975
+ var command = new ListVPCAssociationAuthorizationsCommand(args);
971
976
  if (typeof optionsOrCb === "function") {
972
977
  this.send(command, optionsOrCb);
973
978
  }
974
979
  else if (typeof cb === "function") {
975
980
  if (typeof optionsOrCb !== "object")
976
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
981
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
977
982
  this.send(command, optionsOrCb || {}, cb);
978
983
  }
979
984
  else {
980
985
  return this.send(command, optionsOrCb);
981
986
  }
982
- }
983
- testDNSAnswer(args, optionsOrCb, cb) {
984
- const command = new TestDNSAnswerCommand(args);
987
+ };
988
+ Route53.prototype.testDNSAnswer = function (args, optionsOrCb, cb) {
989
+ var command = new TestDNSAnswerCommand(args);
985
990
  if (typeof optionsOrCb === "function") {
986
991
  this.send(command, optionsOrCb);
987
992
  }
988
993
  else if (typeof cb === "function") {
989
994
  if (typeof optionsOrCb !== "object")
990
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
995
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
991
996
  this.send(command, optionsOrCb || {}, cb);
992
997
  }
993
998
  else {
994
999
  return this.send(command, optionsOrCb);
995
1000
  }
996
- }
997
- updateHealthCheck(args, optionsOrCb, cb) {
998
- const command = new UpdateHealthCheckCommand(args);
1001
+ };
1002
+ Route53.prototype.updateHealthCheck = function (args, optionsOrCb, cb) {
1003
+ var command = new UpdateHealthCheckCommand(args);
999
1004
  if (typeof optionsOrCb === "function") {
1000
1005
  this.send(command, optionsOrCb);
1001
1006
  }
1002
1007
  else if (typeof cb === "function") {
1003
1008
  if (typeof optionsOrCb !== "object")
1004
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1009
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1005
1010
  this.send(command, optionsOrCb || {}, cb);
1006
1011
  }
1007
1012
  else {
1008
1013
  return this.send(command, optionsOrCb);
1009
1014
  }
1010
- }
1011
- updateHostedZoneComment(args, optionsOrCb, cb) {
1012
- const command = new UpdateHostedZoneCommentCommand(args);
1015
+ };
1016
+ Route53.prototype.updateHostedZoneComment = function (args, optionsOrCb, cb) {
1017
+ var command = new UpdateHostedZoneCommentCommand(args);
1013
1018
  if (typeof optionsOrCb === "function") {
1014
1019
  this.send(command, optionsOrCb);
1015
1020
  }
1016
1021
  else if (typeof cb === "function") {
1017
1022
  if (typeof optionsOrCb !== "object")
1018
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1023
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1019
1024
  this.send(command, optionsOrCb || {}, cb);
1020
1025
  }
1021
1026
  else {
1022
1027
  return this.send(command, optionsOrCb);
1023
1028
  }
1024
- }
1025
- updateTrafficPolicyComment(args, optionsOrCb, cb) {
1026
- const command = new UpdateTrafficPolicyCommentCommand(args);
1029
+ };
1030
+ Route53.prototype.updateTrafficPolicyComment = function (args, optionsOrCb, cb) {
1031
+ var command = new UpdateTrafficPolicyCommentCommand(args);
1027
1032
  if (typeof optionsOrCb === "function") {
1028
1033
  this.send(command, optionsOrCb);
1029
1034
  }
1030
1035
  else if (typeof cb === "function") {
1031
1036
  if (typeof optionsOrCb !== "object")
1032
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1037
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1033
1038
  this.send(command, optionsOrCb || {}, cb);
1034
1039
  }
1035
1040
  else {
1036
1041
  return this.send(command, optionsOrCb);
1037
1042
  }
1038
- }
1039
- updateTrafficPolicyInstance(args, optionsOrCb, cb) {
1040
- const command = new UpdateTrafficPolicyInstanceCommand(args);
1043
+ };
1044
+ Route53.prototype.updateTrafficPolicyInstance = function (args, optionsOrCb, cb) {
1045
+ var command = new UpdateTrafficPolicyInstanceCommand(args);
1041
1046
  if (typeof optionsOrCb === "function") {
1042
1047
  this.send(command, optionsOrCb);
1043
1048
  }
1044
1049
  else if (typeof cb === "function") {
1045
1050
  if (typeof optionsOrCb !== "object")
1046
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1051
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1047
1052
  this.send(command, optionsOrCb || {}, cb);
1048
1053
  }
1049
1054
  else {
1050
1055
  return this.send(command, optionsOrCb);
1051
1056
  }
1052
- }
1053
- }
1057
+ };
1058
+ return Route53;
1059
+ }(Route53Client));
1060
+ export { Route53 };