aws-sdk-s3 1.177.0 → 1.178.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +38 -24
  5. data/lib/aws-sdk-s3/bucket_acl.rb +5 -4
  6. data/lib/aws-sdk-s3/bucket_cors.rb +5 -4
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
  9. data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
  10. data/lib/aws-sdk-s3/bucket_policy.rb +9 -8
  11. data/lib/aws-sdk-s3/bucket_request_payment.rb +2 -2
  12. data/lib/aws-sdk-s3/bucket_tagging.rb +2 -2
  13. data/lib/aws-sdk-s3/bucket_versioning.rb +6 -6
  14. data/lib/aws-sdk-s3/bucket_website.rb +2 -2
  15. data/lib/aws-sdk-s3/client.rb +379 -237
  16. data/lib/aws-sdk-s3/client_api.rb +34 -2
  17. data/lib/aws-sdk-s3/file_downloader.rb +4 -21
  18. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  19. data/lib/aws-sdk-s3/multipart_upload.rb +48 -6
  20. data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
  21. data/lib/aws-sdk-s3/object.rb +108 -58
  22. data/lib/aws-sdk-s3/object_acl.rb +4 -4
  23. data/lib/aws-sdk-s3/object_summary.rb +63 -28
  24. data/lib/aws-sdk-s3/object_version.rb +21 -8
  25. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  26. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  27. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  28. data/lib/aws-sdk-s3/presigner.rb +4 -5
  29. data/lib/aws-sdk-s3/types.rb +734 -416
  30. data/lib/aws-sdk-s3.rb +1 -1
  31. data/sig/bucket.rbs +3 -2
  32. data/sig/bucket_acl.rbs +1 -1
  33. data/sig/bucket_cors.rbs +1 -1
  34. data/sig/bucket_lifecycle.rbs +1 -1
  35. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  36. data/sig/bucket_logging.rbs +1 -1
  37. data/sig/bucket_policy.rbs +1 -1
  38. data/sig/bucket_request_payment.rbs +1 -1
  39. data/sig/bucket_tagging.rbs +1 -1
  40. data/sig/bucket_versioning.rbs +3 -3
  41. data/sig/bucket_website.rbs +1 -1
  42. data/sig/client.rbs +50 -29
  43. data/sig/multipart_upload.rbs +8 -1
  44. data/sig/multipart_upload_part.rbs +5 -1
  45. data/sig/object.rbs +13 -5
  46. data/sig/object_acl.rbs +1 -1
  47. data/sig/object_summary.rbs +11 -6
  48. data/sig/object_version.rbs +5 -2
  49. data/sig/resource.rbs +2 -0
  50. data/sig/types.rbs +61 -32
  51. metadata +5 -5
  52. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
@@ -27,7 +27,10 @@ module Aws
27
27
  def etag: () -> ::String
28
28
 
29
29
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_algorithm-instance_method
30
- def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
30
+ def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_type-instance_method
33
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
31
34
 
32
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#size-instance_method
33
36
  def size: () -> ::Integer
@@ -66,7 +69,7 @@ module Aws
66
69
  def copy_from: (
67
70
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
68
71
  ?cache_control: ::String,
69
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
72
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
70
73
  ?content_disposition: ::String,
71
74
  ?content_encoding: ::String,
72
75
  ?content_language: ::String,
@@ -172,7 +175,8 @@ module Aws
172
175
  ?object_lock_retain_until_date: ::Time,
173
176
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
174
177
  ?expected_bucket_owner: ::String,
175
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
178
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
179
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
176
180
  ) -> MultipartUpload
177
181
  | (?Hash[Symbol, untyped]) -> MultipartUpload
178
182
 
@@ -187,9 +191,10 @@ module Aws
187
191
  ?content_length: ::Integer,
188
192
  ?content_md5: ::String,
189
193
  ?content_type: ::String,
190
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
194
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
191
195
  ?checksum_crc32: ::String,
192
196
  ?checksum_crc32c: ::String,
197
+ ?checksum_crc64nvme: ::String,
193
198
  ?checksum_sha1: ::String,
