aws-sdk-s3 1.169.0 → 1.190.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +128 -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 +2964 -1677
  16. data/lib/aws-sdk-s3/client_api.rb +366 -160
  17. data/lib/aws-sdk-s3/endpoint_provider.rb +400 -276
  18. data/lib/aws-sdk-s3/endpoints.rb +56 -0
  19. data/lib/aws-sdk-s3/errors.rb +55 -0
  20. data/lib/aws-sdk-s3/file_downloader.rb +14 -31
  21. data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
  22. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  23. data/lib/aws-sdk-s3/multipart_upload.rb +83 -6
  24. data/lib/aws-sdk-s3/multipart_upload_part.rb +50 -34
  25. data/lib/aws-sdk-s3/object.rb +260 -114
  26. data/lib/aws-sdk-s3/object_acl.rb +11 -5
  27. data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
  28. data/lib/aws-sdk-s3/object_summary.rb +180 -82
  29. data/lib/aws-sdk-s3/object_version.rb +60 -13
  30. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  31. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  32. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
  33. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  34. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  35. data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
  36. data/lib/aws-sdk-s3/presigner.rb +5 -5
  37. data/lib/aws-sdk-s3/resource.rb +10 -9
  38. data/lib/aws-sdk-s3/types.rb +2511 -1060
  39. data/lib/aws-sdk-s3.rb +1 -1
  40. data/sig/bucket.rbs +12 -6
  41. data/sig/bucket_acl.rbs +1 -1
  42. data/sig/bucket_cors.rbs +1 -1
  43. data/sig/bucket_lifecycle.rbs +1 -1
  44. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  45. data/sig/bucket_logging.rbs +1 -1
  46. data/sig/bucket_policy.rbs +1 -1
  47. data/sig/bucket_request_payment.rbs +1 -1
  48. data/sig/bucket_tagging.rbs +1 -1
  49. data/sig/bucket_versioning.rbs +3 -3
  50. data/sig/bucket_website.rbs +1 -1
  51. data/sig/client.rbs +132 -40
  52. data/sig/errors.rbs +10 -0
  53. data/sig/multipart_upload.rbs +11 -2
  54. data/sig/multipart_upload_part.rbs +5 -1
  55. data/sig/object.rbs +25 -6
  56. data/sig/object_acl.rbs +1 -1
  57. data/sig/object_summary.rbs +17 -7
  58. data/sig/object_version.rbs +9 -3
  59. data/sig/resource.rbs +5 -3
  60. data/sig/types.rbs +180 -36
  61. metadata +7 -10
  62. 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
 
