aws-sdk-s3 1.184.0 → 1.208.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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +160 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +43 -4
  5. data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
  6. data/lib/aws-sdk-s3/bucket_versioning.rb +33 -0
  7. data/lib/aws-sdk-s3/client.rb +1979 -377
  8. data/lib/aws-sdk-s3/client_api.rb +457 -162
  9. data/lib/aws-sdk-s3/customizations/object.rb +76 -86
  10. data/lib/aws-sdk-s3/customizations.rb +4 -1
  11. data/lib/aws-sdk-s3/default_executor.rb +103 -0
  12. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  13. data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
  14. data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
  15. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -0
  16. data/lib/aws-sdk-s3/encryptionV2/client.rb +98 -23
  17. data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
  18. data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
  19. data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
  20. data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
  21. data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
  22. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +8 -0
  23. data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
  24. data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
  25. data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
  26. data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
  27. data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
  28. data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
  29. data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
  30. data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
  31. data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
  32. data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
  33. data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
  34. data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
  35. data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
  36. data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
  37. data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
  38. data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
  39. data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
  40. data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
  41. data/lib/aws-sdk-s3/endpoint_provider.rb +332 -162
  42. data/lib/aws-sdk-s3/endpoints.rb +110 -0
  43. data/lib/aws-sdk-s3/errors.rb +11 -0
  44. data/lib/aws-sdk-s3/file_downloader.rb +197 -134
  45. data/lib/aws-sdk-s3/file_uploader.rb +9 -13
  46. data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
  47. data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
  48. data/lib/aws-sdk-s3/multipart_file_uploader.rb +92 -107
  49. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
  50. data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
  51. data/lib/aws-sdk-s3/object.rb +117 -36
  52. data/lib/aws-sdk-s3/object_acl.rb +8 -2
  53. data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
  54. data/lib/aws-sdk-s3/object_summary.rb +72 -20
  55. data/lib/aws-sdk-s3/object_version.rb +7 -9
  56. data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
  57. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  58. data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
  59. data/lib/aws-sdk-s3/resource.rb +6 -0
  60. data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
  61. data/lib/aws-sdk-s3/types.rb +1719 -310
  62. data/lib/aws-sdk-s3.rb +1 -1
  63. data/sig/bucket.rbs +12 -3
  64. data/sig/client.rbs +173 -33
  65. data/sig/errors.rbs +2 -0
  66. data/sig/multipart_upload.rbs +1 -1
  67. data/sig/object.rbs +15 -10
  68. data/sig/object_summary.rbs +11 -9
  69. data/sig/resource.rbs +8 -1
  70. data/sig/types.rbs +217 -30
  71. metadata +25 -9
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.184.0'
78
+ GEM_VERSION = '1.208.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -23,6 +23,9 @@ module Aws
23
23
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
24
24
  def bucket_region: () -> ::String
25
25
 
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_arn-instance_method
27
+ def bucket_arn: () -> ::String
28
+
26
29
  def client: () -> Client
27
30
 
28
31
 
@@ -56,7 +59,13 @@ module Aws
56
59
  bucket: {
57
60
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
58
61
  type: ("Directory")?
59
- }?
62
+ }?,
63
+ tags: Array[
64
+ {
65
+ key: ::String,
66
+ value: ::String
67
+ },
68
+ ]?
60
69
  },
61
70
  ?grant_full_control: ::String,
62
71
  ?grant_read: ::String,
@@ -123,8 +132,8 @@ module Aws
123
132
  key: ::String,
124
133
  ?write_offset_bytes: ::Integer,
125
134
  ?metadata: Hash[::String, ::String],
126
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
127
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
135
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
136
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
128
137
  ?website_redirect_location: ::String,
129
138
  ?sse_customer_algorithm: ::String,
130
139
  ?sse_customer_key: ::String,
data/sig/client.rbs CHANGED
@@ -20,6 +20,7 @@ module Aws
20
20
  ?account_id: String,
21
21
  ?active_endpoint_cache: bool,
22
22
  ?adaptive_retry_wait_to_fill: bool,
23
+ ?auth_scheme_preference: Array[String],
23
24
  ?client_side_monitoring: bool,
24
25
  ?client_side_monitoring_client_id: String,
25
26
  ?client_side_monitoring_host: String,
@@ -120,7 +121,7 @@ module Aws
120
121
  def checksum_sha1: () -> ::String
121
122
  def checksum_sha256: () -> ::String
122
123
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
123
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
124
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
124
125
  def version_id: () -> ::String
125
126
  def ssekms_key_id: () -> ::String
