aws-sdk-s3 1.164.0 → 1.182.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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +112 -43
  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 +60 -3
  9. data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
  10. data/lib/aws-sdk-s3/bucket_policy.rb +10 -9
  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 +2144 -1325
  16. data/lib/aws-sdk-s3/client_api.rb +175 -3
  17. data/lib/aws-sdk-s3/customizations/object.rb +6 -0
  18. data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
  19. data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
  20. data/lib/aws-sdk-s3/customizations.rb +24 -38
  21. data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
  22. data/lib/aws-sdk-s3/endpoint_provider.rb +272 -253
  23. data/lib/aws-sdk-s3/endpoints.rb +445 -1403
  24. data/lib/aws-sdk-s3/errors.rb +47 -0
  25. data/lib/aws-sdk-s3/file_downloader.rb +4 -21
  26. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  27. data/lib/aws-sdk-s3/multipart_upload.rb +84 -6
  28. data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
  29. data/lib/aws-sdk-s3/object.rb +254 -113
  30. data/lib/aws-sdk-s3/object_acl.rb +4 -4
  31. data/lib/aws-sdk-s3/object_summary.rb +199 -82
  32. data/lib/aws-sdk-s3/object_version.rb +67 -17
  33. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  34. data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
  35. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  36. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
  37. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  38. data/lib/aws-sdk-s3/presigner.rb +5 -5
  39. data/lib/aws-sdk-s3/resource.rb +35 -10
  40. data/lib/aws-sdk-s3/types.rb +1921 -856
  41. data/lib/aws-sdk-s3.rb +35 -31
  42. data/sig/bucket.rbs +15 -6
  43. data/sig/bucket_acl.rbs +1 -1
  44. data/sig/bucket_cors.rbs +1 -1
  45. data/sig/bucket_lifecycle.rbs +1 -1
  46. data/sig/bucket_lifecycle_configuration.rbs +8 -4
  47. data/sig/bucket_logging.rbs +1 -1
  48. data/sig/bucket_policy.rbs +1 -1
  49. data/sig/bucket_request_payment.rbs +1 -1
  50. data/sig/bucket_tagging.rbs +1 -1
  51. data/sig/bucket_versioning.rbs +3 -3
  52. data/sig/bucket_website.rbs +1 -1
  53. data/sig/client.rbs +115 -40
  54. data/sig/errors.rbs +8 -0
  55. data/sig/multipart_upload.rbs +11 -2
  56. data/sig/multipart_upload_part.rbs +5 -1
  57. data/sig/object.rbs +22 -6
  58. data/sig/object_acl.rbs +1 -1
  59. data/sig/object_summary.rbs +17 -7
  60. data/sig/object_version.rbs +9 -3
  61. data/sig/resource.rbs +7 -3
  62. data/sig/types.rbs +163 -36
  63. metadata +6 -5
  64. 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
 
@@ -564,6 +604,7 @@ module Aws
564
604
  interface _GetBucketLifecycleConfigurationResponseSuccess
565
605
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLifecycleConfigurationOutput]
566
606
  def rules: () -> ::Array[Types::LifecycleRule]
607
+ def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
567
608
  end
568
609
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_lifecycle_configuration-instance_method
569
610
  def get_bucket_lifecycle_configuration: (
@@ -574,7 +615,7 @@ module Aws
574
615
 
575
616
  interface _GetBucketLocationResponseSuccess
576
617
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLocationOutput]
577
- 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")
578
619
  end
579
620
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_location-instance_method
580
621
  def get_bucket_location: (
@@ -594,6 +635,17 @@ module Aws
594
635
  ) -> _GetBucketLoggingResponseSuccess
595
636
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
596
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
+
597
649
  interface _GetBucketMetricsConfigurationResponseSuccess
598
650
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
599
651
  def metrics_configuration: () -> Types::MetricsConfiguration
@@ -737,8 +789,10 @@ module Aws
737
789
  def etag: () -> ::String
738
790
  def checksum_crc32: () -> ::String
739
791
  def checksum_crc32c: () -> ::String
792
+ def checksum_crc64nvme: () -> ::String
740
793
  def checksum_sha1: () -> ::String
741
794
  def checksum_sha256: () -> ::String
795
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
742
796
  def missing_meta: () -> ::Integer
743
797
  def version_id: () -> ::String
744
798
  def cache_control: () -> ::String
@@ -916,7 +970,7 @@ module Aws
916
970
 
917
971
  interface _HeadBucketResponseSuccess
