aws-sdk-cognitoidentityprovider 1.113.0 → 1.115.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad244cf9f0ba51afa11bbf2d6b826adbc5420eaa7431d1b38ea5673be2f91b83
|
4
|
+
data.tar.gz: dd97e4d093b2c3e07b9b041ef6d416db88b58e37977d7be74267bdf704ea5591
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2d8c987fdef4dbd45c4ca509048cb2b20fbc660bbcc94c47367285c6075a2c293a9f488b315d6ee74bc9e08f48375f47b9b59ffc60f5edcc1dc3794be4275bb
|
7
|
+
data.tar.gz: ef8b9cee9991966f5b3ecac8115b736775b541125d21f3a129ee273839c7736583ce7a956da117ef9c56b0d6de49375b8815653e146fa8f19611440b175a405b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.115.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.114.0 (2025-01-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - corrects the dual-stack endpoint configuration for cognitoidp
|
13
|
+
|
4
14
|
1.113.0 (2025-01-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.115.0
|
@@ -12463,7 +12463,7 @@ module Aws::CognitoIdentityProvider
|
|
12463
12463
|
tracer: tracer
|
12464
12464
|
)
|
12465
12465
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
12466
|
-
context[:gem_version] = '1.
|
12466
|
+
context[:gem_version] = '1.115.0'
|
12467
12467
|
Seahorse::Client::Request.new(handlers, context)
|
12468
12468
|
end
|
12469
12469
|
|
@@ -10,40 +10,51 @@
|
|
10
10
|
module Aws::CognitoIdentityProvider
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
|
26
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-east-1")
|
27
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
|
28
|
+
end
|
29
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-east-2")
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-west-1")
|
33
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
|
34
|
+
end
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-west-2")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
39
|
end
|
32
40
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
41
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
43
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
45
|
end
|
38
46
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
47
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
48
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
41
49
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
-
|
50
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
52
|
+
end
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
54
|
end
|
44
55
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
56
|
end
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
58
|
end
|
48
59
|
end
|
49
60
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cognitoidentityprovider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.115.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|