@@ -342,7 +369,8 @@ module Aws
342
369
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
343
370
  def delete_bucket_intelligent_tiering_configuration: (
344
371
  bucket: ::String,
345
- id: ::String
372
+ id: ::String,
373
+ ?expected_bucket_owner: ::String
346
374
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
347
375
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
348
376
 
@@ -361,6 +389,13 @@ module Aws
361
389
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
362
390
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
363
391
 
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
393
+ def delete_bucket_metadata_table_configuration: (
394
+ bucket: ::String,
395
+ ?expected_bucket_owner: ::String
396
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
398
+
364
399
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
365
400
  def delete_bucket_metrics_configuration: (
366
401
  bucket: ::String,
@@ -418,7 +453,10 @@ module Aws
418
453
  ?version_id: ::String,
419
454
  ?request_payer: ("requester"),
420
455
  ?bypass_governance_retention: bool,
421
- ?expected_bucket_owner: ::String
456
+ ?expected_bucket_owner: ::String,
457
+ ?if_match: ::String,
458
+ ?if_match_last_modified_time: ::Time,
459
+ ?if_match_size: ::Integer
422
460
  ) -> _DeleteObjectResponseSuccess
423
461
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
424
462
 
@@ -448,7 +486,10 @@ module Aws
448
486
  objects: Array[
449
487
  {
450
488
  key: ::String,
451
- version_id: ::String?
489
+ version_id: ::String?,
490
+ etag: ::String?,
491
+ last_modified_time: ::Time?,
492
+ size: ::Integer?
452
493
  },
453
494
  ],
454
495
  quiet: bool?
@@ -457,7 +498,7 @@ module Aws
457
498
  ?request_payer: ("requester"),
458
499
  ?bypass_governance_retention: bool,
459
500
  ?expected_bucket_owner: ::String,
460
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
501
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
461
502
  ) -> _DeleteObjectsResponseSuccess
462
503
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectsResponseSuccess
463
504
 
@@ -534,7 +575,8 @@ module Aws
534
575
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
535
576
  def get_bucket_intelligent_tiering_configuration: (
536
577
  bucket: ::String,
537
- id: ::String
578
+ id: ::String,
579
+ ?expected_bucket_owner: ::String
538
580
  ) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
539
581
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
540
582
 
@@ -575,7 +617,7 @@ module Aws
575
617
 
576
618
  interface _GetBucketLocationResponseSuccess
577
619
  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")
620
+ 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
621
  end
580
622
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_location-instance_method
581
623
  def get_bucket_location: (
@@ -595,6 +637,17 @@ module Aws
595
637
  ) -> _GetBucketLoggingResponseSuccess
596
638
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
597
639
 
640
+ interface _GetBucketMetadataTableConfigurationResponseSuccess
641
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
642
+ def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
643
+ end
644
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
645
+ def get_bucket_metadata_table_configuration: (
646
+ bucket: ::String,
647
+ ?expected_bucket_owner: ::String
648
+ ) -> _GetBucketMetadataTableConfigurationResponseSuccess
649
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
650
+
598
651
  interface _GetBucketMetricsConfigurationResponseSuccess
599
652
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
600
653
  def metrics_configuration: () -> Types::MetricsConfiguration
@@ -738,8 +791,10 @@ module Aws
738
791
  def etag: () -> ::String
739
792
  def checksum_crc32: () -> ::String
740
793
  def checksum_crc32c: () -> ::String
794
+ def checksum_crc64nvme: () -> ::String
741
795
  def checksum_sha1: () -> ::String
742
796
  def checksum_sha256: () -> ::String
797
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
743
798
  def missing_meta: () -> ::Integer
744
799
  def version_id: () -> ::String
745
800
  def cache_control: () -> ::String
@@ -917,7 +972,7 @@ module Aws
917
972
 
918
973
  interface _HeadBucketResponseSuccess
919
974
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
920
- def bucket_location_type: () -> ("AvailabilityZone")
975
+ def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
921
976
  def bucket_location_name: () -> ::String
922
977
  def bucket_region: () -> ::String
923
978
  def access_point_alias: () -> bool
@@ -940,8 +995,10 @@ module Aws
940
995
  def content_length: () -> ::Integer
941
996
  def checksum_crc32: () -> ::String
942
997
  def checksum_crc32c: () -> ::String
998
+ def checksum_crc64nvme: () -> ::String
943
999
  def checksum_sha1: () -> ::String
944
1000
  def checksum_sha256: () -> ::String
1001
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
945
1002
  def etag: () -> ::String
946
1003
  def missing_meta: () -> ::Integer
947
1004
  def version_id: () -> ::String
@@ -950,6 +1007,7 @@ module Aws
950
1007
  def content_encoding: () -> ::String
951
1008
  def content_language: () -> ::String
952
1009
  def content_type: () -> ::String
1010
+ def content_range: () -> ::String
953
1011
  def expires: () -> ::Time
954
1012
  def expires_string: () -> ::String
955
1013
  def website_redirect_location: () -> ::String
@@ -963,6 +1021,7 @@ module Aws
963
1021
  def request_charged: () -> ("requester")
964
1022
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
965
1023
  def parts_count: () -> ::Integer
1024
+ def tag_count: () -> ::Integer
966
1025
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
967
1026
  def object_lock_retain_until_date: () -> ::Time
968
1027
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
@@ -1018,7 +1077,8 @@ module Aws
1018
1077
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
1019
1078
  def list_bucket_intelligent_tiering_configurations: (
1020
1079
  bucket: ::String,
1021
- ?continuation_token: ::String
1080
+ ?continuation_token: ::String,
1081
+ ?expected_bucket_owner: ::String
1022
1082
  ) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1023
1083
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1024
1084
 
@@ -1218,7 +1278,8 @@ module Aws
1218
1278
  def owner: () -> Types::Owner
1219
1279
  def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1220
1280
  def request_charged: () -> ("requester")
1221
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1281
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1282
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1222
1283
  end
1223
1284
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
1224
1285
  def list_parts: (
@@ -1242,7 +1303,7 @@ module Aws
1242
1303
  status: ("Enabled" | "Suspended")?
1243
1304
  },
1244
1305
  ?expected_bucket_owner: ::String,
1245
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1306
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1246
1307
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1247
1308
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1248
1309
 
@@ -1269,7 +1330,7 @@ module Aws
1269
1330
  },
