@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
|
@@ -94,6 +94,7 @@ export const se_CreateDomainNameCommand = async (input, context) => {
|
|
|
94
94
|
domainName: [, , `DomainName`],
|
|
95
95
|
domainNameConfigurations: [, (_) => se_DomainNameConfigurations(_, context), `DomainNameConfigurations`],
|
|
96
96
|
mutualTlsAuthentication: [, (_) => se_MutualTlsAuthenticationInput(_, context), `MutualTlsAuthentication`],
|
|
97
|
+
routingMode: [, , `RoutingMode`],
|
|
97
98
|
tags: [, (_) => _json(_), `Tags`],
|
|
98
99
|
}));
|
|
99
100
|
b.m("POST").h(headers).b(body);
|
|
@@ -207,6 +208,25 @@ export const se_CreateRouteResponseCommand = async (input, context) => {
|
|
|
207
208
|
b.m("POST").h(headers).b(body);
|
|
208
209
|
return b.build();
|
|
209
210
|
};
|
|
211
|
+
export const se_CreateRoutingRuleCommand = async (input, context) => {
|
|
212
|
+
const b = rb(input, context);
|
|
213
|
+
const headers = {
|
|
214
|
+
"content-type": "application/json",
|
|
215
|
+
};
|
|
216
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules");
|
|
217
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
218
|
+
const query = map({
|
|
219
|
+
[_dNI]: [, input[_DNI]],
|
|
220
|
+
});
|
|
221
|
+
let body;
|
|
222
|
+
body = JSON.stringify(take(input, {
|
|
223
|
+
actions: [, (_) => se___listOfRoutingRuleAction(_, context), `Actions`],
|
|
224
|
+
conditions: [, (_) => se___listOfRoutingRuleCondition(_, context), `Conditions`],
|
|
225
|
+
priority: [, , `Priority`],
|
|
226
|
+
}));
|
|
227
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
228
|
+
return b.build();
|
|
229
|
+
};
|
|
210
230
|
export const se_CreateStageCommand = async (input, context) => {
|
|
211
231
|
const b = rb(input, context);
|
|
212
232
|
const headers = {
|
|
@@ -387,6 +407,19 @@ export const se_DeleteRouteSettingsCommand = async (input, context) => {
|
|
|
387
407
|
b.m("DELETE").h(headers).b(body);
|
|
388
408
|
return b.build();
|
|
389
409
|
};
|
|
410
|
+
export const se_DeleteRoutingRuleCommand = async (input, context) => {
|
|
411
|
+
const b = rb(input, context);
|
|
412
|
+
const headers = {};
|
|
413
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
414
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
415
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
416
|
+
const query = map({
|
|
417
|
+
[_dNI]: [, input[_DNI]],
|
|
418
|
+
});
|
|
419
|
+
let body;
|
|
420
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
421
|
+
return b.build();
|
|
422
|
+
};
|
|
390
423
|
export const se_DeleteStageCommand = async (input, context) => {
|
|
391
424
|
const b = rb(input, context);
|
|
392
425
|
const headers = {};
|
|
@@ -662,6 +695,19 @@ export const se_GetRoutesCommand = async (input, context) => {
|
|
|
662
695
|
b.m("GET").h(headers).q(query).b(body);
|
|
663
696
|
return b.build();
|
|
664
697
|
};
|
|
698
|
+
export const se_GetRoutingRuleCommand = async (input, context) => {
|
|
699
|
+
const b = rb(input, context);
|
|
700
|
+
const headers = {};
|
|
701
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
702
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
703
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
704
|
+
const query = map({
|
|
705
|
+
[_dNI]: [, input[_DNI]],
|
|
706
|
+
});
|
|
707
|
+
let body;
|
|
708
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
709
|
+
return b.build();
|
|
710
|
+
};
|
|
665
711
|
export const se_GetStageCommand = async (input, context) => {
|
|
666
712
|
const b = rb(input, context);
|
|
667
713
|
const headers = {};
|
|
@@ -732,6 +778,40 @@ export const se_ImportApiCommand = async (input, context) => {
|
|
|
732
778
|
b.m("PUT").h(headers).q(query).b(body);
|
|
733
779
|
return b.build();
|
|
734
780
|
};
|
|
781
|
+
export const se_ListRoutingRulesCommand = async (input, context) => {
|
|
782
|
+
const b = rb(input, context);
|
|
783
|
+
const headers = {};
|
|
784
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules");
|
|
785
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
786
|
+
const query = map({
|
|
787
|
+
[_dNI]: [, input[_DNI]],
|
|
788
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
789
|
+
[_nT]: [, input[_NT]],
|
|
790
|
+
});
|
|
791
|
+
let body;
|
|
792
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
793
|
+
return b.build();
|
|
794
|
+
};
|
|
795
|
+
export const se_PutRoutingRuleCommand = async (input, context) => {
|
|
796
|
+
const b = rb(input, context);
|
|
797
|
+
const headers = {
|
|
798
|
+
"content-type": "application/json",
|
|
799
|
+
};
|
|
800
|
+
b.bp("/v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}");
|
|
801
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
802
|
+
b.p("RoutingRuleId", () => input.RoutingRuleId, "{RoutingRuleId}", false);
|
|
803
|
+
const query = map({
|
|
804
|
+
[_dNI]: [, input[_DNI]],
|
|
805
|
+
});
|
|
806
|
+
let body;
|
|
807
|
+
body = JSON.stringify(take(input, {
|
|
808
|
+
actions: [, (_) => se___listOfRoutingRuleAction(_, context), `Actions`],
|
|
809
|
+
conditions: [, (_) => se___listOfRoutingRuleCondition(_, context), `Conditions`],
|
|
810
|
+
priority: [, , `Priority`],
|
|
811
|
+
}));
|
|
812
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
813
|
+
return b.build();
|
|
814
|
+
};
|
|
735
815
|
export const se_ReimportApiCommand = async (input, context) => {
|
|
736
816
|
const b = rb(input, context);
|
|
737
817
|
const headers = {
|
|
@@ -878,6 +958,7 @@ export const se_UpdateDomainNameCommand = async (input, context) => {
|
|
|
878
958
|
body = JSON.stringify(take(input, {
|
|
879
959
|
domainNameConfigurations: [, (_) => se_DomainNameConfigurations(_, context), `DomainNameConfigurations`],
|
|
880
960
|
mutualTlsAuthentication: [, (_) => se_MutualTlsAuthenticationInput(_, context), `MutualTlsAuthentication`],
|
|
961
|
+
routingMode: [, , `RoutingMode`],
|
|
881
962
|
}));
|
|
882
963
|
b.m("PATCH").h(headers).b(body);
|
|
883
964
|
return b.build();
|
|
@@ -1132,8 +1213,10 @@ export const de_CreateDomainNameCommand = async (output, context) => {
|
|
|
1132
1213
|
const doc = take(data, {
|
|
1133
1214
|
ApiMappingSelectionExpression: [, __expectString, `apiMappingSelectionExpression`],
|
|
1134
1215
|
DomainName: [, __expectString, `domainName`],
|
|
1216
|
+
DomainNameArn: [, __expectString, `domainNameArn`],
|
|
1135
1217
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
1136
1218
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
1219
|
+
RoutingMode: [, __expectString, `routingMode`],
|
|
1137
1220
|
Tags: [, _json, `tags`],
|
|
1138
1221
|
});
|
|
1139
1222
|
Object.assign(contents, doc);
|
|
@@ -1253,6 +1336,24 @@ export const de_CreateRouteResponseCommand = async (output, context) => {
|
|
|
1253
1336
|
Object.assign(contents, doc);
|
|
1254
1337
|
return contents;
|
|
1255
1338
|
};
|
|
1339
|
+
export const de_CreateRoutingRuleCommand = async (output, context) => {
|
|
1340
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1341
|
+
return de_CommandError(output, context);
|
|
1342
|
+
}
|
|
1343
|
+
const contents = map({
|
|
1344
|
+
$metadata: deserializeMetadata(output),
|
|
1345
|
+
});
|
|
1346
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1347
|
+
const doc = take(data, {
|
|
1348
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
1349
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
1350
|
+
Priority: [, __expectInt32, `priority`],
|
|
1351
|
+
RoutingRuleArn: [, __expectString, `routingRuleArn`],
|
|
1352
|
+
RoutingRuleId: [, __expectString, `routingRuleId`],
|
|
1353
|
+
});
|
|
1354
|
+
Object.assign(contents, doc);
|
|
1355
|
+
return contents;
|
|
1356
|
+
};
|
|
1256
1357
|
export const de_CreateStageCommand = async (output, context) => {
|
|
1257
1358
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1258
1359
|
return de_CommandError(output, context);
|
|
@@ -1442,6 +1543,16 @@ export const de_DeleteRouteSettingsCommand = async (output, context) => {
|
|
|
1442
1543
|
await collectBody(output.body, context);
|
|
1443
1544
|
return contents;
|
|
1444
1545
|
};
|
|
1546
|
+
export const de_DeleteRoutingRuleCommand = async (output, context) => {
|
|
1547
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1548
|
+
return de_CommandError(output, context);
|
|
1549
|
+
}
|
|
1550
|
+
const contents = map({
|
|
1551
|
+
$metadata: deserializeMetadata(output),
|
|
1552
|
+
});
|
|
1553
|
+
await collectBody(output.body, context);
|
|
1554
|
+
return contents;
|
|
1555
|
+
};
|
|
1445
1556
|
export const de_DeleteStageCommand = async (output, context) => {
|
|
1446
1557
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1447
1558
|
return de_CommandError(output, context);
|
|
@@ -1634,8 +1745,10 @@ export const de_GetDomainNameCommand = async (output, context) => {
|
|
|
1634
1745
|
const doc = take(data, {
|
|
1635
1746
|
ApiMappingSelectionExpression: [, __expectString, `apiMappingSelectionExpression`],
|
|
1636
1747
|
DomainName: [, __expectString, `domainName`],
|
|
1748
|
+
DomainNameArn: [, __expectString, `domainNameArn`],
|
|
1637
1749
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
1638
1750
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
1751
|
+
RoutingMode: [, __expectString, `routingMode`],
|
|
1639
1752
|
Tags: [, _json, `tags`],
|
|
1640
1753
|
});
|
|
1641
1754
|
Object.assign(contents, doc);
|
|
@@ -1859,6 +1972,24 @@ export const de_GetRoutesCommand = async (output, context) => {
|
|
|
1859
1972
|
Object.assign(contents, doc);
|
|
1860
1973
|
return contents;
|
|
1861
1974
|
};
|
|
1975
|
+
export const de_GetRoutingRuleCommand = async (output, context) => {
|
|
1976
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1977
|
+
return de_CommandError(output, context);
|
|
1978
|
+
}
|
|
1979
|
+
const contents = map({
|
|
1980
|
+
$metadata: deserializeMetadata(output),
|
|
1981
|
+
});
|
|
1982
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1983
|
+
const doc = take(data, {
|
|
1984
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
1985
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
1986
|
+
Priority: [, __expectInt32, `priority`],
|
|
1987
|
+
RoutingRuleArn: [, __expectString, `routingRuleArn`],
|
|
1988
|
+
RoutingRuleId: [, __expectString, `routingRuleId`],
|
|
1989
|
+
});
|
|
1990
|
+
Object.assign(contents, doc);
|
|
1991
|
+
return contents;
|
|
1992
|
+
};
|
|
1862
1993
|
export const de_GetStageCommand = async (output, context) => {
|
|
1863
1994
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1864
1995
|
return de_CommandError(output, context);
|
|
@@ -1982,6 +2113,39 @@ export const de_ImportApiCommand = async (output, context) => {
|
|
|
1982
2113
|
Object.assign(contents, doc);
|
|
1983
2114
|
return contents;
|
|
1984
2115
|
};
|
|
2116
|
+
export const de_ListRoutingRulesCommand = async (output, context) => {
|
|
2117
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2118
|
+
return de_CommandError(output, context);
|
|
2119
|
+
}
|
|
2120
|
+
const contents = map({
|
|
2121
|
+
$metadata: deserializeMetadata(output),
|
|
2122
|
+
});
|
|
2123
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2124
|
+
const doc = take(data, {
|
|
2125
|
+
NextToken: [, __expectString, `nextToken`],
|
|
2126
|
+
RoutingRules: [, (_) => de___listOfRoutingRule(_, context), `routingRules`],
|
|
2127
|
+
});
|
|
2128
|
+
Object.assign(contents, doc);
|
|
2129
|
+
return contents;
|
|
2130
|
+
};
|
|
2131
|
+
export const de_PutRoutingRuleCommand = async (output, context) => {
|
|
2132
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2133
|
+
return de_CommandError(output, context);
|
|
2134
|
+
}
|
|
2135
|
+
const contents = map({
|
|
2136
|
+
$metadata: deserializeMetadata(output),
|
|
2137
|
+
});
|
|
2138
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2139
|
+
const doc = take(data, {
|
|
2140
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
2141
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
2142
|
+
Priority: [, __expectInt32, `priority`],
|
|
2143
|
+
RoutingRuleArn: [, __expectString, `routingRuleArn`],
|
|
2144
|
+
RoutingRuleId: [, __expectString, `routingRuleId`],
|
|
2145
|
+
});
|
|
2146
|
+
Object.assign(contents, doc);
|
|
2147
|
+
return contents;
|
|
2148
|
+
};
|
|
1985
2149
|
export const de_ReimportApiCommand = async (output, context) => {
|
|
1986
2150
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1987
2151
|
return de_CommandError(output, context);
|
|
@@ -2143,8 +2307,10 @@ export const de_UpdateDomainNameCommand = async (output, context) => {
|
|
|
2143
2307
|
const doc = take(data, {
|
|
2144
2308
|
ApiMappingSelectionExpression: [, __expectString, `apiMappingSelectionExpression`],
|
|
2145
2309
|
DomainName: [, __expectString, `domainName`],
|
|
2310
|
+
DomainNameArn: [, __expectString, `domainNameArn`],
|
|
2146
2311
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
2147
2312
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
2313
|
+
RoutingMode: [, __expectString, `routingMode`],
|
|
2148
2314
|
Tags: [, _json, `tags`],
|
|
2149
2315
|
});
|
|
2150
2316
|
Object.assign(contents, doc);
|
|
@@ -2412,6 +2578,27 @@ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
|
2412
2578
|
});
|
|
2413
2579
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2414
2580
|
};
|
|
2581
|
+
const se___listOfRoutingRuleAction = (input, context) => {
|
|
2582
|
+
return input
|
|
2583
|
+
.filter((e) => e != null)
|
|
2584
|
+
.map((entry) => {
|
|
2585
|
+
return se_RoutingRuleAction(entry, context);
|
|
2586
|
+
});
|
|
2587
|
+
};
|
|
2588
|
+
const se___listOfRoutingRuleCondition = (input, context) => {
|
|
2589
|
+
return input
|
|
2590
|
+
.filter((e) => e != null)
|
|
2591
|
+
.map((entry) => {
|
|
2592
|
+
return se_RoutingRuleCondition(entry, context);
|
|
2593
|
+
});
|
|
2594
|
+
};
|
|
2595
|
+
const se___listOfRoutingRuleMatchHeaderValue = (input, context) => {
|
|
2596
|
+
return input
|
|
2597
|
+
.filter((e) => e != null)
|
|
2598
|
+
.map((entry) => {
|
|
2599
|
+
return se_RoutingRuleMatchHeaderValue(entry, context);
|
|
2600
|
+
});
|
|
2601
|
+
};
|
|
2415
2602
|
const se_AccessLogSettings = (input, context) => {
|
|
2416
2603
|
return take(input, {
|
|
2417
2604
|
destinationArn: [, , `DestinationArn`],
|
|
@@ -2494,6 +2681,40 @@ const se_RouteSettingsMap = (input, context) => {
|
|
|
2494
2681
|
return acc;
|
|
2495
2682
|
}, {});
|
|
2496
2683
|
};
|
|
2684
|
+
const se_RoutingRuleAction = (input, context) => {
|
|
2685
|
+
return take(input, {
|
|
2686
|
+
invokeApi: [, (_) => se_RoutingRuleActionInvokeApi(_, context), `InvokeApi`],
|
|
2687
|
+
});
|
|
2688
|
+
};
|
|
2689
|
+
const se_RoutingRuleActionInvokeApi = (input, context) => {
|
|
2690
|
+
return take(input, {
|
|
2691
|
+
apiId: [, , `ApiId`],
|
|
2692
|
+
stage: [, , `Stage`],
|
|
2693
|
+
stripBasePath: [, , `StripBasePath`],
|
|
2694
|
+
});
|
|
2695
|
+
};
|
|
2696
|
+
const se_RoutingRuleCondition = (input, context) => {
|
|
2697
|
+
return take(input, {
|
|
2698
|
+
matchBasePaths: [, (_) => se_RoutingRuleMatchBasePaths(_, context), `MatchBasePaths`],
|
|
2699
|
+
matchHeaders: [, (_) => se_RoutingRuleMatchHeaders(_, context), `MatchHeaders`],
|
|
2700
|
+
});
|
|
2701
|
+
};
|
|
2702
|
+
const se_RoutingRuleMatchBasePaths = (input, context) => {
|
|
2703
|
+
return take(input, {
|
|
2704
|
+
anyOf: [, _json, `AnyOf`],
|
|
2705
|
+
});
|
|
2706
|
+
};
|
|
2707
|
+
const se_RoutingRuleMatchHeaders = (input, context) => {
|
|
2708
|
+
return take(input, {
|
|
2709
|
+
anyOf: [, (_) => se___listOfRoutingRuleMatchHeaderValue(_, context), `AnyOf`],
|
|
2710
|
+
});
|
|
2711
|
+
};
|
|
2712
|
+
const se_RoutingRuleMatchHeaderValue = (input, context) => {
|
|
2713
|
+
return take(input, {
|
|
2714
|
+
header: [, , `Header`],
|
|
2715
|
+
valueGlob: [, , `ValueGlob`],
|
|
2716
|
+
});
|
|
2717
|
+
};
|
|
2497
2718
|
const se_TlsConfigInput = (input, context) => {
|
|
2498
2719
|
return take(input, {
|
|
2499
2720
|
serverNameToVerify: [, , `ServerNameToVerify`],
|
|
@@ -2579,6 +2800,38 @@ const de___listOfRouteResponse = (output, context) => {
|
|
|
2579
2800
|
});
|
|
2580
2801
|
return retVal;
|
|
2581
2802
|
};
|
|
2803
|
+
const de___listOfRoutingRule = (output, context) => {
|
|
2804
|
+
const retVal = (output || [])
|
|
2805
|
+
.filter((e) => e != null)
|
|
2806
|
+
.map((entry) => {
|
|
2807
|
+
return de_RoutingRule(entry, context);
|
|
2808
|
+
});
|
|
2809
|
+
return retVal;
|
|
2810
|
+
};
|
|
2811
|
+
const de___listOfRoutingRuleAction = (output, context) => {
|
|
2812
|
+
const retVal = (output || [])
|
|
2813
|
+
.filter((e) => e != null)
|
|
2814
|
+
.map((entry) => {
|
|
2815
|
+
return de_RoutingRuleAction(entry, context);
|
|
2816
|
+
});
|
|
2817
|
+
return retVal;
|
|
2818
|
+
};
|
|
2819
|
+
const de___listOfRoutingRuleCondition = (output, context) => {
|
|
2820
|
+
const retVal = (output || [])
|
|
2821
|
+
.filter((e) => e != null)
|
|
2822
|
+
.map((entry) => {
|
|
2823
|
+
return de_RoutingRuleCondition(entry, context);
|
|
2824
|
+
});
|
|
2825
|
+
return retVal;
|
|
2826
|
+
};
|
|
2827
|
+
const de___listOfRoutingRuleMatchHeaderValue = (output, context) => {
|
|
2828
|
+
const retVal = (output || [])
|
|
2829
|
+
.filter((e) => e != null)
|
|
2830
|
+
.map((entry) => {
|
|
2831
|
+
return de_RoutingRuleMatchHeaderValue(entry, context);
|
|
2832
|
+
});
|
|
2833
|
+
return retVal;
|
|
2834
|
+
};
|
|
2582
2835
|
const de___listOfStage = (output, context) => {
|
|
2583
2836
|
const retVal = (output || [])
|
|
2584
2837
|
.filter((e) => e != null)
|
|
@@ -2669,8 +2922,10 @@ const de_DomainName = (output, context) => {
|
|
|
2669
2922
|
return take(output, {
|
|
2670
2923
|
ApiMappingSelectionExpression: [, __expectString, `apiMappingSelectionExpression`],
|
|
2671
2924
|
DomainName: [, __expectString, `domainName`],
|
|
2925
|
+
DomainNameArn: [, __expectString, `domainNameArn`],
|
|
2672
2926
|
DomainNameConfigurations: [, (_) => de_DomainNameConfigurations(_, context), `domainNameConfigurations`],
|
|
2673
2927
|
MutualTlsAuthentication: [, (_) => de_MutualTlsAuthentication(_, context), `mutualTlsAuthentication`],
|
|
2928
|
+
RoutingMode: [, __expectString, `routingMode`],
|
|
2674
2929
|
Tags: [, _json, `tags`],
|
|
2675
2930
|
});
|
|
2676
2931
|
};
|
|
@@ -2815,6 +3070,49 @@ const de_RouteSettingsMap = (output, context) => {
|
|
|
2815
3070
|
return acc;
|
|
2816
3071
|
}, {});
|
|
2817
3072
|
};
|
|
3073
|
+
const de_RoutingRule = (output, context) => {
|
|
3074
|
+
return take(output, {
|
|
3075
|
+
Actions: [, (_) => de___listOfRoutingRuleAction(_, context), `actions`],
|
|
3076
|
+
Conditions: [, (_) => de___listOfRoutingRuleCondition(_, context), `conditions`],
|
|
3077
|
+
Priority: [, __expectInt32, `priority`],
|
|
3078
|
+
RoutingRuleArn: [, __expectString, `routingRuleArn`],
|
|
3079
|
+
RoutingRuleId: [, __expectString, `routingRuleId`],
|
|
3080
|
+
});
|
|
3081
|
+
};
|
|
3082
|
+
const de_RoutingRuleAction = (output, context) => {
|
|
3083
|
+
return take(output, {
|
|
3084
|
+
InvokeApi: [, (_) => de_RoutingRuleActionInvokeApi(_, context), `invokeApi`],
|
|
3085
|
+
});
|
|
3086
|
+
};
|
|
3087
|
+
const de_RoutingRuleActionInvokeApi = (output, context) => {
|
|
3088
|
+
return take(output, {
|
|
3089
|
+
ApiId: [, __expectString, `apiId`],
|
|
3090
|
+
Stage: [, __expectString, `stage`],
|
|
3091
|
+
StripBasePath: [, __expectBoolean, `stripBasePath`],
|
|
3092
|
+
});
|
|
3093
|
+
};
|
|
3094
|
+
const de_RoutingRuleCondition = (output, context) => {
|
|
3095
|
+
return take(output, {
|
|
3096
|
+
MatchBasePaths: [, (_) => de_RoutingRuleMatchBasePaths(_, context), `matchBasePaths`],
|
|
3097
|
+
MatchHeaders: [, (_) => de_RoutingRuleMatchHeaders(_, context), `matchHeaders`],
|
|
3098
|
+
});
|
|
3099
|
+
};
|
|
3100
|
+
const de_RoutingRuleMatchBasePaths = (output, context) => {
|
|
3101
|
+
return take(output, {
|
|
3102
|
+
AnyOf: [, _json, `anyOf`],
|
|
3103
|
+
});
|
|
3104
|
+
};
|
|
3105
|
+
const de_RoutingRuleMatchHeaders = (output, context) => {
|
|
3106
|
+
return take(output, {
|
|
3107
|
+
AnyOf: [, (_) => de___listOfRoutingRuleMatchHeaderValue(_, context), `anyOf`],
|
|
3108
|
+
});
|
|
3109
|
+
};
|
|
3110
|
+
const de_RoutingRuleMatchHeaderValue = (output, context) => {
|
|
3111
|
+
return take(output, {
|
|
3112
|
+
Header: [, __expectString, `header`],
|
|
3113
|
+
ValueGlob: [, __expectString, `valueGlob`],
|
|
3114
|
+
});
|
|
3115
|
+
};
|
|
2818
3116
|
const de_Stage = (output, context) => {
|
|
2819
3117
|
return take(output, {
|
|
2820
3118
|
AccessLogSettings: [, (_) => de_AccessLogSettings(_, context), `accessLogSettings`],
|
|
@@ -2859,6 +3157,7 @@ const deserializeMetadata = (output) => ({
|
|
|
2859
3157
|
});
|
|
2860
3158
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2861
3159
|
const _B = "Basepath";
|
|
3160
|
+
const _DNI = "DomainNameId";
|
|
2862
3161
|
const _EV = "ExportVersion";
|
|
2863
3162
|
const _FOW = "FailOnWarnings";
|
|
2864
3163
|
const _IE = "IncludeExtensions";
|
|
@@ -2868,6 +3167,7 @@ const _OT = "OutputType";
|
|
|
2868
3167
|
const _SN = "StageName";
|
|
2869
3168
|
const _TK = "TagKeys";
|
|
2870
3169
|
const _b = "basepath";
|
|
3170
|
+
const _dNI = "domainNameId";
|
|
2871
3171
|
const _eV = "exportVersion";
|
|
2872
3172
|
const _fOW = "failOnWarnings";
|
|
2873
3173
|
const _iE = "includeExtensions";
|
|
@@ -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/De
|
|
|
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/GetRoute
|
|
|
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";
|
|
@@ -133,6 +138,12 @@ export interface ApiGatewayV2 {
|
|
|
133
138
|
createRouteResponse(args: CreateRouteResponseCommandInput, options?: __HttpHandlerOptions): Promise<CreateRouteResponseCommandOutput>;
|
|
134
139
|
createRouteResponse(args: CreateRouteResponseCommandInput, cb: (err: any, data?: CreateRouteResponseCommandOutput) => void): void;
|
|
135
140
|
createRouteResponse(args: CreateRouteResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRouteResponseCommandOutput) => void): void;
|
|
141
|
+
/**
|
|
142
|
+
* @see {@link CreateRoutingRuleCommand}
|
|
143
|
+
*/
|
|
144
|
+
createRoutingRule(args: CreateRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRoutingRuleCommandOutput>;
|
|
145
|
+
createRoutingRule(args: CreateRoutingRuleCommandInput, cb: (err: any, data?: CreateRoutingRuleCommandOutput) => void): void;
|
|
146
|
+
createRoutingRule(args: CreateRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRoutingRuleCommandOutput) => void): void;
|
|
136
147
|
/**
|
|
137
148
|
* @see {@link CreateStageCommand}
|
|
138
149
|
*/
|
|
@@ -229,6 +240,12 @@ export interface ApiGatewayV2 {
|
|
|
229
240
|
deleteRouteSettings(args: DeleteRouteSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRouteSettingsCommandOutput>;
|
|
230
241
|
deleteRouteSettings(args: DeleteRouteSettingsCommandInput, cb: (err: any, data?: DeleteRouteSettingsCommandOutput) => void): void;
|
|
231
242
|
deleteRouteSettings(args: DeleteRouteSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRouteSettingsCommandOutput) => void): void;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link DeleteRoutingRuleCommand}
|
|
245
|
+
*/
|
|
246
|
+
deleteRoutingRule(args: DeleteRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRoutingRuleCommandOutput>;
|
|
247
|
+
deleteRoutingRule(args: DeleteRoutingRuleCommandInput, cb: (err: any, data?: DeleteRoutingRuleCommandOutput) => void): void;
|
|
248
|
+
deleteRoutingRule(args: DeleteRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRoutingRuleCommandOutput) => void): void;
|
|
232
249
|
/**
|
|
233
250
|
* @see {@link DeleteStageCommand}
|
|
234
251
|
*/
|
|
@@ -375,6 +392,12 @@ export interface ApiGatewayV2 {
|
|
|
375
392
|
getRoutes(args: GetRoutesCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutesCommandOutput>;
|
|
376
393
|
getRoutes(args: GetRoutesCommandInput, cb: (err: any, data?: GetRoutesCommandOutput) => void): void;
|
|
377
394
|
getRoutes(args: GetRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutesCommandOutput) => void): void;
|
|
395
|
+
/**
|
|
396
|
+
* @see {@link GetRoutingRuleCommand}
|
|
397
|
+
*/
|
|
398
|
+
getRoutingRule(args: GetRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingRuleCommandOutput>;
|
|
399
|
+
getRoutingRule(args: GetRoutingRuleCommandInput, cb: (err: any, data?: GetRoutingRuleCommandOutput) => void): void;
|
|
400
|
+
getRoutingRule(args: GetRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingRuleCommandOutput) => void): void;
|
|
378
401
|
/**
|
|
379
402
|
* @see {@link GetStageCommand}
|
|
380
403
|
*/
|
|
@@ -412,6 +435,18 @@ export interface ApiGatewayV2 {
|
|
|
412
435
|
importApi(args: ImportApiCommandInput, options?: __HttpHandlerOptions): Promise<ImportApiCommandOutput>;
|
|
413
436
|
importApi(args: ImportApiCommandInput, cb: (err: any, data?: ImportApiCommandOutput) => void): void;
|
|
414
437
|
importApi(args: ImportApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportApiCommandOutput) => void): void;
|
|
438
|
+
/**
|
|
439
|
+
* @see {@link ListRoutingRulesCommand}
|
|
440
|
+
*/
|
|
441
|
+
listRoutingRules(args: ListRoutingRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingRulesCommandOutput>;
|
|
442
|
+
listRoutingRules(args: ListRoutingRulesCommandInput, cb: (err: any, data?: ListRoutingRulesCommandOutput) => void): void;
|
|
443
|
+
listRoutingRules(args: ListRoutingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingRulesCommandOutput) => void): void;
|
|
444
|
+
/**
|
|
445
|
+
* @see {@link PutRoutingRuleCommand}
|
|
446
|
+
*/
|
|
447
|
+
putRoutingRule(args: PutRoutingRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutRoutingRuleCommandOutput>;
|
|
448
|
+
putRoutingRule(args: PutRoutingRuleCommandInput, cb: (err: any, data?: PutRoutingRuleCommandOutput) => void): void;
|
|
449
|
+
putRoutingRule(args: PutRoutingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRoutingRuleCommandOutput) => void): void;
|
|
415
450
|
/**
|
|
416
451
|
* @see {@link ReimportApiCommand}
|
|
417
452
|
*/
|
|
@@ -17,6 +17,7 @@ import { CreateIntegrationResponseCommandInput, CreateIntegrationResponseCommand
|
|
|
17
17
|
import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
|
|
18
18
|
import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
|
|
19
19
|
import { CreateRouteResponseCommandInput, CreateRouteResponseCommandOutput } from "./commands/CreateRouteResponseCommand";
|
|
20
|
+
import { CreateRoutingRuleCommandInput, CreateRoutingRuleCommandOutput } from "./commands/CreateRoutingRuleCommand";
|
|
20
21
|
import { CreateStageCommandInput, CreateStageCommandOutput } from "./commands/CreateStageCommand";
|
|
21
22
|
import { CreateVpcLinkCommandInput, CreateVpcLinkCommandOutput } from "./commands/CreateVpcLinkCommand";
|
|
22
23
|
import { DeleteAccessLogSettingsCommandInput, DeleteAccessLogSettingsCommandOutput } from "./commands/DeleteAccessLogSettingsCommand";
|
|
@@ -33,6 +34,7 @@ import { DeleteRouteCommandInput, DeleteRouteCommandOutput } from "./commands/De
|
|
|
33
34
|
import { DeleteRouteRequestParameterCommandInput, DeleteRouteRequestParameterCommandOutput } from "./commands/DeleteRouteRequestParameterCommand";
|
|
34
35
|
import { DeleteRouteResponseCommandInput, DeleteRouteResponseCommandOutput } from "./commands/DeleteRouteResponseCommand";
|
|
35
36
|
import { DeleteRouteSettingsCommandInput, DeleteRouteSettingsCommandOutput } from "./commands/DeleteRouteSettingsCommand";
|
|
37
|
+
import { DeleteRoutingRuleCommandInput, DeleteRoutingRuleCommandOutput } from "./commands/DeleteRoutingRuleCommand";
|
|
36
38
|
import { DeleteStageCommandInput, DeleteStageCommandOutput } from "./commands/DeleteStageCommand";
|
|
37
39
|
import { DeleteVpcLinkCommandInput, DeleteVpcLinkCommandOutput } from "./commands/DeleteVpcLinkCommand";
|
|
38
40
|
import { ExportApiCommandInput, ExportApiCommandOutput } from "./commands/ExportApiCommand";
|
|
@@ -57,12 +59,15 @@ import { GetRouteCommandInput, GetRouteCommandOutput } from "./commands/GetRoute
|
|
|
57
59
|
import { GetRouteResponseCommandInput, GetRouteResponseCommandOutput } from "./commands/GetRouteResponseCommand";
|
|
58
60
|
import { GetRouteResponsesCommandInput, GetRouteResponsesCommandOutput } from "./commands/GetRouteResponsesCommand";
|
|
59
61
|
import { GetRoutesCommandInput, GetRoutesCommandOutput } from "./commands/GetRoutesCommand";
|
|
62
|
+
import { GetRoutingRuleCommandInput, GetRoutingRuleCommandOutput } from "./commands/GetRoutingRuleCommand";
|
|
60
63
|
import { GetStageCommandInput, GetStageCommandOutput } from "./commands/GetStageCommand";
|
|
61
64
|
import { GetStagesCommandInput, GetStagesCommandOutput } from "./commands/GetStagesCommand";
|
|
62
65
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
|
|
63
66
|
import { GetVpcLinkCommandInput, GetVpcLinkCommandOutput } from "./commands/GetVpcLinkCommand";
|
|
64
67
|
import { GetVpcLinksCommandInput, GetVpcLinksCommandOutput } from "./commands/GetVpcLinksCommand";
|
|
65
68
|
import { ImportApiCommandInput, ImportApiCommandOutput } from "./commands/ImportApiCommand";
|
|
69
|
+
import { ListRoutingRulesCommandInput, ListRoutingRulesCommandOutput } from "./commands/ListRoutingRulesCommand";
|
|
70
|
+
import { PutRoutingRuleCommandInput, PutRoutingRuleCommandOutput } from "./commands/PutRoutingRuleCommand";
|
|
66
71
|
import { ReimportApiCommandInput, ReimportApiCommandOutput } from "./commands/ReimportApiCommand";
|
|
67
72
|
import { ResetAuthorizersCacheCommandInput, ResetAuthorizersCacheCommandOutput } from "./commands/ResetAuthorizersCacheCommand";
|
|
68
73
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -85,11 +90,11 @@ export { __Client };
|
|
|
85
90
|
/**
|
|
86
91
|
* @public
|
|
87
92
|
*/
|
|
88
|
-
export type ServiceInputTypes = CreateApiCommandInput | CreateApiMappingCommandInput | CreateAuthorizerCommandInput | CreateDeploymentCommandInput | CreateDomainNameCommandInput | CreateIntegrationCommandInput | CreateIntegrationResponseCommandInput | CreateModelCommandInput | CreateRouteCommandInput | CreateRouteResponseCommandInput | CreateStageCommandInput | CreateVpcLinkCommandInput | DeleteAccessLogSettingsCommandInput | DeleteApiCommandInput | DeleteApiMappingCommandInput | DeleteAuthorizerCommandInput | DeleteCorsConfigurationCommandInput | DeleteDeploymentCommandInput | DeleteDomainNameCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteModelCommandInput | DeleteRouteCommandInput | DeleteRouteRequestParameterCommandInput | DeleteRouteResponseCommandInput | DeleteRouteSettingsCommandInput | DeleteStageCommandInput | DeleteVpcLinkCommandInput | ExportApiCommandInput | GetApiCommandInput | GetApiMappingCommandInput | GetApiMappingsCommandInput | GetApisCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetIntegrationResponsesCommandInput | GetIntegrationsCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRouteCommandInput | GetRouteResponseCommandInput | GetRouteResponsesCommandInput | GetRoutesCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiCommandInput | ReimportApiCommandInput | ResetAuthorizersCacheCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCommandInput | UpdateApiMappingCommandInput | UpdateAuthorizerCommandInput | UpdateDeploymentCommandInput | UpdateDomainNameCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateModelCommandInput | UpdateRouteCommandInput | UpdateRouteResponseCommandInput | UpdateStageCommandInput | UpdateVpcLinkCommandInput;
|
|
93
|
+
export type ServiceInputTypes = CreateApiCommandInput | CreateApiMappingCommandInput | CreateAuthorizerCommandInput | CreateDeploymentCommandInput | CreateDomainNameCommandInput | CreateIntegrationCommandInput | CreateIntegrationResponseCommandInput | CreateModelCommandInput | CreateRouteCommandInput | CreateRouteResponseCommandInput | CreateRoutingRuleCommandInput | CreateStageCommandInput | CreateVpcLinkCommandInput | DeleteAccessLogSettingsCommandInput | DeleteApiCommandInput | DeleteApiMappingCommandInput | DeleteAuthorizerCommandInput | DeleteCorsConfigurationCommandInput | DeleteDeploymentCommandInput | DeleteDomainNameCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteModelCommandInput | DeleteRouteCommandInput | DeleteRouteRequestParameterCommandInput | DeleteRouteResponseCommandInput | DeleteRouteSettingsCommandInput | DeleteRoutingRuleCommandInput | DeleteStageCommandInput | DeleteVpcLinkCommandInput | ExportApiCommandInput | GetApiCommandInput | GetApiMappingCommandInput | GetApiMappingsCommandInput | GetApisCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetIntegrationResponsesCommandInput | GetIntegrationsCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRouteCommandInput | GetRouteResponseCommandInput | GetRouteResponsesCommandInput | GetRoutesCommandInput | GetRoutingRuleCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiCommandInput | ListRoutingRulesCommandInput | PutRoutingRuleCommandInput | ReimportApiCommandInput | ResetAuthorizersCacheCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCommandInput | UpdateApiMappingCommandInput | UpdateAuthorizerCommandInput | UpdateDeploymentCommandInput | UpdateDomainNameCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateModelCommandInput | UpdateRouteCommandInput | UpdateRouteResponseCommandInput | UpdateStageCommandInput | UpdateVpcLinkCommandInput;
|
|
89
94
|
/**
|
|
90
95
|
* @public
|
|
91
96
|
*/
|
|
92
|
-
export type ServiceOutputTypes = CreateApiCommandOutput | CreateApiMappingCommandOutput | CreateAuthorizerCommandOutput | CreateDeploymentCommandOutput | CreateDomainNameCommandOutput | CreateIntegrationCommandOutput | CreateIntegrationResponseCommandOutput | CreateModelCommandOutput | CreateRouteCommandOutput | CreateRouteResponseCommandOutput | CreateStageCommandOutput | CreateVpcLinkCommandOutput | DeleteAccessLogSettingsCommandOutput | DeleteApiCommandOutput | DeleteApiMappingCommandOutput | DeleteAuthorizerCommandOutput | DeleteCorsConfigurationCommandOutput | DeleteDeploymentCommandOutput | DeleteDomainNameCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteModelCommandOutput | DeleteRouteCommandOutput | DeleteRouteRequestParameterCommandOutput | DeleteRouteResponseCommandOutput | DeleteRouteSettingsCommandOutput | DeleteStageCommandOutput | DeleteVpcLinkCommandOutput | ExportApiCommandOutput | GetApiCommandOutput | GetApiMappingCommandOutput | GetApiMappingsCommandOutput | GetApisCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetIntegrationResponsesCommandOutput | GetIntegrationsCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRouteCommandOutput | GetRouteResponseCommandOutput | GetRouteResponsesCommandOutput | GetRoutesCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiCommandOutput | ReimportApiCommandOutput | ResetAuthorizersCacheCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCommandOutput | UpdateApiMappingCommandOutput | UpdateAuthorizerCommandOutput | UpdateDeploymentCommandOutput | UpdateDomainNameCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateModelCommandOutput | UpdateRouteCommandOutput | UpdateRouteResponseCommandOutput | UpdateStageCommandOutput | UpdateVpcLinkCommandOutput;
|
|
97
|
+
export type ServiceOutputTypes = CreateApiCommandOutput | CreateApiMappingCommandOutput | CreateAuthorizerCommandOutput | CreateDeploymentCommandOutput | CreateDomainNameCommandOutput | CreateIntegrationCommandOutput | CreateIntegrationResponseCommandOutput | CreateModelCommandOutput | CreateRouteCommandOutput | CreateRouteResponseCommandOutput | CreateRoutingRuleCommandOutput | CreateStageCommandOutput | CreateVpcLinkCommandOutput | DeleteAccessLogSettingsCommandOutput | DeleteApiCommandOutput | DeleteApiMappingCommandOutput | DeleteAuthorizerCommandOutput | DeleteCorsConfigurationCommandOutput | DeleteDeploymentCommandOutput | DeleteDomainNameCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteModelCommandOutput | DeleteRouteCommandOutput | DeleteRouteRequestParameterCommandOutput | DeleteRouteResponseCommandOutput | DeleteRouteSettingsCommandOutput | DeleteRoutingRuleCommandOutput | DeleteStageCommandOutput | DeleteVpcLinkCommandOutput | ExportApiCommandOutput | GetApiCommandOutput | GetApiMappingCommandOutput | GetApiMappingsCommandOutput | GetApisCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetIntegrationResponsesCommandOutput | GetIntegrationsCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRouteCommandOutput | GetRouteResponseCommandOutput | GetRouteResponsesCommandOutput | GetRoutesCommandOutput | GetRoutingRuleCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiCommandOutput | ListRoutingRulesCommandOutput | PutRoutingRuleCommandOutput | ReimportApiCommandOutput | ResetAuthorizersCacheCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCommandOutput | UpdateApiMappingCommandOutput | UpdateAuthorizerCommandOutput | UpdateDeploymentCommandOutput | UpdateDomainNameCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateModelCommandOutput | UpdateRouteCommandOutput | UpdateRouteResponseCommandOutput | UpdateStageCommandOutput | UpdateVpcLinkCommandOutput;
|
|
93
98
|
/**
|
|
94
99
|
* @public
|
|
95
100
|
*/
|
|
@@ -55,6 +55,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
55
55
|
* TruststoreUri: "STRING_VALUE",
|
|
56
56
|
* TruststoreVersion: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
+
* RoutingMode: "API_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_API_MAPPING",
|
|
58
59
|
* Tags: { // Tags
|
|
59
60
|
* "<keys>": "STRING_VALUE",
|
|
60
61
|
* },
|
|
@@ -64,6 +65,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
64
65
|
* // { // CreateDomainNameResponse
|
|
65
66
|
* // ApiMappingSelectionExpression: "STRING_VALUE",
|
|
66
67
|
* // DomainName: "STRING_VALUE",
|
|
68
|
+
* // DomainNameArn: "STRING_VALUE",
|
|
67
69
|
* // DomainNameConfigurations: [ // DomainNameConfigurations
|
|
68
70
|
* // { // DomainNameConfiguration
|
|
69
71
|
* // ApiGatewayDomainName: "STRING_VALUE",
|
|
@@ -86,6 +88,7 @@ declare const CreateDomainNameCommand_base: {
|
|
|
86
88
|
* // "STRING_VALUE",
|
|
87
89
|
* // ],
|
|
88
90
|
* // },
|
|
91
|
+
* // RoutingMode: "API_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_API_MAPPING",
|
|
89
92
|
* // Tags: { // Tags
|
|
90
93
|
* // "<keys>": "STRING_VALUE",
|
|
91
94
|
* // },
|