aws-sdk-s3 1.196.1 → 1.213.0
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 +4 -4
- data/CHANGELOG.md +116 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +17 -17
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/bucket_versioning.rb +33 -0
- data/lib/aws-sdk-s3/client.rb +1271 -453
- data/lib/aws-sdk-s3/client_api.rb +115 -0
- data/lib/aws-sdk-s3/customizations/object.rb +39 -24
- data/lib/aws-sdk-s3/customizations.rb +3 -1
- data/lib/aws-sdk-s3/default_executor.rb +103 -0
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/client.rb +98 -23
- data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
- data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
- data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +8 -0
- data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
- data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
- data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
- data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
- data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
- data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
- data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
- data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
- data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
- data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
- data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
- data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
- data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
- data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
- data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
- data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
- data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
- data/lib/aws-sdk-s3/endpoint_provider.rb +241 -68
- data/lib/aws-sdk-s3/endpoints.rb +39 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/file_downloader.rb +192 -104
- data/lib/aws-sdk-s3/file_uploader.rb +17 -13
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +82 -69
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
- data/lib/aws-sdk-s3/multipart_upload.rb +12 -12
- data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
- data/lib/aws-sdk-s3/object.rb +88 -59
- data/lib/aws-sdk-s3/object_acl.rb +5 -5
- data/lib/aws-sdk-s3/object_summary.rb +70 -41
- data/lib/aws-sdk-s3/object_version.rb +23 -25
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +18 -5
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +58 -34
- data/lib/aws-sdk-s3/transfer_manager.rb +321 -0
- data/lib/aws-sdk-s3/types.rb +687 -330
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -1
- data/sig/client.rbs +62 -12
- data/sig/errors.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +7 -5
- data/sig/object_summary.rbs +7 -5
- data/sig/types.rbs +84 -14
- metadata +21 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 438515448f62837952b523ea5cb8f41592cb39e2afa557b30c33c521a307db0c
|
|
4
|
+
data.tar.gz: fcb1cc7e9cc73429393692857809f2dc156bec4e6b93eba0ccf7824e4ede0d35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d2ae919bc1d2e451538e35c2e4a61ed087266cf4b3205eb64aba047a6a75039e2c431cd74844a71176eec93ec3b9fbe387effd734c3342c7aef76a4571c949d
|
|
7
|
+
data.tar.gz: cf67bd5b39c6cd5264a86f71103324c6f19bca24b7ff355b1ab81a70a4d9f2d41c195043e96fcf56f6fcba563f7161b7e17ecd163fd53a941b096bfb3f8b5410
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,122 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.213.0 (2026-01-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for the UpdateObjectEncryption API to change the server-side encryption type of objects in general purpose buckets.
|
|
8
|
+
|
|
9
|
+
1.212.0 (2026-01-16)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.211.0 (2026-01-08)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
* Issue - Falls back to header request checksums when using custom endpoints or endpoint providers for PutObject and UploadPart operations.
|
|
20
|
+
|
|
21
|
+
1.210.1 (2026-01-06)
|
|
22
|
+
------------------
|
|
23
|
+
|
|
24
|
+
* Issue - Normalize response encoding to UTF-8 for proper XML error parsing in HTTP 200 responses.
|
|
25
|
+
|
|
26
|
+
1.210.0 (2026-01-05)
|
|
27
|
+
------------------
|
|
28
|
+
|
|
29
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
30
|
+
|
|
31
|
+
* Feature - Added `:http_chunk_size` parameter to `TransferManager#upload_file` to control the buffer size when streaming request bodies over HTTP. Larger chunk sizes may improve network throughput at the cost of higher memory usage (Ruby MRI only).
|
|
32
|
+
|
|
33
|
+
* Feature - Improved memory efficiency when calculating request checksums for large file uploads (Ruby MRI only).
|
|
34
|
+
|
|
35
|
+
1.209.0 (2025-12-23)
|
|
36
|
+
------------------
|
|
37
|
+
|
|
38
|
+
* Feature - Add additional validation to Outpost bucket names.
|
|
39
|
+
|
|
40
|
+
1.208.0 (2025-12-16)
|
|
41
|
+
------------------
|
|
42
|
+
|
|
43
|
+
* Feature - Updates to the S3 Encryption Client. The V3 S3 Encryption Client now requires key committing algorithm suites by default.
|
|
44
|
+
|
|
45
|
+
1.207.0 (2025-12-15)
|
|
46
|
+
------------------
|
|
47
|
+
|
|
48
|
+
* Feature - This release adds support for the new optional field 'LifecycleExpirationDate' in S3 Inventory configurations.
|
|
49
|
+
|
|
50
|
+
1.206.0 (2025-12-02)
|
|
51
|
+
------------------
|
|
52
|
+
|
|
53
|
+
* Feature - New S3 Storage Class FSX_ONTAP
|
|
54
|
+
|
|
55
|
+
1.205.0 (2025-11-20)
|
|
56
|
+
------------------
|
|
57
|
+
|
|
58
|
+
* Feature - Enable / Disable ABAC on a general purpose bucket.
|
|
59
|
+
|
|
60
|
+
1.204.0 (2025-11-19)
|
|
61
|
+
------------------
|
|
62
|
+
|
|
63
|
+
* Feature - Adds support for blocking SSE-C writes to general purpose buckets.
|
|
64
|
+
|
|
65
|
+
1.203.1 (2025-11-10)
|
|
66
|
+
------------------
|
|
67
|
+
|
|
68
|
+
* Issue - Deprecated `:checksum_mode` parameter in `FileDownloader#download`. When set to "DISABLED", a deprecation warning is issued and the parameter is ignored. Use `:response_checksum_validation` on the S3 client instead to control checksum validation behavior.
|
|
69
|
+
|
|
70
|
+
1.203.0 (2025-11-05)
|
|
71
|
+
------------------
|
|
72
|
+
|
|
73
|
+
* Feature - Launch IPv6 dual-stack support for S3 Express
|
|
74
|
+
|
|
75
|
+
1.202.0 (2025-10-28)
|
|
76
|
+
------------------
|
|
77
|
+
|
|
78
|
+
* Feature - Amazon Simple Storage Service / Features: Add conditional writes in CopyObject on destination key to prevent unintended object modifications.
|
|
79
|
+
|
|
80
|
+
1.201.0 (2025-10-21)
|
|
81
|
+
------------------
|
|
82
|
+
|
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
84
|
+
|
|
85
|
+
* Issue - Fix multipart upload to respect `request_checksum_calculation` `when_required` mode.
|
|
86
|
+
|
|
87
|
+
1.200.0 (2025-10-15)
|
|
88
|
+
------------------
|
|
89
|
+
|
|
90
|
+
* Feature - Add lightweight thread pool executor for multipart `download_file`, `upload_file` and `upload_stream`.
|
|
91
|
+
|
|
92
|
+
* Feature - Add custom executor support for `Aws::S3::TransferManager`.
|
|
93
|
+
|
|
94
|
+
1.199.1 (2025-09-25)
|
|
95
|
+
------------------
|
|
96
|
+
|
|
97
|
+
* Issue - Update `TransferManager#download_file` and `Object#download_file` documentation regarding temporary file usage and failure handling for different destination types.
|
|
98
|
+
|
|
99
|
+
1.199.0 (2025-09-08)
|
|
100
|
+
------------------
|
|
101
|
+
|
|
102
|
+
* Feature - This release includes backward compatibility work on the "Expires" parameter.
|
|
103
|
+
|
|
104
|
+
1.198.0 (2025-08-26)
|
|
105
|
+
------------------
|
|
106
|
+
|
|
107
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
108
|
+
|
|
109
|
+
* Issue - Fix multipart `download_file` to support `Pathname`, `File` and `Tempfile` objects as download destinations.
|
|
110
|
+
|
|
111
|
+
1.197.0 (2025-08-19)
|
|
112
|
+
------------------
|
|
113
|
+
|
|
114
|
+
* Issue - When multipart stream uploader fails to complete multipart upload, it calls abort multipart upload.
|
|
115
|
+
|
|
116
|
+
* Issue - For `Aws::S3::Object` class, the following methods have been deprecated: `download_file`, `upload_file` and `upload_stream`. Use `Aws::S3::TransferManager` instead.
|
|
117
|
+
|
|
118
|
+
* Feature - Add `Aws::S3::TransferManager`, a S3 transfer utility that provides upload/download capabilities with automatic multipart handling, progress tracking, and handling of large files.
|
|
119
|
+
|
|
4
120
|
1.196.1 (2025-08-05)
|
|
5
121
|
------------------
|
|
6
122
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.213.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
|
@@ -446,10 +446,10 @@ module Aws::S3
|
|
|
446
446
|
# Confirms that the requester knows that they will be charged for the
|
|
447
447
|
# request. Bucket owners need not specify this parameter in their
|
|
448
448
|
# requests. If either the source or destination S3 bucket has Requester
|
|
449
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
450
|
-
#
|
|
451
|
-
#
|
|
452
|
-
#
|
|
449
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
450
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
451
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
452
|
+
# S3 User Guide*.
|
|
453
453
|
#
|
|
454
454
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
455
455
|
#
|
|
@@ -545,7 +545,7 @@ module Aws::S3
|
|
|
545
545
|
# "MetadataKey" => "MetadataValue",
|
|
546
546
|
# },
|
|
547
547
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
548
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
|
|
548
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
549
549
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
550
550
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
551
551
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1081,10 +1081,10 @@ module Aws::S3
|
|
|
1081
1081
|
# Confirms that the requester knows that they will be charged for the
|
|
1082
1082
|
# request. Bucket owners need not specify this parameter in their
|
|
1083
1083
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1084
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1085
|
-
#
|
|
1086
|
-
#
|
|
1087
|
-
#
|
|
1084
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1085
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1086
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1087
|
+
# S3 User Guide*.
|
|
1088
1088
|
#
|
|
1089
1089
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1090
1090
|
#
|
|
@@ -1291,10 +1291,10 @@ module Aws::S3
|
|
|
1291
1291
|
# Confirms that the requester knows that they will be charged for the
|
|
1292
1292
|
# request. Bucket owners need not specify this parameter in their
|
|
1293
1293
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1294
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1295
|
-
#
|
|
1296
|
-
#
|
|
1297
|
-
#
|
|
1294
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1295
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1296
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1297
|
+
# S3 User Guide*.
|
|
1298
1298
|
#
|
|
1299
1299
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1300
1300
|
#
|
|
@@ -1408,10 +1408,10 @@ module Aws::S3
|
|
|
1408
1408
|
# Confirms that the requester knows that they will be charged for the
|
|
1409
1409
|
# request. Bucket owners need not specify this parameter in their
|
|
1410
1410
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1411
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1411
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1412
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1413
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1414
|
+
# S3 User Guide*.
|
|
1415
1415
|
#
|
|
1416
1416
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1417
1417
|
#
|
|
@@ -227,6 +227,17 @@ module Aws::S3
|
|
|
227
227
|
# @option options [String] :mfa
|
|
228
228
|
# The concatenation of the authentication device's serial number, a
|
|
229
229
|
# space, and the value that is displayed on your authentication device.
|
|
230
|
+
# The serial number is the number that uniquely identifies the MFA
|
|
231
|
+
# device. For physical MFA devices, this is the unique serial number
|
|
232
|
+
# that's provided with the device. For virtual MFA devices, the serial
|
|
233
|
+
# number is the device ARN. For more information, see [Enabling
|
|
234
|
+
# versioning on buckets][1] and [Configuring MFA delete][2] in the
|
|
235
|
+
# *Amazon Simple Storage Service User Guide*.
|
|
236
|
+
#
|
|
237
|
+
#
|
|
238
|
+
#
|
|
239
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html
|
|
240
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html
|
|
230
241
|
# @option options [String] :expected_bucket_owner
|
|
231
242
|
# The account ID of the expected bucket owner. If the account ID that
|
|
232
243
|
# you provide does not match the actual owner of the bucket, the request
|
|
@@ -289,6 +300,17 @@ module Aws::S3
|
|
|
289
300
|
# @option options [String] :mfa
|
|
290
301
|
# The concatenation of the authentication device's serial number, a
|
|
291
302
|
# space, and the value that is displayed on your authentication device.
|
|
303
|
+
# The serial number is the number that uniquely identifies the MFA
|
|
304
|
+
# device. For physical MFA devices, this is the unique serial number
|
|
305
|
+
# that's provided with the device. For virtual MFA devices, the serial
|
|
306
|
+
# number is the device ARN. For more information, see [Enabling
|
|
307
|
+
# versioning on buckets][1] and [Configuring MFA delete][2] in the
|
|
308
|
+
# *Amazon Simple Storage Service User Guide*.
|
|
309
|
+
#
|
|
310
|
+
#
|
|
311
|
+
#
|
|
312
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html
|
|
313
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html
|
|
292
314
|
# @option options [required, Types::VersioningConfiguration] :versioning_configuration
|
|
293
315
|
# Container for setting the versioning state.
|
|
294
316
|
# @option options [String] :expected_bucket_owner
|
|
@@ -344,6 +366,17 @@ module Aws::S3
|
|
|
344
366
|
# @option options [String] :mfa
|
|
345
367
|
# The concatenation of the authentication device's serial number, a
|
|
346
368
|
# space, and the value that is displayed on your authentication device.
|
|
369
|
+
# The serial number is the number that uniquely identifies the MFA
|
|
370
|
+
# device. For physical MFA devices, this is the unique serial number
|
|
371
|
+
# that's provided with the device. For virtual MFA devices, the serial
|
|
372
|
+
# number is the device ARN. For more information, see [Enabling
|
|
373
|
+
# versioning on buckets][1] and [Configuring MFA delete][2] in the
|
|
374
|
+
# *Amazon Simple Storage Service User Guide*.
|
|
375
|
+
#
|
|
376
|
+
#
|
|
377
|
+
#
|
|
378
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html
|
|
379
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html
|
|
347
380
|
# @option options [String] :expected_bucket_owner
|
|
348
381
|
# The account ID of the expected bucket owner. If the account ID that
|
|
349
382
|
# you provide does not match the actual owner of the bucket, the request
|