194
199
  ?checksum_sha256: ::String,
195
200
  ?expires: ::Time,
@@ -304,7 +309,7 @@ module Aws
304
309
  }?
305
310
  },
306
311
  ?request_payer: ("requester"),
307
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
312
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
308
313
  ?expected_bucket_owner: ::String
309
314
  ) -> Types::RestoreObjectOutput
310
315
  | (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
@@ -331,7 +336,7 @@ module Aws
331
336
  ?request_payer: ("requester"),
332
337
  ?bypass_governance_retention: bool,
333
338
  ?expected_bucket_owner: ::String,
334
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
339
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
335
340
  ) -> void
336
341
  | (?Hash[Symbol, untyped]) -> void
337
342
  end
@@ -27,7 +27,10 @@ module Aws
27
27
  def etag: () -> ::String
28
28
 
29
29
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_algorithm-instance_method
30
- def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
30
+ def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_type-instance_method
33
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
31
34
 
32
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#size-instance_method
33
36
  def size: () -> ::Integer
@@ -131,7 +134,7 @@ module Aws
131
134
  ?request_payer: ("requester"),
132
135
  ?bypass_governance_retention: bool,
133
136
  ?expected_bucket_owner: ::String,
134
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
137
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
135
138
  ) -> void
136
139
  | (?Hash[Symbol, untyped]) -> void
137
140
  end
data/sig/resource.rbs CHANGED
@@ -49,8 +49,10 @@ module Aws
49
49
  ?max_attempts: Integer,
50
50
  ?output_event_stream_handler: Proc,
51
51
  ?profile: String,
52
+ ?request_checksum_calculation: String,
52
53
  ?request_min_compression_size_bytes: Integer,
53
54
  ?require_https_for_sse_cpk: bool,
55
+ ?response_checksum_validation: String,
54
56
  ?retry_backoff: Proc,
55
57
  ?retry_base_delay: Float,
56
58
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -144,8 +144,10 @@ module Aws::S3
144
144
  class Checksum
145
145
  attr_accessor checksum_crc32: ::String
146
146
  attr_accessor checksum_crc32c: ::String
147
+ attr_accessor checksum_crc64nvme: ::String
147
148
  attr_accessor checksum_sha1: ::String
148
149
  attr_accessor checksum_sha256: ::String
150
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
149
151
  SENSITIVE: []
150
152
  end
151
153
 
@@ -171,8 +173,10 @@ module Aws::S3
171
173
  attr_accessor etag: ::String
172
174
  attr_accessor checksum_crc32: ::String
173
175
  attr_accessor checksum_crc32c: ::String
176
+ attr_accessor checksum_crc64nvme: ::String
174
177
  attr_accessor checksum_sha1: ::String
175
178
  attr_accessor checksum_sha256: ::String
179
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
176
180
  attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
177
181
  attr_accessor version_id: ::String
178
182
  attr_accessor ssekms_key_id: ::String
@@ -188,8 +192,11 @@ module Aws::S3
188
192
  attr_accessor upload_id: ::String
189
193
  attr_accessor checksum_crc32: ::String
190
194
  attr_accessor checksum_crc32c: ::String
195
+ attr_accessor checksum_crc64nvme: ::String
191
196
  attr_accessor checksum_sha1: ::String
192
197
  attr_accessor checksum_sha256: ::String
198
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
199
+ attr_accessor mpu_object_size: ::Integer
193
200
  attr_accessor request_payer: ("requester")
194
201
  attr_accessor expected_bucket_owner: ::String
195
202
  attr_accessor if_match: ::String
@@ -209,6 +216,7 @@ module Aws::S3
209
216
  attr_accessor etag: ::String
210
217
  attr_accessor checksum_crc32: ::String
211
218
  attr_accessor checksum_crc32c: ::String
219
+ attr_accessor checksum_crc64nvme: ::String
212
220
  attr_accessor checksum_sha1: ::String
213
221
  attr_accessor checksum_sha256: ::String
214
222
  attr_accessor part_number: ::Integer
@@ -245,7 +253,7 @@ module Aws::S3
245
253
  attr_accessor acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control")
