aws-sdk-s3 1.96.2 → 1.132.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +256 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +226 -76
  5. data/lib/aws-sdk-s3/bucket_acl.rb +30 -7
  6. data/lib/aws-sdk-s3/bucket_cors.rb +35 -10
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +39 -12
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +40 -10
  9. data/lib/aws-sdk-s3/bucket_logging.rb +30 -7
  10. data/lib/aws-sdk-s3/bucket_notification.rb +28 -10
  11. data/lib/aws-sdk-s3/bucket_policy.rb +35 -10
  12. data/lib/aws-sdk-s3/bucket_request_payment.rb +30 -7
  13. data/lib/aws-sdk-s3/bucket_tagging.rb +35 -10
  14. data/lib/aws-sdk-s3/bucket_versioning.rb +78 -17
  15. data/lib/aws-sdk-s3/bucket_website.rb +35 -10
  16. data/lib/aws-sdk-s3/client.rb +3854 -2120
  17. data/lib/aws-sdk-s3/client_api.rb +601 -208
  18. data/lib/aws-sdk-s3/customizations/bucket.rb +23 -47
  19. data/lib/aws-sdk-s3/customizations/errors.rb +27 -0
  20. data/lib/aws-sdk-s3/customizations/object.rb +130 -24
  21. data/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb +26 -0
  22. data/lib/aws-sdk-s3/customizations.rb +2 -0
  23. data/lib/aws-sdk-s3/encryption/client.rb +7 -3
  24. data/lib/aws-sdk-s3/encryption/decrypt_handler.rb +0 -4
  25. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +13 -9
  26. data/lib/aws-sdk-s3/encryptionV2/client.rb +7 -3
  27. data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +1 -4
  28. data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +0 -4
  29. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -6
  30. data/lib/aws-sdk-s3/endpoint_parameters.rb +146 -0
  31. data/lib/aws-sdk-s3/endpoint_provider.rb +509 -0
  32. data/lib/aws-sdk-s3/endpoints.rb +2150 -0
  33. data/lib/aws-sdk-s3/file_downloader.rb +57 -27
  34. data/lib/aws-sdk-s3/file_uploader.rb +12 -5
  35. data/lib/aws-sdk-s3/multipart_file_uploader.rb +26 -7
  36. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +41 -13
  37. data/lib/aws-sdk-s3/multipart_upload.rb +138 -16
  38. data/lib/aws-sdk-s3/multipart_upload_part.rb +144 -18
  39. data/lib/aws-sdk-s3/object.rb +364 -160
  40. data/lib/aws-sdk-s3/object_acl.rb +32 -9
  41. data/lib/aws-sdk-s3/object_copier.rb +7 -5
  42. data/lib/aws-sdk-s3/object_multipart_copier.rb +41 -19
  43. data/lib/aws-sdk-s3/object_summary.rb +291 -123
  44. data/lib/aws-sdk-s3/object_version.rb +99 -46
  45. data/lib/aws-sdk-s3/plugins/accelerate.rb +3 -44
  46. data/lib/aws-sdk-s3/plugins/arn.rb +22 -180
  47. data/lib/aws-sdk-s3/plugins/bucket_dns.rb +3 -39
  48. data/lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb +1 -6
  49. data/lib/aws-sdk-s3/plugins/dualstack.rb +1 -55
  50. data/lib/aws-sdk-s3/plugins/endpoints.rb +262 -0
  51. data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
  52. data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +6 -29
  53. data/lib/aws-sdk-s3/plugins/md5s.rb +5 -3
  54. data/lib/aws-sdk-s3/plugins/s3_signer.rb +35 -100
  55. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +31 -0
  56. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +23 -2
  57. data/lib/aws-sdk-s3/presigned_post.rb +99 -78
  58. data/lib/aws-sdk-s3/presigner.rb +24 -29
  59. data/lib/aws-sdk-s3/resource.rb +25 -3
  60. data/lib/aws-sdk-s3/types.rb +3307 -4625
  61. data/lib/aws-sdk-s3.rb +5 -1
  62. metadata +14 -11
  63. data/lib/aws-sdk-s3/arn/access_point_arn.rb +0 -69
  64. data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +0 -69
  65. data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +0 -73
  66. data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 242ed586795b4719f27d124b42faaa419bf14d4c5dc3b612db75583df4563685
4
- data.tar.gz: dadf398788037a0cd952f24aa0ff0e0f11de1a3af6223381c720effee0ca4bde
3
+ metadata.gz: adbed389cd50d435107ac0380117b7e1a316f18dc19cc9a140b223320980fb27
4
+ data.tar.gz: feea3f5c604991ae327c7e3a7c1811ea0de5ab4474154e3bc69162d8262def72
5
5
  SHA512:
