aws-sdk-s3 1.169.0 → 1.189.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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +118 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +79 -33
  5. data/lib/aws-sdk-s3/bucket_acl.rb +6 -5
  6. data/lib/aws-sdk-s3/bucket_cors.rb +6 -5
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +7 -2
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +22 -2
  9. data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
  10. data/lib/aws-sdk-s3/bucket_policy.rb +6 -5
  11. data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
  12. data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_versioning.rb +9 -9
  14. data/lib/aws-sdk-s3/bucket_website.rb +3 -3
  15. data/lib/aws-sdk-s3/client.rb +2529 -1652
  16. data/lib/aws-sdk-s3/client_api.rb +325 -160
  17. data/lib/aws-sdk-s3/endpoint_provider.rb +400 -276
  18. data/lib/aws-sdk-s3/endpoints.rb +42 -0
  19. data/lib/aws-sdk-s3/errors.rb +44 -0
  20. data/lib/aws-sdk-s3/file_downloader.rb +14 -31
  21. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  22. data/lib/aws-sdk-s3/multipart_upload.rb +83 -6
  23. data/lib/aws-sdk-s3/multipart_upload_part.rb +50 -34
  24. data/lib/aws-sdk-s3/object.rb +242 -114
  25. data/lib/aws-sdk-s3/object_acl.rb +11 -5
  26. data/lib/aws-sdk-s3/object_summary.rb +180 -82
  27. data/lib/aws-sdk-s3/object_version.rb +60 -13
  28. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  29. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  30. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
  31. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  32. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  33. data/lib/aws-sdk-s3/presigner.rb +5 -5
  34. data/lib/aws-sdk-s3/resource.rb +10 -9
  35. data/lib/aws-sdk-s3/types.rb +2300 -1050
  36. data/lib/aws-sdk-s3.rb +1 -1
  37. data/sig/bucket.rbs +12 -6
  38. data/sig/bucket_acl.rbs +1 -1
  39. data/sig/bucket_cors.rbs +1 -1
  40. data/sig/bucket_lifecycle.rbs +1 -1
  41. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  42. data/sig/bucket_logging.rbs +1 -1
  43. data/sig/bucket_policy.rbs +1 -1
  44. data/sig/bucket_request_payment.rbs +1 -1
  45. data/sig/bucket_tagging.rbs +1 -1
  46. data/sig/bucket_versioning.rbs +3 -3
  47. data/sig/bucket_website.rbs +1 -1
  48. data/sig/client.rbs +104 -37
  49. data/sig/errors.rbs +8 -0
  50. data/sig/multipart_upload.rbs +11 -2
  51. data/sig/multipart_upload_part.rbs +5 -1
  52. data/sig/object.rbs +22 -6
  53. data/sig/object_acl.rbs +1 -1
  54. data/sig/object_summary.rbs +17 -7
  55. data/sig/object_version.rbs +9 -3
  56. data/sig/resource.rbs +5 -3
  57. data/sig/types.rbs +153 -36
  58. metadata +7 -10
  59. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
data/sig/client.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),
@@ -100,7 +102,8 @@ module Aws
100
102
  key: ::String,
101
103
  upload_id: ::String,
102
104
  ?request_payer: ("requester"),
103
- ?expected_bucket_owner: ::String
105
+ ?expected_bucket_owner: ::String,
106
+ ?if_match_initiated_time: ::Time
104
107
  ) -> _AbortMultipartUploadResponseSuccess
105
108
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AbortMultipartUploadResponseSuccess
106
109
 
@@ -113,8 +116,10 @@ module Aws
113
116
  def etag: () -> ::String
114
117
  def checksum_crc32: () -> ::String
115
118
  def checksum_crc32c: () -> ::String
119
+ def checksum_crc64nvme: () -> ::String
116
120
  def checksum_sha1: () -> ::String
117
121
  def checksum_sha256: () -> ::String
122
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
118
123
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
119
124
  def version_id: () -> ::String
120
125
  def ssekms_key_id: () -> ::String
@@ -131,6 +136,7 @@ module Aws
131
136
  etag: ::String?,
132
137
  checksum_crc32: ::String?,
133
138
  checksum_crc32c: ::String?,
139
+ checksum_crc64nvme: ::String?,
134
140
  checksum_sha1: ::String?,
135
141
  checksum_sha256: ::String?,
136
142
  part_number: ::Integer?
@@ -140,10 +146,14 @@ module Aws
140
146
  upload_id: ::String,
