@aws-sdk/client-apigatewayv2 3.821.0 → 3.823.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/README.md +47 -7
- package/dist-cjs/index.js +395 -2
- package/dist-es/ApiGatewayV2.js +10 -0
- package/dist-es/commands/CreateRoutingRuleCommand.js +22 -0
- package/dist-es/commands/DeleteRoutingRuleCommand.js +22 -0
- package/dist-es/commands/GetRoutingRuleCommand.js +22 -0
- package/dist-es/commands/ListRoutingRulesCommand.js +22 -0
- package/dist-es/commands/PutRoutingRuleCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRoutingRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +300 -0
- package/dist-types/ApiGatewayV2.d.ts +35 -0
- package/dist-types/ApiGatewayV2Client.d.ts +7 -2
- package/dist-types/commands/CreateDomainNameCommand.d.ts +3 -0
- package/dist-types/commands/CreateRoutingRuleCommand.d.ts +140 -0
- package/dist-types/commands/DeleteRoutingRuleCommand.d.ts +81 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainNamesCommand.d.ts +2 -0
- package/dist-types/commands/GetRoutingRuleCommand.d.ts +111 -0
- package/dist-types/commands/ListRoutingRulesCommand.d.ts +117 -0
- package/dist-types/commands/PutRoutingRuleCommand.d.ts +141 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +415 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRoutingRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/ApiGatewayV2.d.ts +85 -0
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateRoutingRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRoutingRuleCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetRoutingRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListRoutingRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutRoutingRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRoutingRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
|
@@ -10,6 +10,7 @@ import { CreateIntegrationResponseCommandInput, CreateIntegrationResponseCommand
|
|
|
10
10
|
import { CreateModelCommandInput, CreateModelCommandOutput } from "../commands/CreateModelCommand";
|
|
11
11
|
import { CreateRouteCommandInput, CreateRouteCommandOutput } from "../commands/CreateRouteCommand";
|
|
12
12
|
import { CreateRouteResponseCommandInput, CreateRouteResponseCommandOutput } from "../commands/CreateRouteResponseCommand";
|
|
13
|
+
import { CreateRoutingRuleCommandInput, CreateRoutingRuleCommandOutput } from "../commands/CreateRoutingRuleCommand";
|
|
13
14
|
import { CreateStageCommandInput, CreateStageCommandOutput } from "../commands/CreateStageCommand";
|
|
14
15
|
import { CreateVpcLinkCommandInput, CreateVpcLinkCommandOutput } from "../commands/CreateVpcLinkCommand";
|
|
15
16
|
import { DeleteAccessLogSettingsCommandInput, DeleteAccessLogSettingsCommandOutput } from "../commands/DeleteAccessLogSettingsCommand";
|
|
@@ -26,6 +27,7 @@ import { DeleteRouteCommandInput, DeleteRouteCommandOutput } from "../commands/D
|
|
|
26
27
|
import { DeleteRouteRequestParameterCommandInput, DeleteRouteRequestParameterCommandOutput } from "../commands/DeleteRouteRequestParameterCommand";
|
|
27
28
|
import { DeleteRouteResponseCommandInput, DeleteRouteResponseCommandOutput } from "../commands/DeleteRouteResponseCommand";
|
|
28
29
|
import { DeleteRouteSettingsCommandInput, DeleteRouteSettingsCommandOutput } from "../commands/DeleteRouteSettingsCommand";
|
|
30
|
+
import { DeleteRoutingRuleCommandInput, DeleteRoutingRuleCommandOutput } from "../commands/DeleteRoutingRuleCommand";
|
|
29
31
|
import { DeleteStageCommandInput, DeleteStageCommandOutput } from "../commands/DeleteStageCommand";
|
|
30
32
|
import { DeleteVpcLinkCommandInput, DeleteVpcLinkCommandOutput } from "../commands/DeleteVpcLinkCommand";
|
|
31
33
|
import { ExportApiCommandInput, ExportApiCommandOutput } from "../commands/ExportApiCommand";
|
|
@@ -50,12 +52,15 @@ import { GetRouteCommandInput, GetRouteCommandOutput } from "../commands/GetRout
|
|
|
50
52
|
import { GetRouteResponseCommandInput, GetRouteResponseCommandOutput } from "../commands/GetRouteResponseCommand";
|
|
51
53
|
import { GetRouteResponsesCommandInput, GetRouteResponsesCommandOutput } from "../commands/GetRouteResponsesCommand";
|
|
52
54
|
import { GetRoutesCommandInput, GetRoutesCommandOutput } from "../commands/GetRoutesCommand";
|
|
55
|
+
import { GetRoutingRuleCommandInput, GetRoutingRuleCommandOutput } from "../commands/GetRoutingRuleCommand";
|
|
53
56
|
import { GetStageCommandInput, GetStageCommandOutput } from "../commands/GetStageCommand";
|
|
54
57
|
import { GetStagesCommandInput, GetStagesCommandOutput } from "../commands/GetStagesCommand";
|
|
55
58
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
|
|
56
59
|
import { GetVpcLinkCommandInput, GetVpcLinkCommandOutput } from "../commands/GetVpcLinkCommand";
|
|
57
60
|
import { GetVpcLinksCommandInput, GetVpcLinksCommandOutput } from "../commands/GetVpcLinksCommand";
|
|
58
61
|
import { ImportApiCommandInput, ImportApiCommandOutput } from "../commands/ImportApiCommand";
|
|
62
|
+
import { ListRoutingRulesCommandInput, ListRoutingRulesCommandOutput } from "../commands/ListRoutingRulesCommand";
|
|
63
|
+
import { PutRoutingRuleCommandInput, PutRoutingRuleCommandOutput } from "../commands/PutRoutingRuleCommand";
|
|
59
64
|
import { ReimportApiCommandInput, ReimportApiCommandOutput } from "../commands/ReimportApiCommand";
|
|
60
65
|
import { ResetAuthorizersCacheCommandInput, ResetAuthorizersCacheCommandOutput } from "../commands/ResetAuthorizersCacheCommand";
|
|
61
66
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
@@ -112,6 +117,10 @@ export declare const se_CreateRouteCommand: (input: CreateRouteCommandInput, con
|
|
|
112
117
|
* serializeAws_restJson1CreateRouteResponseCommand
|
|
113
118
|
*/
|
|
114
119
|
export declare const se_CreateRouteResponseCommand: (input: CreateRouteResponseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
120
|
+
/**
|
|
121
|
+
* serializeAws_restJson1CreateRoutingRuleCommand
|
|
122
|
+
*/
|
|
123
|
+
export declare const se_CreateRoutingRuleCommand: (input: CreateRoutingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
115
124
|
/**
|
|
116
125
|
* serializeAws_restJson1CreateStageCommand
|
|
117
126
|
*/
|
|
@@ -176,6 +185,10 @@ export declare const se_DeleteRouteResponseCommand: (input: DeleteRouteResponseC
|
|
|
176
185
|
* serializeAws_restJson1DeleteRouteSettingsCommand
|
|
177
186
|
*/
|
|
178
187
|
export declare const se_DeleteRouteSettingsCommand: (input: DeleteRouteSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
188
|
+
/**
|
|
189
|
+
* serializeAws_restJson1DeleteRoutingRuleCommand
|
|
190
|
+
*/
|
|
191
|
+
export declare const se_DeleteRoutingRuleCommand: (input: DeleteRoutingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
179
192
|
/**
|
|
180
193
|
* serializeAws_restJson1DeleteStageCommand
|
|
181
194
|
*/
|
|
@@ -272,6 +285,10 @@ export declare const se_GetRouteResponsesCommand: (input: GetRouteResponsesComma
|
|
|
272
285
|
* serializeAws_restJson1GetRoutesCommand
|
|
273
286
|
*/
|
|
274
287
|
export declare const se_GetRoutesCommand: (input: GetRoutesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
288
|
+
/**
|
|
289
|
+
* serializeAws_restJson1GetRoutingRuleCommand
|
|
290
|
+
*/
|
|
291
|
+
export declare const se_GetRoutingRuleCommand: (input: GetRoutingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
275
292
|
/**
|
|
276
293
|
* serializeAws_restJson1GetStageCommand
|
|
277
294
|
*/
|
|
@@ -296,6 +313,14 @@ export declare const se_GetVpcLinksCommand: (input: GetVpcLinksCommandInput, con
|
|
|
296
313
|
* serializeAws_restJson1ImportApiCommand
|
|
297
314
|
*/
|
|
298
315
|
export declare const se_ImportApiCommand: (input: ImportApiCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
316
|
+
/**
|
|
317
|
+
* serializeAws_restJson1ListRoutingRulesCommand
|
|
318
|
+
*/
|
|
319
|
+
export declare const se_ListRoutingRulesCommand: (input: ListRoutingRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
320
|
+
/**
|
|
321
|
+
* serializeAws_restJson1PutRoutingRuleCommand
|
|
322
|
+
*/
|
|
323
|
+
export declare const se_PutRoutingRuleCommand: (input: PutRoutingRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
299
324
|
/**
|
|
300
325
|
* serializeAws_restJson1ReimportApiCommand
|
|
301
326
|
*/
|
|
@@ -400,6 +425,10 @@ export declare const de_CreateRouteCommand: (output: __HttpResponse, context: __
|
|
|
400
425
|
* deserializeAws_restJson1CreateRouteResponseCommand
|
|
401
426
|
*/
|
|
402
427
|
export declare const de_CreateRouteResponseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRouteResponseCommandOutput>;
|
|
428
|
+
/**
|
|
429
|
+
* deserializeAws_restJson1CreateRoutingRuleCommand
|
|
430
|
+
*/
|
|
431
|
+
export declare const de_CreateRoutingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRoutingRuleCommandOutput>;
|
|
403
432
|
/**
|
|
404
433
|
* deserializeAws_restJson1CreateStageCommand
|
|
405
434
|
*/
|
|
@@ -464,6 +493,10 @@ export declare const de_DeleteRouteResponseCommand: (output: __HttpResponse, con
|
|
|
464
493
|
* deserializeAws_restJson1DeleteRouteSettingsCommand
|
|
465
494
|
*/
|
|
466
495
|
export declare const de_DeleteRouteSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRouteSettingsCommandOutput>;
|
|
496
|
+
/**
|
|
497
|
+
* deserializeAws_restJson1DeleteRoutingRuleCommand
|
|
498
|
+
*/
|
|
499
|
+
export declare const de_DeleteRoutingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRoutingRuleCommandOutput>;
|
|
467
500
|
/**
|
|
468
501
|
* deserializeAws_restJson1DeleteStageCommand
|
|
469
502
|
*/
|
|
@@ -560,6 +593,10 @@ export declare const de_GetRouteResponsesCommand: (output: __HttpResponse, conte
|
|
|
560
593
|
* deserializeAws_restJson1GetRoutesCommand
|
|
561
594
|
*/
|
|
562
595
|
export declare const de_GetRoutesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoutesCommandOutput>;
|
|
596
|
+
/**
|
|
597
|
+
* deserializeAws_restJson1GetRoutingRuleCommand
|
|
598
|
+
*/
|
|
599
|
+
export declare const de_GetRoutingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoutingRuleCommandOutput>;
|
|
563
600
|
/**
|
|
564
601
|
* deserializeAws_restJson1GetStageCommand
|
|
565
602
|
*/
|
|
@@ -584,6 +621,14 @@ export declare const de_GetVpcLinksCommand: (output: __HttpResponse, context: __
|
|
|
584
621
|
* deserializeAws_restJson1ImportApiCommand
|
|
585
622
|
*/
|
|
586
623
|
export declare const de_ImportApiCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportApiCommandOutput>;
|
|
624
|
+
/**
|
|
625
|
+
* deserializeAws_restJson1ListRoutingRulesCommand
|
|
626
|
+
*/
|
|
627
|
+
export declare const de_ListRoutingRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRoutingRulesCommandOutput>;
|
|
628
|
+
/**
|
|
629
|
+
* deserializeAws_restJson1PutRoutingRuleCommand
|
|
630
|
+
*/
|
|
631
|
+
export declare const de_PutRoutingRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRoutingRuleCommandOutput>;
|
|
587
632
|
/**
|
|
588
633
|
* deserializeAws_restJson1ReimportApiCommand
|
|
589
634
|
*/
|
|
@@ -40,6 +40,10 @@ import {
|
|
|
40
40
|
CreateRouteResponseCommandInput,
|
|
41
41
|
CreateRouteResponseCommandOutput,
|
|
42
42
|
} from "./commands/CreateRouteResponseCommand";
|
|
43
|
+
import {
|
|
44
|
+
CreateRoutingRuleCommandInput,
|
|
45
|
+
CreateRoutingRuleCommandOutput,
|
|
46
|
+
} from "./commands/CreateRoutingRuleCommand";
|
|
43
47
|
import {
|
|
44
48
|
CreateStageCommandInput,
|
|
45
49
|
CreateStageCommandOutput,
|
|
@@ -104,6 +108,10 @@ import {
|
|
|
104
108
|
DeleteRouteSettingsCommandInput,
|
|
105
109
|
DeleteRouteSettingsCommandOutput,
|
|
106
110
|
} from "./commands/DeleteRouteSettingsCommand";
|
|
111
|
+
import {
|
|
112
|
+
DeleteRoutingRuleCommandInput,
|
|
113
|
+
DeleteRoutingRuleCommandOutput,
|
|
114
|
+
} from "./commands/DeleteRoutingRuleCommand";
|
|
107
115
|
import {
|
|
108
116
|
DeleteStageCommandInput,
|
|
109
117
|
DeleteStageCommandOutput,
|
|
@@ -200,6 +208,10 @@ import {
|
|
|
200
208
|
GetRoutesCommandInput,
|
|
201
209
|
GetRoutesCommandOutput,
|
|
202
210
|
} from "./commands/GetRoutesCommand";
|
|
211
|
+
import {
|
|
212
|
+
GetRoutingRuleCommandInput,
|
|
213
|
+
GetRoutingRuleCommandOutput,
|
|
214
|
+
} from "./commands/GetRoutingRuleCommand";
|
|
203
215
|
import {
|
|
204
216
|
GetStageCommandInput,
|
|
205
217
|
GetStageCommandOutput,
|
|
@@ -224,6 +236,14 @@ import {
|
|
|
224
236
|
ImportApiCommandInput,
|
|
225
237
|
ImportApiCommandOutput,
|
|
226
238
|
} from "./commands/ImportApiCommand";
|
|
239
|
+
import {
|
|
240
|
+
ListRoutingRulesCommandInput,
|
|
241
|
+
ListRoutingRulesCommandOutput,
|
|
242
|
+
} from "./commands/ListRoutingRulesCommand";
|
|
243
|
+
import {
|
|
244
|
+
PutRoutingRuleCommandInput,
|
|
245
|
+
PutRoutingRuleCommandOutput,
|
|
246
|
+
} from "./commands/PutRoutingRuleCommand";
|
|
227
247
|
import {
|
|
228
248
|
ReimportApiCommandInput,
|
|
229
249
|
ReimportApiCommandOutput,
|
|
@@ -419,6 +439,19 @@ export interface ApiGatewayV2 {
|
|
|
419
439
|
options: __HttpHandlerOptions,
|
|
420
440
|
cb: (err: any, data?: CreateRouteResponseCommandOutput) => void
|
|
421
441
|
): void;
|
|
442
|
+
createRoutingRule(
|
|
443
|
+
args: CreateRoutingRuleCommandInput,
|
|
444
|
+
options?: __HttpHandlerOptions
|
|
445
|
+
): Promise<CreateRoutingRuleCommandOutput>;
|
|
446
|
+
createRoutingRule(
|
|
447
|
+
args: CreateRoutingRuleCommandInput,
|
|
448
|
+
cb: (err: any, data?: CreateRoutingRuleCommandOutput) => void
|
|
449
|
+
): void;
|
|
450
|
+
createRoutingRule(
|
|
451
|
+
args: CreateRoutingRuleCommandInput,
|
|
452
|
+
options: __HttpHandlerOptions,
|
|
453
|
+
cb: (err: any, data?: CreateRoutingRuleCommandOutput) => void
|
|
454
|
+
): void;
|
|
422
455
|
createStage(
|
|
423
456
|
args: CreateStageCommandInput,
|
|
424
457
|
options?: __HttpHandlerOptions
|
|
@@ -627,6 +660,19 @@ export interface ApiGatewayV2 {
|
|
|
627
660
|
options: __HttpHandlerOptions,
|
|
628
661
|
cb: (err: any, data?: DeleteRouteSettingsCommandOutput) => void
|
|
629
662
|
): void;
|
|
663
|
+
deleteRoutingRule(
|
|
664
|
+
args: DeleteRoutingRuleCommandInput,
|
|
665
|
+
options?: __HttpHandlerOptions
|
|
666
|
+
): Promise<DeleteRoutingRuleCommandOutput>;
|
|
667
|
+
deleteRoutingRule(
|
|
668
|
+
args: DeleteRoutingRuleCommandInput,
|
|
669
|
+
cb: (err: any, data?: DeleteRoutingRuleCommandOutput) => void
|
|
670
|
+
): void;
|
|
671
|
+
deleteRoutingRule(
|
|
672
|
+
args: DeleteRoutingRuleCommandInput,
|
|
673
|
+
options: __HttpHandlerOptions,
|
|
674
|
+
cb: (err: any, data?: DeleteRoutingRuleCommandOutput) => void
|
|
675
|
+
): void;
|
|
630
676
|
deleteStage(
|
|
631
677
|
args: DeleteStageCommandInput,
|
|
632
678
|
options?: __HttpHandlerOptions
|
|
@@ -941,6 +987,19 @@ export interface ApiGatewayV2 {
|
|
|
941
987
|
options: __HttpHandlerOptions,
|
|
942
988
|
cb: (err: any, data?: GetRoutesCommandOutput) => void
|
|
943
989
|
): void;
|
|
990
|
+
getRoutingRule(
|
|
991
|
+
args: GetRoutingRuleCommandInput,
|
|
992
|
+
options?: __HttpHandlerOptions
|
|
993
|
+
): Promise<GetRoutingRuleCommandOutput>;
|
|
994
|
+
getRoutingRule(
|
|
995
|
+
args: GetRoutingRuleCommandInput,
|
|
996
|
+
cb: (err: any, data?: GetRoutingRuleCommandOutput) => void
|
|
997
|
+
): void;
|
|
998
|
+
getRoutingRule(
|
|
999
|
+
args: GetRoutingRuleCommandInput,
|
|
1000
|
+
options: __HttpHandlerOptions,
|
|
1001
|
+
cb: (err: any, data?: GetRoutingRuleCommandOutput) => void
|
|
1002
|
+
): void;
|
|
944
1003
|
getStage(
|
|
945
1004
|
args: GetStageCommandInput,
|
|
946
1005
|
options?: __HttpHandlerOptions
|
|
@@ -1020,6 +1079,32 @@ export interface ApiGatewayV2 {
|
|
|
1020
1079
|
options: __HttpHandlerOptions,
|
|
1021
1080
|
cb: (err: any, data?: ImportApiCommandOutput) => void
|
|
1022
1081
|
): void;
|
|
1082
|
+
listRoutingRules(
|
|
1083
|
+
args: ListRoutingRulesCommandInput,
|
|
1084
|
+
options?: __HttpHandlerOptions
|
|
1085
|
+
): Promise<ListRoutingRulesCommandOutput>;
|
|
1086
|
+
listRoutingRules(
|
|
1087
|
+
args: ListRoutingRulesCommandInput,
|
|
1088
|
+
cb: (err: any, data?: ListRoutingRulesCommandOutput) => void
|
|
1089
|
+
): void;
|
|
1090
|
+
listRoutingRules(
|
|
1091
|
+
args: ListRoutingRulesCommandInput,
|
|
1092
|
+
options: __HttpHandlerOptions,
|
|
1093
|
+
cb: (err: any, data?: ListRoutingRulesCommandOutput) => void
|
|
1094
|
+
): void;
|
|
1095
|
+
putRoutingRule(
|
|
1096
|
+
args: PutRoutingRuleCommandInput,
|
|
1097
|
+
options?: __HttpHandlerOptions
|
|
1098
|
+
): Promise<PutRoutingRuleCommandOutput>;
|
|
1099
|
+
putRoutingRule(
|
|
1100
|
+
args: PutRoutingRuleCommandInput,
|
|
1101
|
+
cb: (err: any, data?: PutRoutingRuleCommandOutput) => void
|
|
1102
|
+
): void;
|
|
1103
|
+
putRoutingRule(
|
|
1104
|
+
args: PutRoutingRuleCommandInput,
|
|
1105
|
+
options: __HttpHandlerOptions,
|
|
1106
|
+
cb: (err: any, data?: PutRoutingRuleCommandOutput) => void
|
|
1107
|
+
): void;
|
|
1023
1108
|
reimportApi(
|
|
1024
1109
|
args: ReimportApiCommandInput,
|
|
1025
1110
|
options?: __HttpHandlerOptions
|
|
@@ -85,6 +85,10 @@ import {
|
|
|
85
85
|
CreateRouteResponseCommandInput,
|
|
86
86
|
CreateRouteResponseCommandOutput,
|
|
87
87
|
} from "./commands/CreateRouteResponseCommand";
|
|
88
|
+
import {
|
|
89
|
+
CreateRoutingRuleCommandInput,
|
|
90
|
+
CreateRoutingRuleCommandOutput,
|
|
91
|
+
} from "./commands/CreateRoutingRuleCommand";
|
|
88
92
|
import {
|
|
89
93
|
CreateStageCommandInput,
|
|
90
94
|
CreateStageCommandOutput,
|
|
@@ -149,6 +153,10 @@ import {
|
|
|
149
153
|
DeleteRouteSettingsCommandInput,
|
|
150
154
|
DeleteRouteSettingsCommandOutput,
|
|
151
155
|
} from "./commands/DeleteRouteSettingsCommand";
|
|
156
|
+
import {
|
|
157
|
+
DeleteRoutingRuleCommandInput,
|
|
158
|
+
DeleteRoutingRuleCommandOutput,
|
|
159
|
+
} from "./commands/DeleteRoutingRuleCommand";
|
|
152
160
|
import {
|
|
153
161
|
DeleteStageCommandInput,
|
|
154
162
|
DeleteStageCommandOutput,
|
|
@@ -245,6 +253,10 @@ import {
|
|
|
245
253
|
GetRoutesCommandInput,
|
|
246
254
|
GetRoutesCommandOutput,
|
|
247
255
|
} from "./commands/GetRoutesCommand";
|
|
256
|
+
import {
|
|
257
|
+
GetRoutingRuleCommandInput,
|
|
258
|
+
GetRoutingRuleCommandOutput,
|
|
259
|
+
} from "./commands/GetRoutingRuleCommand";
|
|
248
260
|
import {
|
|
249
261
|
GetStageCommandInput,
|
|
250
262
|
GetStageCommandOutput,
|
|
@@ -269,6 +281,14 @@ import {
|
|
|
269
281
|
ImportApiCommandInput,
|
|
270
282
|
ImportApiCommandOutput,
|
|
271
283
|
} from "./commands/ImportApiCommand";
|
|
284
|
+
import {
|
|
285
|
+
ListRoutingRulesCommandInput,
|
|
286
|
+
ListRoutingRulesCommandOutput,
|
|
287
|
+
} from "./commands/ListRoutingRulesCommand";
|
|
288
|
+
import {
|
|
289
|
+
PutRoutingRuleCommandInput,
|
|
290
|
+
PutRoutingRuleCommandOutput,
|
|
291
|
+
} from "./commands/PutRoutingRuleCommand";
|
|
272
292
|
import {
|
|
273
293
|
ReimportApiCommandInput,
|
|
274
294
|
ReimportApiCommandOutput,
|
|
@@ -351,6 +371,7 @@ export type ServiceInputTypes =
|
|
|
351
371
|
| CreateModelCommandInput
|
|
352
372
|
| CreateRouteCommandInput
|
|
353
373
|
| CreateRouteResponseCommandInput
|
|
374
|
+
| CreateRoutingRuleCommandInput
|
|
354
375
|
| CreateStageCommandInput
|
|
355
376
|
| CreateVpcLinkCommandInput
|
|
356
377
|
| DeleteAccessLogSettingsCommandInput
|
|
@@ -367,6 +388,7 @@ export type ServiceInputTypes =
|
|
|
367
388
|
| DeleteRouteRequestParameterCommandInput
|
|
368
389
|
| DeleteRouteResponseCommandInput
|
|
369
390
|
| DeleteRouteSettingsCommandInput
|
|
391
|
+
| DeleteRoutingRuleCommandInput
|
|
370
392
|
| DeleteStageCommandInput
|
|
371
393
|
| DeleteVpcLinkCommandInput
|
|
372
394
|
| ExportApiCommandInput
|
|
@@ -391,12 +413,15 @@ export type ServiceInputTypes =
|
|
|
391
413
|
| GetRouteResponseCommandInput
|
|
392
414
|
| GetRouteResponsesCommandInput
|
|
393
415
|
| GetRoutesCommandInput
|
|
416
|
+
| GetRoutingRuleCommandInput
|
|
394
417
|
| GetStageCommandInput
|
|
395
418
|
| GetStagesCommandInput
|
|
396
419
|
| GetTagsCommandInput
|
|
397
420
|
| GetVpcLinkCommandInput
|
|
398
421
|
| GetVpcLinksCommandInput
|
|
399
422
|
| ImportApiCommandInput
|
|
423
|
+
| ListRoutingRulesCommandInput
|
|
424
|
+
| PutRoutingRuleCommandInput
|
|
400
425
|
| ReimportApiCommandInput
|
|
401
426
|
| ResetAuthorizersCacheCommandInput
|
|
402
427
|
| TagResourceCommandInput
|
|
@@ -424,6 +449,7 @@ export type ServiceOutputTypes =
|
|
|
424
449
|
| CreateModelCommandOutput
|
|
425
450
|
| CreateRouteCommandOutput
|
|
426
451
|
| CreateRouteResponseCommandOutput
|
|
452
|
+
| CreateRoutingRuleCommandOutput
|
|
427
453
|
| CreateStageCommandOutput
|
|
428
454
|
| CreateVpcLinkCommandOutput
|
|
429
455
|
| DeleteAccessLogSettingsCommandOutput
|
|
@@ -440,6 +466,7 @@ export type ServiceOutputTypes =
|
|
|
440
466
|
| DeleteRouteRequestParameterCommandOutput
|
|
441
467
|
| DeleteRouteResponseCommandOutput
|
|
442
468
|
| DeleteRouteSettingsCommandOutput
|
|
469
|
+
| DeleteRoutingRuleCommandOutput
|
|
443
470
|
| DeleteStageCommandOutput
|
|
444
471
|
| DeleteVpcLinkCommandOutput
|
|
445
472
|
| ExportApiCommandOutput
|
|
@@ -464,12 +491,15 @@ export type ServiceOutputTypes =
|
|
|
464
491
|
| GetRouteResponseCommandOutput
|
|
465
492
|
| GetRouteResponsesCommandOutput
|
|
466
493
|
| GetRoutesCommandOutput
|
|
494
|
+
| GetRoutingRuleCommandOutput
|
|
467
495
|
| GetStageCommandOutput
|
|
468
496
|
| GetStagesCommandOutput
|
|
469
497
|
| GetTagsCommandOutput
|
|
470
498
|
| GetVpcLinkCommandOutput
|
|
471
499
|
| GetVpcLinksCommandOutput
|
|
472
500
|
| ImportApiCommandOutput
|
|
501
|
+
| ListRoutingRulesCommandOutput
|
|
502
|
+
| PutRoutingRuleCommandOutput
|
|
473
503
|
| ReimportApiCommandOutput
|
|
474
504
|
| ResetAuthorizersCacheCommandOutput
|
|
475
505
|
| TagResourceCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ApiGatewayV2Client";
|
|
8
|
+
import {
|
|
9
|
+
CreateRoutingRuleRequest,
|
|
10
|
+
CreateRoutingRuleResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateRoutingRuleCommandInput
|
|
15
|
+
extends CreateRoutingRuleRequest {}
|
|
16
|
+
export interface CreateRoutingRuleCommandOutput
|
|
17
|
+
extends CreateRoutingRuleResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateRoutingRuleCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateRoutingRuleCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateRoutingRuleCommandInput,
|
|
24
|
+
CreateRoutingRuleCommandOutput,
|
|
25
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateRoutingRuleCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateRoutingRuleCommandInput,
|
|
33
|
+
CreateRoutingRuleCommandOutput,
|
|
34
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateRoutingRuleCommand extends CreateRoutingRuleCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateRoutingRuleRequest;
|
|
44
|
+
output: CreateRoutingRuleResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateRoutingRuleCommandInput;
|
|
48
|
+
output: CreateRoutingRuleCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ApiGatewayV2Client";
|
|
8
|
+
import { DeleteRoutingRuleRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteRoutingRuleCommandInput
|
|
12
|
+
extends DeleteRoutingRuleRequest {}
|
|
13
|
+
export interface DeleteRoutingRuleCommandOutput extends __MetadataBearer {}
|
|
14
|
+
declare const DeleteRoutingRuleCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteRoutingRuleCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteRoutingRuleCommandInput,
|
|
19
|
+
DeleteRoutingRuleCommandOutput,
|
|
20
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
input: DeleteRoutingRuleCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
DeleteRoutingRuleCommandInput,
|
|
28
|
+
DeleteRoutingRuleCommandOutput,
|
|
29
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class DeleteRoutingRuleCommand extends DeleteRoutingRuleCommand_base {
|
|
36
|
+
protected static __types: {
|
|
37
|
+
api: {
|
|
38
|
+
input: DeleteRoutingRuleRequest;
|
|
39
|
+
output: {};
|
|
40
|
+
};
|
|
41
|
+
sdk: {
|
|
42
|
+
input: DeleteRoutingRuleCommandInput;
|
|
43
|
+
output: DeleteRoutingRuleCommandOutput;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ApiGatewayV2Client";
|
|
8
|
+
import {
|
|
9
|
+
GetRoutingRuleRequest,
|
|
10
|
+
GetRoutingRuleResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetRoutingRuleCommandInput extends GetRoutingRuleRequest {}
|
|
15
|
+
export interface GetRoutingRuleCommandOutput
|
|
16
|
+
extends GetRoutingRuleResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetRoutingRuleCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetRoutingRuleCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetRoutingRuleCommandInput,
|
|
23
|
+
GetRoutingRuleCommandOutput,
|
|
24
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: GetRoutingRuleCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetRoutingRuleCommandInput,
|
|
32
|
+
GetRoutingRuleCommandOutput,
|
|
33
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetRoutingRuleCommand extends GetRoutingRuleCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: GetRoutingRuleRequest;
|
|
43
|
+
output: GetRoutingRuleResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetRoutingRuleCommandInput;
|
|
47
|
+
output: GetRoutingRuleCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ApiGatewayV2Client";
|
|
8
|
+
import {
|
|
9
|
+
ListRoutingRulesRequest,
|
|
10
|
+
ListRoutingRulesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListRoutingRulesCommandInput extends ListRoutingRulesRequest {}
|
|
15
|
+
export interface ListRoutingRulesCommandOutput
|
|
16
|
+
extends ListRoutingRulesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListRoutingRulesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListRoutingRulesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListRoutingRulesCommandInput,
|
|
23
|
+
ListRoutingRulesCommandOutput,
|
|
24
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: ListRoutingRulesCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListRoutingRulesCommandInput,
|
|
32
|
+
ListRoutingRulesCommandOutput,
|
|
33
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListRoutingRulesCommand extends ListRoutingRulesCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListRoutingRulesRequest;
|
|
43
|
+
output: ListRoutingRulesResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListRoutingRulesCommandInput;
|
|
47
|
+
output: ListRoutingRulesCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ApiGatewayV2Client";
|
|
8
|
+
import {
|
|
9
|
+
PutRoutingRuleRequest,
|
|
10
|
+
PutRoutingRuleResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutRoutingRuleCommandInput extends PutRoutingRuleRequest {}
|
|
15
|
+
export interface PutRoutingRuleCommandOutput
|
|
16
|
+
extends PutRoutingRuleResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const PutRoutingRuleCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: PutRoutingRuleCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
PutRoutingRuleCommandInput,
|
|
23
|
+
PutRoutingRuleCommandOutput,
|
|
24
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: PutRoutingRuleCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
PutRoutingRuleCommandInput,
|
|
32
|
+
PutRoutingRuleCommandOutput,
|
|
33
|
+
ApiGatewayV2ClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class PutRoutingRuleCommand extends PutRoutingRuleCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: PutRoutingRuleRequest;
|
|
43
|
+
output: PutRoutingRuleResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: PutRoutingRuleCommandInput;
|
|
47
|
+
output: PutRoutingRuleCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./CreateIntegrationResponseCommand";
|
|
|
8
8
|
export * from "./CreateModelCommand";
|
|
9
9
|
export * from "./CreateRouteCommand";
|
|
10
10
|
export * from "./CreateRouteResponseCommand";
|
|
11
|
+
export * from "./CreateRoutingRuleCommand";
|
|
11
12
|
export * from "./CreateStageCommand";
|
|
12
13
|
export * from "./CreateVpcLinkCommand";
|
|
13
14
|
export * from "./DeleteAccessLogSettingsCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./DeleteRouteCommand";
|
|
|
24
25
|
export * from "./DeleteRouteRequestParameterCommand";
|
|
25
26
|
export * from "./DeleteRouteResponseCommand";
|
|
26
27
|
export * from "./DeleteRouteSettingsCommand";
|
|
28
|
+
export * from "./DeleteRoutingRuleCommand";
|
|
27
29
|
export * from "./DeleteStageCommand";
|
|
28
30
|
export * from "./DeleteVpcLinkCommand";
|
|
29
31
|
export * from "./ExportApiCommand";
|
|
@@ -48,12 +50,15 @@ export * from "./GetRouteCommand";
|
|
|
48
50
|
export * from "./GetRouteResponseCommand";
|
|
49
51
|
export * from "./GetRouteResponsesCommand";
|
|
50
52
|
export * from "./GetRoutesCommand";
|
|
53
|
+
export * from "./GetRoutingRuleCommand";
|
|
51
54
|
export * from "./GetStageCommand";
|
|
52
55
|
export * from "./GetStagesCommand";
|
|
53
56
|
export * from "./GetTagsCommand";
|
|
54
57
|
export * from "./GetVpcLinkCommand";
|
|
55
58
|
export * from "./GetVpcLinksCommand";
|
|
56
59
|
export * from "./ImportApiCommand";
|
|
60
|
+
export * from "./ListRoutingRulesCommand";
|
|
61
|
+
export * from "./PutRoutingRuleCommand";
|
|
57
62
|
export * from "./ReimportApiCommand";
|
|
58
63
|
export * from "./ResetAuthorizersCacheCommand";
|
|
59
64
|
export * from "./TagResourceCommand";
|
|
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { ApiGatewayV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
7
8
|
export * from "./models";
|
|
8
9
|
export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException";
|