246
254
  attr_accessor bucket: ::String
247
255
  attr_accessor cache_control: ::String
248
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
256
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
249
257
  attr_accessor content_disposition: ::String
250
258
  attr_accessor content_encoding: ::String
251
259
  attr_accessor content_language: ::String
@@ -289,8 +297,10 @@ module Aws::S3
289
297
  class CopyObjectResult
290
298
  attr_accessor etag: ::String
291
299
  attr_accessor last_modified: ::Time
300
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
292
301
  attr_accessor checksum_crc32: ::String
293
302
  attr_accessor checksum_crc32c: ::String
303
+ attr_accessor checksum_crc64nvme: ::String
294
304
  attr_accessor checksum_sha1: ::String
295
305
  attr_accessor checksum_sha256: ::String
296
306
  SENSITIVE: []
@@ -301,6 +311,7 @@ module Aws::S3
301
311
  attr_accessor last_modified: ::Time
302
312
  attr_accessor checksum_crc32: ::String
303
313
  attr_accessor checksum_crc32c: ::String
314
+ attr_accessor checksum_crc64nvme: ::String
304
315
  attr_accessor checksum_sha1: ::String
305
316
  attr_accessor checksum_sha256: ::String
306
317
  SENSITIVE: []
@@ -316,7 +327,7 @@ module Aws::S3
316
327
  class CreateBucketMetadataTableConfigurationRequest
317
328
  attr_accessor bucket: ::String
318
329
  attr_accessor content_md5: ::String
319
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
330
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
320
331
  attr_accessor metadata_table_configuration: Types::MetadataTableConfiguration
321
332
  attr_accessor expected_bucket_owner: ::String
322
333
  SENSITIVE: []
@@ -354,7 +365,8 @@ module Aws::S3
354
365
  attr_accessor ssekms_encryption_context: ::String
355
366
  attr_accessor bucket_key_enabled: bool
356
367
  attr_accessor request_charged: ("requester")
357
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
368
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
369
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
358
370
  SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
359
371
  end
360
372
 
@@ -388,7 +400,8 @@ module Aws::S3
388
400
  attr_accessor object_lock_retain_until_date: ::Time
389
401
  attr_accessor object_lock_legal_hold_status: ("ON" | "OFF")
390
402
  attr_accessor expected_bucket_owner: ::String
391
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
403
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
404
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
392
405
  SENSITIVE: [:sse_customer_key, :ssekms_key_id, :ssekms_encryption_context]
393
406
  end
394
407
 
@@ -573,7 +586,7 @@ module Aws::S3
573
586
  attr_accessor request_payer: ("requester")
574
587
  attr_accessor bypass_governance_retention: bool
575
588
  attr_accessor expected_bucket_owner: ::String
576
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
589
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
577
590
  SENSITIVE: []
578
591
  end
579
592
 
@@ -1000,8 +1013,10 @@ module Aws::S3
1000
1013
  attr_accessor etag: ::String
1001
1014
  attr_accessor checksum_crc32: ::String
1002
1015
  attr_accessor checksum_crc32c: ::String
1016
+ attr_accessor checksum_crc64nvme: ::String
1003
1017
  attr_accessor checksum_sha1: ::String
1004
1018
  attr_accessor checksum_sha256: ::String
1019
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1005
1020
  attr_accessor missing_meta: ::Integer
1006
1021
  attr_accessor version_id: ::String
1007
1022
  attr_accessor cache_control: ::String
@@ -1153,8 +1168,10 @@ module Aws::S3
1153
1168
  attr_accessor content_length: ::Integer
1154
1169
  attr_accessor checksum_crc32: ::String
1155
1170
  attr_accessor checksum_crc32c: ::String
1171
+ attr_accessor checksum_crc64nvme: ::String
1156
1172
  attr_accessor checksum_sha1: ::String
1157
1173
  attr_accessor checksum_sha256: ::String
1174
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1158
1175
  attr_accessor etag: ::String
1159
1176
  attr_accessor missing_meta: ::Integer
1160
1177
  attr_accessor version_id: ::String