6
- metadata.gz: 1095e47c4edccb43eb079cfbc7dadb9b6fa077d7bf2344571041cede5e587ac70d76cecdef4f514890f5c576416ffd89d6ac07bd876559bb59a229a1bb0dc103
7
- data.tar.gz: 7df71120e7b7da8eee77f7df0fbe64a86f4452b137909578aee664d80c7126591b728b4a8efbaa8c367a102e6ab912b8cae961955dfa8fc2124aed82e0f1660f
6
+ metadata.gz: 3f9adfd588e576e5dd17a9abac897b5d3e113b3fefd03de458fc0c8556c9a43336f84af4a3faf4f8516995cfff58cb9085af209f1f2ef8991204e11f7b7e9164
7
+ data.tar.gz: 5eb78921bec0f584949cec19adc7d6f38c65daabab5f9ed01c7298d7bfb14501512a1ea99abc6449591867bf548bab50ec0fd3fe54c21dd5ddfddafa370aaae6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,262 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.132.0 (2023-07-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Feature - Add support for verifying checksums in FileDownloader.
10
+
11
+ 1.131.0 (2023-07-20)
12
+ ------------------
13
+
14
+ * Feature - Improve performance of S3 clients by simplifying and optimizing endpoint resolution.
15
+
16
+ 1.130.0 (2023-07-13)
17
+ ------------------
18
+
19
+ * Feature - S3 Inventory now supports Object Access Control List and Object Owner as available object metadata fields in inventory reports.
20
+
21
+ * Feature - Allow Object multipart copy API to work when requiring a checksum algorithm.
22
+ * 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`.
23
+
24
+ 1.129.0 (2023-07-11)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.128.0 (2023-07-06)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.127.0 (2023-06-28)
35
+ ------------------
36
+
37
+ * Feature - The S3 LISTObjects, ListObjectsV2 and ListObjectVersions API now supports a new optional header x-amz-optional-object-attributes. If header contains RestoreStatus as the value, then S3 will include Glacier restore status i.e. isRestoreInProgress and RestoreExpiryDate in List response.
38
+
39
+ * Feature - Select minimum expiration time for presigned urls between the expiration time option and the credential expiration time.
40
+
41
+ 1.126.0 (2023-06-16)
42
+ ------------------
43
+
44
+ * Feature - This release adds SDK support for request-payer request header and request-charged response header in the "GetBucketAccelerateConfiguration", "ListMultipartUploads", "ListObjects", "ListObjectsV2" and "ListObjectVersions" S3 APIs.
45
+
46
+ 1.125.0 (2023-06-15)
47
+ ------------------
48
+
49
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
50
+
51
+ 1.124.0 (2023-06-13)
52
+ ------------------
53
+
54
+ * Feature - Integrate double encryption feature to SDKs.
55
+
56
+ 1.123.2 (2023-06-12)
57
+ ------------------
58
+
59
+ * Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
60
+
61
+ 1.123.1 (2023-06-02)
62
+ ------------------
63
+
64
+ * Issue - Fix multipart `download_file` so that it does not download bytes out of range (#2859).
65
+
66
+ 1.123.0 (2023-05-31)
67
+ ------------------
68
+
69
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
70
+
71
+ 1.122.0 (2023-05-04)
72
+ ------------------
73
+
74
+ * Feature - Documentation updates for Amazon S3
75
+
76
+ 1.121.0 (2023-04-19)
77
+ ------------------
78
+
79
+ * Feature - Provides support for "Snow" Storage class.
80
+
81
+ 1.120.1 (2023-04-05)
82
+ ------------------
83
+
84
+ * Issue - Skip `#check_for_cached_region` if custom endpoint provided
85
+
86
+ 1.120.0 (2023-03-31)
87
+ ------------------
88
+
89
+ * Feature - Documentation updates for Amazon S3
90
+
91
+ 1.119.2 (2023-03-22)
92
+ ------------------
93
+
94
+ * Issue - Provide `endpoint` and `bucket` attributes on `Aws::S3::Errors::PermanentRedirect` error objects.
95
+
96
+ 1.119.1 (2023-02-13)
97
+ ------------------
98
+
99
+ * Issue - Ensure object metadata is not lost on multipart copy (#2821).
100
+
101
+ 1.119.0 (2023-01-26)
102
+ ------------------
103
+
104
+ * Feature - Allow FIPS to be used with path-style URLs.
105
+
106
+ 1.118.0 (2023-01-18)
107
+ ------------------
108
+
109
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
110
+
111
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
112
+
113
+ 1.117.2 (2022-11-30)
114
+ ------------------
115
+
116
+ * Issue - Return error messages from failures in threads in `MultipartStreamUploader` (#2793).
117
+
118
+ 1.117.1 (2022-10-26)
119
+ ------------------
120
+
121
+ * Issue - Fix custom endpoint and port regression with `presigned_url` (#2776).
122
+
123
+ 1.117.0 (2022-10-25)
124
+ ------------------
125
+
126
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
127
+
128
+ * Issue - Apply checksums to MultipartStreamUploader (#2769).
129
+
130
+ 1.116.0 (2022-10-21)
131
+ ------------------
132
+
133
+ * Feature - S3 on Outposts launches support for automatic bucket-style alias. You can use the automatic access point alias instead of an access point ARN for any object-level operation in an Outposts bucket.
134
+
135
+ 1.115.0 (2022-10-19)
136
+ ------------------
137
+
138
+ * Feature - Updates internal logic for constructing API endpoints. We have added rule-based endpoints and internal model parameters.
139
+
140
+ 1.114.0 (2022-05-03)
141
+ ------------------
142
+
143
+ * Feature - Documentation only update for doc bug fixes for the S3 API docs.
144
+
145
+ 1.113.2 (2022-04-26)
146
+ ------------------
147
+
148
+ * Issue - Fix an issue where `ExpiredToken` errors were retried as if the request was from another region.
149
+
150
+ 1.113.1 (2022-04-25)
151
+ ------------------
152
+
153
+ * Issue - Rewind the underlying file on a streaming retry that is not a truncated body (#2692).
154
+
155
+ 1.113.0 (2022-02-24)
156
+ ------------------
157
+
158
+ * Feature - This release adds support for new integrity checking capabilities in Amazon S3. You can choose from four supported checksum algorithms for data integrity checking on your upload and download requests. In addition, AWS SDK can automatically calculate a checksum as it streams data into S3
159
+
160
+ 1.112.0 (2022-02-03)
161
+ ------------------
162
+
163
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
164
+
165
+ 1.111.3 (2022-01-24)
166
+ ------------------
167
+
168
+ * Issue - Fix starts_with fields on `PresignedPost` (#2636).
169
+
170
+ 1.111.2 (2022-01-20)
171
+ ------------------
172
+
173
+ * Issue - Minor cleanups.
174
+
175
+ 1.111.1 (2022-01-06)
176
+ ------------------
177
+
178
+ * Issue - Don't fail small files in `upload_file` when `:thread_count` is set. (#2628)
179
+
180
+ 1.111.0 (2022-01-04)
181
+ ------------------
182
+
183
+ * Feature - Minor doc-based updates based on feedback bugs received.
184
+
185
+ 1.110.0 (2021-12-21)
186
+ ------------------
187
+
188
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
189
+
190
+ 1.109.0 (2021-11-30)
191
+ ------------------
192
+
193
+ * Feature - Introduce Amazon S3 Glacier Instant Retrieval storage class and a new setting in S3 Object Ownership to disable ACLs for bucket and the objects in it.
194
+
195
+ 1.108.0 (2021-11-29)
196
+ ------------------
197
+
198
+ * Feature - Amazon S3 Event Notifications adds Amazon EventBridge as a destination and supports additional event types. The PutBucketNotificationConfiguration API can now skip validation of Amazon SQS, Amazon SNS and AWS Lambda destinations.
199
+
200
+ 1.107.0 (2021-11-23)
201
+ ------------------
202
+
203
+ * Feature - Introduce two new Filters to S3 Lifecycle configurations - ObjectSizeGreaterThan and ObjectSizeLessThan. Introduce a new way to trigger actions on noncurrent versions by providing the number of newer noncurrent versions along with noncurrent days.
204
+
205
+ 1.106.0 (2021-11-17)
206
+ ------------------
207
+
208
+ * Feature - Add `presigned_request` method to `Aws::S3::Object`.
209
+
210
+ 1.105.1 (2021-11-05)
211
+ ------------------
212
+
213
+ * Issue - Raise error when `use_fips_endpoint` is used with `use_accelerate_endpoint`.
214
+
215
+ 1.105.0 (2021-11-04)
216
+ ------------------
217
+
218
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
219
+
220
+ 1.104.0 (2021-10-18)
221
+ ------------------
222
+
223
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
224
+
225
+ 1.103.0 (2021-09-16)
226
+ ------------------
227
+
228
+ * Feature - Add support for access point arn filtering in S3 CW Request Metrics
229
+
230
+ 1.102.0 (2021-09-02)
231
+ ------------------
232
+
233
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
234
+
235
+ 1.101.0 (2021-09-01)
236
+ ------------------
237
+
238
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
239
+
240
+ 1.100.0 (2021-08-27)
241
+ ------------------
242
+
243
+ * Feature - Documentation updates for Amazon S3.
244
+
245
+ 1.99.0 (2021-08-16)
246
+ ------------------
247
+
248
+ * Feature - Documentation updates for Amazon S3
249
+
250
+ 1.98.0 (2021-07-30)
251
+ ------------------
252
+
253
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
254
+
255
+ 1.97.0 (2021-07-28)
256
+ ------------------
257
+
258
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
259
+
4
260
  1.96.2 (2021-07-20)
5
261
  ------------------
6
262
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.2
1
+ 1.132.0