1270
1331
  bucket: ::String,
1271
1332
  ?content_md5: ::String,
1272
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1333
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1273
1334
  ?grant_full_control: ::String,
1274
1335
  ?grant_read: ::String,
1275
1336
  ?grant_read_acp: ::String,
@@ -1335,7 +1396,7 @@ module Aws
1335
1396
  ]
1336
1397
  },
1337
1398
  ?content_md5: ::String,
1338
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1399
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1339
1400
  ?expected_bucket_owner: ::String
1340
1401
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1341
1402
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1344,7 +1405,7 @@ module Aws
1344
1405
  def put_bucket_encryption: (
1345
1406
  bucket: ::String,
1346
1407
  ?content_md5: ::String,
1347
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1408
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1348
1409
  server_side_encryption_configuration: {
1349
1410
  rules: Array[
1350
1411
  {
@@ -1364,6 +1425,7 @@ module Aws
1364
1425
  def put_bucket_intelligent_tiering_configuration: (
1365
1426
  bucket: ::String,
1366
1427
  id: ::String,
1428
+ ?expected_bucket_owner: ::String,
1367
1429
  intelligent_tiering_configuration: {
1368
1430
  id: ::String,
1369
1431
  filter: {
@@ -1432,7 +1494,7 @@ module Aws
1432
1494
  def put_bucket_lifecycle: (
1433
1495
  bucket: ::String,
1434
1496
  ?content_md5: ::String,
1435
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1497
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1436
1498
  ?lifecycle_configuration: {
1437
1499
  rules: Array[
1438
1500
  {
@@ -1475,7 +1537,7 @@ module Aws
1475
1537
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
1476
1538
  def put_bucket_lifecycle_configuration: (
1477
1539
  bucket: ::String,
1478
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1540
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1479
1541
  ?lifecycle_configuration: {
1480
1542
  rules: Array[
1481
1543
  {
@@ -1565,7 +1627,7 @@ module Aws
1565
1627
  }?
1566
1628
  },
1567
1629
  ?content_md5: ::String,
1568
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1630
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1569
1631
  ?expected_bucket_owner: ::String
1570
1632
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1571
1633
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1603,7 +1665,7 @@ module Aws
1603
1665
  def put_bucket_notification: (
1604
1666
  bucket: ::String,
1605
1667
  ?content_md5: ::String,
1606
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1668
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1607
1669
  notification_configuration: {
1608
1670
  topic_configuration: {
1609
1671
  id: ::String?,
@@ -1703,7 +1765,8 @@ module Aws
1703
1765
  object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
1704
1766
  },
1705
1767
  ]
1706
- }
1768
+ },
1769
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1707
1770
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1708
1771
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1709
1772
 
@@ -1711,7 +1774,7 @@ module Aws
1711
1774
  def put_bucket_policy: (
1712
1775
  bucket: ::String,
1713
1776
  ?content_md5: ::String,
1714
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1777
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1715
1778
  ?confirm_remove_self_bucket_access: bool,
1716
1779
  policy: ::String,
1717
1780
  ?expected_bucket_owner: ::String
@@ -1722,7 +1785,7 @@ module Aws
1722
1785
  def put_bucket_replication: (
1723
1786
  bucket: ::String,
1724
1787
  ?content_md5: ::String,
1725
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1788
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1726
1789
  replication_configuration: {
1727
1790
  role: ::String,
1728
1791
  rules: Array[
@@ -1796,7 +1859,7 @@ module Aws
1796
1859
  def put_bucket_request_payment: (
1797
1860
  bucket: ::String,
1798
1861
  ?content_md5: ::String,
1799
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1862
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1800
1863
  request_payment_configuration: {
1801
1864
  payer: ("Requester" | "BucketOwner")
1802
1865
  },
@@ -1808,7 +1871,7 @@ module Aws
1808
1871
  def put_bucket_tagging: (
1809
1872
  bucket: ::String,
1810
1873
  ?content_md5: ::String,
1811
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1874
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1812
1875
  tagging: {
1813
1876
  tag_set: Array[
1814
1877
  {
@@ -1825,7 +1888,7 @@ module Aws
1825
1888
  def put_bucket_versioning: (
1826
1889
  bucket: ::String,
1827
1890
  ?content_md5: ::String,
1828
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1891
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1829
1892
  ?mfa: ::String,
1830
1893
  versioning_configuration: {
1831
1894
  mfa_delete: ("Enabled" | "Disabled")?,
@@ -1839,7 +1902,7 @@ module Aws
1839
1902
  def put_bucket_website: (
1840
1903
  bucket: ::String,
1841
1904
  ?content_md5: ::String,
1842
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1905
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1843
1906
  website_configuration: {
1844
1907
  error_document: {
1845
1908
  key: ::String
@@ -1877,8 +1940,10 @@ module Aws
1877
1940
  def etag: () -> ::String
1878
1941
  def checksum_crc32: () -> ::String
1879
1942
  def checksum_crc32c: () -> ::String
1943
+ def checksum_crc64nvme: () -> ::String
1880
1944
  def checksum_sha1: () -> ::String
1881
1945
  def checksum_sha256: () -> ::String
1946
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1882
1947
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1883
1948
  def version_id: () -> ::String
1884
1949
  def sse_customer_algorithm: () -> ::String
@@ -1886,6 +1951,7 @@ module Aws
1886
1951
  def ssekms_key_id: () -> ::String
1887
1952
  def ssekms_encryption_context: () -> ::String
1888
1953
  def bucket_key_enabled: () -> bool
1954
+ def size: () -> ::Integer
1889
1955
  def request_charged: () -> ("requester")
1890
1956
  end
1891
1957
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1900,18 +1966,21 @@ module Aws
1900
1966
  ?content_length: ::Integer,
1901
1967
  ?content_md5: ::String,
1902
1968
  ?content_type: ::String,
1903
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1969
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1904
1970
  ?checksum_crc32: ::String,
1905
1971
  ?checksum_crc32c: ::String,
1972
+ ?checksum_crc64nvme: ::String,
1906
1973
  ?checksum_sha1: ::String,
1907
1974
  ?checksum_sha256: ::String,
1908
1975
  ?expires: ::Time,
1976
+ ?if_match: ::String,
1909
1977
  ?if_none_match: ::String,
1910
1978
  ?grant_full_control: ::String,
1911
1979
  ?grant_read: ::String,
1912
1980
  ?grant_read_acp: ::String,
1913
1981
  ?grant_write_acp: ::String,
1914
1982
  key: ::String,
1983
+ ?write_offset_bytes: ::Integer,
1915
1984
  ?metadata: Hash[::String, ::String],
1916
1985
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1917
1986
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -1958,7 +2027,7 @@ module Aws
1958
2027
  },
1959
2028
  bucket: ::String,
1960
2029
  ?content_md5: ::String,
1961
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2030
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1962
2031
  ?grant_full_control: ::String,
1963
2032
  ?grant_read: ::String,
1964
2033
  ?grant_read_acp: ::String,
@@ -1985,7 +2054,7 @@ module Aws
1985
2054
  ?request_payer: ("requester"),
1986
2055
  ?version_id: ::String,
1987
2056
  ?content_md5: ::String,
1988
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2057
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1989
2058
  ?expected_bucket_owner: ::String
1990
2059
  ) -> _PutObjectLegalHoldResponseSuccess
1991
2060
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLegalHoldResponseSuccess
@@ -2010,7 +2079,7 @@ module Aws
2010
2079
  ?request_payer: ("requester"),
2011
2080
  ?token: ::String,
2012
2081
  ?content_md5: ::String,
2013
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2082
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2014
2083
  ?expected_bucket_owner: ::String
2015
2084
  ) -> _PutObjectLockConfigurationResponseSuccess
2016
2085
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLockConfigurationResponseSuccess
@@ -2031,7 +2100,7 @@ module Aws
2031
2100
  ?version_id: ::String,
2032
2101
  ?bypass_governance_retention: bool,
2033
2102
  ?content_md5: ::String,
2034
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2103
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2035
2104
  ?expected_bucket_owner: ::String
2036
2105
  ) -> _PutObjectRetentionResponseSuccess
2037
2106
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectRetentionResponseSuccess
@@ -2046,7 +2115,7 @@ module Aws
2046
2115
  key: ::String,
2047
2116
  ?version_id: ::String,
2048
2117
  ?content_md5: ::String,
2049
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2118
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2050
2119
  tagging: {
2051
2120
  tag_set: Array[
2052
2121
  {
@@ -2064,7 +2133,7 @@ module Aws
2064
2133
  def put_public_access_block: (
2065
2134
  bucket: ::String,
2066
2135
  ?content_md5: ::String,
2067
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2136
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2068
2137
  public_access_block_configuration: {
2069
2138
  block_public_acls: bool?,
2070
2139
  ignore_public_acls: bool?,
@@ -2075,6 +2144,26 @@ module Aws
2075
2144
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2076
2145
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2077
2146
 
2147
+ interface _RenameObjectResponseSuccess
2148
+ include ::Seahorse::Client::_ResponseSuccess[Types::RenameObjectOutput]
2149
+ end
2150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#rename_object-instance_method
2151
+ def rename_object: (
2152
+ bucket: ::String,
2153
+ key: ::String,
2154
+ rename_source: ::String,
2155
+ ?destination_if_match: ::String,
2156
+ ?destination_if_none_match: ::String,
2157
+ ?destination_if_modified_since: ::Time,
2158
+ ?destination_if_unmodified_since: ::Time,
2159
+ ?source_if_match: ::String,
2160
+ ?source_if_none_match: ::String,
2161
+ ?source_if_modified_since: ::Time,
2162
+ ?source_if_unmodified_since: ::Time,
2163
+ ?client_token: ::String
2164
+ ) -> _RenameObjectResponseSuccess
2165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenameObjectResponseSuccess
2166
+
2078
2167
  interface _RestoreObjectResponseSuccess
2079
2168
  include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
2080
2169
  def request_charged: () -> ("requester")
@@ -2167,7 +2256,7 @@ module Aws
2167
2256
  }?
2168
2257
  },
2169
2258
  ?request_payer: ("requester"),
2170
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2259
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2171
2260
  ?expected_bucket_owner: ::String
2172
2261
  ) -> _RestoreObjectResponseSuccess
2173
2262
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreObjectResponseSuccess
@@ -2231,6 +2320,7 @@ module Aws
2231
2320
  def etag: () -> ::String
2232
2321
  def checksum_crc32: () -> ::String
2233
2322
  def checksum_crc32c: () -> ::String
2323
+ def checksum_crc64nvme: () -> ::String
2234
2324
  def checksum_sha1: () -> ::String
2235
2325
  def checksum_sha256: () -> ::String
2236
2326
  def sse_customer_algorithm: () -> ::String
@@ -2245,9 +2335,10 @@ module Aws
2245
2335
  bucket: ::String,
2246
2336
  ?content_length: ::Integer,
2247
2337
  ?content_md5: ::String,
2248
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2338
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2249
2339
  ?checksum_crc32: ::String,
2250
2340
  ?checksum_crc32c: ::String,
2341
+ ?checksum_crc64nvme: ::String,
2251
2342
  ?checksum_sha1: ::String,
2252
2343
  ?checksum_sha256: ::String,
2253
2344
  key: ::String,
@@ -2314,6 +2405,7 @@ module Aws
2314
2405
  ?content_type: ::String,
2315
2406
  ?checksum_crc32: ::String,
2316
2407
  ?checksum_crc32c: ::String,
2408
+ ?checksum_crc64nvme: ::String,
2317
2409
  ?checksum_sha1: ::String,
2318
2410
  ?checksum_sha256: ::String,
2319
2411
  ?delete_marker: bool,
data/sig/errors.rbs CHANGED
@@ -15,10 +15,18 @@ module Aws
15
15
  end
16
16
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
17
17
  end
18
+ class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
+ end
20
+ class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
21
+ end
18
22
  class InvalidObjectState < ::Aws::Errors::ServiceError
19
23
  def storage_class: () -> ::String
20
24
  def access_tier: () -> ::String
21
25
  end
26
+ class InvalidRequest < ::Aws::Errors::ServiceError
27
+ end
28
+ class InvalidWriteOffset < ::Aws::Errors::ServiceError
29
+ end
22
30
  class NoSuchBucket < ::Aws::Errors::ServiceError
23
31
  end
24
32
  class NoSuchKey < ::Aws::Errors::ServiceError
@@ -29,6 +37,8 @@ module Aws
29
37
  end
30
38
  class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
31
39
  end
40
+ class TooManyParts < ::Aws::Errors::ServiceError
41
+ end
32
42
  end
33
43
  end
34
44
  end