918
972
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
919
- def bucket_location_type: () -> ("AvailabilityZone")
973
+ def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
920
974
  def bucket_location_name: () -> ::String
921
975
  def bucket_region: () -> ::String
922
976
  def access_point_alias: () -> bool
@@ -939,8 +993,10 @@ module Aws
939
993
  def content_length: () -> ::Integer
940
994
  def checksum_crc32: () -> ::String
941
995
  def checksum_crc32c: () -> ::String
996
+ def checksum_crc64nvme: () -> ::String
942
997
  def checksum_sha1: () -> ::String
943
998
  def checksum_sha256: () -> ::String
999
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
944
1000
  def etag: () -> ::String
945
1001
  def missing_meta: () -> ::Integer
946
1002
  def version_id: () -> ::String
@@ -949,6 +1005,7 @@ module Aws
949
1005
  def content_encoding: () -> ::String
950
1006
  def content_language: () -> ::String
951
1007
  def content_type: () -> ::String
1008
+ def content_range: () -> ::String
952
1009
  def expires: () -> ::Time
953
1010
  def expires_string: () -> ::String
954
1011
  def website_redirect_location: () -> ::String
@@ -1056,11 +1113,14 @@ module Aws
1056
1113
  def buckets: () -> ::Array[Types::Bucket]
1057
1114
  def owner: () -> Types::Owner
1058
1115
  def continuation_token: () -> ::String
1116
+ def prefix: () -> ::String
1059
1117
  end
1060
1118
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
1061
1119
  def list_buckets: (
1062
1120
  ?max_buckets: ::Integer,
1063
- ?continuation_token: ::String
1121
+ ?continuation_token: ::String,
1122
+ ?prefix: ::String,
1123
+ ?bucket_region: ::String
1064
1124
  ) -> _ListBucketsResponseSuccess
1065
1125
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
1066
1126
 
@@ -1214,7 +1274,8 @@ module Aws
1214
1274
  def owner: () -> Types::Owner
1215
1275
  def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1216
1276
  def request_charged: () -> ("requester")
1217
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1277
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1278
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1218
1279
  end
1219
1280
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
1220
1281
  def list_parts: (
@@ -1238,7 +1299,7 @@ module Aws
1238
1299
  status: ("Enabled" | "Suspended")?
1239
1300
  },
1240
1301
  ?expected_bucket_owner: ::String,
1241
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1302
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1242
1303
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1243
1304
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1244
1305
 
@@ -1265,7 +1326,7 @@ module Aws
1265
1326
  },
1266
1327
  bucket: ::String,
1267
1328
  ?content_md5: ::String,
1268
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1329
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1269
1330
  ?grant_full_control: ::String,
1270
1331
  ?grant_read: ::String,
1271
1332
  ?grant_read_acp: ::String,
@@ -1331,7 +1392,7 @@ module Aws
1331
1392
  ]
1332
1393
  },
1333
1394
  ?content_md5: ::String,
1334
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1395
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1335
1396
  ?expected_bucket_owner: ::String