141
147
  ?checksum_crc32: ::String,
142
148
  ?checksum_crc32c: ::String,
149
+ ?checksum_crc64nvme: ::String,
143
150
  ?checksum_sha1: ::String,
144
151
  ?checksum_sha256: ::String,
152
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
153
+ ?mpu_object_size: ::Integer,
145
154
  ?request_payer: ("requester"),
146
155
  ?expected_bucket_owner: ::String,
156
+ ?if_match: ::String,
147
157
  ?if_none_match: ::String,
148
158
  ?sse_customer_algorithm: ::String,
149
159
  ?sse_customer_key: ::String,
@@ -170,7 +180,7 @@ module Aws
170
180
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
171
181
  bucket: ::String,
172
182
  ?cache_control: ::String,
173
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
183
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
174
184
  ?content_disposition: ::String,
175
185
  ?content_encoding: ::String,
176
186
  ?content_language: ::String,
@@ -220,13 +230,13 @@ module Aws
220
230
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read"),
221
231
  bucket: ::String,
222
232
  ?create_bucket_configuration: {
223
- location_constraint: ("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" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
233
+ location_constraint: ("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")?,
224
234
  location: {
225
- type: ("AvailabilityZone")?,
235
+ type: ("AvailabilityZone" | "LocalZone")?,
226
236
  name: ::String?
227
237
  }?,
228
238
  bucket: {
229
- data_redundancy: ("SingleAvailabilityZone")?,
239
+ data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
230
240
  type: ("Directory")?
231
241
  }?
232
242
  },
@@ -240,6 +250,21 @@ module Aws
240
250
  ) -> _CreateBucketResponseSuccess
