aws-sdk-cognitoidentityprovider 1.114.0 → 1.115.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7882943c0fd95c77f0717803af26bea9aedfbe5262f12b927b4077affec375ff
4
- data.tar.gz: 0e88eafb18c9269b3988b33f73c2fbc98a797b02b3e7ed99e8a10cf0a4ab8c18
3
+ metadata.gz: ad244cf9f0ba51afa11bbf2d6b826adbc5420eaa7431d1b38ea5673be2f91b83
4
+ data.tar.gz: dd97e4d093b2c3e07b9b041ef6d416db88b58e37977d7be74267bdf704ea5591
5
5
  SHA512:
6
- metadata.gz: 9f923d37b53d42b66d9bcf24425d268a0daf22354e84d838ce11a06b9e29e9a02e5555fe806fc5faf4d4336bbef3106730846a5a275ff8eeca872a111aa3249a
7
- data.tar.gz: 7802d6cd6a63697fbf83d91652b89290c8078dd3759b4dea41f5637d9ef5becfc04a7ae34db471c6a9167cd5c218ea2e09ad4c7aa137c05b06814bc37a3ae2b3
6
+ metadata.gz: c2d8c987fdef4dbd45c4ca509048cb2b20fbc660bbcc94c47367285c6075a2c293a9f488b315d6ee74bc9e08f48375f47b9b59ffc60f5edcc1dc3794be4275bb
7
+ data.tar.gz: ef8b9cee9991966f5b3ecac8115b736775b541125d21f3a129ee273839c7736583ce7a956da117ef9c56b0d6de49375b8815653e146fa8f19611440b175a405b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.114.0 (2025-01-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
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.114.0'
12466
+ context[:gem_version] = '1.115.0'
12467
12467
  Seahorse::Client::Request.new(handlers, context)
12468
12468
  end
12469
12469
 
@@ -10,55 +10,51 @@
10
10
  module Aws::CognitoIdentityProvider
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
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
- if Aws::Endpoints::Matchers.string_equals?(region, "us-east-1")
26
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-east-1")
31
27
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
32
28
  end
33
- if Aws::Endpoints::Matchers.string_equals?(region, "us-east-2")
29
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-east-2")
34
30
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
35
31
  end
36
- if Aws::Endpoints::Matchers.string_equals?(region, "us-west-1")
32
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-west-1")
37
33
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
38
34
  end
39
- if Aws::Endpoints::Matchers.string_equals?(region, "us-west-2")
35
+ if Aws::Endpoints::Matchers.string_equals?(parameters.region, "us-west-2")
40
36
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
41
37
  end
42
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
45
41
  end
46
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
47
43
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
48
- 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: {})
49
45
  end
50
46
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
51
47
  end
52
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
48
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
53
49
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
54
50
  if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
55
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.amazonaws.com", headers: {}, properties: {})
51
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
56
52
  end
57
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
53
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
58
54
  end
59
55
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
60
56
  end
61
- 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: {})
62
58
  end
63
59
  end
64
60
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -54,7 +54,7 @@ module Aws::CognitoIdentityProvider
54
54
  autoload :EndpointProvider, 'aws-sdk-cognitoidentityprovider/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cognitoidentityprovider/endpoints'
56
56
 
57
- GEM_VERSION = '1.114.0'
57
+ GEM_VERSION = '1.115.0'
58
58
 
59
59
  end
60
60
 
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.114.0
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-01-21 00:00:00.000000000 Z
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