aws-sdk-apigateway 1.117.0 → 1.118.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +14 -1
- data/lib/aws-sdk-apigateway/client_api.rb +3 -0
- data/lib/aws-sdk-apigateway/types.rb +16 -2
- 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: 0f5c85c8941f8ba1f888bdf7e18aadb3207b79f7f6f54af8559955576b54b37d
|
4
|
+
data.tar.gz: 3357abb164821c73bc157b448b077b9be1f68fb6e7c31be0dce4d273ff4645bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf338722a223654ca41e4749efefd07e38d633ef2f0639703394111b7071a20d25143508298b861ce637b1dee07a4f3381c919cd17543a1d8274946ea2a4e4b0
|
7
|
+
data.tar.gz: 4d2cd42c770732881fbb15f4415862e8a6b2140a172a37c9337534ce1351421455c79b3e8874b99d9aec14d1c140705767dac1d9f07f7653b10af9c8d019e91b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.118.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 ({})
|
@@ -6388,6 +6399,7 @@ module Aws::APIGateway
|
|
6388
6399
|
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
6389
6400
|
# * {Types::DomainName#management_policy #management_policy} => String
|
6390
6401
|
# * {Types::DomainName#policy #policy} => String
|
6402
|
+
# * {Types::DomainName#routing_mode #routing_mode} => String
|
6391
6403
|
#
|
6392
6404
|
# @example Request syntax with placeholder values
|
6393
6405
|
#
|
@@ -6435,6 +6447,7 @@ module Aws::APIGateway
|
|
6435
6447
|
# resp.ownership_verification_certificate_arn #=> String
|
6436
6448
|
# resp.management_policy #=> String
|
6437
6449
|
# resp.policy #=> String
|
6450
|
+
# resp.routing_mode #=> String, one of "BASE_PATH_MAPPING_ONLY", "ROUTING_RULE_ONLY", "ROUTING_RULE_THEN_BASE_PATH_MAPPING"
|
6438
6451
|
#
|
6439
6452
|
# @overload update_domain_name(params = {})
|
6440
6453
|
# @param [Hash] params ({})
|
@@ -7388,7 +7401,7 @@ module Aws::APIGateway
|
|
7388
7401
|
tracer: tracer
|
7389
7402
|
)
|
7390
7403
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7391
|
-
context[:gem_version] = '1.
|
7404
|
+
context[:gem_version] = '1.118.0'
|
7392
7405
|
Seahorse::Client::Request.new(handlers, context)
|
7393
7406
|
end
|
7394
7407
|
|
@@ -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
|
@@ -2015,6 +2022,12 @@ module Aws::APIGateway
|
|
2015
2022
|
# configuration. Supported only for private custom domain names.
|
2016
2023
|
# @return [String]
|
2017
2024
|
#
|
2025
|
+
# @!attribute [rw] routing_mode
|
2026
|
+
# The routing mode for this domain name. The routing mode determines
|
2027
|
+
# how API Gateway sends traffic from your custom domain name to your
|
2028
|
+
# private APIs.
|
2029
|
+
# @return [String]
|
2030
|
+
#
|
2018
2031
|
class DomainName < Struct.new(
|
2019
2032
|
:domain_name,
|
2020
2033
|
:domain_name_id,
|
@@ -2036,7 +2049,8 @@ module Aws::APIGateway
|
|
2036
2049
|
:mutual_tls_authentication,
|
2037
2050
|
:ownership_verification_certificate_arn,
|
2038
2051
|
:management_policy,
|
2039
|
-
:policy
|
2052
|
+
:policy,
|
2053
|
+
:routing_mode)
|
2040
2054
|
SENSITIVE = []
|
2041
2055
|
include Aws::Structure
|
2042
2056
|
end
|
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
|
|