241
251
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
242
252
 
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
254
+ def create_bucket_metadata_table_configuration: (
255
+ bucket: ::String,
256
+ ?content_md5: ::String,
257
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
258
+ metadata_table_configuration: {
259
+ s3_tables_destination: {
260
+ table_bucket_arn: ::String,
261
+ table_name: ::String
262
+ }
263
+ },
264
+ ?expected_bucket_owner: ::String
265
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
267
+
243
268
  interface _CreateMultipartUploadResponseSuccess
244
269
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
245
270
  def abort_date: () -> ::Time
@@ -254,7 +279,8 @@ module Aws
254
279
  def ssekms_encryption_context: () -> ::String
255
280
  def bucket_key_enabled: () -> bool
256
281
  def request_charged: () -> ("requester")
257
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
282
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
283
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
258
284
  end
259
285
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_multipart_upload-instance_method
260
286
  def create_multipart_upload: (
@@ -287,7 +313,8 @@ module Aws
287
313
  ?object_lock_retain_until_date: ::Time,
288
314
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
289
315
  ?expected_bucket_owner: ::String,
290
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
316
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
317
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
291
318
  ) -> _CreateMultipartUploadResponseSuccess
292
319
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultipartUploadResponseSuccess
293
320
 
@@ -361,6 +388,13 @@ module Aws
361
388
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
362
389
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
363
390
 
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
392
+ def delete_bucket_metadata_table_configuration: (
393
+ bucket: ::String,
394
+ ?expected_bucket_owner: ::String
395
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
397
+
364
398
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
365
399
  def delete_bucket_metrics_configuration: (
366
400
  bucket: ::String,
@@ -418,7 +452,10 @@ module Aws
418
452
  ?version_id: ::String,
419
453
  ?request_payer: ("requester"),
420
454
  ?bypass_governance_retention: bool,
421
- ?expected_bucket_owner: ::String
455
+ ?expected_bucket_owner: ::String,
456
+ ?if_match: ::String,
457
+ ?if_match_last_modified_time: ::Time,
458
+ ?if_match_size: ::Integer
422
459
  ) -> _DeleteObjectResponseSuccess
423
460
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
424
461
 
@@ -448,7 +485,10 @@ module Aws
448
485
  objects: Array[
449
486
  {
450
487
  key: ::String,
451
- version_id: ::String?
488
+ version_id: ::String?,
489
+ etag: ::String?,
490
+ last_modified_time: ::Time?,
491
+ size: ::Integer?
452
492
  },
453
493
  ],
454
494
  quiet: bool?
@@ -457,7 +497,7 @@ module Aws
457
497
  ?request_payer: ("requester"),
458
498
  ?bypass_governance_retention: bool,
459
499
  ?expected_bucket_owner: ::String,
460
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
500
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
461
501
  ) -> _DeleteObjectsResponseSuccess
462
502
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectsResponseSuccess
463
503
 
@@ -575,7 +615,7 @@ module Aws
575
615
 
576
616
  interface _GetBucketLocationResponseSuccess
577
617
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLocationOutput]
578
- def location_constraint: () -> ("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" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")
618
+ def location_constraint: () -> ("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")
579
619
  end
580
620
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_location-instance_method
581
621
  def get_bucket_location: (
@@ -595,6 +635,17 @@ module Aws
595
635
  ) -> _GetBucketLoggingResponseSuccess
596
636
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
597
637
 
638
+ interface _GetBucketMetadataTableConfigurationResponseSuccess
639
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
640
+ def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
641
+ end
642
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
643
+ def get_bucket_metadata_table_configuration: (
644
+ bucket: ::String,
645
+ ?expected_bucket_owner: ::String
646
+ ) -> _GetBucketMetadataTableConfigurationResponseSuccess
647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
648
+
598
649
  interface _GetBucketMetricsConfigurationResponseSuccess
599
650
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
600
651
  def metrics_configuration: () -> Types::MetricsConfiguration
@@ -738,8 +789,10 @@ module Aws
738
789
  def etag: () -> ::String
739
790
  def checksum_crc32: () -> ::String
740
791
  def checksum_crc32c: () -> ::String
792
+ def checksum_crc64nvme: () -> ::String
741
793
  def checksum_sha1: () -> ::String
742
794
  def checksum_sha256: () -> ::String
795
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
743
796
  def missing_meta: () -> ::Integer
744
797
  def version_id: () -> ::String
745
798
  def cache_control: () -> ::String
@@ -917,7 +970,7 @@ module Aws
917
970
 
918
971
  interface _HeadBucketResponseSuccess
919
972
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
920
- def bucket_location_type: () -> ("AvailabilityZone")
973
+ def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
921
974
  def bucket_location_name: () -> ::String
922
975
  def bucket_region: () -> ::String
923
976
  def access_point_alias: () -> bool
@@ -940,8 +993,10 @@ module Aws
940
993
  def content_length: () -> ::Integer
941
994
  def checksum_crc32: () -> ::String
942
995
  def checksum_crc32c: () -> ::String
996
+ def checksum_crc64nvme: () -> ::String
943
997
  def checksum_sha1: () -> ::String
944
998
  def checksum_sha256: () -> ::String
999
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
945
1000
  def etag: () -> ::String
946
1001
  def missing_meta: () -> ::Integer
947
1002
  def version_id: () -> ::String
@@ -950,6 +1005,7 @@ module Aws
950
1005
  def content_encoding: () -> ::String
951
1006
  def content_language: () -> ::String
952
1007
  def content_type: () -> ::String
1008
+ def content_range: () -> ::String
953
1009
  def expires: () -> ::Time
954
1010
  def expires_string: () -> ::String
955
1011
  def website_redirect_location: () -> ::String
@@ -1218,7 +1274,8 @@ module Aws
1218
1274
  def owner: () -> Types::Owner
1219
1275
  def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1220
1276
  def request_charged: () -> ("requester")
1221
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1277
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1278
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1222
1279
  end
1223
1280
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
1224
1281
  def list_parts: (
@@ -1242,7 +1299,7 @@ module Aws
1242
1299
  status: ("Enabled" | "Suspended")?
1243
1300
  },
1244
1301
  ?expected_bucket_owner: ::String,
1245
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1302
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1246
1303
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1247
1304
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1248
1305
 
@@ -1269,7 +1326,7 @@ module Aws
1269
1326
  },
1270
1327
  bucket: ::String,
1271
1328
  ?content_md5: ::String,
1272
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1329
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1273
1330
  ?grant_full_control: ::String,
1274
1331
  ?grant_read: ::String,
1275
1332
  ?grant_read_acp: ::String,
@@ -1335,7 +1392,7 @@ module Aws
1335
1392
  ]
1336
1393
  },
1337
1394
  ?content_md5: ::String,
1338
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1395
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1339
1396
  ?expected_bucket_owner: ::String
