aws-sdk-apigateway 1.117.0 → 1.119.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-apigateway/client.rb +16 -2
- data/lib/aws-sdk-apigateway/client_api.rb +3 -0
- data/lib/aws-sdk-apigateway/types.rb +21 -6
- data/lib/aws-sdk-apigateway.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf04c1ccc3d45c6834a9e5b4875f8a89084a02da1346724893d80e49654606d4
|
4
|
+
data.tar.gz: 392fd5d56efdcb108dbaa8cbaad11b8259c48f13b09e2b61e187b20822b204eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e26bad57302cec9ea99f8bae6b29def7d8598ef3250b557a41bfeeff32d8653de29a5d9d783c6f59c2831d4703e304e619a3d20b28f530a1e6d545c7c966792
|
7
|
+
data.tar.gz: 4bd6a3b02fce4b1c95c757162fed342cb5b39dd66bd568e5bbbc630cba400050ef31146a27f2500511629a97d1ee76ead9b3f82205c19124f18b56f22b506ee2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.119.0 (2025-06-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon API Gateway
|
8
|
+
|
9
|
+
1.118.0 (2025-06-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support to set the routing mode for a custom domain name.
|
13
|
+
|
4
14
|
1.117.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.119.0
|
@@ -990,6 +990,11 @@ module Aws::APIGateway
|
|
990
990
|
# service for this DomainName regardless of the caller and Method
|
991
991
|
# configuration. Supported only for private custom domain names.
|
992
992
|
#
|
993
|
+
# @option params [String] :routing_mode
|
994
|
+
# The routing mode for this domain name. The routing mode determines how
|
995
|
+
# API Gateway sends traffic from your custom domain name to your private
|
996
|
+
# APIs.
|
997
|
+
#
|
993
998
|
# @return [Types::DomainName] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
994
999
|
#
|
995
1000
|
# * {Types::DomainName#domain_name #domain_name} => String
|
@@ -1013,6 +1018,7 @@ module Aws::APIGateway
|
|
1013
1018
|
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
1014
1019
|
# * {Types::DomainName#management_policy #management_policy} => String
|
1015
1020
|
# * {Types::DomainName#policy #policy} => String
|
1021
|
+
# * {Types::DomainName#routing_mode #routing_mode} => String
|
1016
1022
|
#
|
1017
1023
|
# @example Request syntax with placeholder values
|
1018
1024
|
#
|
@@ -1040,6 +1046,7 @@ module Aws::APIGateway
|
|
1040
1046
|
# },
|
1041
1047
|
# ownership_verification_certificate_arn: "String",
|
1042
1048
|
# policy: "String",
|
1049
|
+
# routing_mode: "BASE_PATH_MAPPING_ONLY", # accepts BASE_PATH_MAPPING_ONLY, ROUTING_RULE_ONLY, ROUTING_RULE_THEN_BASE_PATH_MAPPING
|
1043
1050
|
# })
|
1044
1051
|
#
|
1045
1052
|
# @example Response structure
|
@@ -1073,6 +1080,7 @@ module Aws::APIGateway
|
|
1073
1080
|
# resp.ownership_verification_certificate_arn #=> String
|
1074
1081
|
# resp.management_policy #=> String
|
1075
1082
|
# resp.policy #=> String
|
1083
|
+
# resp.routing_mode #=> String, one of "BASE_PATH_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
1076
1084
|
#
|
1077
1085
|
# @overload create_domain_name(params = {})
|
1078
1086
|
# @param [Hash] params ({})
|
@@ -3126,6 +3134,7 @@ module Aws::APIGateway
|
|
3126
3134
|
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
3127
3135
|
# * {Types::DomainName#management_policy #management_policy} => String
|
3128
3136
|
# * {Types::DomainName#policy #policy} => String
|
3137
|
+
# * {Types::DomainName#routing_mode #routing_mode} => String
|
3129
3138
|
#
|
3130
3139
|
# @example Request syntax with placeholder values
|
3131
3140
|
#
|
@@ -3165,6 +3174,7 @@ module Aws::APIGateway
|
|
3165
3174
|
# resp.ownership_verification_certificate_arn #=> String
|
3166
3175
|
# resp.management_policy #=> String
|
3167
3176
|
# resp.policy #=> String
|
3177
|
+
# resp.routing_mode #=> String, one of "BASE_PATH_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
3168
3178
|
#
|
3169
3179
|
# @overload get_domain_name(params = {})
|
3170
3180
|
# @param [Hash] params ({})
|
@@ -3279,6 +3289,7 @@ module Aws::APIGateway
|
|
3279
3289
|
# resp.items[0].ownership_verification_certificate_arn #=> String
|
3280
3290
|
# resp.items[0].management_policy #=> String
|
3281
3291
|
# resp.items[0].policy #=> String
|
3292
|
+
# resp.items[0].routing_mode #=> String, one of "BASE_PATH_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
3282
3293
|
#
|
3283
3294
|
# @overload get_domain_names(params = {})
|
3284
3295
|
# @param [Hash] params ({})
|
@@ -5174,7 +5185,8 @@ module Aws::APIGateway
|
|
5174
5185
|
#
|
5175
5186
|
# @option params [Integer] :timeout_in_millis
|
5176
5187
|
# Custom timeout between 50 and 29,000 milliseconds. The default value
|
5177
|
-
# is 29,000 milliseconds or 29 seconds.
|
5188
|
+
# is 29,000 milliseconds or 29 seconds. You can increase the default
|
5189
|
+
# value to longer than 29 seconds for Regional or private APIs only.
|
5178
5190
|
#
|
5179
5191
|
# @option params [Types::TlsConfig] :tls_config
|
5180
5192
|
# Specifies the TLS configuration for an integration.
|
@@ -6388,6 +6400,7 @@ module Aws::APIGateway
|
|
6388
6400
|
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
6389
6401
|
# * {Types::DomainName#management_policy #management_policy} => String
|
6390
6402
|
# * {Types::DomainName#policy #policy} => String
|
6403
|
+
# * {Types::DomainName#routing_mode #routing_mode} => String
|
6391
6404
|
#
|
6392
6405
|
# @example Request syntax with placeholder values
|
6393
6406
|
#
|
@@ -6435,6 +6448,7 @@ module Aws::APIGateway
|
|
6435
6448
|
# resp.ownership_verification_certificate_arn #=> String
|
6436
6449
|
# resp.management_policy #=> String
|
6437
6450
|
# resp.policy #=> String
|
6451
|
+
# resp.routing_mode #=> String, one of "BASE_PATH_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
6438
6452
|
#
|
6439
6453
|
# @overload update_domain_name(params = {})
|
6440
6454
|
# @param [Hash] params ({})
|
@@ -7388,7 +7402,7 @@ module Aws::APIGateway
|
|
7388
7402
|
tracer: tracer
|
7389
7403
|
)
|
7390
7404
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7391
|
-
context[:gem_version] = '1.
|
7405
|
+
context[:gem_version] = '1.119.0'
|
7392
7406
|
Seahorse::Client::Request.new(handlers, context)
|
7393
7407
|
end
|
7394
7408
|
|
@@ -231,6 +231,7 @@ module Aws::APIGateway
|
|
231
231
|
Resources = Shapes::StructureShape.new(name: 'Resources')
|
232
232
|
RestApi = Shapes::StructureShape.new(name: 'RestApi')
|
233
233
|
RestApis = Shapes::StructureShape.new(name: 'RestApis')
|
234
|
+
RoutingMode = Shapes::StringShape.new(name: 'RoutingMode')
|
234
235
|
SdkConfigurationProperty = Shapes::StructureShape.new(name: 'SdkConfigurationProperty')
|
235
236
|
SdkResponse = Shapes::StructureShape.new(name: 'SdkResponse')
|
236
237
|
SdkType = Shapes::StructureShape.new(name: 'SdkType')
|
@@ -443,6 +444,7 @@ module Aws::APIGateway
|
|
443
444
|
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
444
445
|
CreateDomainNameRequest.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
|
445
446
|
CreateDomainNameRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
|
447
|
+
CreateDomainNameRequest.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
446
448
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
447
449
|
|
448
450
|
CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -662,6 +664,7 @@ module Aws::APIGateway
|
|
662
664
|
DomainName.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
|
663
665
|
DomainName.add_member(:management_policy, Shapes::ShapeRef.new(shape: String, location_name: "managementPolicy"))
|
664
666
|
DomainName.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
|
667
|
+
DomainName.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
665
668
|
DomainName.struct_class = Types::DomainName
|
666
669
|
|
667
670
|
DomainNameAccessAssociation.add_member(:domain_name_access_association_arn, Shapes::ShapeRef.new(shape: String, location_name: "domainNameAccessAssociationArn"))
|
@@ -896,6 +896,12 @@ module Aws::APIGateway
|
|
896
896
|
# configuration. Supported only for private custom domain names.
|
897
897
|
# @return [String]
|
898
898
|
#
|
899
|
+
# @!attribute [rw] routing_mode
|
900
|
+
# The routing mode for this domain name. The routing mode determines
|
901
|
+
# how API Gateway sends traffic from your custom domain name to your
|
902
|
+
# private APIs.
|
903
|
+
# @return [String]
|
904
|
+
#
|
899
905
|
class CreateDomainNameRequest < Struct.new(
|
900
906
|
:domain_name,
|
901
907
|
:certificate_name,
|
@@ -910,7 +916,8 @@ module Aws::APIGateway
|
|
910
916
|
:security_policy,
|
911
917
|
:mutual_tls_authentication,
|
912
918
|
:ownership_verification_certificate_arn,
|
913
|
-
:policy
|
919
|
+
:policy,
|
920
|
+
:routing_mode)
|
914
921
|
SENSITIVE = []
|
915
922
|
include Aws::Structure
|
916
923
|
end
|
@@ -1900,8 +1907,7 @@ module Aws::APIGateway
|
|
1900
1907
|
# @return [String]
|
1901
1908
|
#
|
1902
1909
|
# @!attribute [rw] domain_name_arn
|
1903
|
-
# The ARN of the domain name.
|
1904
|
-
# names.
|
1910
|
+
# The ARN of the domain name.
|
1905
1911
|
# @return [String]
|
1906
1912
|
#
|
1907
1913
|
# @!attribute [rw] certificate_name
|
@@ -2015,6 +2021,12 @@ module Aws::APIGateway
|
|
2015
2021
|
# configuration. Supported only for private custom domain names.
|
2016
2022
|
# @return [String]
|
2017
2023
|
#
|
2024
|
+
# @!attribute [rw] routing_mode
|
2025
|
+
# The routing mode for this domain name. The routing mode determines
|
2026
|
+
# how API Gateway sends traffic from your custom domain name to your
|
2027
|
+
# private APIs.
|
2028
|
+
# @return [String]
|
2029
|
+
#
|
2018
2030
|
class DomainName < Struct.new(
|
2019
2031
|
:domain_name,
|
2020
2032
|
:domain_name_id,
|
@@ -2036,7 +2048,8 @@ module Aws::APIGateway
|
|
2036
2048
|
:mutual_tls_authentication,
|
2037
2049
|
:ownership_verification_certificate_arn,
|
2038
2050
|
:management_policy,
|
2039
|
-
:policy
|
2051
|
+
:policy,
|
2052
|
+
:routing_mode)
|
2040
2053
|
SENSITIVE = []
|
2041
2054
|
include Aws::Structure
|
2042
2055
|
end
|
@@ -3588,7 +3601,8 @@ module Aws::APIGateway
|
|
3588
3601
|
#
|
3589
3602
|
# @!attribute [rw] timeout_in_millis
|
3590
3603
|
# Custom timeout between 50 and 29,000 milliseconds. The default value
|
3591
|
-
# is 29,000 milliseconds or 29 seconds.
|
3604
|
+
# is 29,000 milliseconds or 29 seconds. You can increase the default
|
3605
|
+
# value to longer than 29 seconds for Regional or private APIs only.
|
3592
3606
|
# @return [Integer]
|
3593
3607
|
#
|
3594
3608
|
# @!attribute [rw] cache_namespace
|
@@ -4284,7 +4298,8 @@ module Aws::APIGateway
|
|
4284
4298
|
#
|
4285
4299
|
# @!attribute [rw] timeout_in_millis
|
4286
4300
|
# Custom timeout between 50 and 29,000 milliseconds. The default value
|
4287
|
-
# is 29,000 milliseconds or 29 seconds.
|
4301
|
+
# is 29,000 milliseconds or 29 seconds. You can increase the default
|
4302
|
+
# value to longer than 29 seconds for Regional or private APIs only.
|
4288
4303
|
# @return [Integer]
|
4289
4304
|
#
|
4290
4305
|
# @!attribute [rw] tls_config
|
data/lib/aws-sdk-apigateway.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -235,6 +235,7 @@ module Aws
|
|
235
235
|
def ownership_verification_certificate_arn: () -> ::String
|
236
236
|
def management_policy: () -> ::String
|
237
237
|
def policy: () -> ::String
|
238
|
+
def routing_mode: () -> ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
238
239
|
end
|
239
240
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/APIGateway/Client.html#create_domain_name-instance_method
|
240
241
|
def create_domain_name: (
|
@@ -258,7 +259,8 @@ module Aws
|
|
258
259
|
truststore_version: ::String?
|
259
260
|
},
|
260
261
|
?ownership_verification_certificate_arn: ::String,
|
261
|
-
?policy: ::String
|
262
|
+
?policy: ::String,
|
263
|
+
?routing_mode: ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
262
264
|
) -> _CreateDomainNameResponseSuccess
|
263
265
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainNameResponseSuccess
|
264
266
|
|
@@ -907,6 +909,7 @@ module Aws
|
|
907
909
|
def ownership_verification_certificate_arn: () -> ::String
|
908
910
|
def management_policy: () -> ::String
|
909
911
|
def policy: () -> ::String
|
912
|
+
def routing_mode: () -> ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
910
913
|
end
|
911
914
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/APIGateway/Client.html#get_domain_name-instance_method
|
912
915
|
def get_domain_name: (
|
@@ -1873,6 +1876,7 @@ module Aws
|
|
1873
1876
|
def ownership_verification_certificate_arn: () -> ::String
|
1874
1877
|
def management_policy: () -> ::String
|
1875
1878
|
def policy: () -> ::String
|
1879
|
+
def routing_mode: () -> ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
1876
1880
|
end
|
1877
1881
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/APIGateway/Client.html#update_domain_name-instance_method
|
1878
1882
|
def update_domain_name: (
|
data/sig/types.rbs
CHANGED
@@ -209,6 +209,7 @@ module Aws::APIGateway
|
|
209
209
|
attr_accessor mutual_tls_authentication: Types::MutualTlsAuthenticationInput
|
210
210
|
attr_accessor ownership_verification_certificate_arn: ::String
|
211
211
|
attr_accessor policy: ::String
|
212
|
+
attr_accessor routing_mode: ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
212
213
|
SENSITIVE: []
|
213
214
|
end
|
214
215
|
|
@@ -508,6 +509,7 @@ module Aws::APIGateway
|
|
508
509
|
attr_accessor ownership_verification_certificate_arn: ::String
|
509
510
|
attr_accessor management_policy: ::String
|
510
511
|
attr_accessor policy: ::String
|
512
|
+
attr_accessor routing_mode: ("BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING")
|
511
513
|
SENSITIVE: []
|
512
514
|
end
|
513
515
|
|