126
127
  def bucket_key_enabled: () -> bool
@@ -167,7 +168,7 @@ module Aws
167
168
  def expiration: () -> ::String
168
169
  def copy_source_version_id: () -> ::String
169
170
  def version_id: () -> ::String
170
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
171
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
171
172
  def sse_customer_algorithm: () -> ::String
172
173
  def sse_customer_key_md5: () -> ::String
173
174
  def ssekms_key_id: () -> ::String
@@ -195,12 +196,14 @@ module Aws
195
196
  ?grant_read: ::String,
196
197
  ?grant_read_acp: ::String,
197
198
  ?grant_write_acp: ::String,
199
+ ?if_match: ::String,
200
+ ?if_none_match: ::String,
198
201
  key: ::String,
199
202
  ?metadata: Hash[::String, ::String],
200
203
  ?metadata_directive: ("COPY" | "REPLACE"),
201
204
  ?tagging_directive: ("COPY" | "REPLACE"),
202
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
203
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
205
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
206
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
204
207
  ?website_redirect_location: ::String,
205
208
  ?sse_customer_algorithm: ::String,
206
209
  ?sse_customer_key: ::String,
@@ -224,6 +227,7 @@ module Aws
224
227
  interface _CreateBucketResponseSuccess
225
228
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
226
229
  def location: () -> ::String
230
+ def bucket_arn: () -> ::String
227
231
  end
228
232
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
229
233
  def create_bucket: (
@@ -238,7 +242,13 @@ module Aws
238
242
  bucket: {
239
243
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
240
244
  type: ("Directory")?
241
- }?
245
+ }?,
246
+ tags: Array[
247
+ {
248
+ key: ::String,
249
+ value: ::String
250
+ },
251
+ ]?
242
252
  },
243
253
  ?grant_full_control: ::String,
244
254
  ?grant_read: ::String,
@@ -250,6 +260,34 @@ module Aws
250
260
  ) -> _CreateBucketResponseSuccess
