aws-sdk-cognitoidentityprovider 1.77.0 → 1.78.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: f622b5dca21c19d569d6bb468d6f10ca0ee2a075e698ba928d4170e360ed8f8f
4
- data.tar.gz: 96ea30217136515624f59aefee3641a8b4093381b9cfeb605d51eed859ea1fa0
3
+ metadata.gz: 1f07ac50f4a3c94b6360b08b139bb0505a669f2204b5fae4de8ffccd93b55ca5
4
+ data.tar.gz: 50b8a9aa2c968eb532c1e798280632b5c65da2291c8528ef8bc386ac1da14792
5
5
  SHA512:
6
- metadata.gz: 9ec5e4f9b70f3566dfa931f6bdd8fbf9c4ccba46ca2c2121dcd414e49714063b65ceb2aeb03e1ec94b529853a3ff0f206cf546a8f1063afeb784d1f1270a74a0
7
- data.tar.gz: f079dec3dcbdc4f95d4d861b842fc25266dd722fc555ee07f68f97cf8278be344f6d7650b97c3e9326e4e360be9b6c60932bdb0294397c884a31f8287b8a2da9
6
+ metadata.gz: e924c0cc676d4eb2fb6048110b98d690166969de4067e30c8644648a85f7c01c524ba256aaafa057741e357e78d6a73b3a35f757972ce310335e314430b4ee29
7
+ data.tar.gz: 04131bd01b573d7c8029b6f536913be58017f5b76d0f534d561e3e7c33e8e3f5b9dba00e51714d7d3c12217bb2292b674723a1b41e95bf9671224edf1799ee75
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2023-07-11)
5
+ ------------------
6
+
7
+ * Feature - API model updated in Amazon Cognito
8
+
4
9
  1.77.0 (2023-07-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.78.0
@@ -216,6 +216,10 @@ module Aws::CognitoIdentityProvider
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -8003,7 +8007,7 @@ module Aws::CognitoIdentityProvider
8003
8007
  params: params,
8004
8008
  config: config)
8005
8009
  context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
8006
- context[:gem_version] = '1.77.0'
8010
+ context[:gem_version] = '1.78.0'
8007
8011
  Seahorse::Client::Request.new(handlers, context)
8008
8012
  end
8009
8013
 
@@ -14,36 +14,39 @@ module Aws::CognitoIdentityProvider
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- 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"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ 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)
29
+ 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
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://cognito-idp.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -995,7 +995,7 @@ module Aws::CognitoIdentityProvider
995
995
  :session,
996
996
  :challenge_parameters,
997
997
  :authentication_result)
998
- SENSITIVE = []
998
+ SENSITIVE = [:session]
999
999
  include Aws::Structure
1000
1000
  end
1001
1001
 
@@ -1454,7 +1454,7 @@ module Aws::CognitoIdentityProvider
1454
1454
  :analytics_metadata,
1455
1455
  :context_data,
1456
1456
  :client_metadata)
1457
- SENSITIVE = [:client_id]
1457
+ SENSITIVE = [:client_id, :challenge_responses, :session]
1458
1458
  include Aws::Structure
1459
1459
  end
1460
1460
 
@@ -1498,7 +1498,7 @@ module Aws::CognitoIdentityProvider
1498
1498
  :session,
1499
1499
  :challenge_parameters,
1500
1500
  :authentication_result)
1501
- SENSITIVE = []
1501
+ SENSITIVE = [:session]
1502
1502
  include Aws::Structure
1503
1503
  end
1504
1504
 
@@ -1891,7 +1891,7 @@ module Aws::CognitoIdentityProvider
1891
1891
  class AssociateSoftwareTokenRequest < Struct.new(
1892
1892
  :access_token,
1893
1893
  :session)
1894
- SENSITIVE = [:access_token]
1894
+ SENSITIVE = [:access_token, :session]
1895
1895
  include Aws::Structure
1896
1896
  end
1897
1897
 
@@ -1911,7 +1911,7 @@ module Aws::CognitoIdentityProvider
1911
1911
  class AssociateSoftwareTokenResponse < Struct.new(
1912
1912
  :secret_code,
1913
1913
  :session)
1914
- SENSITIVE = [:secret_code]
1914
+ SENSITIVE = [:secret_code, :session]
1915
1915
  include Aws::Structure
1916
1916
  end
1917
1917
 
@@ -5195,7 +5195,7 @@ module Aws::CognitoIdentityProvider
5195
5195
  :session,
5196
5196
  :challenge_parameters,
5197
5197
  :authentication_result)
5198
- SENSITIVE = []
5198
+ SENSITIVE = [:session]
5199
5199
  include Aws::Structure
5200
5200
  end
5201
5201
 
@@ -6593,7 +6593,7 @@ module Aws::CognitoIdentityProvider
6593
6593
  :analytics_metadata,
6594
6594
  :user_context_data,
6595
6595
  :client_metadata)
6596
- SENSITIVE = [:client_id]
6596
+ SENSITIVE = [:client_id, :session, :challenge_responses]
6597
6597
  include Aws::Structure
6598
6598
  end
6599
6599
 
@@ -6636,7 +6636,7 @@ module Aws::CognitoIdentityProvider
6636
6636
  :session,
6637
6637
  :challenge_parameters,
6638
6638
  :authentication_result)
6639
- SENSITIVE = []
6639
+ SENSITIVE = [:session]
6640
6640
  include Aws::Structure
6641
6641
  end
6642
6642
 
@@ -9681,7 +9681,7 @@ module Aws::CognitoIdentityProvider
9681
9681
  :session,
9682
9682
  :user_code,
9683
9683
  :friendly_device_name)
9684
- SENSITIVE = [:access_token]
9684
+ SENSITIVE = [:access_token, :session]
9685
9685
  include Aws::Structure
9686
9686
  end
9687
9687
 
@@ -9699,7 +9699,7 @@ module Aws::CognitoIdentityProvider
9699
9699
  class VerifySoftwareTokenResponse < Struct.new(
9700
9700
  :status,
9701
9701
  :session)
9702
- SENSITIVE = []
9702
+ SENSITIVE = [:session]
9703
9703
  include Aws::Structure
9704
9704
  end
9705
9705
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
52
52
  # @!group service
53
53
  module Aws::CognitoIdentityProvider
54
54
 
55
- GEM_VERSION = '1.77.0'
55
+ GEM_VERSION = '1.78.0'
56
56
 
57
57
  end
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.77.0
4
+ version: 1.78.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: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core