1336
1397
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1337
1398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1340,7 +1401,7 @@ module Aws
1340
1401
  def put_bucket_encryption: (
1341
1402
  bucket: ::String,
1342
1403
  ?content_md5: ::String,
1343
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1404
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1344
1405
  server_side_encryption_configuration: {
1345
1406
  rules: Array[
1346
1407
  {
@@ -1428,7 +1489,7 @@ module Aws
1428
1489
  def put_bucket_lifecycle: (
1429
1490
  bucket: ::String,
1430
1491
  ?content_md5: ::String,
1431
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1492
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1432
1493
  ?lifecycle_configuration: {
1433
1494
  rules: Array[
1434
1495
  {
@@ -1464,10 +1525,14 @@ module Aws
1464
1525
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1465
1526
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1466
1527
 
1528
+ interface _PutBucketLifecycleConfigurationResponseSuccess
1529
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutBucketLifecycleConfigurationOutput]
1530
+ def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
1531
+ end
1467
1532
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
1468
1533
  def put_bucket_lifecycle_configuration: (
1469
1534
  bucket: ::String,
1470
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1535
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1471
1536
  ?lifecycle_configuration: {
1472
1537
  rules: Array[
1473
1538
  {
@@ -1523,9 +1588,10 @@ module Aws
1523
1588
  },
1524
1589
  ]
1525
1590
  },
1526
- ?expected_bucket_owner: ::String
1527
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1528
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1591
+ ?expected_bucket_owner: ::String,
1592
+ ?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
1593
+ ) -> _PutBucketLifecycleConfigurationResponseSuccess
1594
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBucketLifecycleConfigurationResponseSuccess
1529
1595
 
1530
1596
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_logging-instance_method
1531
1597
  def put_bucket_logging: (
@@ -1556,7 +1622,7 @@ module Aws
1556
1622
  }?
1557
1623
  },
1558
1624
  ?content_md5: ::String,
1559
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1625
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1560
1626
  ?expected_bucket_owner: ::String
1561
1627
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1562
1628
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1594,7 +1660,7 @@ module Aws
1594
1660
  def put_bucket_notification: (
1595
1661
  bucket: ::String,
1596
1662
  ?content_md5: ::String,
1597
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1663
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1598
1664
  notification_configuration: {
1599
1665
  topic_configuration: {
1600
1666
  id: ::String?,
@@ -1702,7 +1768,7 @@ module Aws
1702
1768
  def put_bucket_policy: (
1703
1769
  bucket: ::String,
1704
1770
  ?content_md5: ::String,
1705
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1771
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1706
1772
  ?confirm_remove_self_bucket_access: bool,
1707
1773
  policy: ::String,
1708
1774
  ?expected_bucket_owner: ::String
@@ -1713,7 +1779,7 @@ module Aws
1713
1779
  def put_bucket_replication: (
1714
1780
  bucket: ::String,
1715
1781
  ?content_md5: ::String,
1716
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1782
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1717
1783
  replication_configuration: {
1718
1784
  role: ::String,
1719
1785
  rules: Array[
@@ -1787,7 +1853,7 @@ module Aws
1787
1853
  def put_bucket_request_payment: (
1788
1854
  bucket: ::String,
1789
1855
  ?content_md5: ::String,
1790
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1856
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1791
1857
  request_payment_configuration: {
1792
1858
  payer: ("Requester" | "BucketOwner")
1793
1859
  },
@@ -1799,7 +1865,7 @@ module Aws
1799
1865
  def put_bucket_tagging: (
1800
1866
  bucket: ::String,
1801
1867
  ?content_md5: ::String,
1802
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1868
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1803
1869
  tagging: {
1804
1870
  tag_set: Array[
1805
1871
  {
@@ -1816,7 +1882,7 @@ module Aws
1816
1882
  def put_bucket_versioning: (
1817
1883
  bucket: ::String,
1818
1884
  ?content_md5: ::String,
1819
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1885
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1820
1886
  ?mfa: ::String,
1821
1887
  versioning_configuration: {
1822
1888
  mfa_delete: ("Enabled" | "Disabled")?,
@@ -1830,7 +1896,7 @@ module Aws
1830
1896
  def put_bucket_website: (
1831
1897
  bucket: ::String,
1832
1898
  ?content_md5: ::String,
1833
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1899
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1834
1900
  website_configuration: {
1835
1901
  error_document: {
1836
1902
  key: ::String
@@ -1868,8 +1934,10 @@ module Aws
1868
1934
  def etag: () -> ::String
1869
1935
  def checksum_crc32: () -> ::String
1870
1936
  def checksum_crc32c: () -> ::String
1937
+ def checksum_crc64nvme: () -> ::String
1871
1938
  def checksum_sha1: () -> ::String
1872
1939
  def checksum_sha256: () -> ::String
1940
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1873
1941
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1874
1942
  def version_id: () -> ::String
1875
1943
  def sse_customer_algorithm: () -> ::String
@@ -1877,6 +1945,7 @@ module Aws
1877
1945
  def ssekms_key_id: () -> ::String
1878
1946
  def ssekms_encryption_context: () -> ::String
1879
1947
  def bucket_key_enabled: () -> bool
1948
+ def size: () -> ::Integer
1880
1949
  def request_charged: () -> ("requester")
1881
1950
  end
1882
1951
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1891,18 +1960,21 @@ module Aws
1891
1960
  ?content_length: ::Integer,
1892
1961
  ?content_md5: ::String,
1893
1962
  ?content_type: ::String,
1894
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1963
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1895
1964
  ?checksum_crc32: ::String,
1896
1965
  ?checksum_crc32c: ::String,
1966
+ ?checksum_crc64nvme: ::String,
1897
1967
  ?checksum_sha1: ::String,
1898
1968
  ?checksum_sha256: ::String,
1899
1969
  ?expires: ::Time,
1970
+ ?if_match: ::String,
1900
1971
  ?if_none_match: ::String,
1901
1972
  ?grant_full_control: ::String,
1902
1973
  ?grant_read: ::String,
1903
1974
  ?grant_read_acp: ::String,
1904
1975
  ?grant_write_acp: ::String,
1905
1976
  key: ::String,
1977
+ ?write_offset_bytes: ::Integer,
1906
1978
  ?metadata: Hash[::String, ::String],
1907
1979
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1908
1980
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -1949,7 +2021,7 @@ module Aws
1949
2021
  },
1950
2022
  bucket: ::String,
1951
2023
  ?content_md5: ::String,
1952
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2024
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1953
2025
  ?grant_full_control: ::String,
1954
2026
  ?grant_read: ::String,
1955
2027
  ?grant_read_acp: ::String,
@@ -1976,7 +2048,7 @@ module Aws
1976
2048
  ?request_payer: ("requester"),
1977
2049
  ?version_id: ::String,
1978
2050
  ?content_md5: ::String,
1979
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2051
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1980
2052
  ?expected_bucket_owner: ::String
1981
2053
  ) -> _PutObjectLegalHoldResponseSuccess
1982
2054
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLegalHoldResponseSuccess
@@ -2001,7 +2073,7 @@ module Aws
2001
2073
  ?request_payer: ("requester"),
2002
2074
  ?token: ::String,
2003
2075
  ?content_md5: ::String,
2004
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2076
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2005
2077
  ?expected_bucket_owner: ::String
2006
2078
  ) -> _PutObjectLockConfigurationResponseSuccess
2007
2079
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLockConfigurationResponseSuccess
@@ -2022,7 +2094,7 @@ module Aws
2022
2094
  ?version_id: ::String,
2023
2095
  ?bypass_governance_retention: bool,
2024
2096
  ?content_md5: ::String,
2025
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2097
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2026
2098
  ?expected_bucket_owner: ::String
2027
2099
  ) -> _PutObjectRetentionResponseSuccess
2028
2100
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectRetentionResponseSuccess
@@ -2037,7 +2109,7 @@ module Aws
2037
2109
  key: ::String,
2038
2110
  ?version_id: ::String,
2039
2111
  ?content_md5: ::String,
2040
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2112
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2041
2113
  tagging: {
2042
2114
  tag_set: Array[
2043
2115
  {
@@ -2055,7 +2127,7 @@ module Aws
2055
2127
  def put_public_access_block: (
2056
2128
  bucket: ::String,
2057
2129
  ?content_md5: ::String,
2058
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2130
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2059
2131
  public_access_block_configuration: {
2060
2132
  block_public_acls: bool?,
2061
2133
  ignore_public_acls: bool?,
@@ -2158,7 +2230,7 @@ module Aws
2158
2230
  }?
2159
2231
  },
2160
2232
  ?request_payer: ("requester"),
2161
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2233
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2162
2234
  ?expected_bucket_owner: ::String
2163
2235
  ) -> _RestoreObjectResponseSuccess
2164
2236
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreObjectResponseSuccess
@@ -2222,6 +2294,7 @@ module Aws
2222
2294
  def etag: () -> ::String
2223
2295
  def checksum_crc32: () -> ::String
2224
2296
  def checksum_crc32c: () -> ::String
2297
+ def checksum_crc64nvme: () -> ::String
2225
2298
  def checksum_sha1: () -> ::String
2226
2299
  def checksum_sha256: () -> ::String
2227
2300
  def sse_customer_algorithm: () -> ::String
@@ -2236,9 +2309,10 @@ module Aws
2236
2309
  bucket: ::String,
2237
2310
  ?content_length: ::Integer,
2238
2311
  ?content_md5: ::String,
2239
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2312
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2240
2313
  ?checksum_crc32: ::String,
2241
2314
  ?checksum_crc32c: ::String,
2315
+ ?checksum_crc64nvme: ::String,
2242
2316
  ?checksum_sha1: ::String,
2243
2317
  ?checksum_sha256: ::String,
2244
2318
  key: ::String,
@@ -2305,6 +2379,7 @@ module Aws
2305
2379
  ?content_type: ::String,
2306
2380
  ?checksum_crc32: ::String,
2307
2381
  ?checksum_crc32c: ::String,
2382
+ ?checksum_crc64nvme: ::String,
2308
2383
  ?checksum_sha1: ::String,
2309
2384
  ?checksum_sha256: ::String,
2310
2385
  ?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,