aws-sdk-cognitoidentityprovider 1.76.0 → 1.78.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +16 -1
- data/lib/aws-sdk-cognitoidentityprovider/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +10 -10
- 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: 1f07ac50f4a3c94b6360b08b139bb0505a669f2204b5fae4de8ffccd93b55ca5
|
4
|
+
data.tar.gz: 50b8a9aa2c968eb532c1e798280632b5c65da2291c8528ef8bc386ac1da14792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e924c0cc676d4eb2fb6048110b98d690166969de4067e30c8644648a85f7c01c524ba256aaafa057741e357e78d6a73b3a35f757972ce310335e314430b4ee29
|
7
|
+
data.tar.gz: 04131bd01b573d7c8029b6f536913be58017f5b76d0f534d561e3e7c33e8e3f5b9dba00e51714d7d3c12217bb2292b674723a1b41e95bf9671224edf1799ee75
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.77.0 (2023-07-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.76.0 (2023-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::CognitoIdentityProvider
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::CognitoIdentityProvider
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -210,6 +216,10 @@ module Aws::CognitoIdentityProvider
|
|
210
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
211
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
212
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
|
+
#
|
213
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
214
224
|
# The log formatter.
|
215
225
|
#
|
@@ -230,6 +240,11 @@ module Aws::CognitoIdentityProvider
|
|
230
240
|
# Used when loading credentials from the shared credentials file
|
231
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
233
248
|
# @option options [Proc] :retry_backoff
|
234
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -7992,7 +8007,7 @@ module Aws::CognitoIdentityProvider
|
|
7992
8007
|
params: params,
|
7993
8008
|
config: config)
|
7994
8009
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
7995
|
-
context[:gem_version] = '1.
|
8010
|
+
context[:gem_version] = '1.78.0'
|
7996
8011
|
Seahorse::Client::Request.new(handlers, context)
|
7997
8012
|
end
|
7998
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
|
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
|
-
|
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
|
-
|
41
|
-
|
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
|
-
|
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
|
|
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.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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.177.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|