251
261
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
252
262
 
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_configuration-instance_method
264
+ def create_bucket_metadata_configuration: (
265
+ bucket: ::String,
266
+ ?content_md5: ::String,
267
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
268
+ metadata_configuration: {
269
+ journal_table_configuration: {
270
+ record_expiration: {
271
+ expiration: ("ENABLED" | "DISABLED"),
272
+ days: ::Integer?
273
+ },
274
+ encryption_configuration: {
275
+ sse_algorithm: ("aws:kms" | "AES256"),
276
+ kms_key_arn: ::String?
277
+ }?
278
+ },
279
+ inventory_table_configuration: {
280
+ configuration_state: ("ENABLED" | "DISABLED"),
281
+ encryption_configuration: {
282
+ sse_algorithm: ("aws:kms" | "AES256"),
283
+ kms_key_arn: ::String?
284
+ }?
285
+ }?
286
+ },
287
+ ?expected_bucket_owner: ::String
288
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
290
+
253
291
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
254
292
  def create_bucket_metadata_table_configuration: (
255
293
  bucket: ::String,
@@ -272,7 +310,7 @@ module Aws
272
310
  def bucket: () -> ::String
273
311
  def key: () -> ::String
274
312
  def upload_id: () -> ::String
275
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
313
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
276
314
  def sse_customer_algorithm: () -> ::String
277
315
  def sse_customer_key_md5: () -> ::String
278
316
  def ssekms_key_id: () -> ::String
@@ -298,8 +336,8 @@ module Aws
298
336
  ?grant_write_acp: ::String,
299
337
  key: ::String,
300
338
  ?metadata: Hash[::String, ::String],
301
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
302
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
339
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
340
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
303
341
  ?website_redirect_location: ::String,
304
342
  ?sse_customer_algorithm: ::String,
305
343
  ?sse_customer_key: ::String,
@@ -320,7 +358,7 @@ module Aws
320
358
 
321
359
  interface _CreateSessionResponseSuccess
322
360
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
323
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
361
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
324
362
  def ssekms_key_id: () -> ::String
325
363
  def ssekms_encryption_context: () -> ::String
326
364
  def bucket_key_enabled: () -> bool
@@ -330,7 +368,7 @@ module Aws
330
368
  def create_session: (
331
369
  ?session_mode: ("ReadOnly" | "ReadWrite"),
332
370
  bucket: ::String,
333
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
371
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
334
372
  ?ssekms_key_id: ::String,
335
373
  ?ssekms_encryption_context: ::String,
336
374
  ?bucket_key_enabled: bool
@@ -369,7 +407,8 @@ module Aws
369
407
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
370
408
  def delete_bucket_intelligent_tiering_configuration: (
371
409
  bucket: ::String,
372
- id: ::String
410
+ id: ::String,
411
+ ?expected_bucket_owner: ::String
373
412
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
374
413
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
375
414
 
@@ -388,6 +427,13 @@ module Aws
388
427
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
389
428
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
390
429
 
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_configuration-instance_method
431
+ def delete_bucket_metadata_configuration: (
432
+ bucket: ::String,
433
+ ?expected_bucket_owner: ::String
434
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
436
+
391
437
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
392
438
  def delete_bucket_metadata_table_configuration: (
393
439
  bucket: ::String,
@@ -508,6 +554,17 @@ module Aws
508
554
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
509
555
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
510
556
 
557
+ interface _GetBucketAbacResponseSuccess
558
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAbacOutput]
559
+ def abac_status: () -> Types::AbacStatus
560
+ end
561
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_abac-instance_method
562
+ def get_bucket_abac: (
563
+ bucket: ::String,
564
+ ?expected_bucket_owner: ::String
565
+ ) -> _GetBucketAbacResponseSuccess
566
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAbacResponseSuccess
567
+
511
568
  interface _GetBucketAccelerateConfigurationResponseSuccess
512
569
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAccelerateConfigurationOutput]
513
570
  def status: () -> ("Enabled" | "Suspended")
@@ -574,7 +631,8 @@ module Aws
574
631
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
575
632
  def get_bucket_intelligent_tiering_configuration: (
576
633
  bucket: ::String,
577
- id: ::String
634
+ id: ::String,
635
+ ?expected_bucket_owner: ::String
578
636
  ) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
579
637
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
580
638
 
@@ -635,6 +693,17 @@ module Aws
635
693
  ) -> _GetBucketLoggingResponseSuccess
636
694
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
637
695
 
696
+ interface _GetBucketMetadataConfigurationResponseSuccess
697
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataConfigurationOutput]
698
+ def get_bucket_metadata_configuration_result: () -> Types::GetBucketMetadataConfigurationResult
699
+ end
700
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_configuration-instance_method
701
+ def get_bucket_metadata_configuration: (
702
+ bucket: ::String,
703
+ ?expected_bucket_owner: ::String
704
+ ) -> _GetBucketMetadataConfigurationResponseSuccess
705
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataConfigurationResponseSuccess
706
+
638
707
  interface _GetBucketMetadataTableConfigurationResponseSuccess
639
708
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
640
709
  def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
@@ -804,13 +873,13 @@ module Aws
804
873
  def expires: () -> ::Time
805
874
  def expires_string: () -> ::String
806
875
  def website_redirect_location: () -> ::String
807
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
876
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
808
877
  def metadata: () -> ::Hash[::String, ::String]
809
878
  def sse_customer_algorithm: () -> ::String
810
879
  def sse_customer_key_md5: () -> ::String
811
880
  def ssekms_key_id: () -> ::String
812
881
  def bucket_key_enabled: () -> bool
813
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
882
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
814
883
  def request_charged: () -> ("requester")
815
884
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
816
885
  def parts_count: () -> ::Integer
@@ -870,7 +939,7 @@ module Aws
870
939
  def etag: () -> ::String
871
940
  def checksum: () -> Types::Checksum
872
941
  def object_parts: () -> Types::GetObjectAttributesParts
873
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
942
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
874
943
  def object_size: () -> ::Integer
875
944
  end
876
945
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
@@ -970,6 +1039,7 @@ module Aws
970
1039
 
971
1040
  interface _HeadBucketResponseSuccess
972
1041
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
1042
+ def bucket_arn: () -> ::String
973
1043
  def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
974
1044
  def bucket_location_name: () -> ::String
975
1045
  def bucket_region: () -> ::String
@@ -1009,16 +1079,17 @@ module Aws
1009
1079
  def expires: () -> ::Time
1010
1080
  def expires_string: () -> ::String
1011
1081
  def website_redirect_location: () -> ::String
1012
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1082
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1013
1083
  def metadata: () -> ::Hash[::String, ::String]
1014
1084
  def sse_customer_algorithm: () -> ::String
1015
1085
  def sse_customer_key_md5: () -> ::String
1016
1086
  def ssekms_key_id: () -> ::String
1017
1087
  def bucket_key_enabled: () -> bool
1018
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1088
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1019
1089
  def request_charged: () -> ("requester")
1020
1090
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1021
1091
  def parts_count: () -> ::Integer
1092
+ def tag_count: () -> ::Integer
1022
1093
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
1023
1094
  def object_lock_retain_until_date: () -> ::Time
1024
1095
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
@@ -1074,7 +1145,8 @@ module Aws
1074
1145
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
1075
1146
  def list_bucket_intelligent_tiering_configurations: (
1076
1147
  bucket: ::String,
1077
- ?continuation_token: ::String
1148
+ ?continuation_token: ::String,
1149
+ ?expected_bucket_owner: ::String
1078
1150
  ) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1079
1151
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1080
1152
 
@@ -1272,7 +1344,7 @@ module Aws
1272
1344
  def parts: () -> ::Array[Types::Part]
1273
1345
  def initiator: () -> Types::Initiator
1274
1346
  def owner: () -> Types::Owner
1275
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1347
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1276
1348
  def request_charged: () -> ("requester")
1277
1349
  def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1278
1350
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
@@ -1292,6 +1364,18 @@ module Aws
1292
1364
  ) -> _ListPartsResponseSuccess
1293
1365
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
1294
1366
 
1367
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_abac-instance_method
1368
+ def put_bucket_abac: (
1369
+ bucket: ::String,
1370
+ ?content_md5: ::String,
1371
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1372
+ ?expected_bucket_owner: ::String,
1373
+ abac_status: {
1374
+ status: ("Enabled" | "Disabled")?
1375
+ }
1376
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1377
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1378
+
1295
1379
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_accelerate_configuration-instance_method
1296
1380
  def put_bucket_accelerate_configuration: (
1297
1381
  bucket: ::String,
@@ -1406,10 +1490,13 @@ module Aws
1406
1490
  rules: Array[
1407
1491
  {
1408
1492
  apply_server_side_encryption_by_default: {
1409
- sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1493
+ sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
1410
1494
  kms_master_key_id: ::String?
1411
1495
  }?,
1412
- bucket_key_enabled: bool?
1496
+ bucket_key_enabled: bool?,
1497
+ blocked_encryption_types: {
1498
+ encryption_type: Array[("NONE" | "SSE-C")]?
1499
+ }?
1413
1500
  },
1414
1501
  ]
1415
1502
  },
@@ -1421,6 +1508,7 @@ module Aws
1421
1508
  def put_bucket_intelligent_tiering_configuration: (
1422
1509
  bucket: ::String,
1423
1510
  id: ::String,
1511
+ ?expected_bucket_owner: ::String,
1424
1512
  intelligent_tiering_configuration: {
1425
1513
  id: ::String,
1426
1514
  filter: {
@@ -1476,7 +1564,7 @@ module Aws
1476
1564
  }?,
1477
1565
  id: ::String,
1478
1566
  included_object_versions: ("All" | "Current"),
1479
- optional_fields: Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner")]?,
1567
+ optional_fields: Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner" | "LifecycleExpirationDate")]?,
1480
1568
  schedule: {
1481
1569
  frequency: ("Daily" | "Weekly")
1482
1570
  }
@@ -1760,7 +1848,8 @@ module Aws
1760
1848
  object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
1761
1849
  },
1762
1850
  ]
1763
- }
1851
+ },
1852
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1764
1853
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1765
1854
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1766
1855
 
