aws-sdk-s3 1.218.0 → 1.220.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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +78 -3
  5. data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
  6. data/lib/aws-sdk-s3/bucket_cors.rb +1 -1
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +1 -1
  9. data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
  10. data/lib/aws-sdk-s3/bucket_policy.rb +11 -1
  11. data/lib/aws-sdk-s3/bucket_request_payment.rb +1 -1
  12. data/lib/aws-sdk-s3/bucket_tagging.rb +1 -1
  13. data/lib/aws-sdk-s3/bucket_versioning.rb +3 -3
  14. data/lib/aws-sdk-s3/bucket_website.rb +1 -1
  15. data/lib/aws-sdk-s3/client.rb +688 -120
  16. data/lib/aws-sdk-s3/client_api.rb +82 -2
  17. data/lib/aws-sdk-s3/multipart_upload.rb +60 -0
  18. data/lib/aws-sdk-s3/multipart_upload_part.rb +121 -1
  19. data/lib/aws-sdk-s3/object.rb +140 -5
  20. data/lib/aws-sdk-s3/object_acl.rb +1 -1
  21. data/lib/aws-sdk-s3/object_summary.rb +80 -5
  22. data/lib/aws-sdk-s3/object_version.rb +11 -1
  23. data/lib/aws-sdk-s3/resource.rb +1 -1
  24. data/lib/aws-sdk-s3/types.rb +1086 -83
  25. data/lib/aws-sdk-s3.rb +1 -1
  26. data/sig/bucket.rbs +8 -3
  27. data/sig/bucket_acl.rbs +1 -1
  28. data/sig/bucket_cors.rbs +1 -1
  29. data/sig/bucket_lifecycle.rbs +1 -1
  30. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  31. data/sig/bucket_logging.rbs +1 -1
  32. data/sig/bucket_policy.rbs +1 -1
  33. data/sig/bucket_request_payment.rbs +1 -1
  34. data/sig/bucket_tagging.rbs +1 -1
  35. data/sig/bucket_versioning.rbs +3 -3
  36. data/sig/bucket_website.rbs +1 -1
  37. data/sig/client.rbs +87 -37
  38. data/sig/multipart_upload.rbs +11 -1
  39. data/sig/multipart_upload_part.rbs +21 -1
  40. data/sig/object.rbs +25 -5
  41. data/sig/object_acl.rbs +1 -1
  42. data/sig/object_summary.rbs +11 -6
  43. data/sig/object_version.rbs +2 -2
  44. data/sig/resource.rbs +1 -1
  45. data/sig/types.rbs +115 -40
  46. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 913843b58029ef60d1b24e4b7bce92c5d9651ad61219a1424310a6cd83213dd9
4
- data.tar.gz: f68ab62fb802ec66d530867718319a90ba27481ad7fb2a58ed7dbfe8a63b5155
3
+ metadata.gz: 209503790ed7968231eb8a061c0a86295e580e288e95708911b274a04a839c42
4
+ data.tar.gz: 6e7e35e1946c198b8d36ebac935cc833860793015f1a6c18697a10995d392ad2
5
5
  SHA512:
