@aws-sdk/client-apigatewayv2 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/ApiGatewayV2Client.js +13 -13
- package/dist-cjs/commands/CreateApiCommand.js +3 -3
- package/dist-cjs/commands/CreateApiMappingCommand.js +3 -3
- package/dist-cjs/commands/CreateAuthorizerCommand.js +3 -3
- package/dist-cjs/commands/CreateDeploymentCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainNameCommand.js +3 -3
- package/dist-cjs/commands/CreateIntegrationCommand.js +3 -3
- package/dist-cjs/commands/CreateIntegrationResponseCommand.js +3 -3
- package/dist-cjs/commands/CreateModelCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteResponseCommand.js +3 -3
- package/dist-cjs/commands/CreateStageCommand.js +3 -3
- package/dist-cjs/commands/CreateVpcLinkCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccessLogSettingsCommand.js +3 -3
- package/dist-cjs/commands/DeleteApiCommand.js +3 -3
- package/dist-cjs/commands/DeleteApiMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteAuthorizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteCorsConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeploymentCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainNameCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntegrationCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntegrationResponseCommand.js +3 -3
- package/dist-cjs/commands/DeleteModelCommand.js +3 -3
- package/dist-cjs/commands/DeleteRouteCommand.js +3 -3
- package/dist-cjs/commands/DeleteRouteRequestParameterCommand.js +3 -3
- package/dist-cjs/commands/DeleteRouteResponseCommand.js +3 -3
- package/dist-cjs/commands/DeleteRouteSettingsCommand.js +3 -3
- package/dist-cjs/commands/DeleteStageCommand.js +3 -3
- package/dist-cjs/commands/DeleteVpcLinkCommand.js +3 -3
- package/dist-cjs/commands/ExportApiCommand.js +3 -3
- package/dist-cjs/commands/GetApiCommand.js +3 -3
- package/dist-cjs/commands/GetApiMappingCommand.js +3 -3
- package/dist-cjs/commands/GetApiMappingsCommand.js +3 -3
- package/dist-cjs/commands/GetApisCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizerCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizersCommand.js +3 -3
- package/dist-cjs/commands/GetDeploymentCommand.js +3 -3
- package/dist-cjs/commands/GetDeploymentsCommand.js +3 -3
- package/dist-cjs/commands/GetDomainNameCommand.js +3 -3
- package/dist-cjs/commands/GetDomainNamesCommand.js +3 -3
- package/dist-cjs/commands/GetIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetIntegrationResponseCommand.js +3 -3
- package/dist-cjs/commands/GetIntegrationResponsesCommand.js +3 -3
- package/dist-cjs/commands/GetIntegrationsCommand.js +3 -3
- package/dist-cjs/commands/GetModelCommand.js +3 -3
- package/dist-cjs/commands/GetModelTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetModelsCommand.js +3 -3
- package/dist-cjs/commands/GetRouteCommand.js +3 -3
- package/dist-cjs/commands/GetRouteResponseCommand.js +3 -3
- package/dist-cjs/commands/GetRouteResponsesCommand.js +3 -3
- package/dist-cjs/commands/GetRoutesCommand.js +3 -3
- package/dist-cjs/commands/GetStageCommand.js +3 -3
- package/dist-cjs/commands/GetStagesCommand.js +3 -3
- package/dist-cjs/commands/GetTagsCommand.js +3 -3
- package/dist-cjs/commands/GetVpcLinkCommand.js +3 -3
- package/dist-cjs/commands/GetVpcLinksCommand.js +3 -3
- package/dist-cjs/commands/ImportApiCommand.js +3 -3
- package/dist-cjs/commands/ReimportApiCommand.js +3 -3
- package/dist-cjs/commands/ResetAuthorizersCacheCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateApiCommand.js +3 -3
- package/dist-cjs/commands/UpdateApiMappingCommand.js +3 -3
- package/dist-cjs/commands/UpdateAuthorizerCommand.js +3 -3
- package/dist-cjs/commands/UpdateDeploymentCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainNameCommand.js +3 -3
- package/dist-cjs/commands/UpdateIntegrationCommand.js +3 -3
- package/dist-cjs/commands/UpdateIntegrationResponseCommand.js +3 -3
- package/dist-cjs/commands/UpdateModelCommand.js +3 -3
- package/dist-cjs/commands/UpdateRouteCommand.js +3 -3
- package/dist-cjs/commands/UpdateRouteResponseCommand.js +3 -3
- package/dist-cjs/commands/UpdateStageCommand.js +3 -3
- package/dist-cjs/commands/UpdateVpcLinkCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +665 -665
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ApiGatewayV2.js +72 -72
- package/dist-es/protocols/Aws_restJson1.js +72 -72
- package/dist-types/ApiGatewayV2Client.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/dist-es/ApiGatewayV2.js
CHANGED
|
@@ -84,7 +84,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
84
84
|
}
|
|
85
85
|
else if (typeof cb === "function") {
|
|
86
86
|
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error("Expect http options but get "
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
88
88
|
this.send(command, optionsOrCb || {}, cb);
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
@@ -98,7 +98,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
98
98
|
}
|
|
99
99
|
else if (typeof cb === "function") {
|
|
100
100
|
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error("Expect http options but get "
|
|
101
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
102
102
|
this.send(command, optionsOrCb || {}, cb);
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
@@ -112,7 +112,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
112
112
|
}
|
|
113
113
|
else if (typeof cb === "function") {
|
|
114
114
|
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error("Expect http options but get "
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
116
116
|
this.send(command, optionsOrCb || {}, cb);
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
@@ -126,7 +126,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
126
126
|
}
|
|
127
127
|
else if (typeof cb === "function") {
|
|
128
128
|
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error("Expect http options but get "
|
|
129
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
130
130
|
this.send(command, optionsOrCb || {}, cb);
|
|
131
131
|
}
|
|
132
132
|
else {
|
|
@@ -140,7 +140,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
140
140
|
}
|
|
141
141
|
else if (typeof cb === "function") {
|
|
142
142
|
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error("Expect http options but get "
|
|
143
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
144
144
|
this.send(command, optionsOrCb || {}, cb);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
@@ -154,7 +154,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
154
154
|
}
|
|
155
155
|
else if (typeof cb === "function") {
|
|
156
156
|
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error("Expect http options but get "
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
158
158
|
this.send(command, optionsOrCb || {}, cb);
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
@@ -168,7 +168,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
168
168
|
}
|
|
169
169
|
else if (typeof cb === "function") {
|
|
170
170
|
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error("Expect http options but get "
|
|
171
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
172
172
|
this.send(command, optionsOrCb || {}, cb);
|
|
173
173
|
}
|
|
174
174
|
else {
|
|
@@ -182,7 +182,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
182
182
|
}
|
|
183
183
|
else if (typeof cb === "function") {
|
|
184
184
|
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error("Expect http options but get "
|
|
185
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
186
186
|
this.send(command, optionsOrCb || {}, cb);
|
|
187
187
|
}
|
|
188
188
|
else {
|
|
@@ -196,7 +196,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
196
196
|
}
|
|
197
197
|
else if (typeof cb === "function") {
|
|
198
198
|
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error("Expect http options but get "
|
|
199
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
200
200
|
this.send(command, optionsOrCb || {}, cb);
|
|
201
201
|
}
|
|
202
202
|
else {
|
|
@@ -210,7 +210,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
210
210
|
}
|
|
211
211
|
else if (typeof cb === "function") {
|
|
212
212
|
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error("Expect http options but get "
|
|
213
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
214
214
|
this.send(command, optionsOrCb || {}, cb);
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
@@ -224,7 +224,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
224
224
|
}
|
|
225
225
|
else if (typeof cb === "function") {
|
|
226
226
|
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error("Expect http options but get "
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
228
228
|
this.send(command, optionsOrCb || {}, cb);
|
|
229
229
|
}
|
|
230
230
|
else {
|
|
@@ -238,7 +238,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
238
238
|
}
|
|
239
239
|
else if (typeof cb === "function") {
|
|
240
240
|
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error("Expect http options but get "
|
|
241
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
242
242
|
this.send(command, optionsOrCb || {}, cb);
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
@@ -252,7 +252,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
252
252
|
}
|
|
253
253
|
else if (typeof cb === "function") {
|
|
254
254
|
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error("Expect http options but get "
|
|
255
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
256
256
|
this.send(command, optionsOrCb || {}, cb);
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
@@ -266,7 +266,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
266
266
|
}
|
|
267
267
|
else if (typeof cb === "function") {
|
|
268
268
|
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error("Expect http options but get "
|
|
269
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
270
270
|
this.send(command, optionsOrCb || {}, cb);
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
@@ -280,7 +280,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
280
280
|
}
|
|
281
281
|
else if (typeof cb === "function") {
|
|
282
282
|
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error("Expect http options but get "
|
|
283
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
284
284
|
this.send(command, optionsOrCb || {}, cb);
|
|
285
285
|
}
|
|
286
286
|
else {
|
|
@@ -294,7 +294,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
294
294
|
}
|
|
295
295
|
else if (typeof cb === "function") {
|
|
296
296
|
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error("Expect http options but get "
|
|
297
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
298
298
|
this.send(command, optionsOrCb || {}, cb);
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
@@ -308,7 +308,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
308
308
|
}
|
|
309
309
|
else if (typeof cb === "function") {
|
|
310
310
|
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error("Expect http options but get "
|
|
311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
312
312
|
this.send(command, optionsOrCb || {}, cb);
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
@@ -322,7 +322,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
322
322
|
}
|
|
323
323
|
else if (typeof cb === "function") {
|
|
324
324
|
if (typeof optionsOrCb !== "object")
|
|
325
|
-
throw new Error("Expect http options but get "
|
|
325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
326
326
|
this.send(command, optionsOrCb || {}, cb);
|
|
327
327
|
}
|
|
328
328
|
else {
|
|
@@ -336,7 +336,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
336
336
|
}
|
|
337
337
|
else if (typeof cb === "function") {
|
|
338
338
|
if (typeof optionsOrCb !== "object")
|
|
339
|
-
throw new Error("Expect http options but get "
|
|
339
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
340
340
|
this.send(command, optionsOrCb || {}, cb);
|
|
341
341
|
}
|
|
342
342
|
else {
|
|
@@ -350,7 +350,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
350
350
|
}
|
|
351
351
|
else if (typeof cb === "function") {
|
|
352
352
|
if (typeof optionsOrCb !== "object")
|
|
353
|
-
throw new Error("Expect http options but get "
|
|
353
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
354
354
|
this.send(command, optionsOrCb || {}, cb);
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
@@ -364,7 +364,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
364
364
|
}
|
|
365
365
|
else if (typeof cb === "function") {
|
|
366
366
|
if (typeof optionsOrCb !== "object")
|
|
367
|
-
throw new Error("Expect http options but get "
|
|
367
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
368
368
|
this.send(command, optionsOrCb || {}, cb);
|
|
369
369
|
}
|
|
370
370
|
else {
|
|
@@ -378,7 +378,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
378
378
|
}
|
|
379
379
|
else if (typeof cb === "function") {
|
|
380
380
|
if (typeof optionsOrCb !== "object")
|
|
381
|
-
throw new Error("Expect http options but get "
|
|
381
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
382
382
|
this.send(command, optionsOrCb || {}, cb);
|
|
383
383
|
}
|
|
384
384
|
else {
|
|
@@ -392,7 +392,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
392
392
|
}
|
|
393
393
|
else if (typeof cb === "function") {
|
|
394
394
|
if (typeof optionsOrCb !== "object")
|
|
395
|
-
throw new Error("Expect http options but get "
|
|
395
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
396
396
|
this.send(command, optionsOrCb || {}, cb);
|
|
397
397
|
}
|
|
398
398
|
else {
|
|
@@ -406,7 +406,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
406
406
|
}
|
|
407
407
|
else if (typeof cb === "function") {
|
|
408
408
|
if (typeof optionsOrCb !== "object")
|
|
409
|
-
throw new Error("Expect http options but get "
|
|
409
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
410
410
|
this.send(command, optionsOrCb || {}, cb);
|
|
411
411
|
}
|
|
412
412
|
else {
|
|
@@ -420,7 +420,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
420
420
|
}
|
|
421
421
|
else if (typeof cb === "function") {
|
|
422
422
|
if (typeof optionsOrCb !== "object")
|
|
423
|
-
throw new Error("Expect http options but get "
|
|
423
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
424
424
|
this.send(command, optionsOrCb || {}, cb);
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
@@ -434,7 +434,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
434
434
|
}
|
|
435
435
|
else if (typeof cb === "function") {
|
|
436
436
|
if (typeof optionsOrCb !== "object")
|
|
437
|
-
throw new Error("Expect http options but get "
|
|
437
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
438
438
|
this.send(command, optionsOrCb || {}, cb);
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
@@ -448,7 +448,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
448
448
|
}
|
|
449
449
|
else if (typeof cb === "function") {
|
|
450
450
|
if (typeof optionsOrCb !== "object")
|
|
451
|
-
throw new Error("Expect http options but get "
|
|
451
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
452
452
|
this.send(command, optionsOrCb || {}, cb);
|
|
453
453
|
}
|
|
454
454
|
else {
|
|
@@ -462,7 +462,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
462
462
|
}
|
|
463
463
|
else if (typeof cb === "function") {
|
|
464
464
|
if (typeof optionsOrCb !== "object")
|
|
465
|
-
throw new Error("Expect http options but get "
|
|
465
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
466
466
|
this.send(command, optionsOrCb || {}, cb);
|
|
467
467
|
}
|
|
468
468
|
else {
|
|
@@ -476,7 +476,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
476
476
|
}
|
|
477
477
|
else if (typeof cb === "function") {
|
|
478
478
|
if (typeof optionsOrCb !== "object")
|
|
479
|
-
throw new Error("Expect http options but get "
|
|
479
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
480
480
|
this.send(command, optionsOrCb || {}, cb);
|
|
481
481
|
}
|
|
482
482
|
else {
|
|
@@ -490,7 +490,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
490
490
|
}
|
|
491
491
|
else if (typeof cb === "function") {
|
|
492
492
|
if (typeof optionsOrCb !== "object")
|
|
493
|
-
throw new Error("Expect http options but get "
|
|
493
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
494
494
|
this.send(command, optionsOrCb || {}, cb);
|
|
495
495
|
}
|
|
496
496
|
else {
|
|
@@ -504,7 +504,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
504
504
|
}
|
|
505
505
|
else if (typeof cb === "function") {
|
|
506
506
|
if (typeof optionsOrCb !== "object")
|
|
507
|
-
throw new Error("Expect http options but get "
|
|
507
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
508
508
|
this.send(command, optionsOrCb || {}, cb);
|
|
509
509
|
}
|
|
510
510
|
else {
|
|
@@ -518,7 +518,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
518
518
|
}
|
|
519
519
|
else if (typeof cb === "function") {
|
|
520
520
|
if (typeof optionsOrCb !== "object")
|
|
521
|
-
throw new Error("Expect http options but get "
|
|
521
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
522
522
|
this.send(command, optionsOrCb || {}, cb);
|
|
523
523
|
}
|
|
524
524
|
else {
|
|
@@ -532,7 +532,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
532
532
|
}
|
|
533
533
|
else if (typeof cb === "function") {
|
|
534
534
|
if (typeof optionsOrCb !== "object")
|
|
535
|
-
throw new Error("Expect http options but get "
|
|
535
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
536
536
|
this.send(command, optionsOrCb || {}, cb);
|
|
537
537
|
}
|
|
538
538
|
else {
|
|
@@ -546,7 +546,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
546
546
|
}
|
|
547
547
|
else if (typeof cb === "function") {
|
|
548
548
|
if (typeof optionsOrCb !== "object")
|
|
549
|
-
throw new Error("Expect http options but get "
|
|
549
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
550
550
|
this.send(command, optionsOrCb || {}, cb);
|
|
551
551
|
}
|
|
552
552
|
else {
|
|
@@ -560,7 +560,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
560
560
|
}
|
|
561
561
|
else if (typeof cb === "function") {
|
|
562
562
|
if (typeof optionsOrCb !== "object")
|
|
563
|
-
throw new Error("Expect http options but get "
|
|
563
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
564
564
|
this.send(command, optionsOrCb || {}, cb);
|
|
565
565
|
}
|
|
566
566
|
else {
|
|
@@ -574,7 +574,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
574
574
|
}
|
|
575
575
|
else if (typeof cb === "function") {
|
|
576
576
|
if (typeof optionsOrCb !== "object")
|
|
577
|
-
throw new Error("Expect http options but get "
|
|
577
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
578
578
|
this.send(command, optionsOrCb || {}, cb);
|
|
579
579
|
}
|
|
580
580
|
else {
|
|
@@ -588,7 +588,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
588
588
|
}
|
|
589
589
|
else if (typeof cb === "function") {
|
|
590
590
|
if (typeof optionsOrCb !== "object")
|
|
591
|
-
throw new Error("Expect http options but get "
|
|
591
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
592
592
|
this.send(command, optionsOrCb || {}, cb);
|
|
593
593
|
}
|
|
594
594
|
else {
|
|
@@ -602,7 +602,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
602
602
|
}
|
|
603
603
|
else if (typeof cb === "function") {
|
|
604
604
|
if (typeof optionsOrCb !== "object")
|
|
605
|
-
throw new Error("Expect http options but get "
|
|
605
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
606
606
|
this.send(command, optionsOrCb || {}, cb);
|
|
607
607
|
}
|
|
608
608
|
else {
|
|
@@ -616,7 +616,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
616
616
|
}
|
|
617
617
|
else if (typeof cb === "function") {
|
|
618
618
|
if (typeof optionsOrCb !== "object")
|
|
619
|
-
throw new Error("Expect http options but get "
|
|
619
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
620
620
|
this.send(command, optionsOrCb || {}, cb);
|
|
621
621
|
}
|
|
622
622
|
else {
|
|
@@ -630,7 +630,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
630
630
|
}
|
|
631
631
|
else if (typeof cb === "function") {
|
|
632
632
|
if (typeof optionsOrCb !== "object")
|
|
633
|
-
throw new Error("Expect http options but get "
|
|
633
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
634
634
|
this.send(command, optionsOrCb || {}, cb);
|
|
635
635
|
}
|
|
636
636
|
else {
|
|
@@ -644,7 +644,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
644
644
|
}
|
|
645
645
|
else if (typeof cb === "function") {
|
|
646
646
|
if (typeof optionsOrCb !== "object")
|
|
647
|
-
throw new Error("Expect http options but get "
|
|
647
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
648
648
|
this.send(command, optionsOrCb || {}, cb);
|
|
649
649
|
}
|
|
650
650
|
else {
|
|
@@ -658,7 +658,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
658
658
|
}
|
|
659
659
|
else if (typeof cb === "function") {
|
|
660
660
|
if (typeof optionsOrCb !== "object")
|
|
661
|
-
throw new Error("Expect http options but get "
|
|
661
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
662
662
|
this.send(command, optionsOrCb || {}, cb);
|
|
663
663
|
}
|
|
664
664
|
else {
|
|
@@ -672,7 +672,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
672
672
|
}
|
|
673
673
|
else if (typeof cb === "function") {
|
|
674
674
|
if (typeof optionsOrCb !== "object")
|
|
675
|
-
throw new Error("Expect http options but get "
|
|
675
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
676
676
|
this.send(command, optionsOrCb || {}, cb);
|
|
677
677
|
}
|
|
678
678
|
else {
|
|
@@ -686,7 +686,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
686
686
|
}
|
|
687
687
|
else if (typeof cb === "function") {
|
|
688
688
|
if (typeof optionsOrCb !== "object")
|
|
689
|
-
throw new Error("Expect http options but get "
|
|
689
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
690
690
|
this.send(command, optionsOrCb || {}, cb);
|
|
691
691
|
}
|
|
692
692
|
else {
|
|
@@ -700,7 +700,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
700
700
|
}
|
|
701
701
|
else if (typeof cb === "function") {
|
|
702
702
|
if (typeof optionsOrCb !== "object")
|
|
703
|
-
throw new Error("Expect http options but get "
|
|
703
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
704
704
|
this.send(command, optionsOrCb || {}, cb);
|
|
705
705
|
}
|
|
706
706
|
else {
|
|
@@ -714,7 +714,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
714
714
|
}
|
|
715
715
|
else if (typeof cb === "function") {
|
|
716
716
|
if (typeof optionsOrCb !== "object")
|
|
717
|
-
throw new Error("Expect http options but get "
|
|
717
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
718
718
|
this.send(command, optionsOrCb || {}, cb);
|
|
719
719
|
}
|
|
720
720
|
else {
|
|
@@ -728,7 +728,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
728
728
|
}
|
|
729
729
|
else if (typeof cb === "function") {
|
|
730
730
|
if (typeof optionsOrCb !== "object")
|
|
731
|
-
throw new Error("Expect http options but get "
|
|
731
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
732
732
|
this.send(command, optionsOrCb || {}, cb);
|
|
733
733
|
}
|
|
734
734
|
else {
|
|
@@ -742,7 +742,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
742
742
|
}
|
|
743
743
|
else if (typeof cb === "function") {
|
|
744
744
|
if (typeof optionsOrCb !== "object")
|
|
745
|
-
throw new Error("Expect http options but get "
|
|
745
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
746
746
|
this.send(command, optionsOrCb || {}, cb);
|
|
747
747
|
}
|
|
748
748
|
else {
|
|
@@ -756,7 +756,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
756
756
|
}
|
|
757
757
|
else if (typeof cb === "function") {
|
|
758
758
|
if (typeof optionsOrCb !== "object")
|
|
759
|
-
throw new Error("Expect http options but get "
|
|
759
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
760
760
|
this.send(command, optionsOrCb || {}, cb);
|
|
761
761
|
}
|
|
762
762
|
else {
|
|
@@ -770,7 +770,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
770
770
|
}
|
|
771
771
|
else if (typeof cb === "function") {
|
|
772
772
|
if (typeof optionsOrCb !== "object")
|
|
773
|
-
throw new Error("Expect http options but get "
|
|
773
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
774
774
|
this.send(command, optionsOrCb || {}, cb);
|
|
775
775
|
}
|
|
776
776
|
else {
|
|
@@ -784,7 +784,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
784
784
|
}
|
|
785
785
|
else if (typeof cb === "function") {
|
|
786
786
|
if (typeof optionsOrCb !== "object")
|
|
787
|
-
throw new Error("Expect http options but get "
|
|
787
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
788
788
|
this.send(command, optionsOrCb || {}, cb);
|
|
789
789
|
}
|
|
790
790
|
else {
|
|
@@ -798,7 +798,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
798
798
|
}
|
|
799
799
|
else if (typeof cb === "function") {
|
|
800
800
|
if (typeof optionsOrCb !== "object")
|
|
801
|
-
throw new Error("Expect http options but get "
|
|
801
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
802
802
|
this.send(command, optionsOrCb || {}, cb);
|
|
803
803
|
}
|
|
804
804
|
else {
|
|
@@ -812,7 +812,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
812
812
|
}
|
|
813
813
|
else if (typeof cb === "function") {
|
|
814
814
|
if (typeof optionsOrCb !== "object")
|
|
815
|
-
throw new Error("Expect http options but get "
|
|
815
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
816
816
|
this.send(command, optionsOrCb || {}, cb);
|
|
817
817
|
}
|
|
818
818
|
else {
|
|
@@ -826,7 +826,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
826
826
|
}
|
|
827
827
|
else if (typeof cb === "function") {
|
|
828
828
|
if (typeof optionsOrCb !== "object")
|
|
829
|
-
throw new Error("Expect http options but get "
|
|
829
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
830
830
|
this.send(command, optionsOrCb || {}, cb);
|
|
831
831
|
}
|
|
832
832
|
else {
|
|
@@ -840,7 +840,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
840
840
|
}
|
|
841
841
|
else if (typeof cb === "function") {
|
|
842
842
|
if (typeof optionsOrCb !== "object")
|
|
843
|
-
throw new Error("Expect http options but get "
|
|
843
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
844
844
|
this.send(command, optionsOrCb || {}, cb);
|
|
845
845
|
}
|
|
846
846
|
else {
|
|
@@ -854,7 +854,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
854
854
|
}
|
|
855
855
|
else if (typeof cb === "function") {
|
|
856
856
|
if (typeof optionsOrCb !== "object")
|
|
857
|
-
throw new Error("Expect http options but get "
|
|
857
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
858
858
|
this.send(command, optionsOrCb || {}, cb);
|
|
859
859
|
}
|
|
860
860
|
else {
|
|
@@ -868,7 +868,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
868
868
|
}
|
|
869
869
|
else if (typeof cb === "function") {
|
|
870
870
|
if (typeof optionsOrCb !== "object")
|
|
871
|
-
throw new Error("Expect http options but get "
|
|
871
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
872
872
|
this.send(command, optionsOrCb || {}, cb);
|
|
873
873
|
}
|
|
874
874
|
else {
|
|
@@ -882,7 +882,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
882
882
|
}
|
|
883
883
|
else if (typeof cb === "function") {
|
|
884
884
|
if (typeof optionsOrCb !== "object")
|
|
885
|
-
throw new Error("Expect http options but get "
|
|
885
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
886
886
|
this.send(command, optionsOrCb || {}, cb);
|
|
887
887
|
}
|
|
888
888
|
else {
|
|
@@ -896,7 +896,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
896
896
|
}
|
|
897
897
|
else if (typeof cb === "function") {
|
|
898
898
|
if (typeof optionsOrCb !== "object")
|
|
899
|
-
throw new Error("Expect http options but get "
|
|
899
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
900
900
|
this.send(command, optionsOrCb || {}, cb);
|
|
901
901
|
}
|
|
902
902
|
else {
|
|
@@ -910,7 +910,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
910
910
|
}
|
|
911
911
|
else if (typeof cb === "function") {
|
|
912
912
|
if (typeof optionsOrCb !== "object")
|
|
913
|
-
throw new Error("Expect http options but get "
|
|
913
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
914
914
|
this.send(command, optionsOrCb || {}, cb);
|
|
915
915
|
}
|
|
916
916
|
else {
|
|
@@ -924,7 +924,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
924
924
|
}
|
|
925
925
|
else if (typeof cb === "function") {
|
|
926
926
|
if (typeof optionsOrCb !== "object")
|
|
927
|
-
throw new Error("Expect http options but get "
|
|
927
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
928
928
|
this.send(command, optionsOrCb || {}, cb);
|
|
929
929
|
}
|
|
930
930
|
else {
|
|
@@ -938,7 +938,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
938
938
|
}
|
|
939
939
|
else if (typeof cb === "function") {
|
|
940
940
|
if (typeof optionsOrCb !== "object")
|
|
941
|
-
throw new Error("Expect http options but get "
|
|
941
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
942
942
|
this.send(command, optionsOrCb || {}, cb);
|
|
943
943
|
}
|
|
944
944
|
else {
|
|
@@ -952,7 +952,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
952
952
|
}
|
|
953
953
|
else if (typeof cb === "function") {
|
|
954
954
|
if (typeof optionsOrCb !== "object")
|
|
955
|
-
throw new Error("Expect http options but get "
|
|
955
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
956
956
|
this.send(command, optionsOrCb || {}, cb);
|
|
957
957
|
}
|
|
958
958
|
else {
|
|
@@ -966,7 +966,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
966
966
|
}
|
|
967
967
|
else if (typeof cb === "function") {
|
|
968
968
|
if (typeof optionsOrCb !== "object")
|
|
969
|
-
throw new Error("Expect http options but get "
|
|
969
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
970
970
|
this.send(command, optionsOrCb || {}, cb);
|
|
971
971
|
}
|
|
972
972
|
else {
|
|
@@ -980,7 +980,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
980
980
|
}
|
|
981
981
|
else if (typeof cb === "function") {
|
|
982
982
|
if (typeof optionsOrCb !== "object")
|
|
983
|
-
throw new Error("Expect http options but get "
|
|
983
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
984
984
|
this.send(command, optionsOrCb || {}, cb);
|
|
985
985
|
}
|
|
986
986
|
else {
|
|
@@ -994,7 +994,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
994
994
|
}
|
|
995
995
|
else if (typeof cb === "function") {
|
|
996
996
|
if (typeof optionsOrCb !== "object")
|
|
997
|
-
throw new Error("Expect http options but get "
|
|
997
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
998
998
|
this.send(command, optionsOrCb || {}, cb);
|
|
999
999
|
}
|
|
1000
1000
|
else {
|
|
@@ -1008,7 +1008,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
else if (typeof cb === "function") {
|
|
1010
1010
|
if (typeof optionsOrCb !== "object")
|
|
1011
|
-
throw new Error("Expect http options but get "
|
|
1011
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1012
1012
|
this.send(command, optionsOrCb || {}, cb);
|
|
1013
1013
|
}
|
|
1014
1014
|
else {
|
|
@@ -1022,7 +1022,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
else if (typeof cb === "function") {
|
|
1024
1024
|
if (typeof optionsOrCb !== "object")
|
|
1025
|
-
throw new Error("Expect http options but get "
|
|
1025
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1026
1026
|
this.send(command, optionsOrCb || {}, cb);
|
|
1027
1027
|
}
|
|
1028
1028
|
else {
|
|
@@ -1036,7 +1036,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
else if (typeof cb === "function") {
|
|
1038
1038
|
if (typeof optionsOrCb !== "object")
|
|
1039
|
-
throw new Error("Expect http options but get "
|
|
1039
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1040
1040
|
this.send(command, optionsOrCb || {}, cb);
|
|
1041
1041
|
}
|
|
1042
1042
|
else {
|
|
@@ -1050,7 +1050,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
else if (typeof cb === "function") {
|
|
1052
1052
|
if (typeof optionsOrCb !== "object")
|
|
1053
|
-
throw new Error("Expect http options but get "
|
|
1053
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1054
1054
|
this.send(command, optionsOrCb || {}, cb);
|
|
1055
1055
|
}
|
|
1056
1056
|
else {
|
|
@@ -1064,7 +1064,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
else if (typeof cb === "function") {
|
|
1066
1066
|
if (typeof optionsOrCb !== "object")
|
|
1067
|
-
throw new Error("Expect http options but get "
|
|
1067
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1068
1068
|
this.send(command, optionsOrCb || {}, cb);
|
|
1069
1069
|
}
|
|
1070
1070
|
else {
|
|
@@ -1078,7 +1078,7 @@ var ApiGatewayV2 = (function (_super) {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
else if (typeof cb === "function") {
|
|
1080
1080
|
if (typeof optionsOrCb !== "object")
|
|
1081
|
-
throw new Error("Expect http options but get "
|
|
1081
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1082
1082
|
this.send(command, optionsOrCb || {}, cb);
|
|
1083
1083
|
}
|
|
1084
1084
|
else {
|