aws-sdk-s3 1.128.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 +4 -4
- data/CHANGELOG.md +450 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
- data/lib/aws-sdk-s3/bucket.rb +720 -128
- data/lib/aws-sdk-s3/bucket_acl.rb +18 -17
- data/lib/aws-sdk-s3/bucket_cors.rb +22 -21
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +23 -18
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +76 -19
- data/lib/aws-sdk-s3/bucket_logging.rb +21 -14
- data/lib/aws-sdk-s3/bucket_notification.rb +6 -6
- data/lib/aws-sdk-s3/bucket_policy.rb +65 -20
- data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +15 -15
- data/lib/aws-sdk-s3/bucket_tagging.rb +19 -19
- data/lib/aws-sdk-s3/bucket_versioning.rb +41 -41
- data/lib/aws-sdk-s3/bucket_website.rb +19 -19
- data/lib/aws-sdk-s3/client.rb +9352 -3264
- data/lib/aws-sdk-s3/client_api.rb +697 -164
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/errors.rb +16 -3
- data/lib/aws-sdk-s3/customizations/object.rb +112 -56
- data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations.rb +26 -31
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/endpoint_parameters.rb +54 -15
- data/lib/aws-sdk-s3/endpoint_provider.rb +439 -456
- data/lib/aws-sdk-s3/endpoints.rb +629 -1261
- data/lib/aws-sdk-s3/errors.rb +58 -0
- data/lib/aws-sdk-s3/express_credentials.rb +55 -0
- data/lib/aws-sdk-s3/express_credentials_provider.rb +59 -0
- data/lib/aws-sdk-s3/file_downloader.rb +156 -69
- data/lib/aws-sdk-s3/file_uploader.rb +4 -6
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +56 -69
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +84 -91
- data/lib/aws-sdk-s3/multipart_upload.rb +179 -26
- data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +201 -60
- data/lib/aws-sdk-s3/object.rb +2007 -281
- data/lib/aws-sdk-s3/object_acl.rb +43 -23
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +44 -25
- data/lib/aws-sdk-s3/object_summary.rb +1735 -232
- data/lib/aws-sdk-s3/object_version.rb +394 -52
- data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +32 -208
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +88 -0
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +55 -18
- data/lib/aws-sdk-s3/plugins/location_constraint.rb +3 -1
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -70
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/presigned_post.rb +52 -43
- data/lib/aws-sdk-s3/presigner.rb +9 -7
- data/lib/aws-sdk-s3/resource.rb +127 -22
- data/lib/aws-sdk-s3/transfer_manager.rb +252 -0
- data/lib/aws-sdk-s3/types.rb +8068 -1887
- data/lib/aws-sdk-s3.rb +35 -31
- data/sig/bucket.rbs +231 -0
- data/sig/bucket_acl.rbs +78 -0
- data/sig/bucket_cors.rbs +69 -0
- data/sig/bucket_lifecycle.rbs +88 -0
- data/sig/bucket_lifecycle_configuration.rbs +115 -0
- data/sig/bucket_logging.rbs +76 -0
- data/sig/bucket_notification.rbs +114 -0
- data/sig/bucket_policy.rbs +59 -0
- data/sig/bucket_request_payment.rbs +54 -0
- data/sig/bucket_tagging.rbs +65 -0
- data/sig/bucket_versioning.rbs +77 -0
- data/sig/bucket_website.rbs +93 -0
- data/sig/client.rbs +2584 -0
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/errors.rbs +44 -0
- data/sig/multipart_upload.rbs +120 -0
- data/sig/multipart_upload_part.rbs +109 -0
- data/sig/object.rbs +462 -0
- data/sig/object_acl.rbs +86 -0
- data/sig/object_summary.rbs +345 -0
- data/sig/object_version.rbs +143 -0
- data/sig/resource.rbs +141 -0
- data/sig/types.rbs +2866 -0
- data/sig/waiters.rbs +95 -0
- metadata +44 -12
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efe40f953e63f4a396ff665d16447df9efd68b748c5a3e84df1eb3e5f409c86
|
4
|
+
data.tar.gz: e1960dc386627ee1fafd1d49c8f28af41e79a99c301bc6d45886ecebe7dfe65c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ab3030dae414f3a8dc714a38f2d460d44c44142371e5d4505a645f141e25b23386014d5c1f0c0a5378b013dbcf9c600aececa9f43abae78a40baa27a539770
|
7
|
+
data.tar.gz: 13e4abf112361ada24e89c75bdfcbc2484eefedc7364ab6eeb0b4a00b3f8744588d4ccca123081515f36470e1770a09bb97e9d922aaeb6799e97dfbfdced50be
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,455 @@
|
|
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
|
+
|
9
|
+
1.199.0 (2025-09-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release includes backward compatibility work on the "Expires" parameter.
|
13
|
+
|
14
|
+
1.198.0 (2025-08-26)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
* Issue - Fix multipart `download_file` to support `Pathname`, `File` and `Tempfile` objects as download destinations.
|
20
|
+
|
21
|
+
1.197.0 (2025-08-19)
|
22
|
+
------------------
|
23
|
+
|
24
|
+
* Issue - When multipart stream uploader fails to complete multipart upload, it calls abort multipart upload.
|
25
|
+
|
26
|
+
* Issue - For `Aws::S3::Object` class, the following methods have been deprecated: `download_file`, `upload_file` and `upload_stream`. Use `Aws::S3::TransferManager` instead.
|
27
|
+
|
28
|
+
* 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.
|
29
|
+
|
30
|
+
1.196.1 (2025-08-05)
|
31
|
+
------------------
|
32
|
+
|
33
|
+
* Issue - Add range validation to multipart download to ensure all parts are successfully processed.
|
34
|
+
|
35
|
+
* Issue - When multipart uploader fails to complete multipart upload, it calls abort multipart upload.
|
36
|
+
|
37
|
+
* Issue - Clean up partially downloaded file on multipart `download_file` failure while preserving existing file.
|
38
|
+
|
39
|
+
1.196.0 (2025-08-04)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.195.0 (2025-07-31)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.194.0 (2025-07-21)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.193.0 (2025-07-15)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* 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.
|
58
|
+
|
59
|
+
1.192.0 (2025-07-02)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Added support for directory bucket creation with tags and bucket ARN retrieval in CreateBucket, ListDirectoryBuckets, and HeadBucket operations
|
63
|
+
|
64
|
+
1.191.0 (2025-06-25)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* 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
|
68
|
+
|
69
|
+
1.190.0 (2025-06-18)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Added support for renaming objects within the same bucket using the new RenameObject API.
|
73
|
+
|
74
|
+
1.189.1 (2025-06-10)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Issue - Only load required `cgi` modules for Ruby 3.5.
|
78
|
+
|
79
|
+
1.189.0 (2025-06-02)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
83
|
+
|
84
|
+
1.188.0 (2025-05-29)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Adding checksum support for S3 PutBucketOwnershipControls API.
|
88
|
+
|
89
|
+
1.187.0 (2025-05-28)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
93
|
+
|
94
|
+
* Issue - Signal data in http response listeners prior to writing, so that data can be inspected or verified before potential mutation.
|
95
|
+
|
96
|
+
1.186.1 (2025-05-15)
|
97
|
+
------------------
|
98
|
+
* Issue - Abort multipart download if object is modified during download.
|
99
|
+
|
100
|
+
1.186.0 (2025-05-12)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.185.0 (2025-05-01)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.184.0 (2025-04-28)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.183.0 (2025-03-31)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones
|
119
|
+
|
120
|
+
1.182.0 (2025-02-18)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.181.0 (2025-02-14)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Added support for Content-Range header in HeadObject response.
|
129
|
+
|
130
|
+
1.180.0 (2025-02-06)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
|
134
|
+
|
135
|
+
1.179.0 (2025-01-29)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.
|
139
|
+
|
140
|
+
1.178.0 (2025-01-15)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* 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.
|
144
|
+
|
145
|
+
* Feature - Default to using `CRC32` checksum validation for S3 uploads and downloads.
|
146
|
+
|
147
|
+
1.177.0 (2025-01-03)
|
148
|
+
------------------
|
149
|
+
|
150
|
+
* 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.
|
151
|
+
|
152
|
+
1.176.1 (2024-12-12)
|
153
|
+
------------------
|
154
|
+
|
155
|
+
* Issue - Do not normalize object keys when calling `presigned_url` or `presigned_request`.
|
156
|
+
|
157
|
+
1.176.0 (2024-12-03)
|
158
|
+
------------------
|
159
|
+
|
160
|
+
* 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.
|
161
|
+
|
162
|
+
1.175.0 (2024-12-02)
|
163
|
+
------------------
|
164
|
+
|
165
|
+
* Feature - Amazon S3 introduces support for AWS Dedicated Local Zones
|
166
|
+
|
167
|
+
1.174.0 (2024-11-25)
|
168
|
+
------------------
|
169
|
+
|
170
|
+
* Feature - Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.
|
171
|
+
|
172
|
+
1.173.0 (2024-11-21)
|
173
|
+
------------------
|
174
|
+
|
175
|
+
* 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.
|
176
|
+
|
177
|
+
1.172.0 (2024-11-18)
|
178
|
+
------------------
|
179
|
+
|
180
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
181
|
+
|
182
|
+
1.171.0 (2024-11-14)
|
183
|
+
------------------
|
184
|
+
|
185
|
+
* 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.
|
186
|
+
|
187
|
+
1.170.1 (2024-11-11)
|
188
|
+
------------------
|
189
|
+
|
190
|
+
* Issue - Tighten regex used to check for S3 200 errors.
|
191
|
+
|
192
|
+
1.170.0 (2024-11-06)
|
193
|
+
------------------
|
194
|
+
|
195
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
196
|
+
|
197
|
+
1.169.0 (2024-10-18)
|
198
|
+
------------------
|
199
|
+
|
200
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
201
|
+
|
202
|
+
1.168.0 (2024-10-16)
|
203
|
+
------------------
|
204
|
+
|
205
|
+
* 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.
|
206
|
+
|
207
|
+
1.167.0 (2024-10-02)
|
208
|
+
------------------
|
209
|
+
|
210
|
+
* Feature - This release introduces a header representing the minimum object size limit for Lifecycle transitions.
|
211
|
+
|
212
|
+
1.166.0 (2024-09-24)
|
213
|
+
------------------
|
214
|
+
|
215
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
216
|
+
|
217
|
+
1.165.0 (2024-09-23)
|
218
|
+
------------------
|
219
|
+
|
220
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
221
|
+
|
222
|
+
1.164.0 (2024-09-20)
|
223
|
+
------------------
|
224
|
+
|
225
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
226
|
+
|
227
|
+
1.163.0 (2024-09-18)
|
228
|
+
------------------
|
229
|
+
|
230
|
+
* Feature - Added SSE-KMS support for directory buckets.
|
231
|
+
|
232
|
+
1.162.0 (2024-09-11)
|
233
|
+
------------------
|
234
|
+
|
235
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
236
|
+
|
237
|
+
1.161.0 (2024-09-10)
|
238
|
+
------------------
|
239
|
+
|
240
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
241
|
+
|
242
|
+
1.160.0 (2024-09-03)
|
243
|
+
------------------
|
244
|
+
|
245
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
246
|
+
|
247
|
+
1.159.0 (2024-08-20)
|
248
|
+
------------------
|
249
|
+
|
250
|
+
* Feature - Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs.
|
251
|
+
|
252
|
+
1.158.0 (2024-08-15)
|
253
|
+
------------------
|
254
|
+
|
255
|
+
* Feature - Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.
|
256
|
+
|
257
|
+
1.157.0 (2024-08-01)
|
258
|
+
------------------
|
259
|
+
|
260
|
+
* Feature - Support `head_bucket`, `get_object_attributes`, `delete_objects`, and `copy_object` for Access Grants.
|
261
|
+
|
262
|
+
1.156.0 (2024-07-02)
|
263
|
+
------------------
|
264
|
+
|
265
|
+
* Feature - Added response overrides to Head Object requests.
|
266
|
+
|
267
|
+
1.155.0 (2024-06-28)
|
268
|
+
------------------
|
269
|
+
|
270
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
271
|
+
|
272
|
+
1.154.0 (2024-06-25)
|
273
|
+
------------------
|
274
|
+
|
275
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
276
|
+
|
277
|
+
1.153.0 (2024-06-24)
|
278
|
+
------------------
|
279
|
+
|
280
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
281
|
+
|
282
|
+
1.152.3 (2024-06-13)
|
283
|
+
------------------
|
284
|
+
|
285
|
+
* Issue - Handle 200 errors for all S3 operations that do not have streaming responses.
|
286
|
+
|
287
|
+
1.152.2 (2024-06-12)
|
288
|
+
------------------
|
289
|
+
|
290
|
+
* Issue - Revert Handling of 200 errors for all S3 operations.
|
291
|
+
|
292
|
+
1.152.1 (2024-06-10)
|
293
|
+
------------------
|
294
|
+
|
295
|
+
* Issue - Handle 200 errors for all S3 operations that do not have streaming responses.
|
296
|
+
|
297
|
+
1.152.0 (2024-06-05)
|
298
|
+
------------------
|
299
|
+
|
300
|
+
* 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.
|
301
|
+
|
302
|
+
1.151.0 (2024-05-14)
|
303
|
+
------------------
|
304
|
+
|
305
|
+
* Feature - Updated a few x-id in the http uri traits
|
306
|
+
|
307
|
+
1.150.0 (2024-05-13)
|
308
|
+
------------------
|
309
|
+
|
310
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
311
|
+
|
312
|
+
1.149.1 (2024-05-06)
|
313
|
+
------------------
|
314
|
+
|
315
|
+
* Issue - Fix bug where destination bucket default encryption was inadvertently overridden by source object encryption.
|
316
|
+
|
317
|
+
1.149.0 (2024-04-30)
|
318
|
+
------------------
|
319
|
+
|
320
|
+
* 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.
|
321
|
+
|
322
|
+
* Feature - Add RBS signatures for customizations of S3.
|
323
|
+
|
324
|
+
1.148.0 (2024-04-25)
|
325
|
+
------------------
|
326
|
+
|
327
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
328
|
+
|
329
|
+
1.147.0 (2024-04-16)
|
330
|
+
------------------
|
331
|
+
|
332
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
333
|
+
|
334
|
+
* Issue - Omit `ContentType` plugin when generating presigned url.
|
335
|
+
|
336
|
+
1.146.1 (2024-03-28)
|
337
|
+
------------------
|
338
|
+
|
339
|
+
* Issue - Fix bug where thread_count option was not being respected for multipart uploads.
|
340
|
+
|
341
|
+
1.146.0 (2024-03-18)
|
342
|
+
------------------
|
343
|
+
|
344
|
+
* Feature - Fix two issues with response root node names.
|
345
|
+
|
346
|
+
1.145.0 (2024-03-15)
|
347
|
+
------------------
|
348
|
+
|
349
|
+
* Feature - Documentation updates for Amazon S3.
|
350
|
+
|
351
|
+
1.144.0 (2024-03-13)
|
352
|
+
------------------
|
353
|
+
|
354
|
+
* Feature - This release makes the default option for S3 on Outposts request signing to use the SigV4A algorithm when using AWS Common Runtime (CRT).
|
355
|
+
|
356
|
+
1.143.1 (2024-03-12)
|
357
|
+
------------------
|
358
|
+
|
359
|
+
* Issue - Include original part errors in message when aborting multipart upload fails (#2990).
|
360
|
+
|
361
|
+
1.143.0 (2024-01-26)
|
362
|
+
------------------
|
363
|
+
|
364
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
365
|
+
|
366
|
+
1.142.0 (2023-12-22)
|
367
|
+
------------------
|
368
|
+
|
369
|
+
* Feature - Added additional examples for some operations.
|
370
|
+
|
371
|
+
1.141.0 (2023-11-28)
|
372
|
+
------------------
|
373
|
+
|
374
|
+
* Feature - Adds support for S3 Express One Zone.
|
375
|
+
|
376
|
+
* Feature - Support S3 Express authentication and endpoints. Express session auth can be disabled with the `disable_s3_express_session_auth` Client option, the `AWS_S3_DISABLE_EXPRESS_SESSION_AUTH` environment variable, and the `s3_disable_express_session_auth` shared config option. A custom `express_credentials_provider` can be configured onto the Client.
|
377
|
+
|
378
|
+
1.140.0 (2023-11-27)
|
379
|
+
------------------
|
380
|
+
|
381
|
+
* Feature - Adding new params - Key and Prefix, to S3 API operations for supporting S3 Access Grants. Note - These updates will not change any of the existing S3 API functionality.
|
382
|
+
|
383
|
+
* Issue - Fix thread interruptions in multipart `download_file`, `file_uploader` and `stream_uploader` (#2944).
|
384
|
+
|
385
|
+
1.139.0 (2023-11-22)
|
386
|
+
------------------
|
387
|
+
|
388
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
389
|
+
|
390
|
+
1.138.0 (2023-11-21)
|
391
|
+
------------------
|
392
|
+
|
393
|
+
* Feature - Add support for automatic date based partitioning in S3 Server Access Logs.
|
394
|
+
|
395
|
+
1.137.0 (2023-11-17)
|
396
|
+
------------------
|
397
|
+
|
398
|
+
* Feature - Removes all default 0 values for numbers and false values for booleans
|
399
|
+
|
400
|
+
1.136.0 (2023-09-26)
|
401
|
+
------------------
|
402
|
+
|
403
|
+
* Feature - This release adds a new field COMPLETED to the ReplicationStatus Enum. You can now use this field to validate the replication status of S3 objects using the AWS SDK.
|
404
|
+
|
405
|
+
1.135.0 (2023-09-20)
|
406
|
+
------------------
|
407
|
+
|
408
|
+
* Feature - Fix an issue where the SDK can fail to unmarshall response due to NumberFormatException
|
409
|
+
|
410
|
+
1.134.0 (2023-08-24)
|
411
|
+
------------------
|
412
|
+
|
413
|
+
* Feature - Updates to endpoint ruleset tests to address Smithy validation issues.
|
414
|
+
|
415
|
+
1.133.0 (2023-08-22)
|
416
|
+
------------------
|
417
|
+
|
418
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
419
|
+
|
420
|
+
* Feature - Add support for `progress_callback` in `Object#download_file` and improve multi-threaded performance #(2901).
|
421
|
+
|
422
|
+
1.132.1 (2023-08-09)
|
423
|
+
------------------
|
424
|
+
|
425
|
+
* Issue - Add support for disabling checksum validation in `Object#download_file` (#2893).
|
426
|
+
|
427
|
+
1.132.0 (2023-07-24)
|
428
|
+
------------------
|
429
|
+
|
430
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
431
|
+
|
432
|
+
* Feature - Add support for verifying checksums in FileDownloader.
|
433
|
+
|
434
|
+
1.131.0 (2023-07-20)
|
435
|
+
------------------
|
436
|
+
|
437
|
+
* Feature - Improve performance of S3 clients by simplifying and optimizing endpoint resolution.
|
438
|
+
|
439
|
+
1.130.0 (2023-07-13)
|
440
|
+
------------------
|
441
|
+
|
442
|
+
* Feature - S3 Inventory now supports Object Access Control List and Object Owner as available object metadata fields in inventory reports.
|
443
|
+
|
444
|
+
* Feature - Allow Object multipart copy API to work when requiring a checksum algorithm.
|
445
|
+
|
446
|
+
* Feature - Allow Object multipart copy API to optionally copy parts as they exist on the source object if it has parts, instead of generating new part ranges, when specifying `use_source_parts: true`.
|
447
|
+
|
448
|
+
1.129.0 (2023-07-11)
|
449
|
+
------------------
|
450
|
+
|
451
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
452
|
+
|
4
453
|
1.128.0 (2023-07-06)
|
5
454
|
------------------
|
6
455
|
|
@@ -31,7 +480,7 @@ Unreleased Changes
|
|
31
480
|
1.123.2 (2023-06-12)
|
32
481
|
------------------
|
33
482
|
|
34
|
-
* Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
|
483
|
+
* Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
|
35
484
|
|
36
485
|
1.123.1 (2023-06-02)
|
37
486
|
------------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.199.1
|
@@ -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
|