@@ -1818,7 +1907,7 @@ module Aws
1818
1907
  destination: {
1819
1908
  bucket: ::String,
1820
1909
  account: ::String?,
1821
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?,
1910
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?,
1822
1911
  access_control_translation: {
1823
1912
  owner: ("Destination")
1824
1913
  }?,
@@ -1938,7 +2027,7 @@ module Aws
1938
2027
  def checksum_sha1: () -> ::String
1939
2028
  def checksum_sha256: () -> ::String
1940
2029
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1941
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
2030
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1942
2031
  def version_id: () -> ::String
1943
2032
  def sse_customer_algorithm: () -> ::String
1944
2033
  def sse_customer_key_md5: () -> ::String
@@ -1976,8 +2065,8 @@ module Aws
1976
2065
  key: ::String,
1977
2066
  ?write_offset_bytes: ::Integer,
1978
2067
  ?metadata: Hash[::String, ::String],
1979
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1980
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
2068
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2069
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
1981
2070
  ?website_redirect_location: ::String,
1982
2071
  ?sse_customer_algorithm: ::String,
1983
2072
  ?sse_customer_key: ::String,
@@ -2138,6 +2227,26 @@ module Aws
2138
2227
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2139
2228
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2140
2229
 
2230
+ interface _RenameObjectResponseSuccess
2231
+ include ::Seahorse::Client::_ResponseSuccess[Types::RenameObjectOutput]
2232
+ end
2233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#rename_object-instance_method
2234
+ def rename_object: (
2235
+ bucket: ::String,
2236
+ key: ::String,
2237
+ rename_source: ::String,
2238
+ ?destination_if_match: ::String,
2239
+ ?destination_if_none_match: ::String,
2240
+ ?destination_if_modified_since: ::Time,
2241
+ ?destination_if_unmodified_since: ::Time,
2242
+ ?source_if_match: ::String,
2243
+ ?source_if_none_match: ::String,
2244
+ ?source_if_modified_since: ::Time,
2245
+ ?source_if_unmodified_since: ::Time,
2246
+ ?client_token: ::String
2247
+ ) -> _RenameObjectResponseSuccess
2248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenameObjectResponseSuccess
2249
+
2141
2250
  interface _RestoreObjectResponseSuccess
2142
2251
  include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
2143
2252
  def request_charged: () -> ("requester")
@@ -2194,7 +2303,7 @@ module Aws
2194
2303
  bucket_name: ::String,
2195
2304
  prefix: ::String,
2196
2305
  encryption: {
2197
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
2306
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2198
2307
  kms_key_id: ::String?,
2199
2308
  kms_context: ::String?
2200
2309
  }?,
@@ -2225,7 +2334,7 @@ module Aws
2225
2334
  value: ::String?
2226
2335
  },
