aws-sdk-s3 1.191.0 → 1.208.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 +114 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +33 -1
- 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 +1503 -392
- data/lib/aws-sdk-s3/client_api.rb +248 -0
- data/lib/aws-sdk-s3/customizations/object.rb +76 -86
- data/lib/aws-sdk-s3/customizations.rb +4 -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 +220 -50
- data/lib/aws-sdk-s3/endpoints.rb +96 -0
- data/lib/aws-sdk-s3/file_downloader.rb +197 -134
- data/lib/aws-sdk-s3/file_uploader.rb +9 -13
- data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +92 -107
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
- data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
- data/lib/aws-sdk-s3/object.rb +56 -27
- data/lib/aws-sdk-s3/object_acl.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +42 -13
- data/lib/aws-sdk-s3/object_version.rb +7 -9
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
- data/lib/aws-sdk-s3/resource.rb +6 -0
- data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
- data/lib/aws-sdk-s3/types.rb +1179 -260
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +11 -2
- data/sig/client.rbs +127 -13
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +7 -5
- data/sig/object_summary.rbs +7 -5
- data/sig/resource.rbs +8 -1
- data/sig/types.rbs +173 -14
- metadata +22 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8d399e87c3b6a02f60b4fc2efbb7e656af4f8ef66302eec0454129bded2fdb0
|
|
4
|
+
data.tar.gz: 3d348a0ce7abfbc7bfd9210227df82f33d4576f321f9da5374b29f6834e62a38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 525a8c73faf271316eb39fad4880032687e38fc54f452b733c7f161af4e367bf142c73b7218185f5d335219940bce706a5f9884d0716a388a8289a1ea44150f4
|
|
7
|
+
data.tar.gz: ff3d94155efdef438f2db5f4e2a6126590924fb5b712e74981dd174f2e05a7bebcfb1c23e69f00d1aa84b0a1f20415670a630a93ef142472159ee6d8de20df3b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,120 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.208.0 (2025-12-16)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updates to the S3 Encryption Client. The V3 S3 Encryption Client now requires key committing algorithm suites by default.
|
|
8
|
+
|
|
9
|
+
1.207.0 (2025-12-15)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for the new optional field 'LifecycleExpirationDate' in S3 Inventory configurations.
|
|
13
|
+
|
|
14
|
+
1.206.0 (2025-12-02)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - New S3 Storage Class FSX_ONTAP
|
|
18
|
+
|
|
19
|
+
1.205.0 (2025-11-20)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Enable / Disable ABAC on a general purpose bucket.
|
|
23
|
+
|
|
24
|
+
1.204.0 (2025-11-19)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Adds support for blocking SSE-C writes to general purpose buckets.
|
|
28
|
+
|
|
29
|
+
1.203.1 (2025-11-10)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* 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.
|
|
33
|
+
|
|
34
|
+
1.203.0 (2025-11-05)
|
|
35
|
+
------------------
|
|
36
|
+
|
|
37
|
+
* Feature - Launch IPv6 dual-stack support for S3 Express
|
|
38
|
+
|
|
39
|
+
1.202.0 (2025-10-28)
|
|
40
|
+
------------------
|
|
41
|
+
|
|
42
|
+
* Feature - Amazon Simple Storage Service / Features: Add conditional writes in CopyObject on destination key to prevent unintended object modifications.
|
|
43
|
+
|
|
44
|
+
1.201.0 (2025-10-21)
|
|
45
|
+
------------------
|
|
46
|
+
|
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
48
|
+
|
|
49
|
+
* Issue - Fix multipart upload to respect `request_checksum_calculation` `when_required` mode.
|
|
50
|
+
|
|
51
|
+
1.200.0 (2025-10-15)
|
|
52
|
+
------------------
|
|
53
|
+
|
|
54
|
+
* Feature - Add lightweight thread pool executor for multipart `download_file`, `upload_file` and `upload_stream`.
|
|
55
|
+
|
|
56
|
+
* Feature - Add custom executor support for `Aws::S3::TransferManager`.
|
|
57
|
+
|
|
58
|
+
1.199.1 (2025-09-25)
|
|
59
|
+
------------------
|
|
60
|
+
|
|
61
|
+
* Issue - Update `TransferManager#download_file` and `Object#download_file` documentation regarding temporary file usage and failure handling for different destination types.
|
|
62
|
+
|
|
63
|
+
1.199.0 (2025-09-08)
|
|
64
|
+
------------------
|
|
65
|
+
|
|
66
|
+
* Feature - This release includes backward compatibility work on the "Expires" parameter.
|
|
67
|
+
|
|
68
|
+
1.198.0 (2025-08-26)
|
|
69
|
+
------------------
|
|
70
|
+
|
|
71
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
72
|
+
|
|
73
|
+
* Issue - Fix multipart `download_file` to support `Pathname`, `File` and `Tempfile` objects as download destinations.
|
|
74
|
+
|
|
75
|
+
1.197.0 (2025-08-19)
|
|
76
|
+
------------------
|
|
77
|
+
|
|
78
|
+
* Issue - When multipart stream uploader fails to complete multipart upload, it calls abort multipart upload.
|
|
79
|
+
|
|
80
|
+
* Issue - For `Aws::S3::Object` class, the following methods have been deprecated: `download_file`, `upload_file` and `upload_stream`. Use `Aws::S3::TransferManager` instead.
|
|
81
|
+
|
|
82
|
+
* 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.
|
|
83
|
+
|
|
84
|
+
1.196.1 (2025-08-05)
|
|
85
|
+
------------------
|
|
86
|
+
|
|
87
|
+
* Issue - Add range validation to multipart download to ensure all parts are successfully processed.
|
|
88
|
+
|
|
89
|
+
* Issue - When multipart uploader fails to complete multipart upload, it calls abort multipart upload.
|
|
90
|
+
|
|
91
|
+
* Issue - Clean up partially downloaded file on multipart `download_file` failure while preserving existing file.
|
|
92
|
+
|
|
93
|
+
1.196.0 (2025-08-04)
|
|
94
|
+
------------------
|
|
95
|
+
|
|
96
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
97
|
+
|
|
98
|
+
1.195.0 (2025-07-31)
|
|
99
|
+
------------------
|
|
100
|
+
|
|
101
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
102
|
+
|
|
103
|
+
1.194.0 (2025-07-21)
|
|
104
|
+
------------------
|
|
105
|
+
|
|
106
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
107
|
+
|
|
108
|
+
1.193.0 (2025-07-15)
|
|
109
|
+
------------------
|
|
110
|
+
|
|
111
|
+
* Feature - Amazon S3 Metadata live inventory tables provide a queryable inventory of all the objects in your general purpose bucket so that you can determine the latest state of your data. To help minimize your storage costs, use journal table record expiration to set a retention period for your records.
|
|
112
|
+
|
|
113
|
+
1.192.0 (2025-07-02)
|
|
114
|
+
------------------
|
|
115
|
+
|
|
116
|
+
* Feature - Added support for directory bucket creation with tags and bucket ARN retrieval in CreateBucket, ListDirectoryBuckets, and HeadBucket operations
|
|
117
|
+
|
|
4
118
|
1.191.0 (2025-06-25)
|
|
5
119
|
------------------
|
|
6
120
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.208.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
|
@@ -49,6 +49,23 @@ module Aws::S3
|
|
|
49
49
|
data[:bucket_region]
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
# The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely
|
|
53
|
+
# identify Amazon Web Services resources across all of Amazon Web
|
|
54
|
+
# Services.
|
|
55
|
+
#
|
|
56
|
+
# <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
|
|
57
|
+
# information, see [Using tags with directory buckets][1].
|
|
58
|
+
#
|
|
59
|
+
# </note>
|
|
60
|
+
#
|
|
61
|
+
#
|
|
62
|
+
#
|
|
63
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
|
|
64
|
+
# @return [String]
|
|
65
|
+
def bucket_arn
|
|
66
|
+
data[:bucket_arn]
|
|
67
|
+
end
|
|
68
|
+
|
|
52
69
|
# @!endgroup
|
|
53
70
|
|
|
54
71
|
# @return [Client]
|
|
@@ -246,6 +263,12 @@ module Aws::S3
|
|
|
246
263
|
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
|
247
264
|
# type: "Directory", # accepts Directory
|
|
248
265
|
# },
|
|
266
|
+
# tags: [
|
|
267
|
+
# {
|
|
268
|
+
# key: "ObjectKey", # required
|
|
269
|
+
# value: "Value", # required
|
|
270
|
+
# },
|
|
271
|
+
# ],
|
|
249
272
|
# },
|
|
250
273
|
# grant_full_control: "GrantFullControl",
|
|
251
274
|
# grant_read: "GrantRead",
|
|
@@ -522,7 +545,7 @@ module Aws::S3
|
|
|
522
545
|
# "MetadataKey" => "MetadataValue",
|
|
523
546
|
# },
|
|
524
547
|
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
525
|
-
# 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
|
|
526
549
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
527
550
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
528
551
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1183,6 +1206,9 @@ module Aws::S3
|
|
|
1183
1206
|
# beginning of the key. The keys that are grouped under `CommonPrefixes`
|
|
1184
1207
|
# result element are not returned elsewhere in the response.
|
|
1185
1208
|
#
|
|
1209
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
|
1210
|
+
# lexicographically greater than the key-marker.
|
|
1211
|
+
#
|
|
1186
1212
|
# <note markdown="1"> **Directory buckets** - For directory buckets, `/` is the only
|
|
1187
1213
|
# supported delimiter.
|
|
1188
1214
|
#
|
|
@@ -1339,6 +1365,9 @@ module Aws::S3
|
|
|
1339
1365
|
# in `CommonPrefixes`. These groups are counted as one result against
|
|
1340
1366
|
# the `max-keys` limitation. These keys are not returned elsewhere in
|
|
1341
1367
|
# the response.
|
|
1368
|
+
#
|
|
1369
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
|
1370
|
+
# lexicographically greater than the key-marker.
|
|
1342
1371
|
# @option options [String] :encoding_type
|
|
1343
1372
|
# Encoding type used by Amazon S3 to encode the [object keys][1] in the
|
|
1344
1373
|
# response. Responses are encoded only in UTF-8. An object key can
|
|
@@ -1434,6 +1463,9 @@ module Aws::S3
|
|
|
1434
1463
|
# @option options [String] :delimiter
|
|
1435
1464
|
# A delimiter is a character that you use to group keys.
|
|
1436
1465
|
#
|
|
1466
|
+
# `CommonPrefixes` is filtered out from results if it is not
|
|
1467
|
+
# lexicographically greater than the `StartAfter` value.
|
|
1468
|
+
#
|
|
1437
1469
|
# <note markdown="1"> * **Directory buckets** - For directory buckets, `/` is the only
|
|
1438
1470
|
# supported delimiter.
|
|
1439
1471
|
#
|
|
@@ -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
|