@@ -1584,7 +1601,8 @@ module Aws::S3
1584
1601
  attr_accessor owner: Types::Owner
1585
1602
  attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1586
1603
  attr_accessor request_charged: ("requester")
1587
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1604
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1605
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1588
1606
  SENSITIVE: []
1589
1607
  end
1590
1608
 
@@ -1666,7 +1684,8 @@ module Aws::S3
1666
1684
  attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1667
1685
  attr_accessor owner: Types::Owner
1668
1686
  attr_accessor initiator: Types::Initiator
1669
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1687
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1688
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1670
1689
  SENSITIVE: []
1671
1690
  end
1672
1691
 
@@ -1716,7 +1735,8 @@ module Aws::S3
1716
1735
  attr_accessor key: ::String
1717
1736
  attr_accessor last_modified: ::Time
1718
1737
  attr_accessor etag: ::String
1719
- attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
1738
+ attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
1739
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1720
1740
  attr_accessor size: ::Integer
1721
1741
  attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1722
1742
  attr_accessor owner: Types::Owner
@@ -1766,6 +1786,7 @@ module Aws::S3
1766
1786
  attr_accessor size: ::Integer
1767
1787
  attr_accessor checksum_crc32: ::String
1768
1788
  attr_accessor checksum_crc32c: ::String
1789
+ attr_accessor checksum_crc64nvme: ::String
1769
1790
  attr_accessor checksum_sha1: ::String
1770
1791
  attr_accessor checksum_sha256: ::String
1771
1792
  SENSITIVE: []
@@ -1773,7 +1794,8 @@ module Aws::S3
1773
1794
 
1774
1795
  class ObjectVersion
1775
1796
  attr_accessor etag: ::String
1776
- attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
1797
+ attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
1798
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1777
1799
  attr_accessor size: ::Integer
1778
1800
  attr_accessor storage_class: ("STANDARD")
1779
1801
  attr_accessor key: ::String
@@ -1822,6 +1844,7 @@ module Aws::S3
1822
1844
  attr_accessor size: ::Integer
1823
1845
  attr_accessor checksum_crc32: ::String
1824
1846
  attr_accessor checksum_crc32c: ::String
1847
+ attr_accessor checksum_crc64nvme: ::String
1825
1848
  attr_accessor checksum_sha1: ::String
1826
1849
  attr_accessor checksum_sha256: ::String
1827
1850
  SENSITIVE: []
@@ -1862,7 +1885,7 @@ module Aws::S3
1862
1885
  attr_accessor bucket: ::String
1863
1886
  attr_accessor accelerate_configuration: Types::AccelerateConfiguration
1864
1887
  attr_accessor expected_bucket_owner: ::String
1865
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1888
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1866
1889
  SENSITIVE: []
1867
1890
  end
1868
1891
 
@@ -1871,7 +1894,7 @@ module Aws::S3
1871
1894
  attr_accessor access_control_policy: Types::AccessControlPolicy
1872
1895
  attr_accessor bucket: ::String
1873
1896
  attr_accessor content_md5: ::String
1874
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1897
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1875
1898
  attr_accessor grant_full_control: ::String
1876
1899
  attr_accessor grant_read: ::String
1877
1900
  attr_accessor grant_read_acp: ::String
@@ -1893,7 +1916,7 @@ module Aws::S3
1893
1916
  attr_accessor bucket: ::String
1894
1917
  attr_accessor cors_configuration: Types::CORSConfiguration
1895
1918
  attr_accessor content_md5: ::String
1896
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1919
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1897
1920
  attr_accessor expected_bucket_owner: ::String
1898
1921
  SENSITIVE: []
1899
1922
  end
@@ -1901,7 +1924,7 @@ module Aws::S3
1901
1924
  class PutBucketEncryptionRequest
1902
1925
  attr_accessor bucket: ::String
1903
1926
  attr_accessor content_md5: ::String
1904
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1927
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1905
1928
  attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
1906
1929
  attr_accessor expected_bucket_owner: ::String
1907
1930
  SENSITIVE: []
@@ -1929,7 +1952,7 @@ module Aws::S3
1929
1952
 
