aws-sdk-s3 1.142.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 (118) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +417 -1
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
  5. data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
  6. data/lib/aws-sdk-s3/bucket.rb +358 -106
  7. data/lib/aws-sdk-s3/bucket_acl.rb +10 -9
  8. data/lib/aws-sdk-s3/bucket_cors.rb +10 -9
  9. data/lib/aws-sdk-s3/bucket_lifecycle.rb +11 -6
  10. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +64 -7
  11. data/lib/aws-sdk-s3/bucket_logging.rb +5 -5
  12. data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_policy.rb +14 -13
  14. data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
  15. data/lib/aws-sdk-s3/bucket_request_payment.rb +6 -6
  16. data/lib/aws-sdk-s3/bucket_tagging.rb +7 -7
  17. data/lib/aws-sdk-s3/bucket_versioning.rb +47 -14
  18. data/lib/aws-sdk-s3/bucket_website.rb +7 -7
  19. data/lib/aws-sdk-s3/client.rb +5671 -2195
  20. data/lib/aws-sdk-s3/client_api.rb +665 -166
  21. data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
  22. data/lib/aws-sdk-s3/customizations/errors.rb +15 -2
  23. data/lib/aws-sdk-s3/customizations/object.rb +87 -91
  24. data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
  25. data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
  26. data/lib/aws-sdk-s3/customizations.rb +28 -36
  27. data/lib/aws-sdk-s3/default_executor.rb +103 -0
  28. data/lib/aws-sdk-s3/encryption/client.rb +4 -4
  29. data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
  30. data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
  31. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +4 -2
  32. data/lib/aws-sdk-s3/encryptionV2/client.rb +100 -25
  33. data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
  34. data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
  35. data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
  36. data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
  37. data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
  38. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -2
  39. data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
  40. data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
  41. data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
  42. data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
  43. data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
  44. data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
  45. data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
  46. data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
  47. data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
  48. data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
  49. data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
  50. data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
  51. data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
  52. data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
  53. data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
  54. data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
  55. data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
  56. data/lib/aws-sdk-s3/endpoint_parameters.rb +37 -34
  57. data/lib/aws-sdk-s3/endpoint_provider.rb +572 -277
  58. data/lib/aws-sdk-s3/endpoints.rb +566 -1612
  59. data/lib/aws-sdk-s3/errors.rb +58 -0
  60. data/lib/aws-sdk-s3/express_credentials_provider.rb +27 -4
  61. data/lib/aws-sdk-s3/file_downloader.rb +192 -146
  62. data/lib/aws-sdk-s3/file_uploader.rb +10 -14
  63. data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
  64. data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
  65. data/lib/aws-sdk-s3/multipart_file_uploader.rb +106 -102
  66. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +99 -108
  67. data/lib/aws-sdk-s3/multipart_upload.rb +112 -12
  68. data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
  69. data/lib/aws-sdk-s3/multipart_upload_part.rb +55 -39
  70. data/lib/aws-sdk-s3/object.rb +713 -227
  71. data/lib/aws-sdk-s3/object_acl.rb +15 -9
  72. data/lib/aws-sdk-s3/object_copier.rb +1 -1
  73. data/lib/aws-sdk-s3/object_multipart_copier.rb +12 -9
  74. data/lib/aws-sdk-s3/object_summary.rb +592 -173
  75. data/lib/aws-sdk-s3/object_version.rb +102 -17
  76. data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
  77. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  78. data/lib/aws-sdk-s3/plugins/endpoints.rb +26 -213
  79. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +19 -21
  80. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +55 -18
  81. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  82. data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
  83. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  84. data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
  85. data/lib/aws-sdk-s3/presigner.rb +7 -5
  86. data/lib/aws-sdk-s3/resource.rb +53 -20
  87. data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
  88. data/lib/aws-sdk-s3/types.rb +4738 -1542
  89. data/lib/aws-sdk-s3.rb +35 -31
  90. data/sig/bucket.rbs +231 -0
  91. data/sig/bucket_acl.rbs +78 -0
  92. data/sig/bucket_cors.rbs +69 -0
  93. data/sig/bucket_lifecycle.rbs +88 -0
  94. data/sig/bucket_lifecycle_configuration.rbs +115 -0
  95. data/sig/bucket_logging.rbs +76 -0
  96. data/sig/bucket_notification.rbs +114 -0
  97. data/sig/bucket_policy.rbs +59 -0
  98. data/sig/bucket_request_payment.rbs +54 -0
  99. data/sig/bucket_tagging.rbs +65 -0
  100. data/sig/bucket_versioning.rbs +77 -0
  101. data/sig/bucket_website.rbs +93 -0
  102. data/sig/client.rbs +2612 -0
  103. data/sig/customizations/bucket.rbs +19 -0
  104. data/sig/customizations/object.rbs +38 -0
  105. data/sig/customizations/object_summary.rbs +35 -0
  106. data/sig/errors.rbs +44 -0
  107. data/sig/multipart_upload.rbs +120 -0
  108. data/sig/multipart_upload_part.rbs +109 -0
  109. data/sig/object.rbs +464 -0
  110. data/sig/object_acl.rbs +86 -0
  111. data/sig/object_summary.rbs +347 -0
  112. data/sig/object_version.rbs +143 -0
  113. data/sig/resource.rbs +141 -0
  114. data/sig/types.rbs +2899 -0
  115. data/sig/waiters.rbs +95 -0
  116. metadata +58 -13
  117. data/lib/aws-sdk-s3/express_credentials_cache.rb +0 -30
  118. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af737f00129e002bae0251080e68a33bea5125cadfde5cd32b1c6e46c8738ae6
