aws-sdk-s3 1.149.0 → 1.150.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: d4d91f16763c42e349f2e6d50ff4f37926096c5148ae5f78b953685e4d2f171e
4
- data.tar.gz: 2e72de55c5c10a86437e89200db3b357bb89f083ca5b1c044c20ed90143b66b4
3
+ metadata.gz: 41399520da04f62c1599a7b75b76f20c7870f86d864e85e5d9c2d03a54c249e6
4
+ data.tar.gz: 3ca62b88c0db37447b083618ca31ba41c9311cf079b89a1713c100fed8236da2
5
5
  SHA512:
6
- metadata.gz: '078c6651b2bc5d4c4cf9abb678303f3dc41250eb24ee66fcbbb22d9c96064dc8dbade173862964021948234fff6e9d38b4a9eb255949891fc047a0b06ac785f6'
7
- data.tar.gz: d17a3204313a0977ee8f108c057fefbcbca80eb48e54e146274be01b9f2d9d4c33502cf2474c49fffe560d4a134d8e985a0f8db7a3f83ff533b898e725236473
6
+ metadata.gz: 0cb666a3f9dbddee3fa0026806badc816d666a8a76bd870439b7acce710c463aa9deef8b592665df6a7691c060ea5d80ca65c8c784342e6085f1da398a7491d8
7
+ data.tar.gz: 75831cc1a6cafa8c7fc9f48fe1bb8c59a6ddaf8d7f469498840e1040e9e20416960c3f76c7e44002408736550d3af6888663e120f777920d2062e30b4d1cff2e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.150.0 (2024-05-13)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.149.1 (2024-05-06)
10
+ ------------------
11
+
12
+ * Issue - Fix bug where destination bucket default encryption was inadvertently overridden by source object encryption.
13
+
4
14
  1.149.0 (2024-04-30)
5
15
  ------------------
6
16
 
@@ -167,7 +177,7 @@ Unreleased Changes
167
177
  1.123.2 (2023-06-12)
168
178
  ------------------
169
179
 
170
- * Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
180
+ * Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
171
181
 
172
182
  1.123.1 (2023-06-02)
173
183
  ------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.149.0
1
+ 1.150.0
@@ -403,8 +403,9 @@ module Aws::S3
403
403
  #
404
404
  # @option options [String] :sdk_ua_app_id
405
405
  # A unique and opaque application ID that is appended to the
406
- # User-Agent header as app/<sdk_ua_app_id>. It should have a
407
- # maximum length of 50.
406
+ # User-Agent header as app/sdk_ua_app_id. It should have a
407
+ # maximum length of 50. This variable is sourced from environment
408
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
408
409
  #
409
410
  # @option options [String] :secret_access_key
410
411
  #
@@ -18827,7 +18828,7 @@ module Aws::S3
18827
18828
  params: params,
18828
18829
  config: config)
18829
18830
  context[:gem_name] = 'aws-sdk-s3'
18830
- context[:gem_version] = '1.149.0'
18831
+ context[:gem_version] = '1.150.0'
18831
18832
  Seahorse::Client::Request.new(handlers, context)
18832
18833
  end
18833
18834
 
@@ -138,9 +138,7 @@ module Aws
138
138
  end
139
139
 
140
140
  def source_metadata(options)
141
- if options[:content_length]
142
- return { content_length: options.delete(:content_length) }
143
- end
141
+ return options.slice(:content_length) if options[:content_length]
144
142
 
145
143
  client = options[:copy_source_client] || @client
146
144
 
@@ -150,11 +148,15 @@ module Aws
150
148
  bucket, key = options[:copy_source].match(/([^\/]+?)\/(.+)/)[1,2]
151
149
  end
152
150
 
153
- key = CGI.unescape(key)
154
- opts = { bucket: bucket, key: key }
155
- opts[:version_id] = version_id if version_id
156
- opts[:part_number] = options[:part_number] if options[:part_number]
157
- client.head_object(opts).to_h
151
+ head_opts = { bucket: bucket, key: CGI.unescape(key) }.tap { |opts|
152
+ opts[:version_id] = version_id if version_id
153
+ opts[:part_number] = options[:part_number] if options[:part_number]
154
+ }
155
+
156
+ client.head_object(head_opts).to_h.tap { |head|
157
+ head.delete(:server_side_encryption)
158
+ head.delete(:ssekms_key_id)
159
+ }
158
160
  end
159
161
 
160
162
  def default_part_size(source_size)
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.149.0'
76
+ GEM_VERSION = '1.150.0'
77
77
 
78
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.149.0
4
+ version: 1.150.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-04-30 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms