aws-sdk-apigatewayv2 1.75.0 → 1.80.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +313 -9
- 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 +129 -1
- data/sig/resource.rbs +1 -0
- 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: b17bc9672b056651c4bbe2105538e8235c09889f7eb4a45bac46058d15f5fa6a
|
4
|
+
data.tar.gz: 1ba4c3f482d68750aab1ea57ae1c209f37a4fcadbca4b2b6ece3a3cc8195097d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d713faeaeca23ff4ab53fe8dedc57d3f31fed437b61cbbe45afe00f23a8b7ec0dbfe63432dfa48ecd8a85027998851fc86b3950be6c4c5169795cec1440c16c
|
7
|
+
data.tar.gz: 3fe3bc0e3896cb7aca01d6912e6c8ea10104a2dd581ecd5c61e63656154c1753bcd9ec48696aeda5674802b4ac0bbf7961631bfa7ccae08bf19c84935e6c6772
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2025-07-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.79.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.78.0 (2025-06-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Amazon API Gateway
|
18
|
+
|
19
|
+
1.77.0 (2025-06-03)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adds support to create routing rules and set the routing mode for a custom domain name.
|
23
|
+
|
24
|
+
1.76.0 (2025-06-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
4
29
|
1.75.0 (2025-05-12)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
@@ -95,7 +95,7 @@ module Aws::ApiGatewayV2
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::ApiGatewayV2
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::ApiGatewayV2
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::ApiGatewayV2
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::ApiGatewayV2
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -833,6 +843,8 @@ module Aws::ApiGatewayV2
|
|
833
843
|
# client and the server. Clients must present a trusted certificate to
|
834
844
|
# access your API.
|
835
845
|
#
|
846
|
+
# @option params [String] :routing_mode
|
847
|
+
#
|
836
848
|
# @option params [Hash<String,String>] :tags
|
837
849
|
# Represents a collection of tags associated with the resource.
|
838
850
|
#
|
@@ -840,8 +852,10 @@ module Aws::ApiGatewayV2
|
|
840
852
|
#
|
841
853
|
# * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
842
854
|
# * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
|
855
|
+
# * {Types::CreateDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
843
856
|
# * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
844
857
|
# * {Types::CreateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
858
|
+
# * {Types::CreateDomainNameResponse#routing_mode #routing_mode} => String
|
845
859
|
# * {Types::CreateDomainNameResponse#tags #tags} => Hash<String,String>
|
846
860
|
#
|
847
861
|
# @example Request syntax with placeholder values
|
@@ -867,6 +881,7 @@ module Aws::ApiGatewayV2
|
|
867
881
|
# truststore_uri: "UriWithLengthBetween1And2048",
|
868
882
|
# truststore_version: "StringWithLengthBetween1And64",
|
869
883
|
# },
|
884
|
+
# routing_mode: "API_MAPPING_ONLY", # accepts API_MAPPING_ONLY, ROUTING_RULE_ONLY, ROUTING_RULE_THEN_API_MAPPING
|
870
885
|
# tags: {
|
871
886
|
# "__string" => "StringWithLengthBetween1And1600",
|
872
887
|
# },
|
@@ -876,6 +891,7 @@ module Aws::ApiGatewayV2
|
|
876
891
|
#
|
877
892
|
# resp.api_mapping_selection_expression #=> String
|
878
893
|
# resp.domain_name #=> String
|
894
|
+
# resp.domain_name_arn #=> String
|
879
895
|
# resp.domain_name_configurations #=> Array
|
880
896
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
881
897
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -892,6 +908,7 @@ module Aws::ApiGatewayV2
|
|
892
908
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
893
909
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
894
910
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
911
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
895
912
|
# resp.tags #=> Hash
|
896
913
|
# resp.tags["__string"] #=> String
|
897
914
|
#
|
@@ -1449,6 +1466,82 @@ module Aws::ApiGatewayV2
|
|
1449
1466
|
req.send_request(options)
|
1450
1467
|
end
|
1451
1468
|
|
1469
|
+
# Create a routing rule.
|
1470
|
+
#
|
1471
|
+
# @option params [required, Array<Types::RoutingRuleAction>] :actions
|
1472
|
+
#
|
1473
|
+
# @option params [required, Array<Types::RoutingRuleCondition>] :conditions
|
1474
|
+
#
|
1475
|
+
# @option params [required, String] :domain_name
|
1476
|
+
#
|
1477
|
+
# @option params [String] :domain_name_id
|
1478
|
+
#
|
1479
|
+
# @option params [required, Integer] :priority
|
1480
|
+
# Represents the priority of the routing rule.
|
1481
|
+
#
|
1482
|
+
# @return [Types::CreateRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1483
|
+
#
|
1484
|
+
# * {Types::CreateRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
1485
|
+
# * {Types::CreateRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
1486
|
+
# * {Types::CreateRoutingRuleResponse#priority #priority} => Integer
|
1487
|
+
# * {Types::CreateRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
1488
|
+
# * {Types::CreateRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
1489
|
+
#
|
1490
|
+
# @example Request syntax with placeholder values
|
1491
|
+
#
|
1492
|
+
# resp = client.create_routing_rule({
|
1493
|
+
# actions: [ # required
|
1494
|
+
# {
|
1495
|
+
# invoke_api: { # required
|
1496
|
+
# api_id: "Id", # required
|
1497
|
+
# stage: "StringWithLengthBetween1And128", # required
|
1498
|
+
# strip_base_path: false,
|
1499
|
+
# },
|
1500
|
+
# },
|
1501
|
+
# ],
|
1502
|
+
# conditions: [ # required
|
1503
|
+
# {
|
1504
|
+
# match_base_paths: {
|
1505
|
+
# any_of: ["SelectionKey"], # required
|
1506
|
+
# },
|
1507
|
+
# match_headers: {
|
1508
|
+
# any_of: [ # required
|
1509
|
+
# {
|
1510
|
+
# header: "SelectionKey", # required
|
1511
|
+
# value_glob: "SelectionExpression", # required
|
1512
|
+
# },
|
1513
|
+
# ],
|
1514
|
+
# },
|
1515
|
+
# },
|
1516
|
+
# ],
|
1517
|
+
# domain_name: "__string", # required
|
1518
|
+
# domain_name_id: "__string",
|
1519
|
+
# priority: 1, # required
|
1520
|
+
# })
|
1521
|
+
#
|
1522
|
+
# @example Response structure
|
1523
|
+
#
|
1524
|
+
# resp.actions #=> Array
|
1525
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
1526
|
+
# resp.actions[0].invoke_api.stage #=> String
|
1527
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
1528
|
+
# resp.conditions #=> Array
|
1529
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
1530
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
1531
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
1532
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
1533
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
1534
|
+
# resp.priority #=> Integer
|
1535
|
+
# resp.routing_rule_arn #=> String
|
1536
|
+
# resp.routing_rule_id #=> String
|
1537
|
+
#
|
1538
|
+
# @overload create_routing_rule(params = {})
|
1539
|
+
# @param [Hash] params ({})
|
1540
|
+
def create_routing_rule(params = {}, options = {})
|
1541
|
+
req = build_request(:create_routing_rule, params)
|
1542
|
+
req.send_request(options)
|
1543
|
+
end
|
1544
|
+
|
1452
1545
|
# Creates a Stage for an API.
|
1453
1546
|
#
|
1454
1547
|
# @option params [Types::AccessLogSettings] :access_log_settings
|
@@ -1943,6 +2036,29 @@ module Aws::ApiGatewayV2
|
|
1943
2036
|
req.send_request(options)
|
1944
2037
|
end
|
1945
2038
|
|
2039
|
+
# @option params [required, String] :domain_name
|
2040
|
+
#
|
2041
|
+
# @option params [String] :domain_name_id
|
2042
|
+
#
|
2043
|
+
# @option params [required, String] :routing_rule_id
|
2044
|
+
#
|
2045
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2046
|
+
#
|
2047
|
+
# @example Request syntax with placeholder values
|
2048
|
+
#
|
2049
|
+
# resp = client.delete_routing_rule({
|
2050
|
+
# domain_name: "__string", # required
|
2051
|
+
# domain_name_id: "__string",
|
2052
|
+
# routing_rule_id: "__string", # required
|
2053
|
+
# })
|
2054
|
+
#
|
2055
|
+
# @overload delete_routing_rule(params = {})
|
2056
|
+
# @param [Hash] params ({})
|
2057
|
+
def delete_routing_rule(params = {}, options = {})
|
2058
|
+
req = build_request(:delete_routing_rule, params)
|
2059
|
+
req.send_request(options)
|
2060
|
+
end
|
2061
|
+
|
1946
2062
|
# Deletes a Stage.
|
1947
2063
|
#
|
1948
2064
|
# @option params [required, String] :api_id
|
@@ -2430,8 +2546,10 @@ module Aws::ApiGatewayV2
|
|
2430
2546
|
#
|
2431
2547
|
# * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
2432
2548
|
# * {Types::GetDomainNameResponse#domain_name #domain_name} => String
|
2549
|
+
# * {Types::GetDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
2433
2550
|
# * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
2434
2551
|
# * {Types::GetDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
2552
|
+
# * {Types::GetDomainNameResponse#routing_mode #routing_mode} => String
|
2435
2553
|
# * {Types::GetDomainNameResponse#tags #tags} => Hash<String,String>
|
2436
2554
|
#
|
2437
2555
|
# @example Request syntax with placeholder values
|
@@ -2444,6 +2562,7 @@ module Aws::ApiGatewayV2
|
|
2444
2562
|
#
|
2445
2563
|
# resp.api_mapping_selection_expression #=> String
|
2446
2564
|
# resp.domain_name #=> String
|
2565
|
+
# resp.domain_name_arn #=> String
|
2447
2566
|
# resp.domain_name_configurations #=> Array
|
2448
2567
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
2449
2568
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -2460,6 +2579,7 @@ module Aws::ApiGatewayV2
|
|
2460
2579
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
2461
2580
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
2462
2581
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
2582
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
2463
2583
|
# resp.tags #=> Hash
|
2464
2584
|
# resp.tags["__string"] #=> String
|
2465
2585
|
#
|
@@ -2493,6 +2613,7 @@ module Aws::ApiGatewayV2
|
|
2493
2613
|
# resp.items #=> Array
|
2494
2614
|
# resp.items[0].api_mapping_selection_expression #=> String
|
2495
2615
|
# resp.items[0].domain_name #=> String
|
2616
|
+
# resp.items[0].domain_name_arn #=> String
|
2496
2617
|
# resp.items[0].domain_name_configurations #=> Array
|
2497
2618
|
# resp.items[0].domain_name_configurations[0].api_gateway_domain_name #=> String
|
2498
2619
|
# resp.items[0].domain_name_configurations[0].certificate_arn #=> String
|
@@ -2509,6 +2630,7 @@ module Aws::ApiGatewayV2
|
|
2509
2630
|
# resp.items[0].mutual_tls_authentication.truststore_version #=> String
|
2510
2631
|
# resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
|
2511
2632
|
# resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
|
2633
|
+
# resp.items[0].routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
2512
2634
|
# resp.items[0].tags #=> Hash
|
2513
2635
|
# resp.items[0].tags["__string"] #=> String
|
2514
2636
|
# resp.next_token #=> String
|
@@ -3024,6 +3146,104 @@ module Aws::ApiGatewayV2
|
|
3024
3146
|
req.send_request(options)
|
3025
3147
|
end
|
3026
3148
|
|
3149
|
+
# Gets a routing rule.
|
3150
|
+
#
|
3151
|
+
# @option params [required, String] :domain_name
|
3152
|
+
#
|
3153
|
+
# @option params [String] :domain_name_id
|
3154
|
+
#
|
3155
|
+
# @option params [required, String] :routing_rule_id
|
3156
|
+
#
|
3157
|
+
# @return [Types::GetRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3158
|
+
#
|
3159
|
+
# * {Types::GetRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
3160
|
+
# * {Types::GetRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
3161
|
+
# * {Types::GetRoutingRuleResponse#priority #priority} => Integer
|
3162
|
+
# * {Types::GetRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
3163
|
+
# * {Types::GetRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
3164
|
+
#
|
3165
|
+
# @example Request syntax with placeholder values
|
3166
|
+
#
|
3167
|
+
# resp = client.get_routing_rule({
|
3168
|
+
# domain_name: "__string", # required
|
3169
|
+
# domain_name_id: "__string",
|
3170
|
+
# routing_rule_id: "__string", # required
|
3171
|
+
# })
|
3172
|
+
#
|
3173
|
+
# @example Response structure
|
3174
|
+
#
|
3175
|
+
# resp.actions #=> Array
|
3176
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
3177
|
+
# resp.actions[0].invoke_api.stage #=> String
|
3178
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
3179
|
+
# resp.conditions #=> Array
|
3180
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
3181
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
3182
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
3183
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
3184
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
3185
|
+
# resp.priority #=> Integer
|
3186
|
+
# resp.routing_rule_arn #=> String
|
3187
|
+
# resp.routing_rule_id #=> String
|
3188
|
+
#
|
3189
|
+
# @overload get_routing_rule(params = {})
|
3190
|
+
# @param [Hash] params ({})
|
3191
|
+
def get_routing_rule(params = {}, options = {})
|
3192
|
+
req = build_request(:get_routing_rule, params)
|
3193
|
+
req.send_request(options)
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
# Lists routing rules.
|
3197
|
+
#
|
3198
|
+
# @option params [required, String] :domain_name
|
3199
|
+
#
|
3200
|
+
# @option params [String] :domain_name_id
|
3201
|
+
#
|
3202
|
+
# @option params [Integer] :max_results
|
3203
|
+
#
|
3204
|
+
# @option params [String] :next_token
|
3205
|
+
#
|
3206
|
+
# @return [Types::ListRoutingRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3207
|
+
#
|
3208
|
+
# * {Types::ListRoutingRulesResponse#next_token #next_token} => String
|
3209
|
+
# * {Types::ListRoutingRulesResponse#routing_rules #routing_rules} => Array<Types::RoutingRule>
|
3210
|
+
#
|
3211
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3212
|
+
#
|
3213
|
+
# @example Request syntax with placeholder values
|
3214
|
+
#
|
3215
|
+
# resp = client.list_routing_rules({
|
3216
|
+
# domain_name: "__string", # required
|
3217
|
+
# domain_name_id: "__string",
|
3218
|
+
# max_results: 1,
|
3219
|
+
# next_token: "__string",
|
3220
|
+
# })
|
3221
|
+
#
|
3222
|
+
# @example Response structure
|
3223
|
+
#
|
3224
|
+
# resp.next_token #=> String
|
3225
|
+
# resp.routing_rules #=> Array
|
3226
|
+
# resp.routing_rules[0].actions #=> Array
|
3227
|
+
# resp.routing_rules[0].actions[0].invoke_api.api_id #=> String
|
3228
|
+
# resp.routing_rules[0].actions[0].invoke_api.stage #=> String
|
3229
|
+
# resp.routing_rules[0].actions[0].invoke_api.strip_base_path #=> Boolean
|
3230
|
+
# resp.routing_rules[0].conditions #=> Array
|
3231
|
+
# resp.routing_rules[0].conditions[0].match_base_paths.any_of #=> Array
|
3232
|
+
# resp.routing_rules[0].conditions[0].match_base_paths.any_of[0] #=> String
|
3233
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of #=> Array
|
3234
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of[0].header #=> String
|
3235
|
+
# resp.routing_rules[0].conditions[0].match_headers.any_of[0].value_glob #=> String
|
3236
|
+
# resp.routing_rules[0].priority #=> Integer
|
3237
|
+
# resp.routing_rules[0].routing_rule_arn #=> String
|
3238
|
+
# resp.routing_rules[0].routing_rule_id #=> String
|
3239
|
+
#
|
3240
|
+
# @overload list_routing_rules(params = {})
|
3241
|
+
# @param [Hash] params ({})
|
3242
|
+
def list_routing_rules(params = {}, options = {})
|
3243
|
+
req = build_request(:list_routing_rules, params)
|
3244
|
+
req.send_request(options)
|
3245
|
+
end
|
3246
|
+
|
3027
3247
|
# Gets a Stage.
|
3028
3248
|
#
|
3029
3249
|
# @option params [required, String] :api_id
|
@@ -3336,6 +3556,83 @@ module Aws::ApiGatewayV2
|
|
3336
3556
|
req.send_request(options)
|
3337
3557
|
end
|
3338
3558
|
|
3559
|
+
# @option params [required, Array<Types::RoutingRuleAction>] :actions
|
3560
|
+
#
|
3561
|
+
# @option params [required, Array<Types::RoutingRuleCondition>] :conditions
|
3562
|
+
#
|
3563
|
+
# @option params [required, String] :domain_name
|
3564
|
+
#
|
3565
|
+
# @option params [String] :domain_name_id
|
3566
|
+
#
|
3567
|
+
# @option params [required, Integer] :priority
|
3568
|
+
# Represents the priority of the routing rule.
|
3569
|
+
#
|
3570
|
+
# @option params [required, String] :routing_rule_id
|
3571
|
+
#
|
3572
|
+
# @return [Types::PutRoutingRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3573
|
+
#
|
3574
|
+
# * {Types::PutRoutingRuleResponse#actions #actions} => Array<Types::RoutingRuleAction>
|
3575
|
+
# * {Types::PutRoutingRuleResponse#conditions #conditions} => Array<Types::RoutingRuleCondition>
|
3576
|
+
# * {Types::PutRoutingRuleResponse#priority #priority} => Integer
|
3577
|
+
# * {Types::PutRoutingRuleResponse#routing_rule_arn #routing_rule_arn} => String
|
3578
|
+
# * {Types::PutRoutingRuleResponse#routing_rule_id #routing_rule_id} => String
|
3579
|
+
#
|
3580
|
+
# @example Request syntax with placeholder values
|
3581
|
+
#
|
3582
|
+
# resp = client.put_routing_rule({
|
3583
|
+
# actions: [ # required
|
3584
|
+
# {
|
3585
|
+
# invoke_api: { # required
|
3586
|
+
# api_id: "Id", # required
|
3587
|
+
# stage: "StringWithLengthBetween1And128", # required
|
3588
|
+
# strip_base_path: false,
|
3589
|
+
# },
|
3590
|
+
# },
|
3591
|
+
# ],
|
3592
|
+
# conditions: [ # required
|
3593
|
+
# {
|
3594
|
+
# match_base_paths: {
|
3595
|
+
# any_of: ["SelectionKey"], # required
|
3596
|
+
# },
|
3597
|
+
# match_headers: {
|
3598
|
+
# any_of: [ # required
|
3599
|
+
# {
|
3600
|
+
# header: "SelectionKey", # required
|
3601
|
+
# value_glob: "SelectionExpression", # required
|
3602
|
+
# },
|
3603
|
+
# ],
|
3604
|
+
# },
|
3605
|
+
# },
|
3606
|
+
# ],
|
3607
|
+
# domain_name: "__string", # required
|
3608
|
+
# domain_name_id: "__string",
|
3609
|
+
# priority: 1, # required
|
3610
|
+
# routing_rule_id: "__string", # required
|
3611
|
+
# })
|
3612
|
+
#
|
3613
|
+
# @example Response structure
|
3614
|
+
#
|
3615
|
+
# resp.actions #=> Array
|
3616
|
+
# resp.actions[0].invoke_api.api_id #=> String
|
3617
|
+
# resp.actions[0].invoke_api.stage #=> String
|
3618
|
+
# resp.actions[0].invoke_api.strip_base_path #=> Boolean
|
3619
|
+
# resp.conditions #=> Array
|
3620
|
+
# resp.conditions[0].match_base_paths.any_of #=> Array
|
3621
|
+
# resp.conditions[0].match_base_paths.any_of[0] #=> String
|
3622
|
+
# resp.conditions[0].match_headers.any_of #=> Array
|
3623
|
+
# resp.conditions[0].match_headers.any_of[0].header #=> String
|
3624
|
+
# resp.conditions[0].match_headers.any_of[0].value_glob #=> String
|
3625
|
+
# resp.priority #=> Integer
|
3626
|
+
# resp.routing_rule_arn #=> String
|
3627
|
+
# resp.routing_rule_id #=> String
|
3628
|
+
#
|
3629
|
+
# @overload put_routing_rule(params = {})
|
3630
|
+
# @param [Hash] params ({})
|
3631
|
+
def put_routing_rule(params = {}, options = {})
|
3632
|
+
req = build_request(:put_routing_rule, params)
|
3633
|
+
req.send_request(options)
|
3634
|
+
end
|
3635
|
+
|
3339
3636
|
# Puts an Api resource.
|
3340
3637
|
#
|
3341
3638
|
# @option params [required, String] :api_id
|
@@ -3822,12 +4119,16 @@ module Aws::ApiGatewayV2
|
|
3822
4119
|
# client and the server. Clients must present a trusted certificate to
|
3823
4120
|
# access your API.
|
3824
4121
|
#
|
4122
|
+
# @option params [String] :routing_mode
|
4123
|
+
#
|
3825
4124
|
# @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3826
4125
|
#
|
3827
4126
|
# * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
3828
4127
|
# * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
|
4128
|
+
# * {Types::UpdateDomainNameResponse#domain_name_arn #domain_name_arn} => String
|
3829
4129
|
# * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
3830
4130
|
# * {Types::UpdateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
4131
|
+
# * {Types::UpdateDomainNameResponse#routing_mode #routing_mode} => String
|
3831
4132
|
# * {Types::UpdateDomainNameResponse#tags #tags} => Hash<String,String>
|
3832
4133
|
#
|
3833
4134
|
# @example Request syntax with placeholder values
|
@@ -3853,12 +4154,14 @@ module Aws::ApiGatewayV2
|
|
3853
4154
|
# truststore_uri: "UriWithLengthBetween1And2048",
|
3854
4155
|
# truststore_version: "StringWithLengthBetween1And64",
|
3855
4156
|
# },
|
4157
|
+
# routing_mode: "API_MAPPING_ONLY", # accepts API_MAPPING_ONLY, ROUTING_RULE_ONLY, ROUTING_RULE_THEN_API_MAPPING
|
3856
4158
|
# })
|
3857
4159
|
#
|
3858
4160
|
# @example Response structure
|
3859
4161
|
#
|
3860
4162
|
# resp.api_mapping_selection_expression #=> String
|
3861
4163
|
# resp.domain_name #=> String
|
4164
|
+
# resp.domain_name_arn #=> String
|
3862
4165
|
# resp.domain_name_configurations #=> Array
|
3863
4166
|
# resp.domain_name_configurations[0].api_gateway_domain_name #=> String
|
3864
4167
|
# resp.domain_name_configurations[0].certificate_arn #=> String
|
@@ -3875,6 +4178,7 @@ module Aws::ApiGatewayV2
|
|
3875
4178
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
3876
4179
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
3877
4180
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
4181
|
+
# resp.routing_mode #=> String, one of "API_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_API_MAPPING"
|
3878
4182
|
# resp.tags #=> Hash
|
3879
4183
|
# resp.tags["__string"] #=> String
|
3880
4184
|
#
|
@@ -4629,7 +4933,7 @@ module Aws::ApiGatewayV2
|
|
4629
4933
|
tracer: tracer
|
4630
4934
|
)
|
4631
4935
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4632
|
-
context[:gem_version] = '1.
|
4936
|
+
context[:gem_version] = '1.80.0'
|
4633
4937
|
Seahorse::Client::Request.new(handlers, context)
|
4634
4938
|
end
|
4635
4939
|
|