aws-sdk-cognitoidentityprovider 1.107.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-cognitoidentityprovider/endpoints.rb +2 -1131
- data/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb +1 -212
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -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: c171f3e9e80ad5f52b04997c2329265cefb59f8f531873aa81873fc8b64da168
|
4
|
+
data.tar.gz: a22ff8246c7897825980f35f0c0e8b454689fb8b1764c57308b53ee5722f243d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a20e6919f67e8b6a502eb7349863c5408c3dbd94e83d713f44abdb6ae73ab8f64fe1f5edcc5083c61fbd864f2c08014e1a16f3ab86d2a7c0dbfde565d028e399
|
7
|
+
data.tar.gz: cbd3ffdb36d003c6ac6221937b1fe7ed3366af9cdf4eefe8dae332d097c81b27a956611b9294f9dfc7e2cdfb5909dbd607eef4e794a06c5c7bcebc8d46677670
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.108.0
|
@@ -10937,7 +10937,7 @@ module Aws::CognitoIdentityProvider
|
|
10937
10937
|
tracer: tracer
|
10938
10938
|
)
|
10939
10939
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
10940
|
-
context[:gem_version] = '1.
|
10940
|
+
context[:gem_version] = '1.108.0'
|
10941
10941
|
Seahorse::Client::Request.new(handlers, context)
|
10942
10942
|
end
|
10943
10943
|
|
@@ -52,15 +52,18 @@ module Aws::CognitoIdentityProvider
|
|
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
|