6
- metadata.gz: 288b272e52c817806a5799d7d2af4d986a46aac4b64163fbddad64454dc3bb312cfb98b3c81432cf511590b9e6fd82f9f0e916bc69c24950b4d6ea25eb68f478
7
- data.tar.gz: 2e4bd25ebebf88dd3e55e91b860d05bab07b486a6c26e41723c7f8adb3d67f1f8431b767ca2a6a82dac230121b84ea4d986c196fa549a68a9c516b416d2f8694
6
+ metadata.gz: 81efc2d16f62446ffa7621906a08f4ca6d899033276a5a6e1fca8b03e8839aba9005a2975f4f88f57ecc1ea6cf6815cd5ba6587a54390d93c3dbffe0899b2599
7
+ data.tar.gz: 1219f8150c038fe9a1a95b6044d3c66fd5d9c0e420c8e78feff210d284f7986d8afefe2f0f4f818e2ff115b00f9e95628715d79b695c691aa38b1490f6e28151
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.220.0 (2026-04-22)
5
+ ------------------
6
+
7
+ * Feature - This release adds five additional checksum algorithms for S3 data integrity (MD5, SHA-512, XXHash3, XXHash64, XXHash128) and support for S3 Inventory on directory buckets (S3 Express One Zone).
8
+
9
+ 1.219.0 (2026-04-07)
10
+ ------------------
11
+
12
+ * Feature - Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
13
+
4
14
  1.218.0 (2026-03-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.218.0
1
+ 1.220.0
@@ -254,7 +254,7 @@ module Aws::S3
254
254
  # bucket.create({
255
255
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
256
256
  # create_bucket_configuration: {
257
- # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
257
+ # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-east-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ap-southeast-6, ap-southeast-7, ca-central-1, ca-west-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, mx-central-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
258
258
  # location: {
259
259
  # type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
260
260
  # name: "LocationNameAsString",
@@ -443,7 +443,7 @@ module Aws::S3
443
443
  # request_payer: "requester", # accepts requester
444
444
  # bypass_governance_retention: false,
445
445
  # expected_bucket_owner: "AccountId",
446
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
446
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
447
447
  # })
448
448
  # @param [Hash] options ({})
449
449
  # @option options [required, Types::Delete] :delete
@@ -515,10 +515,20 @@ module Aws::S3
515
515
  #
516
516
  # * `CRC64NVME`
517
517
  #
518
+ # * `MD5`
519
+ #
518
520
  # * `SHA1`
519
521
  #
520
522
  # * `SHA256`
521
523
  #
524
+ # * `SHA512`
525
+ #
526
+ # * `XXHASH3`
527
+ #
528
+ # * `XXHASH64`
529
+ #
530
+ # * `XXHASH128`
531
+ #
522
532
  # For more information, see [Checking object integrity][1] in the
523
533
  # *Amazon S3 User Guide*.
524
534
  #
@@ -554,12 +564,17 @@ module Aws::S3
554
564
  # content_length: 1,
555
565
  # content_md5: "ContentMD5",
556
566
  # content_type: "ContentType",
557
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
567
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
558
568
  # checksum_crc32: "ChecksumCRC32",
559
569
  # checksum_crc32c: "ChecksumCRC32C",
560
570
  # checksum_crc64nvme: "ChecksumCRC64NVME",
561
571
  # checksum_sha1: "ChecksumSHA1",
562
572
  # checksum_sha256: "ChecksumSHA256",
573
+ # checksum_sha512: "ChecksumSHA512",
574
+ # checksum_md5: "ChecksumMD5",
575
+ # checksum_xxhash64: "ChecksumXXHASH64",
576
+ # checksum_xxhash3: "ChecksumXXHASH3",
577
+ # checksum_xxhash128: "ChecksumXXHASH128",
563
578
  # expires: Time.now,
564
579
  # if_match: "IfMatch",
565
580
  # if_none_match: "IfNoneMatch",
@@ -713,10 +728,20 @@ module Aws::S3
713
728
  #
714
729
  # * `CRC64NVME`
715
730
  #
731
+ # * `MD5`
732
+ #
716
733
  # * `SHA1`
717
734
  #
718
735
  # * `SHA256`
719
736
  #
737
+ # * `SHA512`
738
+ #
739
+ # * `XXHASH3`
740
+ #
741
+ # * `XXHASH64`
742
+ #
743
+ # * `XXHASH128`
744
+ #
720
745
  # For more information, see [Checking object integrity][1] in the
721
746
  # *Amazon S3 User Guide*.
722
747
  #
@@ -791,6 +816,56 @@ module Aws::S3
791
816
  #
792
817
  #
793
818
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
819
+ # @option options [String] :checksum_sha512
820
+ # This header can be used as a data integrity check to verify that the
821
+ # data received is the same data that was originally sent. This header
822
+ # specifies the Base64 encoded, 512-bit `SHA512` digest of the object.
823
+ # For more information, see [Checking object integrity in the Amazon S3
824
+ # User Guide][1].
825
+ #
826
+ #
827
+ #
828
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
829
+ # @option options [String] :checksum_md5
830
+ # This header can be used as a data integrity check to verify that the
831
+ # data received is the same data that was originally sent. This header
832
+ # specifies the Base64 encoded, 128-bit `MD5` digest of the object. For
833
+ # more information, see [Checking object integrity in the Amazon S3 User
834
+ # Guide][1].
835
+ #
836
+ #
837
+ #
838
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
839
+ # @option options [String] :checksum_xxhash64
840
+ # This header can be used as a data integrity check to verify that the
841
+ # data received is the same data that was originally sent. This header
842
+ # specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the
843
+ # object. For more information, see [Checking object integrity in the
844
+ # Amazon S3 User Guide][1].
845
+ #
846
+ #
847
+ #
848
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
849
+ # @option options [String] :checksum_xxhash3
850
+ # This header can be used as a data integrity check to verify that the
851
+ # data received is the same data that was originally sent. This header
852
+ # specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the object.
853
+ # For more information, see [Checking object integrity in the Amazon S3
854
+ # User Guide][1].
855
+ #
856
+ #
857
+ #
858
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
859
+ # @option options [String] :checksum_xxhash128
860
+ # This header can be used as a data integrity check to verify that the
861
+ # data received is the same data that was originally sent. This header
862
+ # specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the
863
+ # object. For more information, see [Checking object integrity in the
864
+ # Amazon S3 User Guide][1].
865
+ #
866
+ #
867
+ #
868
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
794
869
  # @option options [Time,DateTime,Date,Integer,String] :expires
795
870
  # The date and time at which the object is no longer cacheable. For more
796
871
  # information, see
@@ -207,7 +207,7 @@ module Aws::S3
207
207
  # },
208
208
  # },
209
209
  # content_md5: "ContentMD5",
210
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
210
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
211
211
  # grant_full_control: "GrantFullControl",
212
212
  # grant_read: "GrantRead",
213
213
  # grant_read_acp: "GrantReadACP",
@@ -214,7 +214,7 @@ module Aws::S3
214
214
  # ],
215
215
  # },
216
216
  # content_md5: "ContentMD5",
217
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
217
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
218
218
  # expected_bucket_owner: "AccountId",
219
219
  # })
220
220
  # @param [Hash] options ({})
@@ -206,7 +206,7 @@ module Aws::S3
206
206
  #
207
207
  # bucket_lifecycle.put({
208
208
  # content_md5: "ContentMD5",
209
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
209
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
210
210
  # lifecycle_configuration: {
211
211
  # rules: [ # required
212
212
  # {
@@ -230,7 +230,7 @@ module Aws::S3
230
230
  # @example Request syntax with placeholder values
231
231
  #
232
232
  # bucket_lifecycle_configuration.put({
233
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
233
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
234
234
  # lifecycle_configuration: {
235
235
  # rules: [ # required
236
236
  # {
@@ -213,7 +213,7 @@ module Aws::S3
213
213
  # },
214
214
  # },
215
215
  # content_md5: "ContentMD5",
216
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
216
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
217
217
  # expected_bucket_owner: "AccountId",
218
218
  # })
219
219
  # @param [Hash] options ({})
@@ -207,7 +207,7 @@ module Aws::S3
207
207
  #
208
208
  # bucket_policy.put({
209
209
  # content_md5: "ContentMD5",
210
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
210
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
211
211
  # confirm_remove_self_bucket_access: false,
212
212
  # policy: "Policy", # required
213
213
  # expected_bucket_owner: "AccountId",
@@ -240,10 +240,20 @@ module Aws::S3
240
240
  #
241
241
  # * `CRC64NVME`
242
242
  #
243
+ # * `MD5`
244
+ #
243
245
  # * `SHA1`
244
246
  #
245
247
  # * `SHA256`
246
248
  #
249
+ # * `SHA512`
250
+ #
251
+ # * `XXHASH3`
252
+ #
253
+ # * `XXHASH64`
254
+ #
255
+ # * `XXHASH128`
256
+ #
247
257
  # For more information, see [Checking object integrity][1] in the
248
258
  # *Amazon S3 User Guide*.
249
259
  #
@@ -182,7 +182,7 @@ module Aws::S3
182
182
  #
183
183
  # bucket_request_payment.put({
184
184
  # content_md5: "ContentMD5",
185
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
185
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
186
186
  # request_payment_configuration: { # required
187
187
  # payer: "Requester", # required, accepts Requester, BucketOwner
188
188
  # },
@@ -201,7 +201,7 @@ module Aws::S3
201
201
  #
202
202
  # bucket_tagging.put({
203
203
  # content_md5: "ContentMD5",
204
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
204
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
205
205
  # tagging: { # required
206
206
  # tag_set: [ # required
207
207
  # {
@@ -191,7 +191,7 @@ module Aws::S3
191
191
  #
192
192
  # bucket_versioning.enable({
193
193
  # content_md5: "ContentMD5",
194
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
194
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
195
195
  # mfa: "MFA",
196
196
  # expected_bucket_owner: "AccountId",
197
197
  # })
@@ -260,7 +260,7 @@ module Aws::S3
260
260
  #
261
261
  # bucket_versioning.put({
262
262
  # content_md5: "ContentMD5",
263
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
263
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
264
264
  # mfa: "MFA",
265
265
  # versioning_configuration: { # required
266
266
  # mfa_delete: "Enabled", # accepts Enabled, Disabled
@@ -330,7 +330,7 @@ module Aws::S3
330
330
  #
331
331
  # bucket_versioning.suspend({
332
332
  # content_md5: "ContentMD5",
333
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
333
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
334
334
  # mfa: "MFA",
335
335
  # expected_bucket_owner: "AccountId",
336
336
  # })
@@ -223,7 +223,7 @@ module Aws::S3
223
223
  #
224
224
  # bucket_website.put({
225
225
  # content_md5: "ContentMD5",
226
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
226
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
227
227
  # website_configuration: { # required
228
228
  # error_document: {
229
229
  # key: "ObjectKey", # required