aws-sdk-s3 1.199.0 → 1.199.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffda0f4ecb81969c1c783ca56f099b78bc0353a07874164983d1d39cedeaef64
4
- data.tar.gz: f9ecf4f1772d4f071b4e845fc30095a57ebe3eacfa2d5e46219514e09a46e6bb
3
+ metadata.gz: 8efe40f953e63f4a396ff665d16447df9efd68b748c5a3e84df1eb3e5f409c86
4
+ data.tar.gz: e1960dc386627ee1fafd1d49c8f28af41e79a99c301bc6d45886ecebe7dfe65c
5
5
  SHA512:
6
- metadata.gz: 6aac2b06b2fcc2e59b7f8264438098d40674cefb8399bfab2b775f284cabc14f82e9b124836fead306e102a20b400f789f192d34e7f388fcb83d4659a839c083
7
- data.tar.gz: a22e4f47897670b4f83145c6ddc294ab3f5e1dc00d19596490fb653dcf8810d8e21a131c29b74c2a78863a54a3b4f6f006459dffa58cc046e61fc99f5bba997e
6
+ metadata.gz: 90ab3030dae414f3a8dc714a38f2d460d44c44142371e5d4505a645f141e25b23386014d5c1f0c0a5378b013dbcf9c600aececa9f43abae78a40baa27a539770
7
+ data.tar.gz: 13e4abf112361ada24e89c75bdfcbc2484eefedc7364ab6eeb0b4a00b3f8744588d4ccca123081515f36470e1770a09bb97e9d922aaeb6799e97dfbfdced50be
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.199.1 (2025-09-25)
5
+ ------------------
6
+
7
+ * Issue - Update `TransferManager#download_file` and `Object#download_file` documentation regarding temporary file usage and failure handling for different destination types.
8
+
4
9
  1.199.0 (2025-09-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.199.0
1
+ 1.199.1
@@ -21735,7 +21735,7 @@ module Aws::S3
21735
21735
  tracer: tracer
21736
21736
  )
21737
21737
  context[:gem_name] = 'aws-sdk-s3'
21738
- context[:gem_version] = '1.199.0'
21738
+ context[:gem_version] = '1.199.1'
21739
21739
  Seahorse::Client::Request.new(handlers, context)
21740
21740
  end
21741
21741
 
@@ -491,7 +491,13 @@ module Aws
491
491
  # @param [String, Pathname, File, Tempfile] destination
492
492
  # Where to download the file to. This can either be a String or Pathname to the file, an open File object,
493
493
  # or an open Tempfile object. If you pass an open File or Tempfile object, then you are responsible for
494
- # closing it after the download completes.
494
+ # closing it after the download completes. Download behavior varies by destination type:
495
+ #
496
+ # * **String/Pathname paths**: Downloads to a temporary file first, then atomically moves to the final
497
+ # destination. This prevents corruption of any existing file if the download fails.
498
+ # * **File/Tempfile objects**: Downloads directly to the file object without using temporary files.
499
+ # You are responsible for managing the file object's state and closing it after the download completes.
500
+ # If the download fails, the file object may contain partial data.
495
501
  #
496
502
  # @param [Hash] options
497
503
  # Additional options for {Client#get_object} and #{Client#head_object} may be provided.
@@ -48,7 +48,13 @@ module Aws
48
48
  # @param [String, Pathname, File, Tempfile] destination
49
49
  # Where to download the file to. This can either be a String or Pathname to the file, an open File object,
50
50
  # or an open Tempfile object. If you pass an open File or Tempfile object, then you are responsible for
51
- # closing it after the download completes.
51
+ # closing it after the download completes. Download behavior varies by destination type:
52
+ #
53
+ # * **String/Pathname paths**: Downloads to a temporary file first, then atomically moves to the final
54
+ # destination. This prevents corruption of any existing file if the download fails.
55
+ # * **File/Tempfile objects**: Downloads directly to the file object without using temporary files.
56
+ # You are responsible for managing the file object's state and closing it after the download completes.
57
+ # If the download fails, the file object may contain partial data.
52
58
  #
53
59
  # @param [String] bucket
54
60
  # The name of the S3 bucket to upload to.
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.199.0'
78
+ GEM_VERSION = '1.199.1'
79
79
 
80
80
  end
81
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.199.0
4
+ version: 1.199.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services