1340
1397
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1341
1398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1344,7 +1401,7 @@ module Aws
1344
1401
  def put_bucket_encryption: (
1345
1402
  bucket: ::String,
1346
1403
  ?content_md5: ::String,
1347
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1404
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1348
1405
  server_side_encryption_configuration: {
1349
1406
  rules: Array[
1350
1407
  {
@@ -1432,7 +1489,7 @@ module Aws
1432
1489
  def put_bucket_lifecycle: (
1433
1490
  bucket: ::String,
1434
1491
  ?content_md5: ::String,
1435
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1492
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1436
1493
  ?lifecycle_configuration: {
1437
1494
  rules: Array[
1438
1495
  {
@@ -1475,7 +1532,7 @@ module Aws
1475
1532
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
1476
1533
  def put_bucket_lifecycle_configuration: (
1477
1534
  bucket: ::String,
1478
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1535
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1479
1536
  ?lifecycle_configuration: {
1480
1537
  rules: Array[
1481
1538
  {
@@ -1565,7 +1622,7 @@ module Aws
1565
1622
  }?
1566
1623
  },
1567
1624
  ?content_md5: ::String,
1568
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1625
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1569
1626
  ?expected_bucket_owner: ::String
1570
1627
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1571
1628
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1603,7 +1660,7 @@ module Aws
1603
1660
  def put_bucket_notification: (
1604
1661
  bucket: ::String,
1605
1662
  ?content_md5: ::String,
1606
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1663
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1607
1664
  notification_configuration: {
1608
1665
  topic_configuration: {
1609
1666
  id: ::String?,
@@ -1703,7 +1760,8 @@ module Aws
1703
1760
  object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
1704
1761
  },
1705
1762
  ]
1706
- }
1763
+ },
1764
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1707
1765
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1708
1766
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1709
1767
 
@@ -1711,7 +1769,7 @@ module Aws
1711
1769
  def put_bucket_policy: (
1712
1770
  bucket: ::String,
1713
1771
  ?content_md5: ::String,
1714
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1772
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1715
1773
  ?confirm_remove_self_bucket_access: bool,
1716
1774
  policy: ::String,
1717
1775
  ?expected_bucket_owner: ::String
@@ -1722,7 +1780,7 @@ module Aws
1722
1780
  def put_bucket_replication: (
1723
1781
  bucket: ::String,
1724
1782
  ?content_md5: ::String,
1725
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1783
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1726
1784
  replication_configuration: {
1727
1785
  role: ::String,
1728
1786
  rules: Array[
@@ -1796,7 +1854,7 @@ module Aws
1796
1854
  def put_bucket_request_payment: (
1797
1855
  bucket: ::String,
1798
1856
  ?content_md5: ::String,
1799
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1857
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1800
1858
  request_payment_configuration: {
1801
1859
  payer: ("Requester" | "BucketOwner")
1802
1860
  },
@@ -1808,7 +1866,7 @@ module Aws
1808
1866
  def put_bucket_tagging: (
1809
1867
  bucket: ::String,
1810
1868
  ?content_md5: ::String,
1811
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1869
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1812
1870
  tagging: {
1813
1871
  tag_set: Array[
1814
1872
  {
@@ -1825,7 +1883,7 @@ module Aws
1825
1883
  def put_bucket_versioning: (
1826
1884
  bucket: ::String,
1827
1885
  ?content_md5: ::String,
1828
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1886
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1829
1887
  ?mfa: ::String,
1830
1888
  versioning_configuration: {
1831
1889
  mfa_delete: ("Enabled" | "Disabled")?,
@@ -1839,7 +1897,7 @@ module Aws
1839
1897
  def put_bucket_website: (
1840
1898
  bucket: ::String,
1841
1899
  ?content_md5: ::String,
1842
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1900
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1843
1901
  website_configuration: {
1844
1902
  error_document: {
1845
1903
  key: ::String
@@ -1877,8 +1935,10 @@ module Aws
1877
1935
  def etag: () -> ::String
1878
1936
  def checksum_crc32: () -> ::String
1879
1937
  def checksum_crc32c: () -> ::String
1938
+ def checksum_crc64nvme: () -> ::String
1880
1939
  def checksum_sha1: () -> ::String
1881
1940
  def checksum_sha256: () -> ::String
1941
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1882
1942
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1883
1943
  def version_id: () -> ::String
1884
1944
  def sse_customer_algorithm: () -> ::String
@@ -1886,6 +1946,7 @@ module Aws
1886
1946
  def ssekms_key_id: () -> ::String
1887
1947
  def ssekms_encryption_context: () -> ::String
1888
1948
  def bucket_key_enabled: () -> bool
1949
+ def size: () -> ::Integer
1889
1950
  def request_charged: () -> ("requester")
1890
1951
  end
1891
1952
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1900,18 +1961,21 @@ module Aws
1900
1961
  ?content_length: ::Integer,
1901
1962
  ?content_md5: ::String,
1902
1963
  ?content_type: ::String,
1903
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1964
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1904
1965
  ?checksum_crc32: ::String,
1905
1966
  ?checksum_crc32c: ::String,
1967
+ ?checksum_crc64nvme: ::String,
1906
1968
  ?checksum_sha1: ::String,
1907
1969
  ?checksum_sha256: ::String,
1908
1970
  ?expires: ::Time,
1971
+ ?if_match: ::String,
1909
1972
  ?if_none_match: ::String,
1910
1973
  ?grant_full_control: ::String,
1911
1974
  ?grant_read: ::String,
1912
1975
  ?grant_read_acp: ::String,
1913
1976
  ?grant_write_acp: ::String,
1914
1977
  key: ::String,
1978
+ ?write_offset_bytes: ::Integer,
1915
1979
  ?metadata: Hash[::String, ::String],
1916
1980
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1917
1981
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -1958,7 +2022,7 @@ module Aws
1958
2022
  },
1959
2023
  bucket: ::String,
1960
2024
  ?content_md5: ::String,
1961
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2025
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1962
2026
  ?grant_full_control: ::String,
1963
2027
  ?grant_read: ::String,
1964
2028
  ?grant_read_acp: ::String,
@@ -1985,7 +2049,7 @@ module Aws
1985
2049
  ?request_payer: ("requester"),
1986
2050
  ?version_id: ::String,
1987
2051
  ?content_md5: ::String,
1988
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2052
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1989
2053
  ?expected_bucket_owner: ::String
1990
2054
  ) -> _PutObjectLegalHoldResponseSuccess
1991
2055
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLegalHoldResponseSuccess
@@ -2010,7 +2074,7 @@ module Aws
2010
2074
  ?request_payer: ("requester"),
2011
2075
  ?token: ::String,
2012
2076
  ?content_md5: ::String,
2013
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2077
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2014
2078
  ?expected_bucket_owner: ::String
2015
2079
  ) -> _PutObjectLockConfigurationResponseSuccess
2016
2080
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLockConfigurationResponseSuccess
@@ -2031,7 +2095,7 @@ module Aws
2031
2095
  ?version_id: ::String,
2032
2096
  ?bypass_governance_retention: bool,
2033
2097
  ?content_md5: ::String,
2034
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2098
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2035
2099
  ?expected_bucket_owner: ::String
2036
2100
  ) -> _PutObjectRetentionResponseSuccess
2037
2101
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectRetentionResponseSuccess
@@ -2046,7 +2110,7 @@ module Aws
2046
2110
  key: ::String,
2047
2111
  ?version_id: ::String,
2048
2112
  ?content_md5: ::String,
2049
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2113
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2050
2114
  tagging: {
2051
2115
  tag_set: Array[
2052
2116
  {
@@ -2064,7 +2128,7 @@ module Aws
2064
2128
  def put_public_access_block: (
2065
2129
  bucket: ::String,
2066
2130
  ?content_md5: ::String,
2067
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2131
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2068
2132
  public_access_block_configuration: {
2069
2133
  block_public_acls: bool?,
2070
2134
  ignore_public_acls: bool?,
@@ -2167,7 +2231,7 @@ module Aws
2167
2231
  }?
2168
2232
  },
2169
2233
  ?request_payer: ("requester"),
2170
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2234
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2171
2235
  ?expected_bucket_owner: ::String
2172
2236
  ) -> _RestoreObjectResponseSuccess
2173
2237
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreObjectResponseSuccess
@@ -2231,6 +2295,7 @@ module Aws
2231
2295
  def etag: () -> ::String
2232
2296
  def checksum_crc32: () -> ::String
2233
2297
  def checksum_crc32c: () -> ::String
2298
+ def checksum_crc64nvme: () -> ::String
2234
2299
  def checksum_sha1: () -> ::String
2235
2300
  def checksum_sha256: () -> ::String
2236
2301
  def sse_customer_algorithm: () -> ::String
@@ -2245,9 +2310,10 @@ module Aws
2245
2310
  bucket: ::String,
2246
2311
  ?content_length: ::Integer,
2247
2312
  ?content_md5: ::String,
2248
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2313
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2249
2314
  ?checksum_crc32: ::String,
2250
2315
  ?checksum_crc32c: ::String,
2316
+ ?checksum_crc64nvme: ::String,
2251
2317
  ?checksum_sha1: ::String,
2252
2318
  ?checksum_sha256: ::String,
2253
2319
  key: ::String,
@@ -2314,6 +2380,7 @@ module Aws
2314
2380
  ?content_type: ::String,
2315
2381
  ?checksum_crc32: ::String,
2316
2382
  ?checksum_crc32c: ::String,
2383
+ ?checksum_crc64nvme: ::String,
2317
2384
  ?checksum_sha1: ::String,
2318
2385
  ?checksum_sha256: ::String,
2319
2386
  ?delete_marker: bool,
data/sig/errors.rbs CHANGED
@@ -15,10 +15,16 @@ module Aws
15
15
  end
16
16
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
17
17
  end
18
+ class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
+ end
18
20
  class InvalidObjectState < ::Aws::Errors::ServiceError
19
21
  def storage_class: () -> ::String
20
22
  def access_tier: () -> ::String
21
23
  end
24
+ class InvalidRequest < ::Aws::Errors::ServiceError
25
+ end
26
+ class InvalidWriteOffset < ::Aws::Errors::ServiceError
27
+ end
22
28
  class NoSuchBucket < ::Aws::Errors::ServiceError
23
29
  end
24
30
  class NoSuchKey < ::Aws::Errors::ServiceError
@@ -29,6 +35,8 @@ module Aws
29
35
  end
30
36
  class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
31
37
  end
38
+ class TooManyParts < ::Aws::Errors::ServiceError
39
+ end
32
40
  end
33
41
  end
34
42
  end
@@ -42,7 +42,10 @@ module Aws
42
42
  def initiator: () -> Types::Initiator
43
43
 
44
44
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_algorithm-instance_method
45
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
45
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_type-instance_method
48
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
46
49
 
47
50
  def client: () -> Client
48
51
 
@@ -57,7 +60,8 @@ module Aws
57
60
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#abort-instance_method
58
61
  def abort: (
59
62
  ?request_payer: ("requester"),
60
- ?expected_bucket_owner: ::String
63
+ ?expected_bucket_owner: ::String,
64
+ ?if_match_initiated_time: ::Time
61
65
  ) -> Types::AbortMultipartUploadOutput
62
66
  | (?Hash[Symbol, untyped]) -> Types::AbortMultipartUploadOutput
63
67
 
@@ -69,6 +73,7 @@ module Aws
69
73
  etag: ::String?,
70
74
  checksum_crc32: ::String?,
71
75
  checksum_crc32c: ::String?,
76
+ checksum_crc64nvme: ::String?,
72
77
  checksum_sha1: ::String?,
73
78
  checksum_sha256: ::String?,
74
79
  part_number: ::Integer?
@@ -77,10 +82,14 @@ module Aws
77
82
  },
78
83
  ?checksum_crc32: ::String,
79
84
  ?checksum_crc32c: ::String,
85
+ ?checksum_crc64nvme: ::String,
80
86
  ?checksum_sha1: ::String,
81
87
  ?checksum_sha256: ::String,
88
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
89
+ ?mpu_object_size: ::Integer,
82
90
  ?request_payer: ("requester"),
83
91
  ?expected_bucket_owner: ::String,
92
+ ?if_match: ::String,
84
93
  ?if_none_match: ::String,
85
94
  ?sse_customer_algorithm: ::String,
86
95
  ?sse_customer_key: ::String,
@@ -41,6 +41,9 @@ module Aws
41
41
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc32c-instance_method
42
42
  def checksum_crc32c: () -> ::String
43
43
 
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc64nvme-instance_method
45
+ def checksum_crc64nvme: () -> ::String
46
+
44
47
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_sha1-instance_method
45
48
  def checksum_sha1: () -> ::String
46
49
 
@@ -82,9 +85,10 @@ module Aws
82
85
  ?body: ::String | ::StringIO | ::File,
83
86
  ?content_length: ::Integer,
84
87
  ?content_md5: ::String,
85
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
88
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
86
89
  ?checksum_crc32: ::String,
87
90
  ?checksum_crc32c: ::String,
91
+ ?checksum_crc64nvme: ::String,
88
92
  ?checksum_sha1: ::String,
89
93
  ?checksum_sha256: ::String,
90
94
  ?sse_customer_algorithm: ::String,