aws-sdk-apigatewayv2 1.75.0 → 1.77.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +295 -1
- data/lib/aws-sdk-apigatewayv2/client_api.rb +205 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +444 -2
- data/lib/aws-sdk-apigatewayv2.rb +1 -1
- data/sig/client.rbs +128 -1
- data/sig/types.rbs +142 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ac341e752e449dffc548b570488082afe97209c6455ef9b141b2d9e9e302382
|
4
|
+
data.tar.gz: a4f595068f2c434a06097dac64ae57ea3e5e1705802049c58a3c5e9d35484af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd936bd42b6b36bee74a272ee71b02d42dc59d12a9df91a31025e6f94e217179d8377d908e786d9187ed71f593256d0503d0af1a66453d17a5d7d392750998c3
|
7
|
+
data.tar.gz: 5a472cca59f2f108f433ee157904451502ca79ce59ab954a54770c63188d7643143c7b40c15c005d72fea55cdd8bc12b6c005993e30f1b7d2bec3d0370ce03e8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2025-06-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support to create routing rules and set the routing mode for a custom domain name.
|
8
|
+
|
9
|
+
1.76.0 (2025-06-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.75.0 (2025-05-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -833,6 +833,8 @@ module Aws::ApiGatewayV2
|
|
833
833
|
# client and the server. Clients must present a trusted certificate to
|
834
834
|
# access your API.
|
835
835
|
#
|
836
|
+
# @option params [String] :routing_mode
|
837
|
+
#
|
836
838
|
# @option params [Hash<String,String>] :tags
|
837
839
|
# Represents a collection of tags associated with the resource.
|
838
840
|
#
|
@@ -840,8 +842,10 @@ module Aws::ApiGatewayV2
|
|
840
842
|
#
|
841
843
|
# * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
842
844
|
# * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
|
845
|
+
# * {Types::CreateDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
843
846
|
# * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
844
847
|
# * {Types::CreateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
848
|
+
# * {Types::CreateDomainNameResponse#routing_mode #routing_mode} => String
|
845
849
|
# * {Types::CreateDomainNameResponse#tags #tags} => Hash<String,String>
|
846
850
|
#
|
847
851
|
# @example Request syntax with placeholder values
|
@@ -867,6 +871,7 @@ module Aws::ApiGatewayV2
|
|
867
871
|
# truststore_uri: "UriWithLengthBetween1And2048",
|
868
872
|
# truststore_version: "StringWithLengthBetween1And64",
|
869
873
|
# },
|
874
|
+
# routing_mode: "API_MAPPING_ONLY", # accepts API_MAPPING_ONLY, ROUTING_RULE_ONLY, ROUTING_RULE_THEN_API_MAPPING
|
870
875
|
# tags: {
|
871
876
|
# "__string" => "StringWithLengthBetween1And1600",
|
872
877
|
# },
|
@@ -876,6 +881,7 @@ module Aws::ApiGatewayV2
|
|
876
881
|
#
|
877
882
|
# resp.api_mapping_selection_expression #=> String
|
878
883
|
# resp.domain_name #=> String
|
884
|
+
# resp.domain_name_arn #=> String
|
879
885
|
# resp.domain_name_configurations #=> Array
|
880
886
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
881
887
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -892,6 +898,7 @@ module Aws::ApiGatewayV2
|
|
892
898
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
893
899
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
894
900
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
901
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
895
902
|
# resp.tags #=> Hash
|
896
903
|
# resp.tags["__string"] #=> String
|
897
904
|
#
|
@@ -1449,6 +1456,82 @@ module Aws::ApiGatewayV2
|
|
1449
1456
|
req.send_request(options)
|
1450
1457
|
end
|
1451
1458
|
|
1459
|
+
# Create a routing rule.
|
1460
|
+
#
|
1461
|
+
# @option params [required, Array<Types::RoutingRuleAction>] :actions
|
1462
|
+
#
|
1463
|
+
# @option params [required, Array<Types::RoutingRuleCondition>] :conditions
|
1464
|
+
#
|
1465
|
+
# @option params [required, String] :domain_name
|
1466
|
+
#
|
1467
|
+
# @option params [String] :domain_name_id
|
1468
|
+
#
|
1469
|
+
# @option params [required, Integer] :priority
|
1470
|
+
# Represents the priority of the routing rule.
|
1471
|
+
#
|
1472
|
+
# @return [Types::CreateRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1473
|
+
#
|
1474
|
+
# * {Types::CreateRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
1475
|
+
# * {Types::CreateRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
1476
|
+
# * {Types::CreateRoutingRuleResponse#priority #priority} => Integer
|
1477
|
+
# * {Types::CreateRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
1478
|
+
# * {Types::CreateRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
1479
|
+
#
|
1480
|
+
# @example Request syntax with placeholder values
|
1481
|
+
#
|
1482
|
+
# resp = client.create_routing_rule({
|
1483
|
+
# actions: [ # required
|
1484
|
+
# {
|
1485
|
+
# invoke_api: { # required
|
1486
|
+
# api_id: "Id", # required
|
1487
|
+
# stage: "StringWithLengthBetween1And128", # required
|
1488
|
+
# strip_base_path: false,
|
1489
|
+
# },
|
1490
|
+
# },
|
1491
|
+
# ],
|
1492
|
+
# conditions: [ # required
|
1493
|
+
# {
|
1494
|
+
# match_base_paths: {
|
1495
|
+
# any_of: ["SelectionKey"], # required
|
1496
|
+
# },
|
1497
|
+
# match_headers: {
|
1498
|
+
# any_of: [ # required
|
1499
|
+
# {
|
1500
|
+
# header: "SelectionKey", # required
|
1501
|
+
# value_glob: "SelectionExpression", # required
|
1502
|
+
# },
|
1503
|
+
# ],
|
1504
|
+
# },
|
1505
|
+
# },
|
1506
|
+
# ],
|
1507
|
+
# domain_name: "__string", # required
|
1508
|
+
# domain_name_id: "__string",
|
1509
|
+
# priority: 1, # required
|
1510
|
+
# })
|
1511
|
+
#
|
1512
|
+
# @example Response structure
|
1513
|
+
#
|
1514
|
+
# resp.actions #=> Array
|
1515
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
1516
|
+
# resp.actions[0].invoke_api.stage #=> String
|
1517
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
1518
|
+
# resp.conditions #=> Array
|
1519
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
1520
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
1521
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
1522
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
1523
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
1524
|
+
# resp.priority #=> Integer
|
1525
|
+
# resp.routing_rule_arn #=> String
|
1526
|
+
# resp.routing_rule_id #=> String
|
1527
|
+
#
|
1528
|
+
# @overload create_routing_rule(params = {})
|
1529
|
+
# @param [Hash] params ({})
|
1530
|
+
def create_routing_rule(params = {}, options = {})
|
1531
|
+
req = build_request(:create_routing_rule, params)
|
1532
|
+
req.send_request(options)
|
1533
|
+
end
|
1534
|
+
|
1452
1535
|
# Creates a Stage for an API.
|
1453
1536
|
#
|
1454
1537
|
# @option params [Types::AccessLogSettings] :access_log_settings
|
@@ -1943,6 +2026,29 @@ module Aws::ApiGatewayV2
|
|
1943
2026
|
req.send_request(options)
|
1944
2027
|
end
|
1945
2028
|
|
2029
|
+
# @option params [required, String] :domain_name
|
2030
|
+
#
|
2031
|
+
# @option params [String] :domain_name_id
|
2032
|
+
#
|
2033
|
+
# @option params [required, String] :routing_rule_id
|
2034
|
+
#
|
2035
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2036
|
+
#
|
2037
|
+
# @example Request syntax with placeholder values
|
2038
|
+
#
|
2039
|
+
# resp = client.delete_routing_rule({
|
2040
|
+
# domain_name: "__string", # required
|
2041
|
+
# domain_name_id: "__string",
|
2042
|
+
# routing_rule_id: "__string", # required
|
2043
|
+
# })
|
2044
|
+
#
|
2045
|
+
# @overload delete_routing_rule(params = {})
|
2046
|
+
# @param [Hash] params ({})
|
2047
|
+
def delete_routing_rule(params = {}, options = {})
|
2048
|
+
req = build_request(:delete_routing_rule, params)
|
2049
|
+
req.send_request(options)
|
2050
|
+
end
|
2051
|
+
|
1946
2052
|
# Deletes a Stage.
|
1947
2053
|
#
|
1948
2054
|
# @option params [required, String] :api_id
|
@@ -2430,8 +2536,10 @@ module Aws::ApiGatewayV2
|
|
2430
2536
|
#
|
2431
2537
|
# * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
2432
2538
|
# * {Types::GetDomainNameResponse#domain_name #domain_name} => String
|
2539
|
+
# * {Types::GetDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
2433
2540
|
# * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
2434
2541
|
# * {Types::GetDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
2542
|
+
# * {Types::GetDomainNameResponse#routing_mode #routing_mode} => String
|
2435
2543
|
# * {Types::GetDomainNameResponse#tags #tags} => Hash<String,String>
|
2436
2544
|
#
|
2437
2545
|
# @example Request syntax with placeholder values
|
@@ -2444,6 +2552,7 @@ module Aws::ApiGatewayV2
|
|
2444
2552
|
#
|
2445
2553
|
# resp.api_mapping_selection_expression #=> String
|
2446
2554
|
# resp.domain_name #=> String
|
2555
|
+
# resp.domain_name_arn #=> String
|
2447
2556
|
# resp.domain_name_configurations #=> Array
|
2448
2557
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
2449
2558
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -2460,6 +2569,7 @@ module Aws::ApiGatewayV2
|
|
2460
2569
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
2461
2570
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
2462
2571
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
2572
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
2463
2573
|
# resp.tags #=> Hash
|
2464
2574
|
# resp.tags["__string"] #=> String
|
2465
2575
|
#
|
@@ -2493,6 +2603,7 @@ module Aws::ApiGatewayV2
|
|
2493
2603
|
# resp.items #=> Array
|
2494
2604
|
# resp.items[0].api_mapping_selection_expression #=> String
|
2495
2605
|
# resp.items[0].domain_name #=> String
|
2606
|
+
# resp.items[0].domain_name_arn #=> String
|
2496
2607
|
# resp.items[0].domain_name_configurations #=> Array
|
2497
2608
|
# resp.items[0].domain_name_configurations[0].api_gateway_domain_name #=> String
|
2498
2609
|
# resp.items[0].domain_name_configurations[0].certificate_arn #=> String
|
@@ -2509,6 +2620,7 @@ module Aws::ApiGatewayV2
|
|
2509
2620
|
# resp.items[0].mutual_tls_authentication.truststore_version #=> String
|
2510
2621
|
# resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
|
2511
2622
|
# resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
|
2623
|
+
# resp.items[0].routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
2512
2624
|
# resp.items[0].tags #=> Hash
|
2513
2625
|
# resp.items[0].tags["__string"] #=> String
|
2514
2626
|
# resp.next_token #=> String
|
@@ -3024,6 +3136,104 @@ module Aws::ApiGatewayV2
|
|
3024
3136
|
req.send_request(options)
|
3025
3137
|
end
|
3026
3138
|
|
3139
|
+
# Gets a routing rule.
|
3140
|
+
#
|
3141
|
+
# @option params [required, String] :domain_name
|
3142
|
+
#
|
3143
|
+
# @option params [String] :domain_name_id
|
3144
|
+
#
|
3145
|
+
# @option params [required, String] :routing_rule_id
|
3146
|
+
#
|
3147
|
+
# @return [Types::GetRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3148
|
+
#
|
3149
|
+
# * {Types::GetRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
3150
|
+
# * {Types::GetRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
3151
|
+
# * {Types::GetRoutingRuleResponse#priority #priority} => Integer
|
3152
|
+
# * {Types::GetRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
3153
|
+
# * {Types::GetRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
3154
|
+
#
|
3155
|
+
# @example Request syntax with placeholder values
|
3156
|
+
#
|
3157
|
+
# resp = client.get_routing_rule({
|
3158
|
+
# domain_name: "__string", # required
|
3159
|
+
# domain_name_id: "__string",
|
3160
|
+
# routing_rule_id: "__string", # required
|
3161
|
+
# })
|
3162
|
+
#
|
3163
|
+
# @example Response structure
|
3164
|
+
#
|
3165
|
+
# resp.actions #=> Array
|
3166
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
3167
|
+
# resp.actions[0].invoke_api.stage #=> String
|
3168
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
3169
|
+
# resp.conditions #=> Array
|
3170
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
3171
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
3172
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
3173
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
3174
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
3175
|
+
# resp.priority #=> Integer
|
3176
|
+
# resp.routing_rule_arn #=> String
|
3177
|
+
# resp.routing_rule_id #=> String
|
3178
|
+
#
|
3179
|
+
# @overload get_routing_rule(params = {})
|
3180
|
+
# @param [Hash] params ({})
|
3181
|
+
def get_routing_rule(params = {}, options = {})
|
3182
|
+
req = build_request(:get_routing_rule, params)
|
3183
|
+
req.send_request(options)
|
3184
|
+
end
|
3185
|
+
|
3186
|
+
# Lists routing rules.
|
3187
|
+
#
|
3188
|
+
# @option params [required, String] :domain_name
|
3189
|
+
#
|
3190
|
+
# @option params [String] :domain_name_id
|
3191
|
+
#
|
3192
|
+
# @option params [Integer] :max_results
|
3193
|
+
#
|
3194
|
+
# @option params [String] :next_token
|
3195
|
+
#
|
3196
|
+
# @return [Types::ListRoutingRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3197
|
+
#
|
3198
|
+
# * {Types::ListRoutingRulesResponse#next_token #next_token} => String
|
3199
|
+
# * {Types::ListRoutingRulesResponse#routing_rules #routing_rules} => Array<Types::RoutingRule>
|
3200
|
+
#
|
3201
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3202
|
+
#
|
3203
|
+
# @example Request syntax with placeholder values
|
3204
|
+
#
|
3205
|
+
# resp = client.list_routing_rules({
|
3206
|
+
# domain_name: "__string", # required
|
3207
|
+
# domain_name_id: "__string",
|
3208
|
+
# max_results: 1,
|
3209
|
+
# next_token: "__string",
|
3210
|
+
# })
|
3211
|
+
#
|
3212
|
+
# @example Response structure
|
3213
|
+
#
|
3214
|
+
# resp.next_token #=> String
|
3215
|
+
# resp.routing_rules #=> Array
|
3216
|
+
# resp.routing_rules[0].actions #=> Array
|
3217
|
+
# resp.routing_rules[0].actions[0].invoke_api.api_id #=> String
|
3218
|
+
# resp.routing_rules[0].actions[0].invoke_api.stage #=> String
|
3219
|
+
# resp.routing_rules[0].actions[0].invoke_api.strip_base_path #=> Boolean
|
3220
|
+
# resp.routing_rules[0].conditions #=> Array
|
3221
|
+
# resp.routing_rules[0].conditions[0].match_base_paths.any_of #=> Array
|
3222
|
+
# resp.routing_rules[0].conditions[0].match_base_paths.any_of[0] #=> String
|
3223
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of #=> Array
|
3224
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of[0].header #=> String
|
3225
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of[0].value_glob #=> String
|
3226
|
+
# resp.routing_rules[0].priority #=> Integer
|
3227
|
+
# resp.routing_rules[0].routing_rule_arn #=> String
|
3228
|
+
# resp.routing_rules[0].routing_rule_id #=> String
|
3229
|
+
#
|
3230
|
+
# @overload list_routing_rules(params = {})
|
3231
|
+
# @param [Hash] params ({})
|
3232
|
+
def list_routing_rules(params = {}, options = {})
|
3233
|
+
req = build_request(:list_routing_rules, params)
|
3234
|
+
req.send_request(options)
|
3235
|
+
end
|
3236
|
+
|
3027
3237
|
# Gets a Stage.
|
3028
3238
|
#
|
3029
3239
|
# @option params [required, String] :api_id
|
@@ -3336,6 +3546,83 @@ module Aws::ApiGatewayV2
|
|
3336
3546
|
req.send_request(options)
|
3337
3547
|
end
|
3338
3548
|
|
3549
|
+
# @option params [required, Array<Types::RoutingRuleAction>] :actions
|
3550
|
+
#
|
3551
|
+
# @option params [required, Array<Types::RoutingRuleCondition>] :conditions
|
3552
|
+
#
|
3553
|
+
# @option params [required, String] :domain_name
|
3554
|
+
#
|
3555
|
+
# @option params [String] :domain_name_id
|
3556
|
+
#
|
3557
|
+
# @option params [required, Integer] :priority
|
3558
|
+
# Represents the priority of the routing rule.
|
3559
|
+
#
|
3560
|
+
# @option params [required, String] :routing_rule_id
|
3561
|
+
#
|
3562
|
+
# @return [Types::PutRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3563
|
+
#
|
3564
|
+
# * {Types::PutRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
3565
|
+
# * {Types::PutRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
3566
|
+
# * {Types::PutRoutingRuleResponse#priority #priority} => Integer
|
3567
|
+
# * {Types::PutRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
3568
|
+
# * {Types::PutRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
3569
|
+
#
|
3570
|
+
# @example Request syntax with placeholder values
|
3571
|
+
#
|
3572
|
+
# resp = client.put_routing_rule({
|
3573
|
+
# actions: [ # required
|
3574
|
+
# {
|
3575
|
+
# invoke_api: { # required
|
3576
|
+
# api_id: "Id", # required
|
3577
|
+
# stage: "StringWithLengthBetween1And128", # required
|
3578
|
+
# strip_base_path: false,
|
3579
|
+
# },
|
3580
|
+
# },
|
3581
|
+
# ],
|
3582
|
+
# conditions: [ # required
|
3583
|
+
# {
|
3584
|
+
# match_base_paths: {
|
3585
|
+
# any_of: ["SelectionKey"], # required
|
3586
|
+
# },
|
3587
|
+
# match_headers: {
|
3588
|
+
# any_of: [ # required
|
3589
|
+
# {
|
3590
|
+
# header: "SelectionKey", # required
|
3591
|
+
# value_glob: "SelectionExpression", # required
|
3592
|
+
# },
|
3593
|
+
# ],
|
3594
|
+
# },
|
3595
|
+
# },
|
3596
|
+
# ],
|
3597
|
+
# domain_name: "__string", # required
|
3598
|
+
# domain_name_id: "__string",
|
3599
|
+
# priority: 1, # required
|
3600
|
+
# routing_rule_id: "__string", # required
|
3601
|
+
# })
|
3602
|
+
#
|
3603
|
+
# @example Response structure
|
3604
|
+
#
|
3605
|
+
# resp.actions #=> Array
|
3606
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
3607
|
+
# resp.actions[0].invoke_api.stage #=> String
|
3608
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
3609
|
+
# resp.conditions #=> Array
|
3610
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
3611
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
3612
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
3613
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
3614
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
3615
|
+
# resp.priority #=> Integer
|
3616
|
+
# resp.routing_rule_arn #=> String
|
3617
|
+
# resp.routing_rule_id #=> String
|
3618
|
+
#
|
3619
|
+
# @overload put_routing_rule(params = {})
|
3620
|
+
# @param [Hash] params ({})
|
3621
|
+
def put_routing_rule(params = {}, options = {})
|
3622
|
+
req = build_request(:put_routing_rule, params)
|
3623
|
+
req.send_request(options)
|
3624
|
+
end
|
3625
|
+
|
3339
3626
|
# Puts an Api resource.
|
3340
3627
|
#
|
3341
3628
|
# @option params [required, String] :api_id
|
@@ -3822,12 +4109,16 @@ module Aws::ApiGatewayV2
|
|
3822
4109
|
# client and the server. Clients must present a trusted certificate to
|
3823
4110
|
# access your API.
|
3824
4111
|
#
|
4112
|
+
# @option params [String] :routing_mode
|
4113
|
+
#
|
3825
4114
|
# @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
4115
|
#
|
3827
4116
|
# * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
3828
4117
|
# * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
|
4118
|
+
# * {Types::UpdateDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
3829
4119
|
# * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
3830
4120
|
# * {Types::UpdateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
4121
|
+
# * {Types::UpdateDomainNameResponse#routing_mode #routing_mode} => String
|
3831
4122
|
# * {Types::UpdateDomainNameResponse#tags #tags} => Hash<String,String>
|
3832
4123
|
#
|
3833
4124
|
# @example Request syntax with placeholder values
|
@@ -3853,12 +4144,14 @@ module Aws::ApiGatewayV2
|
|
3853
4144
|
# truststore_uri: "UriWithLengthBetween1And2048",
|
3854
4145
|
# truststore_version: "StringWithLengthBetween1And64",
|
3855
4146
|
# },
|
4147
|
+
# routing_mode: "API_MAPPING_ONLY", # accepts API_MAPPING_ONLY, ROUTING_RULE_ONLY, ROUTING_RULE_THEN_API_MAPPING
|
3856
4148
|
# })
|
3857
4149
|
#
|
3858
4150
|
# @example Response structure
|
3859
4151
|
#
|
3860
4152
|
# resp.api_mapping_selection_expression #=> String
|
3861
4153
|
# resp.domain_name #=> String
|
4154
|
+
# resp.domain_name_arn #=> String
|
3862
4155
|
# resp.domain_name_configurations #=> Array
|
3863
4156
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
3864
4157
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -3875,6 +4168,7 @@ module Aws::ApiGatewayV2
|
|
3875
4168
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
3876
4169
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
3877
4170
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
4171
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
3878
4172
|
# resp.tags #=> Hash
|
3879
4173
|
# resp.tags["__string"] #=> String
|
3880
4174
|
#
|
@@ -4629,7 +4923,7 @@ module Aws::ApiGatewayV2
|
|
4629
4923
|
tracer: tracer
|
4630
4924
|
)
|
4631
4925
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4632
|
-
context[:gem_version] = '1.
|
4926
|
+
context[:gem_version] = '1.77.0'
|
4633
4927
|
Seahorse::Client::Request.new(handlers, context)
|
4634
4928
|
end
|
4635
4929
|
|