aws-sdk-cognitoidentity 1.67.0 → 1.68.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: f88495e5c853375140e60a52ebe1d59df27ff9fad71037aa7ada027dbca07b4e
4
- data.tar.gz: 3da9850e3bba921d5b1f7e56c756f6bc280d9434382512a20a3e57d01b0dad99
3
+ metadata.gz: 6f03a11dd493546fd469989d206bf55b647d10f7a92307791477f142dbed73e3
4
+ data.tar.gz: e12430cb1ef4e061b34519fea7a51c125c4e0284cece532a250c28a1e259bb2b
5
5
  SHA512:
6
- metadata.gz: 2f8ff9ac8c6e897e65dc96c090963360167398d083d7412e247036964d7ca3882bd762719c2830526299f352f4cc792a7cfbb34c98e0acdef08cb5967175eb1e
7
- data.tar.gz: 3ae3649c3bb7f95b1980b8e0c70a1635a733f8805c5ba3af77675fe95408c1c910f36b77676bbaf24c71bfaecae04dceac22982c63353b8167ce62cfc563a548
6
+ metadata.gz: 68510d2163fb636808468731247af2f04a656b0abd4f0d259588e5932f8a9b8de6673e9348c22d23af4d1e612b57daf211f5811d05fa0b93a80476bb07684704
7
+ data.tar.gz: 23b55f4116d4e012e6ede114e73ee428673916c23ae8db709329e850cfad968097093a9318bc30ad4463530047341895961db265ca5d4755768ab12ebb16519b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - corrects the dual-stack endpoint configuration
8
+
4
9
  1.67.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.68.0
@@ -257,11 +257,34 @@ module Aws::CognitoIdentity
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -1729,7 +1752,7 @@ module Aws::CognitoIdentity
1729
1752
  tracer: tracer
1730
1753
  )
1731
1754
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1732
- context[:gem_version] = '1.67.0'
1755
+ context[:gem_version] = '1.68.0'
1733
1756
  Seahorse::Client::Request.new(handlers, context)
1734
1757
  end
1735
1758
 
@@ -27,6 +27,18 @@ module Aws::CognitoIdentity
27
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
28
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
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
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-east-1")
31
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-east-2")
34
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
35
+ end
36
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-west-1")
37
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-west-2")
40
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
41
+ end
30
42
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
43
  end
32
44
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
@@ -39,6 +51,9 @@ module Aws::CognitoIdentity
39
51
  end
40
52
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
53
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
54
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
55
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity.#{region}.amazonaws.com", headers: {}, properties: {})
56
+ end
42
57
  return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
58
  end
44
59
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -54,7 +54,7 @@ module Aws::CognitoIdentity
54
54
  autoload :EndpointProvider, 'aws-sdk-cognitoidentity/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-cognitoidentity/endpoints'
56
56
 
57
- GEM_VERSION = '1.67.0'
57
+ GEM_VERSION = '1.68.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.68.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement