aws-sdk-core 3.175.0 → 3.176.1

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: 00b5dd5634edc052e3a3b44da5f1d06a96c5897585de71fe994130a991bf7cee
4
- data.tar.gz: 4aab11d507d492ed8b2eec6123bb9170c5271c40b42afb026dd844dbb082786f
3
+ metadata.gz: f6a876821436f937b2d49db79cb78a374e24cdb7dad61715d4113a9558930bb5
4
+ data.tar.gz: ed84f2f3a77a651c58cb0cc71f66483b20e1f96f6e8f7b6b2001301263136845
5
5
  SHA512:
6
- metadata.gz: e85525d950b0e7dbe029a0b8c45661edf1ed398d32f4e63b2f0641d6febbdfee370701309719146e5da98415233d2a978fc88905e4fc1073cd95dca42cd13eff
7
- data.tar.gz: 3a9c20834b4b0f8faf9fdbc3963156cf996719f1f1051ae4b8e251f5f32ec45a7f072b9c0f007cbbeabcc6496aa6f473f840ee338d97e3f227b72217d53f2cba
6
+ metadata.gz: 7391d189f34826cb514a222724eff6f4b1cee8d97d7be3ca9891b689ea854ee6175549e409933ceb2da3d54d6a5b18e8ce132a442b1ddb3a32b7c9922486df44
7
+ data.tar.gz: bf69da8132d6940fb7d49742a22803160f5fb8d4e8cf90665e557af50cbbfec0f83756f4a5df40e378495eac88950c242937b7fbacf9e16d9b937b531f67df9e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 3.176.1 (2023-06-29)
5
+ ------------------
6
+
7
+ * Issue - Fix signing for S3/S3 Control and `aws-crt` gem for certain object keys (#2849).
8
+
9
+ * Issue - Ensure `SSOCredentials` `#expiration` is a `Time` (#2874)
10
+
11
+ 3.176.0 (2023-06-28)
12
+ ------------------
13
+
14
+ * Feature - Add :expiration accessor to `CredentialProvider` and do not refresh credentials when checking expiration (#2872).
15
+
4
16
  3.175.0 (2023-06-15)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.175.0
1
+ 3.176.1
@@ -6,6 +6,9 @@ module Aws
6
6
  # @return [Credentials]
7
7
  attr_reader :credentials
8
8
 
9
+ # @param [Time]
10
+ attr_reader :expiration
11
+
9
12
  # @return [Boolean]
10
13
  def set?
11
14
  !!credentials && credentials.set?
@@ -39,7 +39,11 @@ module Aws
39
39
  auth_scheme = { 'name' => 'sigv4' }
40
40
  merge_signing_defaults(auth_scheme, context.config)
41
41
  when 's3', 's3v4'
42
- auth_scheme = { 'name' => 'sigv4', 'disableDoubleEncoding' => true }
42
+ auth_scheme = {
43
+ 'name' => 'sigv4',
44
+ 'disableDoubleEncoding' => true,
45
+ 'disableNormalizePath' => true
46
+ }
43
47
  merge_signing_defaults(auth_scheme, context.config)
44
48
  when 'bearer'
45
49
  { 'name' => 'bearer' }
@@ -108,6 +108,7 @@ module Aws
108
108
  credentials_provider: config.credentials,
109
109
  signing_algorithm: scheme_name.to_sym,
110
110
  uri_escape_path: !!!auth_scheme['disableDoubleEncoding'],
111
+ normalize_path: !!!auth_scheme['disableNormalizePath'],
111
112
  unsigned_headers: %w[content-length user-agent x-amzn-trace-id]
112
113
  )
113
114
  rescue Aws::Sigv4::Errors::MissingCredentialsError
@@ -36,12 +36,6 @@ module Aws
36
36
  @credentials
37
37
  end
38
38
 
39
- # @return [Time,nil]
40
- def expiration
41
- refresh_if_near_expiration!
42
- @expiration
43
- end
44
-
45
39
  # Refresh credentials.
46
40
  # @return [void]
47
41
  def refresh!
@@ -158,7 +158,7 @@ module Aws
158
158
  c.secret_access_key,
159
159
  c.session_token
160
160
  )
161
- @expiration = c.expiration
161
+ @expiration = Time.at(c.expiration / 1000.0)
162
162
  end
163
163
 
164
164
  def sso_cache_file
@@ -590,7 +590,7 @@ module Aws::SSO
590
590
  params: params,
591
591
  config: config)
592
592
  context[:gem_name] = 'aws-sdk-core'
593
- context[:gem_version] = '3.175.0'
593
+ context[:gem_version] = '3.176.1'
594
594
  Seahorse::Client::Request.new(handlers, context)
595
595
  end
596
596
 
data/lib/aws-sdk-sso.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sso/customizations'
54
54
  # @!group service
55
55
  module Aws::SSO
56
56
 
57
- GEM_VERSION = '3.175.0'
57
+ GEM_VERSION = '3.176.1'
58
58
 
59
59
  end
@@ -586,7 +586,7 @@ module Aws::SSOOIDC
586
586
  params: params,
587
587
  config: config)
588
588
  context[:gem_name] = 'aws-sdk-core'
589
- context[:gem_version] = '3.175.0'
589
+ context[:gem_version] = '3.176.1'
590
590
  Seahorse::Client::Request.new(handlers, context)
591
591
  end
592
592
 
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-ssooidc/customizations'
54
54
  # @!group service
55
55
  module Aws::SSOOIDC
56
56
 
57
- GEM_VERSION = '3.175.0'
57
+ GEM_VERSION = '3.176.1'
58
58
 
59
59
  end
@@ -2319,7 +2319,7 @@ module Aws::STS
2319
2319
  params: params,
2320
2320
  config: config)
2321
2321
  context[:gem_name] = 'aws-sdk-core'
2322
- context[:gem_version] = '3.175.0'
2322
+ context[:gem_version] = '3.176.1'
2323
2323
  Seahorse::Client::Request.new(handlers, context)
2324
2324
  end
2325
2325
 
data/lib/aws-sdk-sts.rb CHANGED
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-sts/customizations'
54
54
  # @!group service
55
55
  module Aws::STS
56
56
 
57
- GEM_VERSION = '3.175.0'
57
+ GEM_VERSION = '3.176.1'
58
58
 
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.175.0
4
+ version: 3.176.1
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-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath