@aws-sdk/client-apigatewayv2 3.817.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 +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
CreateModelCommand: () => CreateModelCommand,
|
|
42
42
|
CreateRouteCommand: () => CreateRouteCommand,
|
|
43
43
|
CreateRouteResponseCommand: () => CreateRouteResponseCommand,
|
|
44
|
+
CreateRoutingRuleCommand: () => CreateRoutingRuleCommand,
|
|
44
45
|
CreateStageCommand: () => CreateStageCommand,
|
|
45
46
|
CreateVpcLinkCommand: () => CreateVpcLinkCommand,
|
|
46
47
|
DeleteAccessLogSettingsCommand: () => DeleteAccessLogSettingsCommand,
|
|
@@ -57,6 +58,7 @@ __export(index_exports, {
|
|
|
57
58
|
DeleteRouteRequestParameterCommand: () => DeleteRouteRequestParameterCommand,
|
|
58
59
|
DeleteRouteResponseCommand: () => DeleteRouteResponseCommand,
|
|
59
60
|
DeleteRouteSettingsCommand: () => DeleteRouteSettingsCommand,
|
|
61
|
+
DeleteRoutingRuleCommand: () => DeleteRoutingRuleCommand,
|
|
60
62
|
DeleteStageCommand: () => DeleteStageCommand,
|
|
61
63
|
DeleteVpcLinkCommand: () => DeleteVpcLinkCommand,
|
|
62
64
|
DeploymentStatus: () => DeploymentStatus,
|
|
@@ -84,6 +86,7 @@ __export(index_exports, {
|
|
|
84
86
|
GetRouteResponseCommand: () => GetRouteResponseCommand,
|
|
85
87
|
GetRouteResponsesCommand: () => GetRouteResponsesCommand,
|
|
86
88
|
GetRoutesCommand: () => GetRoutesCommand,
|
|
89
|
+
GetRoutingRuleCommand: () => GetRoutingRuleCommand,
|
|
87
90
|
GetStageCommand: () => GetStageCommand,
|
|
88
91
|
GetStagesCommand: () => GetStagesCommand,
|
|
89
92
|
GetTagsCommand: () => GetTagsCommand,
|
|
@@ -92,12 +95,15 @@ __export(index_exports, {
|
|
|
92
95
|
ImportApiCommand: () => ImportApiCommand,
|
|
93
96
|
IntegrationType: () => IntegrationType,
|
|
94
97
|
IpAddressType: () => IpAddressType,
|
|
98
|
+
ListRoutingRulesCommand: () => ListRoutingRulesCommand,
|
|
95
99
|
LoggingLevel: () => LoggingLevel,
|
|
96
100
|
NotFoundException: () => NotFoundException,
|
|
97
101
|
PassthroughBehavior: () => PassthroughBehavior,
|
|
98
102
|
ProtocolType: () => ProtocolType,
|
|
103
|
+
PutRoutingRuleCommand: () => PutRoutingRuleCommand,
|
|
99
104
|
ReimportApiCommand: () => ReimportApiCommand,
|
|
100
105
|
ResetAuthorizersCacheCommand: () => ResetAuthorizersCacheCommand,
|
|
106
|
+
RoutingMode: () => RoutingMode,
|
|
101
107
|
SecurityPolicy: () => SecurityPolicy,
|
|
102
108
|
TagResourceCommand: () => TagResourceCommand,
|
|
103
109
|
TooManyRequestsException: () => TooManyRequestsException,
|
|
@@ -116,7 +122,8 @@ __export(index_exports, {
|
|
|
116
122
|
UpdateVpcLinkCommand: () => UpdateVpcLinkCommand,
|
|
117
123
|
VpcLinkStatus: () => VpcLinkStatus,
|
|
118
124
|
VpcLinkVersion: () => VpcLinkVersion,
|
|
119
|
-
__Client: () => import_smithy_client.Client
|
|
125
|
+
__Client: () => import_smithy_client.Client,
|
|
126
|
+
paginateListRoutingRules: () => paginateListRoutingRules
|
|
120
127
|
});
|
|
121
128
|
module.exports = __toCommonJS(index_exports);
|
|
122
129
|
|
|
@@ -321,6 +328,11 @@ var SecurityPolicy = {
|
|
|
321
328
|
TLS_1_0: "TLS_1_0",
|
|
322
329
|
TLS_1_2: "TLS_1_2"
|
|
323
330
|
};
|
|
331
|
+
var RoutingMode = {
|
|
332
|
+
API_MAPPING_ONLY: "API_MAPPING_ONLY",
|
|
333
|
+
ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY",
|
|
334
|
+
ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING"
|
|
335
|
+
};
|
|
324
336
|
var ConnectionType = {
|
|
325
337
|
INTERNET: "INTERNET",
|
|
326
338
|
VPC_LINK: "VPC_LINK"
|
|
@@ -592,6 +604,7 @@ var se_CreateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
592
604
|
domainName: [, , `DomainName`],
|
|
593
605
|
domainNameConfigurations: [, (_) => se_DomainNameConfigurations(_, context), `DomainNameConfigurations`],
|
|
594
606
|
mutualTlsAuthentication: [, (_) => se_MutualTlsAuthenticationInput(_, context), `MutualTlsAuthentication`],
|
|
607
|
+
routingMode: [, , `RoutingMode`],
|
|
595
608
|
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
596
609
|
})
|
|
597
610
|
);
|
|
@@ -716,6 +729,27 @@ var se_CreateRouteResponseCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
716
729
|
b.m("POST").h(headers).b(body);
|
|
717
730
|
return b.build();
|
|
718
731
|
}, "se_CreateRouteResponseCommand");
|
|
732
|
+
var se_CreateRoutingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
733
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
734
|
+
const headers = {
|
|
735
|
+
"content-type": "application/json"
|
|
736
|
+
};
|
|
737
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules");
|
|
738
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
739
|
+
const query = (0, import_smithy_client.map)({
|
|
740
|
+
[_dNI]: [, input[_DNI]]
|
|
741
|
+
});
|
|
742
|
+
let body;
|
|
743
|
+
body = JSON.stringify(
|
|
744
|
+
(0, import_smithy_client.take)(input, {
|
|
745
|
+
actions: [, (_) => se___listOfRoutingRuleAction(_, context), `Actions`],
|
|
746
|
+
conditions: [, (_) => se___listOfRoutingRuleCondition(_, context), `Conditions`],
|
|
747
|
+
priority: [, , `Priority`]
|
|
748
|
+
})
|
|
749
|
+
);
|
|
750
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
}, "se_CreateRoutingRuleCommand");
|
|
719
753
|
var se_CreateStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
720
754
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
721
755
|
const headers = {
|
|
@@ -900,6 +934,19 @@ var se_DeleteRouteSettingsCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
900
934
|
b.m("DELETE").h(headers).b(body);
|
|
901
935
|
return b.build();
|
|
902
936
|
}, "se_DeleteRouteSettingsCommand");
|
|
937
|
+
var se_DeleteRoutingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
938
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
939
|
+
const headers = {};
|
|
940
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
941
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
942
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
943
|
+
const query = (0, import_smithy_client.map)({
|
|
944
|
+
[_dNI]: [, input[_DNI]]
|
|
945
|
+
});
|
|
946
|
+
let body;
|
|
947
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
948
|
+
return b.build();
|
|
949
|
+
}, "se_DeleteRoutingRuleCommand");
|
|
903
950
|
var se_DeleteStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
904
951
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
905
952
|
const headers = {};
|
|
@@ -1175,6 +1222,19 @@ var se_GetRoutesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1175
1222
|
b.m("GET").h(headers).q(query).b(body);
|
|
1176
1223
|
return b.build();
|
|
1177
1224
|
}, "se_GetRoutesCommand");
|
|
1225
|
+
var se_GetRoutingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1226
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1227
|
+
const headers = {};
|
|
1228
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
1229
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1230
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
1231
|
+
const query = (0, import_smithy_client.map)({
|
|
1232
|
+
[_dNI]: [, input[_DNI]]
|
|
1233
|
+
});
|
|
1234
|
+
let body;
|
|
1235
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1236
|
+
return b.build();
|
|
1237
|
+
}, "se_GetRoutingRuleCommand");
|
|
1178
1238
|
var se_GetStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1179
1239
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1180
1240
|
const headers = {};
|
|
@@ -1247,6 +1307,42 @@ var se_ImportApiCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1247
1307
|
b.m("PUT").h(headers).q(query).b(body);
|
|
1248
1308
|
return b.build();
|
|
1249
1309
|
}, "se_ImportApiCommand");
|
|
1310
|
+
var se_ListRoutingRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1311
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1312
|
+
const headers = {};
|
|
1313
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules");
|
|
1314
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1315
|
+
const query = (0, import_smithy_client.map)({
|
|
1316
|
+
[_dNI]: [, input[_DNI]],
|
|
1317
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1318
|
+
[_nT]: [, input[_NT]]
|
|
1319
|
+
});
|
|
1320
|
+
let body;
|
|
1321
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1322
|
+
return b.build();
|
|
1323
|
+
}, "se_ListRoutingRulesCommand");
|
|
1324
|
+
var se_PutRoutingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1325
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1326
|
+
const headers = {
|
|
1327
|
+
"content-type": "application/json"
|
|
1328
|
+
};
|
|
1329
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
1330
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1331
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
1332
|
+
const query = (0, import_smithy_client.map)({
|
|
1333
|
+
[_dNI]: [, input[_DNI]]
|
|
1334
|
+
});
|
|
1335
|
+
let body;
|
|
1336
|
+
body = JSON.stringify(
|
|
1337
|
+
(0, import_smithy_client.take)(input, {
|
|
1338
|
+
actions: [, (_) => se___listOfRoutingRuleAction(_, context), `Actions`],
|
|
1339
|
+
conditions: [, (_) => se___listOfRoutingRuleCondition(_, context), `Conditions`],
|
|
1340
|
+
priority: [, , `Priority`]
|
|
1341
|
+
})
|
|
1342
|
+
);
|
|
1343
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
1344
|
+
return b.build();
|
|
1345
|
+
}, "se_PutRoutingRuleCommand");
|
|
1250
1346
|
var se_ReimportApiCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1251
1347
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1252
1348
|
const headers = {
|
|
@@ -1405,7 +1501,8 @@ var se_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1405
1501
|
body = JSON.stringify(
|
|
1406
1502
|
(0, import_smithy_client.take)(input, {
|
|
1407
1503
|
domainNameConfigurations: [, (_) => se_DomainNameConfigurations(_, context), `DomainNameConfigurations`],
|
|
1408
|
-
mutualTlsAuthentication: [, (_) => se_MutualTlsAuthenticationInput(_, context), `MutualTlsAuthentication`]
|
|
1504
|
+
mutualTlsAuthentication: [, (_) => se_MutualTlsAuthenticationInput(_, context), `MutualTlsAuthentication`],
|
|
1505
|
+
routingMode: [, , `RoutingMode`]
|
|
1409
1506
|
})
|
|
1410
1507
|
);
|
|
1411
1508
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -1675,8 +1772,10 @@ var de_CreateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1675
1772
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1676
1773
|
ApiMappingSelectionExpression: [, import_smithy_client.expectString, `apiMappingSelectionExpression`],
|
|
1677
1774
|
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
1775
|
+
DomainNameArn: [, import_smithy_client.expectString, `domainNameArn`],
|
|
1678
1776
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
1679
1777
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
1778
|
+
RoutingMode: [, import_smithy_client.expectString, `routingMode`],
|
|
1680
1779
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1681
1780
|
});
|
|
1682
1781
|
Object.assign(contents, doc);
|
|
@@ -1796,6 +1895,24 @@ var de_CreateRouteResponseCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1796
1895
|
Object.assign(contents, doc);
|
|
1797
1896
|
return contents;
|
|
1798
1897
|
}, "de_CreateRouteResponseCommand");
|
|
1898
|
+
var de_CreateRoutingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1899
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1900
|
+
return de_CommandError(output, context);
|
|
1901
|
+
}
|
|
1902
|
+
const contents = (0, import_smithy_client.map)({
|
|
1903
|
+
$metadata: deserializeMetadata(output)
|
|
1904
|
+
});
|
|
1905
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1906
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1907
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
1908
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
1909
|
+
Priority: [, import_smithy_client.expectInt32, `priority`],
|
|
1910
|
+
RoutingRuleArn: [, import_smithy_client.expectString, `routingRuleArn`],
|
|
1911
|
+
RoutingRuleId: [, import_smithy_client.expectString, `routingRuleId`]
|
|
1912
|
+
});
|
|
1913
|
+
Object.assign(contents, doc);
|
|
1914
|
+
return contents;
|
|
1915
|
+
}, "de_CreateRoutingRuleCommand");
|
|
1799
1916
|
var de_CreateStageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1800
1917
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1801
1918
|
return de_CommandError(output, context);
|
|
@@ -1985,6 +2102,16 @@ var de_DeleteRouteSettingsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1985
2102
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1986
2103
|
return contents;
|
|
1987
2104
|
}, "de_DeleteRouteSettingsCommand");
|
|
2105
|
+
var de_DeleteRoutingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2106
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2107
|
+
return de_CommandError(output, context);
|
|
2108
|
+
}
|
|
2109
|
+
const contents = (0, import_smithy_client.map)({
|
|
2110
|
+
$metadata: deserializeMetadata(output)
|
|
2111
|
+
});
|
|
2112
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2113
|
+
return contents;
|
|
2114
|
+
}, "de_DeleteRoutingRuleCommand");
|
|
1988
2115
|
var de_DeleteStageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1989
2116
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1990
2117
|
return de_CommandError(output, context);
|
|
@@ -2177,8 +2304,10 @@ var de_GetDomainNameCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2177
2304
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2178
2305
|
ApiMappingSelectionExpression: [, import_smithy_client.expectString, `apiMappingSelectionExpression`],
|
|
2179
2306
|
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
2307
|
+
DomainNameArn: [, import_smithy_client.expectString, `domainNameArn`],
|
|
2180
2308
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
2181
2309
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
2310
|
+
RoutingMode: [, import_smithy_client.expectString, `routingMode`],
|
|
2182
2311
|
Tags: [, import_smithy_client._json, `tags`]
|
|
2183
2312
|
});
|
|
2184
2313
|
Object.assign(contents, doc);
|
|
@@ -2402,6 +2531,24 @@ var de_GetRoutesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2402
2531
|
Object.assign(contents, doc);
|
|
2403
2532
|
return contents;
|
|
2404
2533
|
}, "de_GetRoutesCommand");
|
|
2534
|
+
var de_GetRoutingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2535
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2536
|
+
return de_CommandError(output, context);
|
|
2537
|
+
}
|
|
2538
|
+
const contents = (0, import_smithy_client.map)({
|
|
2539
|
+
$metadata: deserializeMetadata(output)
|
|
2540
|
+
});
|
|
2541
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2542
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2543
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
2544
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
2545
|
+
Priority: [, import_smithy_client.expectInt32, `priority`],
|
|
2546
|
+
RoutingRuleArn: [, import_smithy_client.expectString, `routingRuleArn`],
|
|
2547
|
+
RoutingRuleId: [, import_smithy_client.expectString, `routingRuleId`]
|
|
2548
|
+
});
|
|
2549
|
+
Object.assign(contents, doc);
|
|
2550
|
+
return contents;
|
|
2551
|
+
}, "de_GetRoutingRuleCommand");
|
|
2405
2552
|
var de_GetStageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2406
2553
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2407
2554
|
return de_CommandError(output, context);
|
|
@@ -2525,6 +2672,39 @@ var de_ImportApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2525
2672
|
Object.assign(contents, doc);
|
|
2526
2673
|
return contents;
|
|
2527
2674
|
}, "de_ImportApiCommand");
|
|
2675
|
+
var de_ListRoutingRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2676
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2677
|
+
return de_CommandError(output, context);
|
|
2678
|
+
}
|
|
2679
|
+
const contents = (0, import_smithy_client.map)({
|
|
2680
|
+
$metadata: deserializeMetadata(output)
|
|
2681
|
+
});
|
|
2682
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2683
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2684
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
2685
|
+
RoutingRules: [, (_) => de___listOfRoutingRule(_, context), `routingRules`]
|
|
2686
|
+
});
|
|
2687
|
+
Object.assign(contents, doc);
|
|
2688
|
+
return contents;
|
|
2689
|
+
}, "de_ListRoutingRulesCommand");
|
|
2690
|
+
var de_PutRoutingRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2691
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2692
|
+
return de_CommandError(output, context);
|
|
2693
|
+
}
|
|
2694
|
+
const contents = (0, import_smithy_client.map)({
|
|
2695
|
+
$metadata: deserializeMetadata(output)
|
|
2696
|
+
});
|
|
2697
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2698
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2699
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
2700
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
2701
|
+
Priority: [, import_smithy_client.expectInt32, `priority`],
|
|
2702
|
+
RoutingRuleArn: [, import_smithy_client.expectString, `routingRuleArn`],
|
|
2703
|
+
RoutingRuleId: [, import_smithy_client.expectString, `routingRuleId`]
|
|
2704
|
+
});
|
|
2705
|
+
Object.assign(contents, doc);
|
|
2706
|
+
return contents;
|
|
2707
|
+
}, "de_PutRoutingRuleCommand");
|
|
2528
2708
|
var de_ReimportApiCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2529
2709
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2530
2710
|
return de_CommandError(output, context);
|
|
@@ -2686,8 +2866,10 @@ var de_UpdateDomainNameCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2686
2866
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2687
2867
|
ApiMappingSelectionExpression: [, import_smithy_client.expectString, `apiMappingSelectionExpression`],
|
|
2688
2868
|
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
2869
|
+
DomainNameArn: [, import_smithy_client.expectString, `domainNameArn`],
|
|
2689
2870
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
2690
2871
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
2872
|
+
RoutingMode: [, import_smithy_client.expectString, `routingMode`],
|
|
2691
2873
|
Tags: [, import_smithy_client._json, `tags`]
|
|
2692
2874
|
});
|
|
2693
2875
|
Object.assign(contents, doc);
|
|
@@ -2955,6 +3137,21 @@ var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
2955
3137
|
});
|
|
2956
3138
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2957
3139
|
}, "de_TooManyRequestsExceptionRes");
|
|
3140
|
+
var se___listOfRoutingRuleAction = /* @__PURE__ */ __name((input, context) => {
|
|
3141
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3142
|
+
return se_RoutingRuleAction(entry, context);
|
|
3143
|
+
});
|
|
3144
|
+
}, "se___listOfRoutingRuleAction");
|
|
3145
|
+
var se___listOfRoutingRuleCondition = /* @__PURE__ */ __name((input, context) => {
|
|
3146
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3147
|
+
return se_RoutingRuleCondition(entry, context);
|
|
3148
|
+
});
|
|
3149
|
+
}, "se___listOfRoutingRuleCondition");
|
|
3150
|
+
var se___listOfRoutingRuleMatchHeaderValue = /* @__PURE__ */ __name((input, context) => {
|
|
3151
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3152
|
+
return se_RoutingRuleMatchHeaderValue(entry, context);
|
|
3153
|
+
});
|
|
3154
|
+
}, "se___listOfRoutingRuleMatchHeaderValue");
|
|
2958
3155
|
var se_AccessLogSettings = /* @__PURE__ */ __name((input, context) => {
|
|
2959
3156
|
return (0, import_smithy_client.take)(input, {
|
|
2960
3157
|
destinationArn: [, , `DestinationArn`],
|
|
@@ -3035,6 +3232,40 @@ var se_RouteSettingsMap = /* @__PURE__ */ __name((input, context) => {
|
|
|
3035
3232
|
return acc;
|
|
3036
3233
|
}, {});
|
|
3037
3234
|
}, "se_RouteSettingsMap");
|
|
3235
|
+
var se_RoutingRuleAction = /* @__PURE__ */ __name((input, context) => {
|
|
3236
|
+
return (0, import_smithy_client.take)(input, {
|
|
3237
|
+
invokeApi: [, (_) => se_RoutingRuleActionInvokeApi(_, context), `InvokeApi`]
|
|
3238
|
+
});
|
|
3239
|
+
}, "se_RoutingRuleAction");
|
|
3240
|
+
var se_RoutingRuleActionInvokeApi = /* @__PURE__ */ __name((input, context) => {
|
|
3241
|
+
return (0, import_smithy_client.take)(input, {
|
|
3242
|
+
apiId: [, , `ApiId`],
|
|
3243
|
+
stage: [, , `Stage`],
|
|
3244
|
+
stripBasePath: [, , `StripBasePath`]
|
|
3245
|
+
});
|
|
3246
|
+
}, "se_RoutingRuleActionInvokeApi");
|
|
3247
|
+
var se_RoutingRuleCondition = /* @__PURE__ */ __name((input, context) => {
|
|
3248
|
+
return (0, import_smithy_client.take)(input, {
|
|
3249
|
+
matchBasePaths: [, (_) => se_RoutingRuleMatchBasePaths(_, context), `MatchBasePaths`],
|
|
3250
|
+
matchHeaders: [, (_) => se_RoutingRuleMatchHeaders(_, context), `MatchHeaders`]
|
|
3251
|
+
});
|
|
3252
|
+
}, "se_RoutingRuleCondition");
|
|
3253
|
+
var se_RoutingRuleMatchBasePaths = /* @__PURE__ */ __name((input, context) => {
|
|
3254
|
+
return (0, import_smithy_client.take)(input, {
|
|
3255
|
+
anyOf: [, import_smithy_client._json, `AnyOf`]
|
|
3256
|
+
});
|
|
3257
|
+
}, "se_RoutingRuleMatchBasePaths");
|
|
3258
|
+
var se_RoutingRuleMatchHeaders = /* @__PURE__ */ __name((input, context) => {
|
|
3259
|
+
return (0, import_smithy_client.take)(input, {
|
|
3260
|
+
anyOf: [, (_) => se___listOfRoutingRuleMatchHeaderValue(_, context), `AnyOf`]
|
|
3261
|
+
});
|
|
3262
|
+
}, "se_RoutingRuleMatchHeaders");
|
|
3263
|
+
var se_RoutingRuleMatchHeaderValue = /* @__PURE__ */ __name((input, context) => {
|
|
3264
|
+
return (0, import_smithy_client.take)(input, {
|
|
3265
|
+
header: [, , `Header`],
|
|
3266
|
+
valueGlob: [, , `ValueGlob`]
|
|
3267
|
+
});
|
|
3268
|
+
}, "se_RoutingRuleMatchHeaderValue");
|
|
3038
3269
|
var se_TlsConfigInput = /* @__PURE__ */ __name((input, context) => {
|
|
3039
3270
|
return (0, import_smithy_client.take)(input, {
|
|
3040
3271
|
serverNameToVerify: [, , `ServerNameToVerify`]
|
|
@@ -3100,6 +3331,30 @@ var de___listOfRouteResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3100
3331
|
});
|
|
3101
3332
|
return retVal;
|
|
3102
3333
|
}, "de___listOfRouteResponse");
|
|
3334
|
+
var de___listOfRoutingRule = /* @__PURE__ */ __name((output, context) => {
|
|
3335
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3336
|
+
return de_RoutingRule(entry, context);
|
|
3337
|
+
});
|
|
3338
|
+
return retVal;
|
|
3339
|
+
}, "de___listOfRoutingRule");
|
|
3340
|
+
var de___listOfRoutingRuleAction = /* @__PURE__ */ __name((output, context) => {
|
|
3341
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3342
|
+
return de_RoutingRuleAction(entry, context);
|
|
3343
|
+
});
|
|
3344
|
+
return retVal;
|
|
3345
|
+
}, "de___listOfRoutingRuleAction");
|
|
3346
|
+
var de___listOfRoutingRuleCondition = /* @__PURE__ */ __name((output, context) => {
|
|
3347
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3348
|
+
return de_RoutingRuleCondition(entry, context);
|
|
3349
|
+
});
|
|
3350
|
+
return retVal;
|
|
3351
|
+
}, "de___listOfRoutingRuleCondition");
|
|
3352
|
+
var de___listOfRoutingRuleMatchHeaderValue = /* @__PURE__ */ __name((output, context) => {
|
|
3353
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3354
|
+
return de_RoutingRuleMatchHeaderValue(entry, context);
|
|
3355
|
+
});
|
|
3356
|
+
return retVal;
|
|
3357
|
+
}, "de___listOfRoutingRuleMatchHeaderValue");
|
|
3103
3358
|
var de___listOfStage = /* @__PURE__ */ __name((output, context) => {
|
|
3104
3359
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3105
3360
|
return de_Stage(entry, context);
|
|
@@ -3186,8 +3441,10 @@ var de_DomainName = /* @__PURE__ */ __name((output, context) => {
|
|
|
3186
3441
|
return (0, import_smithy_client.take)(output, {
|
|
3187
3442
|
ApiMappingSelectionExpression: [, import_smithy_client.expectString, `apiMappingSelectionExpression`],
|
|
3188
3443
|
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
3444
|
+
DomainNameArn: [, import_smithy_client.expectString, `domainNameArn`],
|
|
3189
3445
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
3190
3446
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
3447
|
+
RoutingMode: [, import_smithy_client.expectString, `routingMode`],
|
|
3191
3448
|
Tags: [, import_smithy_client._json, `tags`]
|
|
3192
3449
|
});
|
|
3193
3450
|
}, "de_DomainName");
|
|
@@ -3330,6 +3587,49 @@ var de_RouteSettingsMap = /* @__PURE__ */ __name((output, context) => {
|
|
|
3330
3587
|
return acc;
|
|
3331
3588
|
}, {});
|
|
3332
3589
|
}, "de_RouteSettingsMap");
|
|
3590
|
+
var de_RoutingRule = /* @__PURE__ */ __name((output, context) => {
|
|
3591
|
+
return (0, import_smithy_client.take)(output, {
|
|
3592
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
3593
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
3594
|
+
Priority: [, import_smithy_client.expectInt32, `priority`],
|
|
3595
|
+
RoutingRuleArn: [, import_smithy_client.expectString, `routingRuleArn`],
|
|
3596
|
+
RoutingRuleId: [, import_smithy_client.expectString, `routingRuleId`]
|
|
3597
|
+
});
|
|
3598
|
+
}, "de_RoutingRule");
|
|
3599
|
+
var de_RoutingRuleAction = /* @__PURE__ */ __name((output, context) => {
|
|
3600
|
+
return (0, import_smithy_client.take)(output, {
|
|
3601
|
+
InvokeApi: [, (_) => de_RoutingRuleActionInvokeApi(_, context), `invokeApi`]
|
|
3602
|
+
});
|
|
3603
|
+
}, "de_RoutingRuleAction");
|
|
3604
|
+
var de_RoutingRuleActionInvokeApi = /* @__PURE__ */ __name((output, context) => {
|
|
3605
|
+
return (0, import_smithy_client.take)(output, {
|
|
3606
|
+
ApiId: [, import_smithy_client.expectString, `apiId`],
|
|
3607
|
+
Stage: [, import_smithy_client.expectString, `stage`],
|
|
3608
|
+
StripBasePath: [, import_smithy_client.expectBoolean, `stripBasePath`]
|
|
3609
|
+
});
|
|
3610
|
+
}, "de_RoutingRuleActionInvokeApi");
|
|
3611
|
+
var de_RoutingRuleCondition = /* @__PURE__ */ __name((output, context) => {
|
|
3612
|
+
return (0, import_smithy_client.take)(output, {
|
|
3613
|
+
MatchBasePaths: [, (_) => de_RoutingRuleMatchBasePaths(_, context), `matchBasePaths`],
|
|
3614
|
+
MatchHeaders: [, (_) => de_RoutingRuleMatchHeaders(_, context), `matchHeaders`]
|
|
3615
|
+
});
|
|
3616
|
+
}, "de_RoutingRuleCondition");
|
|
3617
|
+
var de_RoutingRuleMatchBasePaths = /* @__PURE__ */ __name((output, context) => {
|
|
3618
|
+
return (0, import_smithy_client.take)(output, {
|
|
3619
|
+
AnyOf: [, import_smithy_client._json, `anyOf`]
|
|
3620
|
+
});
|
|
3621
|
+
}, "de_RoutingRuleMatchBasePaths");
|
|
3622
|
+
var de_RoutingRuleMatchHeaders = /* @__PURE__ */ __name((output, context) => {
|
|
3623
|
+
return (0, import_smithy_client.take)(output, {
|
|
3624
|
+
AnyOf: [, (_) => de___listOfRoutingRuleMatchHeaderValue(_, context), `anyOf`]
|
|
3625
|
+
});
|
|
3626
|
+
}, "de_RoutingRuleMatchHeaders");
|
|
3627
|
+
var de_RoutingRuleMatchHeaderValue = /* @__PURE__ */ __name((output, context) => {
|
|
3628
|
+
return (0, import_smithy_client.take)(output, {
|
|
3629
|
+
Header: [, import_smithy_client.expectString, `header`],
|
|
3630
|
+
ValueGlob: [, import_smithy_client.expectString, `valueGlob`]
|
|
3631
|
+
});
|
|
3632
|
+
}, "de_RoutingRuleMatchHeaderValue");
|
|
3333
3633
|
var de_Stage = /* @__PURE__ */ __name((output, context) => {
|
|
3334
3634
|
return (0, import_smithy_client.take)(output, {
|
|
3335
3635
|
AccessLogSettings: [, (_) => de_AccessLogSettings(_, context), `accessLogSettings`],
|
|
@@ -3373,6 +3673,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3373
3673
|
cfId: output.headers["x-amz-cf-id"]
|
|
3374
3674
|
}), "deserializeMetadata");
|
|
3375
3675
|
var _B = "Basepath";
|
|
3676
|
+
var _DNI = "DomainNameId";
|
|
3376
3677
|
var _EV = "ExportVersion";
|
|
3377
3678
|
var _FOW = "FailOnWarnings";
|
|
3378
3679
|
var _IE = "IncludeExtensions";
|
|
@@ -3382,6 +3683,7 @@ var _OT = "OutputType";
|
|
|
3382
3683
|
var _SN = "StageName";
|
|
3383
3684
|
var _TK = "TagKeys";
|
|
3384
3685
|
var _b = "basepath";
|
|
3686
|
+
var _dNI = "domainNameId";
|
|
3385
3687
|
var _eV = "exportVersion";
|
|
3386
3688
|
var _fOW = "failOnWarnings";
|
|
3387
3689
|
var _iE = "includeExtensions";
|
|
@@ -3538,6 +3840,21 @@ var CreateRouteResponseCommand = class extends import_smithy_client.Command.clas
|
|
|
3538
3840
|
}
|
|
3539
3841
|
};
|
|
3540
3842
|
|
|
3843
|
+
// src/commands/CreateRoutingRuleCommand.ts
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
var CreateRoutingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3848
|
+
return [
|
|
3849
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3850
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3851
|
+
];
|
|
3852
|
+
}).s("ApiGatewayV2", "CreateRoutingRule", {}).n("ApiGatewayV2Client", "CreateRoutingRuleCommand").f(void 0, void 0).ser(se_CreateRoutingRuleCommand).de(de_CreateRoutingRuleCommand).build() {
|
|
3853
|
+
static {
|
|
3854
|
+
__name(this, "CreateRoutingRuleCommand");
|
|
3855
|
+
}
|
|
3856
|
+
};
|
|
3857
|
+
|
|
3541
3858
|
// src/commands/CreateStageCommand.ts
|
|
3542
3859
|
|
|
3543
3860
|
|
|
@@ -3778,6 +4095,21 @@ var DeleteRouteSettingsCommand = class extends import_smithy_client.Command.clas
|
|
|
3778
4095
|
}
|
|
3779
4096
|
};
|
|
3780
4097
|
|
|
4098
|
+
// src/commands/DeleteRoutingRuleCommand.ts
|
|
4099
|
+
|
|
4100
|
+
|
|
4101
|
+
|
|
4102
|
+
var DeleteRoutingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4103
|
+
return [
|
|
4104
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4105
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4106
|
+
];
|
|
4107
|
+
}).s("ApiGatewayV2", "DeleteRoutingRule", {}).n("ApiGatewayV2Client", "DeleteRoutingRuleCommand").f(void 0, void 0).ser(se_DeleteRoutingRuleCommand).de(de_DeleteRoutingRuleCommand).build() {
|
|
4108
|
+
static {
|
|
4109
|
+
__name(this, "DeleteRoutingRuleCommand");
|
|
4110
|
+
}
|
|
4111
|
+
};
|
|
4112
|
+
|
|
3781
4113
|
// src/commands/DeleteStageCommand.ts
|
|
3782
4114
|
|
|
3783
4115
|
|
|
@@ -4138,6 +4470,21 @@ var GetRoutesCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
4138
4470
|
}
|
|
4139
4471
|
};
|
|
4140
4472
|
|
|
4473
|
+
// src/commands/GetRoutingRuleCommand.ts
|
|
4474
|
+
|
|
4475
|
+
|
|
4476
|
+
|
|
4477
|
+
var GetRoutingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4478
|
+
return [
|
|
4479
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4480
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4481
|
+
];
|
|
4482
|
+
}).s("ApiGatewayV2", "GetRoutingRule", {}).n("ApiGatewayV2Client", "GetRoutingRuleCommand").f(void 0, void 0).ser(se_GetRoutingRuleCommand).de(de_GetRoutingRuleCommand).build() {
|
|
4483
|
+
static {
|
|
4484
|
+
__name(this, "GetRoutingRuleCommand");
|
|
4485
|
+
}
|
|
4486
|
+
};
|
|
4487
|
+
|
|
4141
4488
|
// src/commands/GetStageCommand.ts
|
|
4142
4489
|
|
|
4143
4490
|
|
|
@@ -4228,6 +4575,36 @@ var ImportApiCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
4228
4575
|
}
|
|
4229
4576
|
};
|
|
4230
4577
|
|
|
4578
|
+
// src/commands/ListRoutingRulesCommand.ts
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
|
|
4582
|
+
var ListRoutingRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4583
|
+
return [
|
|
4584
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4585
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4586
|
+
];
|
|
4587
|
+
}).s("ApiGatewayV2", "ListRoutingRules", {}).n("ApiGatewayV2Client", "ListRoutingRulesCommand").f(void 0, void 0).ser(se_ListRoutingRulesCommand).de(de_ListRoutingRulesCommand).build() {
|
|
4588
|
+
static {
|
|
4589
|
+
__name(this, "ListRoutingRulesCommand");
|
|
4590
|
+
}
|
|
4591
|
+
};
|
|
4592
|
+
|
|
4593
|
+
// src/commands/PutRoutingRuleCommand.ts
|
|
4594
|
+
|
|
4595
|
+
|
|
4596
|
+
|
|
4597
|
+
var PutRoutingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4598
|
+
return [
|
|
4599
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4600
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4601
|
+
];
|
|
4602
|
+
}).s("ApiGatewayV2", "PutRoutingRule", {}).n("ApiGatewayV2Client", "PutRoutingRuleCommand").f(void 0, void 0).ser(se_PutRoutingRuleCommand).de(de_PutRoutingRuleCommand).build() {
|
|
4603
|
+
static {
|
|
4604
|
+
__name(this, "PutRoutingRuleCommand");
|
|
4605
|
+
}
|
|
4606
|
+
};
|
|
4607
|
+
|
|
4231
4608
|
// src/commands/ReimportApiCommand.ts
|
|
4232
4609
|
|
|
4233
4610
|
|
|
@@ -4480,6 +4857,7 @@ var commands = {
|
|
|
4480
4857
|
CreateModelCommand,
|
|
4481
4858
|
CreateRouteCommand,
|
|
4482
4859
|
CreateRouteResponseCommand,
|
|
4860
|
+
CreateRoutingRuleCommand,
|
|
4483
4861
|
CreateStageCommand,
|
|
4484
4862
|
CreateVpcLinkCommand,
|
|
4485
4863
|
DeleteAccessLogSettingsCommand,
|
|
@@ -4496,6 +4874,7 @@ var commands = {
|
|
|
4496
4874
|
DeleteRouteRequestParameterCommand,
|
|
4497
4875
|
DeleteRouteResponseCommand,
|
|
4498
4876
|
DeleteRouteSettingsCommand,
|
|
4877
|
+
DeleteRoutingRuleCommand,
|
|
4499
4878
|
DeleteStageCommand,
|
|
4500
4879
|
DeleteVpcLinkCommand,
|
|
4501
4880
|
ExportApiCommand,
|
|
@@ -4520,12 +4899,15 @@ var commands = {
|
|
|
4520
4899
|
GetRouteResponseCommand,
|
|
4521
4900
|
GetRouteResponsesCommand,
|
|
4522
4901
|
GetRoutesCommand,
|
|
4902
|
+
GetRoutingRuleCommand,
|
|
4523
4903
|
GetStageCommand,
|
|
4524
4904
|
GetStagesCommand,
|
|
4525
4905
|
GetTagsCommand,
|
|
4526
4906
|
GetVpcLinkCommand,
|
|
4527
4907
|
GetVpcLinksCommand,
|
|
4528
4908
|
ImportApiCommand,
|
|
4909
|
+
ListRoutingRulesCommand,
|
|
4910
|
+
PutRoutingRuleCommand,
|
|
4529
4911
|
ReimportApiCommand,
|
|
4530
4912
|
ResetAuthorizersCacheCommand,
|
|
4531
4913
|
TagResourceCommand,
|
|
@@ -4549,6 +4931,10 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4549
4931
|
}
|
|
4550
4932
|
};
|
|
4551
4933
|
(0, import_smithy_client.createAggregatedClient)(commands, ApiGatewayV2);
|
|
4934
|
+
|
|
4935
|
+
// src/pagination/ListRoutingRulesPaginator.ts
|
|
4936
|
+
|
|
4937
|
+
var paginateListRoutingRules = (0, import_core.createPaginator)(ApiGatewayV2Client, ListRoutingRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
4552
4938
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4553
4939
|
|
|
4554
4940
|
0 && (module.exports = {
|
|
@@ -4567,6 +4953,7 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4567
4953
|
CreateModelCommand,
|
|
4568
4954
|
CreateRouteCommand,
|
|
4569
4955
|
CreateRouteResponseCommand,
|
|
4956
|
+
CreateRoutingRuleCommand,
|
|
4570
4957
|
CreateStageCommand,
|
|
4571
4958
|
CreateVpcLinkCommand,
|
|
4572
4959
|
DeleteAccessLogSettingsCommand,
|
|
@@ -4583,6 +4970,7 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4583
4970
|
DeleteRouteRequestParameterCommand,
|
|
4584
4971
|
DeleteRouteResponseCommand,
|
|
4585
4972
|
DeleteRouteSettingsCommand,
|
|
4973
|
+
DeleteRoutingRuleCommand,
|
|
4586
4974
|
DeleteStageCommand,
|
|
4587
4975
|
DeleteVpcLinkCommand,
|
|
4588
4976
|
ExportApiCommand,
|
|
@@ -4607,12 +4995,15 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4607
4995
|
GetRouteResponseCommand,
|
|
4608
4996
|
GetRouteResponsesCommand,
|
|
4609
4997
|
GetRoutesCommand,
|
|
4998
|
+
GetRoutingRuleCommand,
|
|
4610
4999
|
GetStageCommand,
|
|
4611
5000
|
GetStagesCommand,
|
|
4612
5001
|
GetTagsCommand,
|
|
4613
5002
|
GetVpcLinkCommand,
|
|
4614
5003
|
GetVpcLinksCommand,
|
|
4615
5004
|
ImportApiCommand,
|
|
5005
|
+
ListRoutingRulesCommand,
|
|
5006
|
+
PutRoutingRuleCommand,
|
|
4616
5007
|
ReimportApiCommand,
|
|
4617
5008
|
ResetAuthorizersCacheCommand,
|
|
4618
5009
|
TagResourceCommand,
|
|
@@ -4629,6 +5020,7 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4629
5020
|
UpdateRouteResponseCommand,
|
|
4630
5021
|
UpdateStageCommand,
|
|
4631
5022
|
UpdateVpcLinkCommand,
|
|
5023
|
+
paginateListRoutingRules,
|
|
4632
5024
|
IpAddressType,
|
|
4633
5025
|
ProtocolType,
|
|
4634
5026
|
AuthorizerType,
|
|
@@ -4636,6 +5028,7 @@ var ApiGatewayV2 = class extends ApiGatewayV2Client {
|
|
|
4636
5028
|
DomainNameStatus,
|
|
4637
5029
|
EndpointType,
|
|
4638
5030
|
SecurityPolicy,
|
|
5031
|
+
RoutingMode,
|
|
4639
5032
|
ConnectionType,
|
|
4640
5033
|
ContentHandlingStrategy,
|
|
4641
5034
|
IntegrationType,
|