aws-sdk-cognitoidentityprovider 1.77.0 → 1.79.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: 4229ccfeb2dbbdd3c04cb8c40da0768800ab7c5890e785bff5090dd9cfc5da59
4
+ data.tar.gz: 89c916f358e47c2be51f8dd4bf33c9d2b961c6d15344e915ebca0dddec6f6ecf
5
5
  SHA512:
6
- metadata.gz: 9ec5e4f9b70f3566dfa931f6bdd8fbf9c4ccba46ca2c2121dcd414e49714063b65ceb2aeb03e1ec94b529853a3ff0f206cf546a8f1063afeb784d1f1270a74a0
7
- data.tar.gz: f079dec3dcbdc4f95d4d861b842fc25266dd722fc555ee07f68f97cf8278be344f6d7650b97c3e9326e4e360be9b6c60932bdb0294397c884a31f8287b8a2da9
6
+ metadata.gz: 5cc6a19f32b703a6921797e685b6b7b4612728ca45493007eb29c668c86900675f480b6fc702a19ae21e38bdb413dd2d276906ceb2ed0225f6493ce7c9376774
7
+ data.tar.gz: f72d735ab32bcf5f1003eae62a20c29b3976916ed483d4b76234b5486f0b24d841b53393e35c481402b9ebdf838c21e603ad9cd4e2b2446006b6c9cd88ad5dbc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2023-07-13)
5
+ ------------------
6
+
7
+ * Feature - API model updated in Amazon Cognito
8
+
9
+ 1.78.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - API model updated in Amazon Cognito
13
+
4
14
  1.77.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.79.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.79.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
 
@@ -2320,7 +2320,7 @@ module Aws::CognitoIdentityProvider
2320
2320
  :analytics_metadata,
2321
2321
  :user_context_data,
2322
2322
  :client_metadata)
2323
- SENSITIVE = [:client_id, :secret_hash, :username, :password]
2323
+ SENSITIVE = [:client_id, :secret_hash, :username, :password, :user_context_data]
2324
2324
  include Aws::Structure
2325
2325
  end
2326
2326
 
@@ -2424,7 +2424,7 @@ module Aws::CognitoIdentityProvider
2424
2424
  :analytics_metadata,
2425
2425
  :user_context_data,
2426
2426
  :client_metadata)
2427
- SENSITIVE = [:client_id, :secret_hash, :username]
2427
+ SENSITIVE = [:client_id, :secret_hash, :username, :user_context_data]
2428
2428
  include Aws::Structure
2429
2429
  end
2430
2430
 
@@ -4332,7 +4332,7 @@ module Aws::CognitoIdentityProvider
4332
4332
  :username,
4333
4333
  :analytics_metadata,
4334
4334
  :client_metadata)
4335
- SENSITIVE = [:client_id, :secret_hash, :username]
4335
+ SENSITIVE = [:client_id, :secret_hash, :user_context_data, :username]
4336
4336
  include Aws::Structure
4337
4337
  end
4338
4338
 
@@ -5091,7 +5091,7 @@ module Aws::CognitoIdentityProvider
5091
5091
  :client_id,
5092
5092
  :analytics_metadata,
5093
5093
  :user_context_data)
5094
- SENSITIVE = [:auth_parameters, :client_id]
5094
+ SENSITIVE = [:auth_parameters, :client_id, :user_context_data]
5095
5095
  include Aws::Structure
5096
5096
  end
5097
5097
 
@@ -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
 
@@ -6370,7 +6370,7 @@ module Aws::CognitoIdentityProvider
6370
6370
  :username,
6371
6371
  :analytics_metadata,
6372
6372
  :client_metadata)
6373
- SENSITIVE = [:client_id, :secret_hash, :username]
6373
+ SENSITIVE = [:client_id, :secret_hash, :user_context_data, :username]
6374
6374
  include Aws::Structure
6375
6375
  end
6376
6376
 
@@ -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, :user_context_data]
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
 
@@ -7154,7 +7154,7 @@ module Aws::CognitoIdentityProvider
7154
7154
  :analytics_metadata,
7155
7155
  :user_context_data,
7156
7156
  :client_metadata)
7157
- SENSITIVE = [:client_id, :secret_hash, :username, :password]
7157
+ SENSITIVE = [:client_id, :secret_hash, :username, :password, :user_context_data]
7158
7158
  include Aws::Structure
7159
7159
  end
7160
7160
 
@@ -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, :user_code]
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.79.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.79.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-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core