1930
1953
  class PutBucketLifecycleConfigurationRequest
1931
1954
  attr_accessor bucket: ::String
1932
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1955
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1933
1956
  attr_accessor lifecycle_configuration: Types::BucketLifecycleConfiguration
1934
1957
  attr_accessor expected_bucket_owner: ::String
1935
1958
  attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
@@ -1939,7 +1962,7 @@ module Aws::S3
1939
1962
  class PutBucketLifecycleRequest
1940
1963
  attr_accessor bucket: ::String
1941
1964
  attr_accessor content_md5: ::String
1942
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1965
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1943
1966
  attr_accessor lifecycle_configuration: Types::LifecycleConfiguration
1944
1967
  attr_accessor expected_bucket_owner: ::String
1945
1968
  SENSITIVE: []
@@ -1949,7 +1972,7 @@ module Aws::S3
1949
1972
  attr_accessor bucket: ::String
1950
1973
  attr_accessor bucket_logging_status: Types::BucketLoggingStatus
1951
1974
  attr_accessor content_md5: ::String
1952
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1975
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1953
1976
  attr_accessor expected_bucket_owner: ::String
1954
1977
  SENSITIVE: []
1955
1978
  end
@@ -1973,7 +1996,7 @@ module Aws::S3
1973
1996
  class PutBucketNotificationRequest
1974
1997
  attr_accessor bucket: ::String
1975
1998
  attr_accessor content_md5: ::String
1976
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1999
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1977
2000
  attr_accessor notification_configuration: Types::NotificationConfigurationDeprecated
1978
2001
  attr_accessor expected_bucket_owner: ::String
1979
2002
  SENSITIVE: []
@@ -1990,7 +2013,7 @@ module Aws::S3
1990
2013
  class PutBucketPolicyRequest
1991
2014
  attr_accessor bucket: ::String
1992
2015
  attr_accessor content_md5: ::String
1993
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2016
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1994
2017
  attr_accessor confirm_remove_self_bucket_access: bool
1995
2018
  attr_accessor policy: ::IO
1996
2019
  attr_accessor expected_bucket_owner: ::String
@@ -2000,7 +2023,7 @@ module Aws::S3
2000
2023
  class PutBucketReplicationRequest
2001
2024
  attr_accessor bucket: ::String
2002
2025
  attr_accessor content_md5: ::String
2003
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2026
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2004
2027
  attr_accessor replication_configuration: Types::ReplicationConfiguration
2005
2028
  attr_accessor token: ::String
2006
2029
  attr_accessor expected_bucket_owner: ::String
@@ -2010,7 +2033,7 @@ module Aws::S3
2010
2033
  class PutBucketRequestPaymentRequest
2011
2034
  attr_accessor bucket: ::String
2012
2035
  attr_accessor content_md5: ::String
2013
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2036
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2014
2037
  attr_accessor request_payment_configuration: Types::RequestPaymentConfiguration
2015
2038
  attr_accessor expected_bucket_owner: ::String
2016
2039
  SENSITIVE: []
@@ -2019,7 +2042,7 @@ module Aws::S3
2019
2042
  class PutBucketTaggingRequest
2020
2043
  attr_accessor bucket: ::String
2021
2044
  attr_accessor content_md5: ::String
2022
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2045
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2023
2046
  attr_accessor tagging: Types::Tagging
2024
2047
  attr_accessor expected_bucket_owner: ::String
2025
2048
  SENSITIVE: []
@@ -2028,7 +2051,7 @@ module Aws::S3
2028
2051
  class PutBucketVersioningRequest
2029
2052
  attr_accessor bucket: ::String
2030
2053
  attr_accessor content_md5: ::String
2031
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2054
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2032
2055
  attr_accessor mfa: ::String
2033
2056
  attr_accessor versioning_configuration: Types::VersioningConfiguration
2034
2057
  attr_accessor expected_bucket_owner: ::String
@@ -2038,7 +2061,7 @@ module Aws::S3
2038
2061
  class PutBucketWebsiteRequest
2039
2062
  attr_accessor bucket: ::String
