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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +33 -1
  5. data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
  6. data/lib/aws-sdk-s3/bucket_versioning.rb +33 -0
  7. data/lib/aws-sdk-s3/client.rb +1503 -392
  8. data/lib/aws-sdk-s3/client_api.rb +248 -0
  9. data/lib/aws-sdk-s3/customizations/object.rb +76 -86
  10. data/lib/aws-sdk-s3/customizations.rb +4 -1
  11. data/lib/aws-sdk-s3/default_executor.rb +103 -0
  12. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  13. data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
  14. data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
  15. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -0
  16. data/lib/aws-sdk-s3/encryptionV2/client.rb +98 -23
  17. data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
  18. data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
  19. data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
  20. data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
  21. data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
  22. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +8 -0
  23. data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
  24. data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
  25. data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
  26. data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
  27. data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
  28. data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
  29. data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
  30. data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
  31. data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
  32. data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
  33. data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
  34. data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
  35. data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
  36. data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
  37. data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
  38. data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
  39. data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
  40. data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
  41. data/lib/aws-sdk-s3/endpoint_provider.rb +220 -50
  42. data/lib/aws-sdk-s3/endpoints.rb +96 -0
  43. data/lib/aws-sdk-s3/file_downloader.rb +197 -134
  44. data/lib/aws-sdk-s3/file_uploader.rb +9 -13
  45. data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
  46. data/lib/aws-sdk-s3/multipart_file_uploader.rb +92 -107
  47. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
  48. data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
  49. data/lib/aws-sdk-s3/object.rb +56 -27
  50. data/lib/aws-sdk-s3/object_acl.rb +1 -1
  51. data/lib/aws-sdk-s3/object_summary.rb +42 -13
  52. data/lib/aws-sdk-s3/object_version.rb +7 -9
  53. data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
  54. data/lib/aws-sdk-s3/resource.rb +6 -0
  55. data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
  56. data/lib/aws-sdk-s3/types.rb +1179 -260
  57. data/lib/aws-sdk-s3.rb +1 -1
  58. data/sig/bucket.rbs +11 -2
  59. data/sig/client.rbs +127 -13
  60. data/sig/multipart_upload.rbs +1 -1
  61. data/sig/object.rbs +7 -5
  62. data/sig/object_summary.rbs +7 -5
  63. data/sig/resource.rbs +8 -1
  64. data/sig/types.rbs +173 -14
  65. metadata +22 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36a6478ae4c76eddd30004239c4e34f5e547877585c66d1cb9e8aa2133b092b2
4
- data.tar.gz: c37c962235875baa974c484948591a512fcaea0b87c6938bbd1d029eec8f9955
3
+ metadata.gz: d8d399e87c3b6a02f60b4fc2efbb7e656af4f8ef66302eec0454129bded2fdb0
4
+ data.tar.gz: 3d348a0ce7abfbc7bfd9210227df82f33d4576f321f9da5374b29f6834e62a38
5
5
  SHA512:
6
- metadata.gz: 8417b4c8f3821aa1ed703c8cee292596d537c5dfb6972126e5222bf27f00f66ef1efdfb5d591e20bcc554cf56fbea105baab964c17414ec386bd19d759bb4691
7
- data.tar.gz: fd8673bf729de6d8e13ae90d555763dd36ec5eaa4538e7856db300a531a17541731eced4a9a9b393d9787a4c6ec4b1c9b6765afbe77bc095775c44f29a2ffd13
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.191.0
1
+ 1.208.0
@@ -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
  #
@@ -34,7 +34,7 @@ module Aws::S3
34
34
  @bucket_name
35
35
  end
36
36
 
37
- # Container for the bucket owner's display name and ID.
37
+ # Container for the bucket owner's ID.
38
38
  # @return [Types::Owner]
39
39
  def owner
40
40
  data[:owner]
@@ -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