aws-sdk-apigateway 1.106.0 → 1.108.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +1 -3
- data/lib/aws-sdk-apigateway/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-apigateway/endpoints.rb +2 -1318
- data/lib/aws-sdk-apigateway/plugins/endpoints.rb +1 -246
- data/lib/aws-sdk-apigateway.rb +3 -1
- 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: 7b324ac22e300d42d2889d2479e402f086f5b953528e2fa3340469bdeea3d25a
|
4
|
+
data.tar.gz: 8bb3186a2317e843fbb66a08eaa99b29f7f6eb734a8a3268e4e950f744d2cb94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b51cc09d62c3076f69ac5221793a35f9f414f52ba84ca895ee2799332c2073fafb51fb9b970b81793e45791cc6ae0be9d9a1c4de9aaa14ff6acc657547be22
|
7
|
+
data.tar.gz: a751f9d65e4dcd8c732db235f7a52234dd3fa74f19ea2eb637da1d12eb6ea6261d5b7911207555c2da3d7c203eb8906ae93dc13382cc5e176438365a7af0a0cd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.108.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.107.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.106.0 (2024-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.108.0
|
@@ -37,8 +37,6 @@ require 'aws-sdk-core/plugins/sign.rb'
|
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
require 'aws-sdk-apigateway/plugins/apply_content_type_header.rb'
|
39
39
|
|
40
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:apigateway)
|
41
|
-
|
42
40
|
module Aws::APIGateway
|
43
41
|
# An API client for APIGateway. To construct a client, you need to configure a `:region` and `:credentials`.
|
44
42
|
#
|
@@ -7127,7 +7125,7 @@ module Aws::APIGateway
|
|
7127
7125
|
tracer: tracer
|
7128
7126
|
)
|
7129
7127
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7130
|
-
context[:gem_version] = '1.
|
7128
|
+
context[:gem_version] = '1.108.0'
|
7131
7129
|
Seahorse::Client::Request.new(handlers, context)
|
7132
7130
|
end
|
7133
7131
|
|
@@ -52,15 +52,18 @@ module Aws::APIGateway
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|