@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
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { ApiGatewayV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
12
13
|
export * from "./models";
|
|
13
14
|
export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException";
|
|
@@ -436,6 +436,19 @@ export interface MutualTlsAuthentication {
|
|
|
436
436
|
*/
|
|
437
437
|
TruststoreWarnings?: string[] | undefined;
|
|
438
438
|
}
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @enum
|
|
442
|
+
*/
|
|
443
|
+
export declare const RoutingMode: {
|
|
444
|
+
readonly API_MAPPING_ONLY: "API_MAPPING_ONLY";
|
|
445
|
+
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
446
|
+
readonly ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING";
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
439
452
|
/**
|
|
440
453
|
* <p>Represents a domain name.</p>
|
|
441
454
|
* @public
|
|
@@ -451,6 +464,11 @@ export interface DomainName {
|
|
|
451
464
|
* @public
|
|
452
465
|
*/
|
|
453
466
|
DomainName: string | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* <p>Represents an Amazon Resource Name (ARN).</p>
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
DomainNameArn?: string | undefined;
|
|
454
472
|
/**
|
|
455
473
|
* <p>The domain name configurations.</p>
|
|
456
474
|
* @public
|
|
@@ -461,6 +479,11 @@ export interface DomainName {
|
|
|
461
479
|
* @public
|
|
462
480
|
*/
|
|
463
481
|
MutualTlsAuthentication?: MutualTlsAuthentication | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* <p>The routing mode.</p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
RoutingMode?: RoutingMode | undefined;
|
|
464
487
|
/**
|
|
465
488
|
* <p>The collection of tags associated with a domain name.</p>
|
|
466
489
|
* @public
|
|
@@ -835,6 +858,123 @@ export interface RouteResponse {
|
|
|
835
858
|
*/
|
|
836
859
|
RouteResponseKey: string | undefined;
|
|
837
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* <p>Represents an InvokeApi action.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
export interface RoutingRuleActionInvokeApi {
|
|
866
|
+
/**
|
|
867
|
+
* <p>The identifier.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
ApiId: string | undefined;
|
|
871
|
+
/**
|
|
872
|
+
* <p>A string with a length between [1-128].</p>
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
Stage: string | undefined;
|
|
876
|
+
/**
|
|
877
|
+
* <p>The strip base path setting.</p>
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
StripBasePath?: boolean | undefined;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* <p>The routing rule action.</p>
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
export interface RoutingRuleAction {
|
|
887
|
+
/**
|
|
888
|
+
* <p>Represents an InvokeApi action.</p>
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
InvokeApi: RoutingRuleActionInvokeApi | undefined;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* <p>Represents a MatchBasePaths condition.</p>
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
export interface RoutingRuleMatchBasePaths {
|
|
898
|
+
/**
|
|
899
|
+
* The string of the case sensitive base path to be matched.
|
|
900
|
+
* @public
|
|
901
|
+
*/
|
|
902
|
+
AnyOf: string[] | undefined;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* <p>Represents a MatchHeaderValue.</p>
|
|
906
|
+
* @public
|
|
907
|
+
*/
|
|
908
|
+
export interface RoutingRuleMatchHeaderValue {
|
|
909
|
+
/**
|
|
910
|
+
* <p>After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">Selection Expressions</a> for a list of expressions and each expression's associated selection key type.</p>
|
|
911
|
+
* @public
|
|
912
|
+
*/
|
|
913
|
+
Header: string | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* <p>An expression used to extract information at runtime. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">Selection Expressions</a> for more information.</p>
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
918
|
+
ValueGlob: string | undefined;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* <p>Represents a MatchHeaders condition.</p>
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
export interface RoutingRuleMatchHeaders {
|
|
925
|
+
/**
|
|
926
|
+
* <p>The header name and header value glob to be matched. The matchHeaders condition is matched if any of the header name and header value globs are matched.</p>
|
|
927
|
+
* @public
|
|
928
|
+
*/
|
|
929
|
+
AnyOf: RoutingRuleMatchHeaderValue[] | undefined;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* <p>Represents a routing rule condition.</p>
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
export interface RoutingRuleCondition {
|
|
936
|
+
/**
|
|
937
|
+
* <p>The base path to be matched.</p>
|
|
938
|
+
* @public
|
|
939
|
+
*/
|
|
940
|
+
MatchBasePaths?: RoutingRuleMatchBasePaths | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* <p>The headers to be matched.</p>
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
MatchHeaders?: RoutingRuleMatchHeaders | undefined;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* <p>Represents a routing rule.</p>
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
export interface RoutingRule {
|
|
952
|
+
/**
|
|
953
|
+
* <p>The routing rule action.</p>
|
|
954
|
+
* @public
|
|
955
|
+
*/
|
|
956
|
+
Actions?: RoutingRuleAction[] | undefined;
|
|
957
|
+
/**
|
|
958
|
+
* <p>The routing rule condition.</p>
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
Conditions?: RoutingRuleCondition[] | undefined;
|
|
962
|
+
/**
|
|
963
|
+
* <p>The routing rule priority.</p>
|
|
964
|
+
* @public
|
|
965
|
+
*/
|
|
966
|
+
Priority?: number | undefined;
|
|
967
|
+
/**
|
|
968
|
+
* <p>The routing rule ARN.</p>
|
|
969
|
+
* @public
|
|
970
|
+
*/
|
|
971
|
+
RoutingRuleArn?: string | undefined;
|
|
972
|
+
/**
|
|
973
|
+
* <p>The routing rule ID.</p>
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
RoutingRuleId?: string | undefined;
|
|
977
|
+
}
|
|
838
978
|
/**
|
|
839
979
|
* <p>Settings for logging access in a stage.</p>
|
|
840
980
|
* @public
|
|
@@ -1569,6 +1709,11 @@ export interface CreateDomainNameRequest {
|
|
|
1569
1709
|
* @public
|
|
1570
1710
|
*/
|
|
1571
1711
|
MutualTlsAuthentication?: MutualTlsAuthenticationInput | undefined;
|
|
1712
|
+
/**
|
|
1713
|
+
* <p>The routing mode.</p>
|
|
1714
|
+
* @public
|
|
1715
|
+
*/
|
|
1716
|
+
RoutingMode?: RoutingMode | undefined;
|
|
1572
1717
|
/**
|
|
1573
1718
|
* <p>The collection of tags associated with a domain name.</p>
|
|
1574
1719
|
* @public
|
|
@@ -1589,6 +1734,11 @@ export interface CreateDomainNameResponse {
|
|
|
1589
1734
|
* @public
|
|
1590
1735
|
*/
|
|
1591
1736
|
DomainName?: string | undefined;
|
|
1737
|
+
/**
|
|
1738
|
+
* <p>Represents an Amazon Resource Name (ARN).</p>
|
|
1739
|
+
* @public
|
|
1740
|
+
*/
|
|
1741
|
+
DomainNameArn?: string | undefined;
|
|
1592
1742
|
/**
|
|
1593
1743
|
* <p>The domain name configurations.</p>
|
|
1594
1744
|
* @public
|
|
@@ -1599,6 +1749,11 @@ export interface CreateDomainNameResponse {
|
|
|
1599
1749
|
* @public
|
|
1600
1750
|
*/
|
|
1601
1751
|
MutualTlsAuthentication?: MutualTlsAuthentication | undefined;
|
|
1752
|
+
/**
|
|
1753
|
+
* <p>The routing mode.</p>
|
|
1754
|
+
* @public
|
|
1755
|
+
*/
|
|
1756
|
+
RoutingMode?: RoutingMode | undefined;
|
|
1602
1757
|
/**
|
|
1603
1758
|
* <p>The collection of tags associated with a domain name.</p>
|
|
1604
1759
|
* @public
|
|
@@ -2166,6 +2321,66 @@ export interface CreateRouteResponseResponse {
|
|
|
2166
2321
|
*/
|
|
2167
2322
|
RouteResponseKey?: string | undefined;
|
|
2168
2323
|
}
|
|
2324
|
+
/**
|
|
2325
|
+
* @public
|
|
2326
|
+
*/
|
|
2327
|
+
export interface CreateRoutingRuleRequest {
|
|
2328
|
+
/**
|
|
2329
|
+
* <p>Represents a routing rule action. The only supported action is invokeApi.</p>
|
|
2330
|
+
* @public
|
|
2331
|
+
*/
|
|
2332
|
+
Actions: RoutingRuleAction[] | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* <p>Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.</p>
|
|
2335
|
+
* @public
|
|
2336
|
+
*/
|
|
2337
|
+
Conditions: RoutingRuleCondition[] | undefined;
|
|
2338
|
+
/**
|
|
2339
|
+
* <p>The domain name.</p>
|
|
2340
|
+
* @public
|
|
2341
|
+
*/
|
|
2342
|
+
DomainName: string | undefined;
|
|
2343
|
+
/**
|
|
2344
|
+
* <p>The domain name ID.</p>
|
|
2345
|
+
* @public
|
|
2346
|
+
*/
|
|
2347
|
+
DomainNameId?: string | undefined;
|
|
2348
|
+
/**
|
|
2349
|
+
* Represents the priority of the routing rule.
|
|
2350
|
+
* @public
|
|
2351
|
+
*/
|
|
2352
|
+
Priority: number | undefined;
|
|
2353
|
+
}
|
|
2354
|
+
/**
|
|
2355
|
+
* @public
|
|
2356
|
+
*/
|
|
2357
|
+
export interface CreateRoutingRuleResponse {
|
|
2358
|
+
/**
|
|
2359
|
+
* <p>Represents a routing rule action. The only supported action is invokeApi.</p>
|
|
2360
|
+
* @public
|
|
2361
|
+
*/
|
|
2362
|
+
Actions?: RoutingRuleAction[] | undefined;
|
|
2363
|
+
/**
|
|
2364
|
+
* <p>Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.</p>
|
|
2365
|
+
* @public
|
|
2366
|
+
*/
|
|
2367
|
+
Conditions?: RoutingRuleCondition[] | undefined;
|
|
2368
|
+
/**
|
|
2369
|
+
* <p>Represents the priority of the routing rule.<p>
|
|
2370
|
+
* @public
|
|
2371
|
+
*/
|
|
2372
|
+
Priority?: number | undefined;
|
|
2373
|
+
/**
|
|
2374
|
+
* <p>The ARN of the domain name.<p>
|
|
2375
|
+
* @public
|
|
2376
|
+
*/
|
|
2377
|
+
RoutingRuleArn?: string | undefined;
|
|
2378
|
+
/**
|
|
2379
|
+
* <p>The routing rule ID.</p>
|
|
2380
|
+
* @public
|
|
2381
|
+
*/
|
|
2382
|
+
RoutingRuleId?: string | undefined;
|
|
2383
|
+
}
|
|
2169
2384
|
/**
|
|
2170
2385
|
* <p>Creates a new Stage resource to represent a stage.</p>
|
|
2171
2386
|
* @public
|
|
@@ -2593,6 +2808,26 @@ export interface DeleteRouteSettingsRequest {
|
|
|
2593
2808
|
*/
|
|
2594
2809
|
StageName: string | undefined;
|
|
2595
2810
|
}
|
|
2811
|
+
/**
|
|
2812
|
+
* @public
|
|
2813
|
+
*/
|
|
2814
|
+
export interface DeleteRoutingRuleRequest {
|
|
2815
|
+
/**
|
|
2816
|
+
* <p>The domain name.</p>
|
|
2817
|
+
* @public
|
|
2818
|
+
*/
|
|
2819
|
+
DomainName: string | undefined;
|
|
2820
|
+
/**
|
|
2821
|
+
* <p>The domain name ID.</p>
|
|
2822
|
+
* @public
|
|
2823
|
+
*/
|
|
2824
|
+
DomainNameId?: string | undefined;
|
|
2825
|
+
/**
|
|
2826
|
+
* <p>The routing rule ID.</p>
|
|
2827
|
+
* @public
|
|
2828
|
+
*/
|
|
2829
|
+
RoutingRuleId: string | undefined;
|
|
2830
|
+
}
|
|
2596
2831
|
/**
|
|
2597
2832
|
* @public
|
|
2598
2833
|
*/
|
|
@@ -3093,6 +3328,11 @@ export interface GetDomainNameResponse {
|
|
|
3093
3328
|
* @public
|
|
3094
3329
|
*/
|
|
3095
3330
|
DomainName?: string | undefined;
|
|
3331
|
+
/**
|
|
3332
|
+
* <p>Represents an Amazon Resource Name (ARN).</p>
|
|
3333
|
+
* @public
|
|
3334
|
+
*/
|
|
3335
|
+
DomainNameArn?: string | undefined;
|
|
3096
3336
|
/**
|
|
3097
3337
|
* <p>The domain name configurations.</p>
|
|
3098
3338
|
* @public
|
|
@@ -3103,6 +3343,11 @@ export interface GetDomainNameResponse {
|
|
|
3103
3343
|
* @public
|
|
3104
3344
|
*/
|
|
3105
3345
|
MutualTlsAuthentication?: MutualTlsAuthentication | undefined;
|
|
3346
|
+
/**
|
|
3347
|
+
* <p>The routing mode.</p>
|
|
3348
|
+
* @public
|
|
3349
|
+
*/
|
|
3350
|
+
RoutingMode?: RoutingMode | undefined;
|
|
3106
3351
|
/**
|
|
3107
3352
|
* <p>The collection of tags associated with a domain name.</p>
|
|
3108
3353
|
* @public
|
|
@@ -3709,6 +3954,56 @@ export interface GetRoutesResponse {
|
|
|
3709
3954
|
*/
|
|
3710
3955
|
NextToken?: string | undefined;
|
|
3711
3956
|
}
|
|
3957
|
+
/**
|
|
3958
|
+
* @public
|
|
3959
|
+
*/
|
|
3960
|
+
export interface GetRoutingRuleRequest {
|
|
3961
|
+
/**
|
|
3962
|
+
* <p>The domain name.</p>
|
|
3963
|
+
* @public
|
|
3964
|
+
*/
|
|
3965
|
+
DomainName: string | undefined;
|
|
3966
|
+
/**
|
|
3967
|
+
* <p>The domain name ID.</p>
|
|
3968
|
+
* @public
|
|
3969
|
+
*/
|
|
3970
|
+
DomainNameId?: string | undefined;
|
|
3971
|
+
/**
|
|
3972
|
+
* <p>The routing rule ID.</p>
|
|
3973
|
+
* @public
|
|
3974
|
+
*/
|
|
3975
|
+
RoutingRuleId: string | undefined;
|
|
3976
|
+
}
|
|
3977
|
+
/**
|
|
3978
|
+
* @public
|
|
3979
|
+
*/
|
|
3980
|
+
export interface GetRoutingRuleResponse {
|
|
3981
|
+
/**
|
|
3982
|
+
* <p>The resulting action based on matching a routing rules condition. Only InvokeApi is supported.</p>
|
|
3983
|
+
* @public
|
|
3984
|
+
*/
|
|
3985
|
+
Actions?: RoutingRuleAction[] | undefined;
|
|
3986
|
+
/**
|
|
3987
|
+
* <p>The conditions of the routing rule.</p>
|
|
3988
|
+
* @public
|
|
3989
|
+
*/
|
|
3990
|
+
Conditions?: RoutingRuleCondition[] | undefined;
|
|
3991
|
+
/**
|
|
3992
|
+
* <p>The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value.</p>
|
|
3993
|
+
* @public
|
|
3994
|
+
*/
|
|
3995
|
+
Priority?: number | undefined;
|
|
3996
|
+
/**
|
|
3997
|
+
* <p>The routing rule ARN.</p>
|
|
3998
|
+
* @public
|
|
3999
|
+
*/
|
|
4000
|
+
RoutingRuleArn?: string | undefined;
|
|
4001
|
+
/**
|
|
4002
|
+
* <p>The routing rule ID.</p>
|
|
4003
|
+
* @public
|
|
4004
|
+
*/
|
|
4005
|
+
RoutingRuleId?: string | undefined;
|
|
4006
|
+
}
|
|
3712
4007
|
/**
|
|
3713
4008
|
* @public
|
|
3714
4009
|
*/
|
|
@@ -4055,6 +4350,111 @@ export interface ImportApiResponse {
|
|
|
4055
4350
|
*/
|
|
4056
4351
|
Warnings?: string[] | undefined;
|
|
4057
4352
|
}
|
|
4353
|
+
/**
|
|
4354
|
+
* @public
|
|
4355
|
+
*/
|
|
4356
|
+
export interface ListRoutingRulesRequest {
|
|
4357
|
+
/**
|
|
4358
|
+
* <p>The domain name.</p>
|
|
4359
|
+
* @public
|
|
4360
|
+
*/
|
|
4361
|
+
DomainName: string | undefined;
|
|
4362
|
+
/**
|
|
4363
|
+
* <p>The domain name ID.</p>
|
|
4364
|
+
* @public
|
|
4365
|
+
*/
|
|
4366
|
+
DomainNameId?: string | undefined;
|
|
4367
|
+
/**
|
|
4368
|
+
* <p>The maximum number of elements to be returned for this resource.</p>
|
|
4369
|
+
* @public
|
|
4370
|
+
*/
|
|
4371
|
+
MaxResults?: number | undefined;
|
|
4372
|
+
/**
|
|
4373
|
+
* <p>The next page of elements from this collection. Not valid for the last element of the collection.</p>
|
|
4374
|
+
* @public
|
|
4375
|
+
*/
|
|
4376
|
+
NextToken?: string | undefined;
|
|
4377
|
+
}
|
|
4378
|
+
/**
|
|
4379
|
+
* @public
|
|
4380
|
+
*/
|
|
4381
|
+
export interface ListRoutingRulesResponse {
|
|
4382
|
+
/**
|
|
4383
|
+
* <p>The next page of elements from this collection. Not valid for the last element of the collection.</p>
|
|
4384
|
+
* @public
|
|
4385
|
+
*/
|
|
4386
|
+
NextToken?: string | undefined;
|
|
4387
|
+
/**
|
|
4388
|
+
* <p>The routing rules.<p>
|
|
4389
|
+
* @public
|
|
4390
|
+
*/
|
|
4391
|
+
RoutingRules?: RoutingRule[] | undefined;
|
|
4392
|
+
}
|
|
4393
|
+
/**
|
|
4394
|
+
* @public
|
|
4395
|
+
*/
|
|
4396
|
+
export interface PutRoutingRuleRequest {
|
|
4397
|
+
/**
|
|
4398
|
+
* <p>The routing rule action.</p>
|
|
4399
|
+
* @public
|
|
4400
|
+
*/
|
|
4401
|
+
Actions: RoutingRuleAction[] | undefined;
|
|
4402
|
+
/**
|
|
4403
|
+
* <p>The routing rule condition.</p>
|
|
4404
|
+
* @public
|
|
4405
|
+
*/
|
|
4406
|
+
Conditions: RoutingRuleCondition[] | undefined;
|
|
4407
|
+
/**
|
|
4408
|
+
* <p>The domain name.</p>
|
|
4409
|
+
* @public
|
|
4410
|
+
*/
|
|
4411
|
+
DomainName: string | undefined;
|
|
4412
|
+
/**
|
|
4413
|
+
* <p>The domain name ID.</p>
|
|
4414
|
+
* @public
|
|
4415
|
+
*/
|
|
4416
|
+
DomainNameId?: string | undefined;
|
|
4417
|
+
/**
|
|
4418
|
+
* <p>The routing rule priority.</p>
|
|
4419
|
+
* @public
|
|
4420
|
+
*/
|
|
4421
|
+
Priority: number | undefined;
|
|
4422
|
+
/**
|
|
4423
|
+
* <p>The routing rule ID.</p>
|
|
4424
|
+
* @public
|
|
4425
|
+
*/
|
|
4426
|
+
RoutingRuleId: string | undefined;
|
|
4427
|
+
}
|
|
4428
|
+
/**
|
|
4429
|
+
* @public
|
|
4430
|
+
*/
|
|
4431
|
+
export interface PutRoutingRuleResponse {
|
|
4432
|
+
/**
|
|
4433
|
+
* <p>The routing rule action.</p>
|
|
4434
|
+
* @public
|
|
4435
|
+
*/
|
|
4436
|
+
Actions?: RoutingRuleAction[] | undefined;
|
|
4437
|
+
/**
|
|
4438
|
+
* <p>The conditions of the routing rule.</p>
|
|
4439
|
+
* @public
|
|
4440
|
+
*/
|
|
4441
|
+
Conditions?: RoutingRuleCondition[] | undefined;
|
|
4442
|
+
/**
|
|
4443
|
+
* <p>The routing rule priority.</p>
|
|
4444
|
+
* @public
|
|
4445
|
+
*/
|
|
4446
|
+
Priority?: number | undefined;
|
|
4447
|
+
/**
|
|
4448
|
+
* <p>The routing rule ARN.</p>
|
|
4449
|
+
* @public
|
|
4450
|
+
*/
|
|
4451
|
+
RoutingRuleArn?: string | undefined;
|
|
4452
|
+
/**
|
|
4453
|
+
* <p>The routing rule ID.</p>
|
|
4454
|
+
* @public
|
|
4455
|
+
*/
|
|
4456
|
+
RoutingRuleId?: string | undefined;
|
|
4457
|
+
}
|
|
4058
4458
|
/**
|
|
4059
4459
|
* <p></p>
|
|
4060
4460
|
* @public
|
|
@@ -4643,6 +5043,11 @@ export interface UpdateDomainNameRequest {
|
|
|
4643
5043
|
* @public
|
|
4644
5044
|
*/
|
|
4645
5045
|
MutualTlsAuthentication?: MutualTlsAuthenticationInput | undefined;
|
|
5046
|
+
/**
|
|
5047
|
+
* <p>The routing mode.</p>
|
|
5048
|
+
* @public
|
|
5049
|
+
*/
|
|
5050
|
+
RoutingMode?: RoutingMode | undefined;
|
|
4646
5051
|
}
|
|
4647
5052
|
/**
|
|
4648
5053
|
* @public
|
|
@@ -4658,6 +5063,11 @@ export interface UpdateDomainNameResponse {
|
|
|
4658
5063
|
* @public
|
|
4659
5064
|
*/
|
|
4660
5065
|
DomainName?: string | undefined;
|
|
5066
|
+
/**
|
|
5067
|
+
* <p>Represents an Amazon Resource Name (ARN).</p>
|
|
5068
|
+
* @public
|
|
5069
|
+
*/
|
|
5070
|
+
DomainNameArn?: string | undefined;
|
|
4661
5071
|
/**
|
|
4662
5072
|
* <p>The domain name configurations.</p>
|
|
4663
5073
|
* @public
|
|
@@ -4668,6 +5078,11 @@ export interface UpdateDomainNameResponse {
|
|
|
4668
5078
|
* @public
|
|
4669
5079
|
*/
|
|
4670
5080
|
MutualTlsAuthentication?: MutualTlsAuthentication | undefined;
|
|
5081
|
+
/**
|
|
5082
|
+
* <p>The routing mode.</p>
|
|
5083
|
+
* @public
|
|
5084
|
+
*/
|
|
5085
|
+
RoutingMode?: RoutingMode | undefined;
|
|
4671
5086
|
/**
|
|
4672
5087
|
* <p>The collection of tags associated with a domain name.</p>
|
|
4673
5088
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRoutingRulesCommandInput, ListRoutingRulesCommandOutput } from "../commands/ListRoutingRulesCommand";
|
|
3
|
+
import { ApiGatewayV2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRoutingRules: (config: ApiGatewayV2PaginationConfiguration, input: ListRoutingRulesCommandInput, ...rest: any[]) => Paginator<ListRoutingRulesCommandOutput>;
|