2040
2063
  attr_accessor content_md5: ::String
2041
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2064
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2042
2065
  attr_accessor website_configuration: Types::WebsiteConfiguration
2043
2066
  attr_accessor expected_bucket_owner: ::String
2044
2067
  SENSITIVE: []
@@ -2054,7 +2077,7 @@ module Aws::S3
2054
2077
  attr_accessor access_control_policy: Types::AccessControlPolicy
2055
2078
  attr_accessor bucket: ::String
2056
2079
  attr_accessor content_md5: ::String
2057
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2080
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2058
2081
  attr_accessor grant_full_control: ::String
2059
2082
  attr_accessor grant_read: ::String
2060
2083
  attr_accessor grant_read_acp: ::String
@@ -2079,7 +2102,7 @@ module Aws::S3
2079
2102
  attr_accessor request_payer: ("requester")
2080
2103
  attr_accessor version_id: ::String
2081
2104
  attr_accessor content_md5: ::String
2082
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2105
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2083
2106
  attr_accessor expected_bucket_owner: ::String
2084
2107
  SENSITIVE: []
2085
2108
  end
@@ -2095,7 +2118,7 @@ module Aws::S3
2095
2118
  attr_accessor request_payer: ("requester")
2096
2119
  attr_accessor token: ::String
2097
2120
  attr_accessor content_md5: ::String
2098
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2121
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2099
2122
  attr_accessor expected_bucket_owner: ::String
2100
2123
  SENSITIVE: []
2101
2124
  end
@@ -2105,8 +2128,10 @@ module Aws::S3
2105
2128
  attr_accessor etag: ::String
2106
2129
  attr_accessor checksum_crc32: ::String
2107
2130
  attr_accessor checksum_crc32c: ::String
2131
+ attr_accessor checksum_crc64nvme: ::String
2108
2132
  attr_accessor checksum_sha1: ::String
2109
2133
  attr_accessor checksum_sha256: ::String
2134
+ attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
2110
2135
  attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2111
2136
  attr_accessor version_id: ::String
2112
2137
  attr_accessor sse_customer_algorithm: ::String
@@ -2130,9 +2155,10 @@ module Aws::S3
2130
2155
  attr_accessor content_length: ::Integer
2131
2156
  attr_accessor content_md5: ::String
2132
2157
  attr_accessor content_type: ::String
2133
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2158
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2134
2159
  attr_accessor checksum_crc32: ::String
2135
2160
  attr_accessor checksum_crc32c: ::String
2161
+ attr_accessor checksum_crc64nvme: ::String
2136
2162
  attr_accessor checksum_sha1: ::String
2137
2163
  attr_accessor checksum_sha256: ::String
2138
2164
  attr_accessor expires: ::Time
@@ -2176,7 +2202,7 @@ module Aws::S3
2176
2202
  attr_accessor version_id: ::String
2177
2203
  attr_accessor bypass_governance_retention: bool
2178
2204
  attr_accessor content_md5: ::String
2179
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2205
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2180
2206
  attr_accessor expected_bucket_owner: ::String
2181
2207
  SENSITIVE: []
2182
2208
  end
@@ -2191,7 +2217,7 @@ module Aws::S3
2191
2217
  attr_accessor key: ::String
2192
2218
  attr_accessor version_id: ::String
2193
2219
  attr_accessor content_md5: ::String
2194
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2220
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2195
2221
  attr_accessor tagging: Types::Tagging
2196
2222
  attr_accessor expected_bucket_owner: ::String
2197
2223
  attr_accessor request_payer: ("requester")
@@ -2201,7 +2227,7 @@ module Aws::S3
2201
2227
  class PutPublicAccessBlockRequest
2202
2228
  attr_accessor bucket: ::String
2203
2229
  attr_accessor content_md5: ::String
2204
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2230
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2205
2231
  attr_accessor public_access_block_configuration: Types::PublicAccessBlockConfiguration
2206
2232
  attr_accessor expected_bucket_owner: ::String
2207
2233
  SENSITIVE: []
@@ -2314,7 +2340,7 @@ module Aws::S3
2314
2340
  attr_accessor version_id: ::String