2227
2336
  ]?,
2228
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
2337
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
2229
2338
  }?
2230
2339
  }?
2231
2340
  },
@@ -2288,9 +2397,40 @@ module Aws
2288
2397
  ) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
2289
2398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
2290
2399
 
2400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_inventory_table_configuration-instance_method
2401
+ def update_bucket_metadata_inventory_table_configuration: (
2402
+ bucket: ::String,
2403
+ ?content_md5: ::String,
2404
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2405
+ inventory_table_configuration: {
2406
+ configuration_state: ("ENABLED" | "DISABLED"),
2407
+ encryption_configuration: {
2408
+ sse_algorithm: ("aws:kms" | "AES256"),
2409
+ kms_key_arn: ::String?
2410
+ }?
2411
+ },
2412
+ ?expected_bucket_owner: ::String
2413
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2415
+
2416
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_journal_table_configuration-instance_method
2417
+ def update_bucket_metadata_journal_table_configuration: (
2418
+ bucket: ::String,
2419
+ ?content_md5: ::String,
2420
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2421
+ journal_table_configuration: {
2422
+ record_expiration: {
2423
+ expiration: ("ENABLED" | "DISABLED"),
2424
+ days: ::Integer?
2425
+ }
2426
+ },
2427
+ ?expected_bucket_owner: ::String
2428
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2430
+
2291
2431
  interface _UploadPartResponseSuccess
2292
2432
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2293
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
2433
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2294
2434
  def etag: () -> ::String
2295
2435
  def checksum_crc32: () -> ::String
2296
2436
  def checksum_crc32c: () -> ::String
@@ -2330,7 +2470,7 @@ module Aws
2330
2470
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartCopyOutput]
2331
2471
  def copy_source_version_id: () -> ::String
2332
2472
  def copy_part_result: () -> Types::CopyPartResult
2333
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
2473
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2334
2474
  def sse_customer_algorithm: () -> ::String
2335
2475
  def sse_customer_key_md5: () -> ::String
2336
2476
  def ssekms_key_id: () -> ::String
@@ -2396,11 +2536,11 @@ module Aws
2396
2536
  ?replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"),
2397
2537
  ?request_charged: ("requester"),
2398
2538
  ?restore: ::String,
2399
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
2539
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2400
2540
  ?sse_customer_algorithm: ::String,
2401
2541
  ?ssekms_key_id: ::String,
2402
2542
  ?sse_customer_key_md5: ::String,
2403
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
2543
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
2404
2544
  ?tag_count: ::Integer,
2405
2545
  ?version_id: ::String,
2406
2546
  ?bucket_key_enabled: bool
data/sig/errors.rbs CHANGED
@@ -17,6 +17,8 @@ module Aws
17
17
  end
18
18
  class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
19
  end
20
+ class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
21
+ end
20
22
  class InvalidObjectState < ::Aws::Errors::ServiceError
21
23
  def storage_class: () -> ::String
22
24
  def access_tier: () -> ::String
@@ -33,7 +33,7 @@ module Aws
33
33
  def initiated: () -> ::Time
34
34
 
35
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#storage_class-instance_method
36
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
36
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
37
37
 
38
38
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#owner-instance_method
39
39
  def owner: () -> Types::Owner