4
- data.tar.gz: c55a0b9366c0ee242828f16bfc5380d937519e714d51225bf09ff731f4efc6d1
3
+ metadata.gz: d8d399e87c3b6a02f60b4fc2efbb7e656af4f8ef66302eec0454129bded2fdb0
4
+ data.tar.gz: 3d348a0ce7abfbc7bfd9210227df82f33d4576f321f9da5374b29f6834e62a38
5
5
  SHA512:
6
- metadata.gz: 735ffd4679644479901118bdbc5b417df986c9025e7efabfa17acd464e9c7681b7492ac7dbdd6da7e28ac7f7cf47d2b69756b2010d4383fd9413aad5c4c1d97b
7
- data.tar.gz: b304e79fe8582c8ef1b6b4a4f4e96afef8cd02b90e6af81b6eb64d877aa0772e65b993cd2c3dacbae7383a882f9804a4e7f93486fbb70c02ad1154314a3402d5
6
+ metadata.gz: 525a8c73faf271316eb39fad4880032687e38fc54f452b733c7f161af4e367bf142c73b7218185f5d335219940bce706a5f9884d0716a388a8289a1ea44150f4
7
+ data.tar.gz: ff3d94155efdef438f2db5f4e2a6126590924fb5b712e74981dd174f2e05a7bebcfb1c23e69f00d1aa84b0a1f20415670a630a93ef142472159ee6d8de20df3b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,422 @@
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
+
118
+ 1.191.0 (2025-06-25)
119
+ ------------------
120
+
121
+ * Feature - Adds support for additional server-side encryption mode and storage class values for accessing Amazon FSx data from Amazon S3 using S3 Access Points
122
+
123
+ 1.190.0 (2025-06-18)
124
+ ------------------
125
+
126
+ * Feature - Added support for renaming objects within the same bucket using the new RenameObject API.
127
+
128
+ 1.189.1 (2025-06-10)
129
+ ------------------
130
+
131
+ * Issue - Only load required `cgi` modules for Ruby 3.5.
132
+
133
+ 1.189.0 (2025-06-02)
134
+ ------------------
135
+
136
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
137
+
138
+ 1.188.0 (2025-05-29)
139
+ ------------------
140
+
141
+ * Feature - Adding checksum support for S3 PutBucketOwnershipControls API.
142
+
143
+ 1.187.0 (2025-05-28)
144
+ ------------------
145
+
146
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
147
+
148
+ * Issue - Signal data in http response listeners prior to writing, so that data can be inspected or verified before potential mutation.
149
+
150
+ 1.186.1 (2025-05-15)
151
+ ------------------
152
+ * Issue - Abort multipart download if object is modified during download.
153
+
154
+ 1.186.0 (2025-05-12)
155
+ ------------------
156
+
157
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
158
+
159
+ 1.185.0 (2025-05-01)
160
+ ------------------
161
+
162
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
163
+
164
+ 1.184.0 (2025-04-28)
165
+ ------------------
166
+
167
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
168
+
169
+ 1.183.0 (2025-03-31)
170
+ ------------------
171
+
172
+ * Feature - Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones
173
+
174
+ 1.182.0 (2025-02-18)
175
+ ------------------
176
+
177
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
178
+
179
+ 1.181.0 (2025-02-14)
180
+ ------------------
181
+
182
+ * Feature - Added support for Content-Range header in HeadObject response.
183
+
184
+ 1.180.0 (2025-02-06)
185
+ ------------------
186
+
187
+ * Feature - Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
188
+
189
+ 1.179.0 (2025-01-29)
190
+ ------------------
191
+
192
+ * Feature - Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.
193
+
194
+ 1.178.0 (2025-01-15)
195
+ ------------------
196
+
197
+ * Feature - This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
198
+
199
+ * Feature - Default to using `CRC32` checksum validation for S3 uploads and downloads.
200
+
201
+ 1.177.0 (2025-01-03)
202
+ ------------------
203
+
204
+ * Feature - This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change.
205
+
206
+ 1.176.1 (2024-12-12)
207
+ ------------------
208
+
209
+ * Issue - Do not normalize object keys when calling `presigned_url` or `presigned_request`.
210
+
211
+ 1.176.0 (2024-12-03)
212
+ ------------------
213
+
214
+ * Feature - Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets.
215
+
216
+ 1.175.0 (2024-12-02)
217
+ ------------------
218
+
219
+ * Feature - Amazon S3 introduces support for AWS Dedicated Local Zones
220
+
221
+ 1.174.0 (2024-11-25)
222
+ ------------------
223
+
224
+ * Feature - Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.
225
+
226
+ 1.173.0 (2024-11-21)
227
+ ------------------
228
+
229
+ * Feature - Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API.
230
+
231
+ 1.172.0 (2024-11-18)
232
+ ------------------
233
+
234
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
235
+
236
+ 1.171.0 (2024-11-14)
237
+ ------------------
238
+
239
+ * Feature - This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas.
240
+
241
+ 1.170.1 (2024-11-11)
242
+ ------------------
243
+
244
+ * Issue - Tighten regex used to check for S3 200 errors.
245
+
246
+ 1.170.0 (2024-11-06)
247
+ ------------------
248
+
249
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
250
+
251
+ 1.169.0 (2024-10-18)
252
+ ------------------
253
+
254
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
255
+
256
+ 1.168.0 (2024-10-16)
257
+ ------------------
258
+
259
+ * Feature - Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response.
260
+
261
+ 1.167.0 (2024-10-02)
262
+ ------------------
263
+
264
+ * Feature - This release introduces a header representing the minimum object size limit for Lifecycle transitions.
265
+
266
+ 1.166.0 (2024-09-24)
267
+ ------------------
268
+
269
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
270
+
271
+ 1.165.0 (2024-09-23)
272
+ ------------------
273
+
274
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
275
+
276
+ 1.164.0 (2024-09-20)
277
+ ------------------
278
+
279
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
280
+
281
+ 1.163.0 (2024-09-18)
282
+ ------------------
283
+
284
+ * Feature - Added SSE-KMS support for directory buckets.
285
+
286
+ 1.162.0 (2024-09-11)
287
+ ------------------
288
+
289
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
290
+
291
+ 1.161.0 (2024-09-10)
292
+ ------------------
293
+
294
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
295
+
296
+ 1.160.0 (2024-09-03)
297
+ ------------------
298
+
299
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
300
+
301
+ 1.159.0 (2024-08-20)
302
+ ------------------
303
+
304
+ * Feature - Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs.
305
+
306
+ 1.158.0 (2024-08-15)
307
+ ------------------
308
+
309
+ * Feature - Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.
310
+
311
+ 1.157.0 (2024-08-01)
312
+ ------------------
313
+
314
+ * Feature - Support `head_bucket`, `get_object_attributes`, `delete_objects`, and `copy_object` for Access Grants.
315
+
316
+ 1.156.0 (2024-07-02)
317
+ ------------------
318
+
319
+ * Feature - Added response overrides to Head Object requests.
320
+
321
+ 1.155.0 (2024-06-28)
322
+ ------------------
323
+
324
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
325
+
326
+ 1.154.0 (2024-06-25)
327
+ ------------------
328
+
329
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
330
+
331
+ 1.153.0 (2024-06-24)
332
+ ------------------
333
+
334
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
335
+
336
+ 1.152.3 (2024-06-13)
337
+ ------------------
338
+
339
+ * Issue - Handle 200 errors for all S3 operations that do not have streaming responses.
340
+
341
+ 1.152.2 (2024-06-12)
342
+ ------------------
343
+
344
+ * Issue - Revert Handling of 200 errors for all S3 operations.
345
+
346
+ 1.152.1 (2024-06-10)
347
+ ------------------
348
+
349
+ * Issue - Handle 200 errors for all S3 operations that do not have streaming responses.
350
+
351
+ 1.152.0 (2024-06-05)
352
+ ------------------
353
+
354
+ * Feature - Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality.
355
+
356
+ 1.151.0 (2024-05-14)
357
+ ------------------
358
+
359
+ * Feature - Updated a few x-id in the http uri traits
360
+
361
+ 1.150.0 (2024-05-13)
362
+ ------------------
363
+
364
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
365
+
366
+ 1.149.1 (2024-05-06)
367
+ ------------------
368
+
369
+ * Issue - Fix bug where destination bucket default encryption was inadvertently overridden by source object encryption.
370
+
371
+ 1.149.0 (2024-04-30)
372
+ ------------------
373
+
374
+ * Feature - Support S3 Access Grants authentication. Access Grants can be enabled with the `access_grants` option, and custom options can be passed into the `access_grants_credentials_provider` option. This feature requires `aws-sdk-s3control` to be installed.
375
+
376
+ * Feature - Add RBS signatures for customizations of S3.
377
+
378
+ 1.148.0 (2024-04-25)
379
+ ------------------
380
+
381
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
382
+
383
+ 1.147.0 (2024-04-16)
384
+ ------------------
385
+
386
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
387
+
388
+ * Issue - Omit `ContentType` plugin when generating presigned url.
389
+
390
+ 1.146.1 (2024-03-28)
391
+ ------------------
392
+
393
+ * Issue - Fix bug where thread_count option was not being respected for multipart uploads.
394
+
395
+ 1.146.0 (2024-03-18)
396
+ ------------------
397
+
398
+ * Feature - Fix two issues with response root node names.
399
+
400
+ 1.145.0 (2024-03-15)
401
+ ------------------
402
+
403
+ * Feature - Documentation updates for Amazon S3.
404
+
405
+ 1.144.0 (2024-03-13)
406
+ ------------------
407
+
408
+ * Feature - This release makes the default option for S3 on Outposts request signing to use the SigV4A algorithm when using AWS Common Runtime (CRT).
409
+
410
+ 1.143.1 (2024-03-12)
411
+ ------------------
412
+
413
+ * Issue - Include original part errors in message when aborting multipart upload fails (#2990).
414
+
415
+ 1.143.0 (2024-01-26)
416
+ ------------------
417
+
418
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
419
+
4
420
  1.142.0 (2023-12-22)
5
421
  ------------------
6
422
 
@@ -118,7 +534,7 @@ Unreleased Changes
118
534
  1.123.2 (2023-06-12)
119
535
  ------------------
120
536
 
121
- * Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
537
+ * Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
122
538
 
123
539
  1.123.1 (2023-06-02)
124
540
  ------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.142.0
1
+ 1.208.0
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'set'
4
+
5
+ module Aws
6
+ module S3
7
+ # @api private
8
+ class AccessGrantsCredentials
9
+ include CredentialProvider
10
+ include RefreshingCredentials
11
+
12
+ def initialize(options = {})
13
+ @client = options[:client]
14
+ @get_data_access_params = {}
15
+ options.each_pair do |key, value|
16
+ if self.class.get_data_access_options.include?(key)
17
+ @get_data_access_params[key] = value
18
+ end
19
+ end
20
+ @async_refresh = true
21
+ super
22
+ end
23
+
24
+ # @return [S3Control::Client]
25
+ attr_reader :client
26
+
27
+ # @return [String]
28
+ attr_reader :matched_grant_target
29
+
30
+ private
31
+
32
+ def refresh
33
+ c = @client.get_data_access(@get_data_access_params)
34
+ credentials = c.credentials
35
+ @matched_grant_target = c.matched_grant_target
36
+ @credentials = Credentials.new(
37
+ credentials.access_key_id,
38
+ credentials.secret_access_key,
39
+ credentials.session_token
40
+ )
41
+ @expiration = credentials.expiration
42
+ end
43
+
44
+ class << self
45
+
46
+ # @api private
47
+ def get_data_access_options
48
+ @gdao ||= begin
49
+ input = Aws::S3Control::Client.api.operation(:get_data_access).input
50
+ Set.new(input.shape.member_names)
51
+ end
52
+ end
53
+
54
+ end
55
+ end
56
+ end
57
+ end