2315
2341
  attr_accessor restore_request: Types::RestoreRequest
2316
2342
  attr_accessor request_payer: ("requester")
2317
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2343
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2318
2344
  attr_accessor expected_bucket_owner: ::String
2319
2345
  SENSITIVE: []
2320
2346
  end
@@ -2586,6 +2612,7 @@ module Aws::S3
2586
2612
  attr_accessor etag: ::String
2587
2613
  attr_accessor checksum_crc32: ::String
2588
2614
  attr_accessor checksum_crc32c: ::String
2615
+ attr_accessor checksum_crc64nvme: ::String
2589
2616
  attr_accessor checksum_sha1: ::String
2590
2617
  attr_accessor checksum_sha256: ::String
2591
2618
  attr_accessor sse_customer_algorithm: ::String
@@ -2601,9 +2628,10 @@ module Aws::S3
2601
2628
  attr_accessor bucket: ::String
2602
2629
  attr_accessor content_length: ::Integer
2603
2630
  attr_accessor content_md5: ::String
2604
- attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
2631
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2605
2632
  attr_accessor checksum_crc32: ::String
2606
2633
  attr_accessor checksum_crc32c: ::String
2634
+ attr_accessor checksum_crc64nvme: ::String
2607
2635
  attr_accessor checksum_sha1: ::String
2608
2636
  attr_accessor checksum_sha256: ::String
2609
2637
  attr_accessor key: ::String
@@ -2648,6 +2676,7 @@ module Aws::S3
2648
2676
  attr_accessor content_type: ::String
2649
2677
  attr_accessor checksum_crc32: ::String
2650
2678
  attr_accessor checksum_crc32c: ::String
2679
+ attr_accessor checksum_crc64nvme: ::String
2651
2680
  attr_accessor checksum_sha1: ::String
2652
2681
  attr_accessor checksum_sha256: ::String
2653
2682
  attr_accessor delete_marker: bool
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.177.0
4
+ version: 1.178.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.210.0
50
+ version: 3.216.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 3.210.0
60
+ version: 3.216.0
61
61
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
62
62
  This gem is part of the AWS SDK for Ruby.
63
63
  email:
@@ -151,6 +151,7 @@ files:
151
151
  - lib/aws-sdk-s3/plugins/arn.rb
152
152
  - lib/aws-sdk-s3/plugins/bucket_dns.rb
153
153
  - lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb
154
+ - lib/aws-sdk-s3/plugins/checksum_algorithm.rb
154
155
  - lib/aws-sdk-s3/plugins/dualstack.rb
155
156
  - lib/aws-sdk-s3/plugins/endpoints.rb
156
157
  - lib/aws-sdk-s3/plugins/expect_100_continue.rb
@@ -163,7 +164,6 @@ files:
163
164
  - lib/aws-sdk-s3/plugins/redirects.rb
164
165
  - lib/aws-sdk-s3/plugins/s3_host_id.rb
165
166
  - lib/aws-sdk-s3/plugins/s3_signer.rb
166
- - lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb
167
167
  - lib/aws-sdk-s3/plugins/sse_cpk.rb
168
168
  - lib/aws-sdk-s3/plugins/streaming_retry.rb
169
169
  - lib/aws-sdk-s3/plugins/url_encoded_keys.rb
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Aws
4
- module S3
5
- module Plugins
6
-
7
- # S3 GetObject results for whole Multipart Objects contain a checksum
8
- # that cannot be validated. These should be skipped by the
9
- # ChecksumAlgorithm plugin.
10
- class SkipWholeMultipartGetChecksums < Seahorse::Client::Plugin
11
-
12
- class Handler < Seahorse::Client::Handler
13
-
14
- def call(context)
15
- context[:http_checksum] ||= {}
16
- context[:http_checksum][:skip_on_suffix] = true
17
-
18
- @handler.call(context)
19
- end
20
-
21
- end
22
-
23
- handler(
24
- Handler,
25
- step: :initialize,
26
- operations: [:get_object]
27
- )
28
- end
29
- end
30
- end
31
- end