aws-sdk-s3 1.146.0 → 1.147.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: 8cce0ddd011617e3a15f4cb1464889a47d48f05fdaf43646dcb36a5eb4b9665e
4
- data.tar.gz: dc2ccdaa403c4d7c9cfe1eb085699cf1d88fb8db028466bcfef132214a5e74db
3
+ metadata.gz: a53a99ccca2522053de21bfdf31e17a700464dcc70688283d438b987b1e8098d
4
+ data.tar.gz: 2edaadc220c24d5d3493841421b9760c2202e7b14aa78e58eb6bb33554f46650
5
5
  SHA512:
6
- metadata.gz: f2dc083affe7245a9ba3c60ecaef2005b1ca390c0c98462319ba90710145932283520974bcb69bbe52f7d9ecf8bae930aadece66b599b3596b772f04b1176ad6
7
- data.tar.gz: ed714310763321fd85aaf09901f3bea4079f08ba6f1717e3bb5fcd22638159e1f9dd54a709e8f562e587deec63cb0b5904f4b37ceb9fdd15b29f35ea7ccede10
6
+ metadata.gz: 822936b8f7a5f6b51baa737b7628ef9e6c584bafca53d648c99684cb6db92b3a6fea98a91ddcce1b2479e7050cccb59045f062cc73f9d889911013684ba7b3df
7
+ data.tar.gz: 13107a5c2aa6fb081e943340433a72dabad53ee6800e841eff965662c135aac1307664ea855def95c610421886314148067972e6dd78f1f0dc9510671ccfa331
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.147.0 (2024-04-16)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Omit `ContentType` plugin when generating presigned url.
10
+
11
+ 1.146.1 (2024-03-28)
12
+ ------------------
13
+
14
+ * Issue - Fix bug where thread_count option was not being respected for multipart uploads.
15
+
4
16
  1.146.0 (2024-03-18)
5
17
  ------------------
6
18
 
@@ -21,6 +33,7 @@ Unreleased Changes
21
33
 
22
34
  * Issue - Include original part errors in message when aborting multipart upload fails (#2990).
23
35
 
36
+
24
37
  1.143.0 (2024-01-26)
25
38
  ------------------
26
39
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.0
1
+ 1.147.0
@@ -18792,7 +18792,7 @@ module Aws::S3
18792
18792
  params: params,
18793
18793
  config: config)
18794
18794
  context[:gem_name] = 'aws-sdk-s3'
18795
- context[:gem_version] = '1.146.0'
18795
+ context[:gem_version] = '1.147.0'
18796
18796
  Seahorse::Client::Request.new(handlers, context)
18797
18797
  end
18798
18798
 
@@ -440,7 +440,7 @@ module Aws::S3
440
440
  PartNumber = Shapes::IntegerShape.new(name: 'PartNumber')
441
441
  PartNumberMarker = Shapes::IntegerShape.new(name: 'PartNumberMarker')
442
442
  PartitionDateSource = Shapes::StringShape.new(name: 'PartitionDateSource')
443
- PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix')
443
+ PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix', locationName: "PartitionedPrefix")
444
444
  Parts = Shapes::ListShape.new(name: 'Parts', flattened: true)
445
445
  PartsCount = Shapes::IntegerShape.new(name: 'PartsCount')
446
446
  PartsList = Shapes::ListShape.new(name: 'PartsList', flattened: true)
@@ -546,10 +546,10 @@ module Aws::S3
546
546
  SSECustomerAlgorithm = Shapes::StringShape.new(name: 'SSECustomerAlgorithm')
547
547
  SSECustomerKey = Shapes::StringShape.new(name: 'SSECustomerKey')
548
548
  SSECustomerKeyMD5 = Shapes::StringShape.new(name: 'SSECustomerKeyMD5')
549
- SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS')
549
+ SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS', locationName: "SSE-KMS")
550
550
  SSEKMSEncryptionContext = Shapes::StringShape.new(name: 'SSEKMSEncryptionContext')
551
551
  SSEKMSKeyId = Shapes::StringShape.new(name: 'SSEKMSKeyId')
552
- SSES3 = Shapes::StructureShape.new(name: 'SSES3')
552
+ SSES3 = Shapes::StructureShape.new(name: 'SSES3', locationName: "SSE-S3")
553
553
  ScanRange = Shapes::StructureShape.new(name: 'ScanRange')
554
554
  SelectObjectContentEventStream = Shapes::StructureShape.new(name: 'SelectObjectContentEventStream')
555
555
  SelectObjectContentOutput = Shapes::StructureShape.new(name: 'SelectObjectContentOutput')
@@ -565,7 +565,7 @@ module Aws::S3
565
565
  SessionExpiration = Shapes::TimestampShape.new(name: 'SessionExpiration')
566
566
  SessionMode = Shapes::StringShape.new(name: 'SessionMode')
567
567
  Setting = Shapes::BooleanShape.new(name: 'Setting')
568
- SimplePrefix = Shapes::StructureShape.new(name: 'SimplePrefix')
568
+ SimplePrefix = Shapes::StructureShape.new(name: 'SimplePrefix', locationName: "SimplePrefix")
569
569
  Size = Shapes::IntegerShape.new(name: 'Size')
570
570
  SkipValidation = Shapes::BooleanShape.new(name: 'SkipValidation')
571
571
  SourceSelectionCriteria = Shapes::StructureShape.new(name: 'SourceSelectionCriteria')
@@ -147,7 +147,7 @@ module Aws
147
147
  if (callback = options[:progress_callback])
148
148
  progress = MultipartProgress.new(pending, callback)
149
149
  end
150
- @thread_count.times do
150
+ options.fetch(:thread_count, @thread_count).times do
151
151
  thread = Thread.new do
152
152
  begin
153
153
  while part = pending.shift
@@ -43,6 +43,7 @@ module Aws
43
43
 
44
44
  # @option options [required,String] :bucket
45
45
  # @option options [required,String] :key
46
+ # @option options [Integer] :thread_count (THREAD_COUNT)
46
47
  # @return [Seahorse::Client::Response] - the CompleteMultipartUploadResponse
47
48
  def upload(options = {}, &block)
48
49
  Aws::Plugins::UserAgent.feature('s3-transfer') do
@@ -152,7 +153,7 @@ module Aws
152
153
  def upload_in_threads(read_pipe, completed, options, thread_errors)
153
154
  mutex = Mutex.new
154
155
  part_number = 0
155
- @thread_count.times.map do
156
+ options.fetch(:thread_count, @thread_count).times.map do
156
157
  thread = Thread.new do
157
158
  begin
158
159
  loop do
@@ -199,6 +199,7 @@ module Aws
199
199
  req.handlers.remove(Aws::S3::Plugins::S3Signer::LegacyHandler)
200
200
  req.handlers.remove(Aws::Plugins::Sign::Handler)
201
201
  req.handlers.remove(Seahorse::Client::Plugins::ContentLength::Handler)
202
+ req.handlers.remove(Aws::Rest::ContentTypeHandler)
202
203
 
203
204
  req.handle(step: :send) do |context|
204
205
  # if an endpoint was not provided, force secure or insecure
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.146.0'
76
+ GEM_VERSION = '1.147.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.146.0
4
+ version: 1.147.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-03-18 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.191.0
50
+ version: 3.192.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 3.191.0
60
+ version: 3.192.0
61
61
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
62
62
  This gem is part of the AWS SDK for Ruby.
63
63
  email: