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/sig/types.rbs CHANGED
@@ -8,6 +8,11 @@
8
8
  module Aws::S3
9
9
  module Types
10
10
 
11
+ class AbacStatus
12
+ attr_accessor status: ("Enabled" | "Disabled")
13
+ SENSITIVE: []
14
+ end
15
+
11
16
  class AbortIncompleteMultipartUpload
12
17
  attr_accessor days_after_initiation: ::Integer
13
18
  SENSITIVE: []
@@ -77,10 +82,16 @@ module Aws::S3
77
82
  SENSITIVE: []
78
83
  end
79
84
 
85
+ class BlockedEncryptionTypes
86
+ attr_accessor encryption_type: ::Array[("NONE" | "SSE-C")]
87
+ SENSITIVE: []
88
+ end
89
+
80
90
  class Bucket
81
91
  attr_accessor name: ::String
82
92
  attr_accessor creation_date: ::Time
83
93
  attr_accessor bucket_region: ::String
94
+ attr_accessor bucket_arn: ::String
84
95
  SENSITIVE: []
85
96
  end
86
97
 
@@ -177,7 +188,7 @@ module Aws::S3
177
188
  attr_accessor checksum_sha1: ::String
178
189
  attr_accessor checksum_sha256: ::String
179
190
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
180
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
191
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
181
192
  attr_accessor version_id: ::String
182
193
  attr_accessor ssekms_key_id: ::String
183
194
  attr_accessor bucket_key_enabled: bool
@@ -239,7 +250,7 @@ module Aws::S3
239
250
  attr_accessor expiration: ::String
240
251
  attr_accessor copy_source_version_id: ::String
241
252
  attr_accessor version_id: ::String
242
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
253
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
243
254
  attr_accessor sse_customer_algorithm: ::String
244
255
  attr_accessor sse_customer_key_md5: ::String
245
256
  attr_accessor ssekms_key_id: ::String
@@ -268,12 +279,14 @@ module Aws::S3
268
279
  attr_accessor grant_read: ::String
269
280
  attr_accessor grant_read_acp: ::String
270
281
  attr_accessor grant_write_acp: ::String
282
+ attr_accessor if_match: ::String
283
+ attr_accessor if_none_match: ::String
271
284
  attr_accessor key: ::String
272
285
  attr_accessor metadata: ::Hash[::String, ::String]
273
286
  attr_accessor metadata_directive: ("COPY" | "REPLACE")
274
287
  attr_accessor tagging_directive: ("COPY" | "REPLACE")
275
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
276
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
288
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
289
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
277
290
  attr_accessor website_redirect_location: ::String
278
291
  attr_accessor sse_customer_algorithm: ::String
279
292
  attr_accessor sse_customer_key: ::String
@@ -321,6 +334,16 @@ module Aws::S3
321
334
  attr_accessor 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")
322
335
  attr_accessor location: Types::LocationInfo
323
336
  attr_accessor bucket: Types::BucketInfo
337
+ attr_accessor tags: ::Array[Types::Tag]
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class CreateBucketMetadataConfigurationRequest
342
+ attr_accessor bucket: ::String
343
+ attr_accessor content_md5: ::String
344
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
345
+ attr_accessor metadata_configuration: Types::MetadataConfiguration
346
+ attr_accessor expected_bucket_owner: ::String
324
347
  SENSITIVE: []
325
348
  end
326
349
 
@@ -335,6 +358,7 @@ module Aws::S3
335
358
 
336
359
  class CreateBucketOutput
337
360
  attr_accessor location: ::String
361
+ attr_accessor bucket_arn: ::String
338
362
  SENSITIVE: []
339
363
  end
340
364
 
@@ -358,7 +382,7 @@ module Aws::S3
358
382
  attr_accessor bucket: ::String
359
383
  attr_accessor key: ::String
360
384
  attr_accessor upload_id: ::String
361
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
385
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
362
386
  attr_accessor sse_customer_algorithm: ::String
363
387
  attr_accessor sse_customer_key_md5: ::String
364
388
  attr_accessor ssekms_key_id: ::String
@@ -385,8 +409,8 @@ module Aws::S3
385
409
  attr_accessor grant_write_acp: ::String
386
410
  attr_accessor key: ::String
387
411
  attr_accessor metadata: ::Hash[::String, ::String]
388
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
389
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
412
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
413
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
390
414
  attr_accessor website_redirect_location: ::String
391
415
  attr_accessor sse_customer_algorithm: ::String
392
416
  attr_accessor sse_customer_key: ::String
@@ -406,7 +430,7 @@ module Aws::S3
406
430
  end
407
431
 
408
432
  class CreateSessionOutput
409
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
433
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
410
434
  attr_accessor ssekms_key_id: ::String
411
435
  attr_accessor ssekms_encryption_context: ::String
412
436
  attr_accessor bucket_key_enabled: bool
@@ -417,7 +441,7 @@ module Aws::S3
417
441
  class CreateSessionRequest
418
442
  attr_accessor session_mode: ("ReadOnly" | "ReadWrite")
419
443
  attr_accessor bucket: ::String
420
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
444
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
421
445
  attr_accessor ssekms_key_id: ::String
422
446
  attr_accessor ssekms_encryption_context: ::String
423
447
  attr_accessor bucket_key_enabled: bool
@@ -459,6 +483,7 @@ module Aws::S3
459
483
  class DeleteBucketIntelligentTieringConfigurationRequest
460
484
  attr_accessor bucket: ::String
461
485
  attr_accessor id: ::String
486
+ attr_accessor expected_bucket_owner: ::String
462
487
  SENSITIVE: []
463
488
  end
464
489
 
@@ -475,6 +500,12 @@ module Aws::S3
475
500
  SENSITIVE: []
476
501
  end
477
502
 
503
+ class DeleteBucketMetadataConfigurationRequest
504
+ attr_accessor bucket: ::String
505
+ attr_accessor expected_bucket_owner: ::String
506
+ SENSITIVE: []
507
+ end
508
+
478
509
  class DeleteBucketMetadataTableConfigurationRequest
479
510
  attr_accessor bucket: ::String
480
511
  attr_accessor expected_bucket_owner: ::String
@@ -607,7 +638,7 @@ module Aws::S3
607
638
  class Destination
608
639
  attr_accessor bucket: ::String
609
640
  attr_accessor account: ::String
610
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
641
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
611
642
  attr_accessor access_control_translation: Types::AccessControlTranslation
612
643
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
613
644
  attr_accessor replication_time: Types::ReplicationTime
@@ -615,8 +646,15 @@ module Aws::S3
615
646
  SENSITIVE: []
616
647
  end
617
648
 
649
+ class DestinationResult
650
+ attr_accessor table_bucket_type: ("aws" | "customer")
651
+ attr_accessor table_bucket_arn: ::String
652
+ attr_accessor table_namespace: ::String
653
+ SENSITIVE: []
654
+ end
655
+
618
656
  class Encryption
619
- attr_accessor encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse")
657
+ attr_accessor encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
620
658
  attr_accessor kms_key_id: ::String
621
659
  attr_accessor kms_context: ::String
622
660
  SENSITIVE: [:kms_key_id]
@@ -668,6 +706,17 @@ module Aws::S3
668
706
  SENSITIVE: []
669
707
  end
670
708
 
709
+ class GetBucketAbacOutput
710
+ attr_accessor abac_status: Types::AbacStatus
711
+ SENSITIVE: []
712
+ end
713
+
714
+ class GetBucketAbacRequest
715
+ attr_accessor bucket: ::String
716
+ attr_accessor expected_bucket_owner: ::String
717
+ SENSITIVE: []
718
+ end
719
+
671
720
  class GetBucketAccelerateConfigurationOutput
672
721
  attr_accessor status: ("Enabled" | "Suspended")
673
722
  attr_accessor request_charged: ("requester")
@@ -735,6 +784,7 @@ module Aws::S3
735
784
  class GetBucketIntelligentTieringConfigurationRequest
736
785
  attr_accessor bucket: ::String
737
786
  attr_accessor id: ::String
787
+ attr_accessor expected_bucket_owner: ::String
738
788
  SENSITIVE: []
739
789
  end
740
790
 
@@ -795,6 +845,22 @@ module Aws::S3
795
845
  SENSITIVE: []
796
846
  end
797
847
 
848
+ class GetBucketMetadataConfigurationOutput
849
+ attr_accessor get_bucket_metadata_configuration_result: Types::GetBucketMetadataConfigurationResult
850
+ SENSITIVE: []
851
+ end
852
+
853
+ class GetBucketMetadataConfigurationRequest
854
+ attr_accessor bucket: ::String
855
+ attr_accessor expected_bucket_owner: ::String
856
+ SENSITIVE: []
857
+ end
858
+
859
+ class GetBucketMetadataConfigurationResult
860
+ attr_accessor metadata_configuration_result: Types::MetadataConfigurationResult
861
+ SENSITIVE: []
862
+ end
863
+
798
864
  class GetBucketMetadataTableConfigurationOutput
799
865
  attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
800
866
  SENSITIVE: []
@@ -947,7 +1013,7 @@ module Aws::S3
947
1013
  attr_accessor etag: ::String
948
1014
  attr_accessor checksum: Types::Checksum
949
1015
  attr_accessor object_parts: Types::GetObjectAttributesParts
950
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1016
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
951
1017
  attr_accessor object_size: ::Integer
952
1018
  SENSITIVE: []
953
1019
  end
@@ -1028,13 +1094,13 @@ module Aws::S3
1028
1094
  attr_accessor expires: ::Time
1029
1095
  attr_accessor expires_string: ::String
1030
1096
  attr_accessor website_redirect_location: ::String
1031
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
1097
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1032
1098
  attr_accessor metadata: ::Hash[::String, ::String]
1033
1099
  attr_accessor sse_customer_algorithm: ::String
1034
1100
  attr_accessor sse_customer_key_md5: ::String
1035
1101
  attr_accessor ssekms_key_id: ::String
1036
1102
  attr_accessor bucket_key_enabled: bool
1037
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1103
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1038
1104
  attr_accessor request_charged: ("requester")
1039
1105
  attr_accessor replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1040
1106
  attr_accessor parts_count: ::Integer
@@ -1145,6 +1211,7 @@ module Aws::S3
1145
1211
  end
1146
1212
 
1147
1213
  class HeadBucketOutput
1214
+ attr_accessor bucket_arn: ::String
1148
1215
  attr_accessor bucket_location_type: ("AvailabilityZone" | "LocalZone")
1149
1216
  attr_accessor bucket_location_name: ::String
1150
1217
  attr_accessor bucket_region: ::String
@@ -1184,16 +1251,17 @@ module Aws::S3
1184
1251
  attr_accessor expires: ::Time
1185
1252
  attr_accessor expires_string: ::String
1186
1253
  attr_accessor website_redirect_location: ::String
1187
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
1254
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1188
1255
  attr_accessor metadata: ::Hash[::String, ::String]
1189
1256
  attr_accessor sse_customer_algorithm: ::String
1190
1257
  attr_accessor sse_customer_key_md5: ::String
1191
1258
  attr_accessor ssekms_key_id: ::String
1192
1259
  attr_accessor bucket_key_enabled: bool
1193
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1260
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1194
1261
  attr_accessor request_charged: ("requester")
1195
1262
  attr_accessor replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1196
1263
  attr_accessor parts_count: ::Integer
1264
+ attr_accessor tag_count: ::Integer
1197
1265
  attr_accessor object_lock_mode: ("GOVERNANCE" | "COMPLIANCE")
1198
1266
  attr_accessor object_lock_retain_until_date: ::Time
1199
1267
  attr_accessor object_lock_legal_hold_status: ("ON" | "OFF")
@@ -1225,6 +1293,9 @@ module Aws::S3
1225
1293
  SENSITIVE: [:sse_customer_key]
1226
1294
  end
1227
1295
 
1296
+ class IdempotencyParameterMismatch < Aws::EmptyStructure
1297
+ end
1298
+
1228
1299
  class IndexDocument
1229
1300
  attr_accessor suffix: ::String
1230
1301
  SENSITIVE: []
@@ -1266,7 +1337,7 @@ module Aws::S3
1266
1337
  end
1267
1338
 
1268
1339
  class InvalidObjectState
1269
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1340
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1270
1341
  attr_accessor access_tier: ("ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS")
1271
1342
  SENSITIVE: []
1272
1343
  end
@@ -1283,7 +1354,7 @@ module Aws::S3
1283
1354
  attr_accessor filter: Types::InventoryFilter
1284
1355
  attr_accessor id: ::String
1285
1356
  attr_accessor included_object_versions: ("All" | "Current")
1286
- attr_accessor optional_fields: ::Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner")]
1357
+ attr_accessor optional_fields: ::Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner" | "LifecycleExpirationDate")]
1287
1358
  attr_accessor schedule: Types::InventorySchedule
1288
1359
  SENSITIVE: []
1289
1360
  end
@@ -1318,6 +1389,27 @@ module Aws::S3
1318
1389
  SENSITIVE: []
1319
1390
  end
1320
1391
 
1392
+ class InventoryTableConfiguration
1393
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1394
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1395
+ SENSITIVE: []
1396
+ end
1397
+
1398
+ class InventoryTableConfigurationResult
1399
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1400
+ attr_accessor table_status: ::String
1401
+ attr_accessor error: Types::ErrorDetails
1402
+ attr_accessor table_name: ::String
1403
+ attr_accessor table_arn: ::String
1404
+ SENSITIVE: []
1405
+ end
1406
+
1407
+ class InventoryTableConfigurationUpdates
1408
+ attr_accessor configuration_state: ("ENABLED" | "DISABLED")
1409
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1410
+ SENSITIVE: []
1411
+ end
1412
+
1321
1413
  class JSONInput
1322
1414
  attr_accessor type: ("DOCUMENT" | "LINES")
1323
1415
  SENSITIVE: []
@@ -1328,6 +1420,26 @@ module Aws::S3
1328
1420
  SENSITIVE: []
1329
1421
  end
1330
1422
 
1423
+ class JournalTableConfiguration
1424
+ attr_accessor record_expiration: Types::RecordExpiration
1425
+ attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
1426
+ SENSITIVE: []
1427
+ end
1428
+
1429
+ class JournalTableConfigurationResult
1430
+ attr_accessor table_status: ::String
1431
+ attr_accessor error: Types::ErrorDetails
1432
+ attr_accessor table_name: ::String
1433
+ attr_accessor table_arn: ::String
1434
+ attr_accessor record_expiration: Types::RecordExpiration
1435
+ SENSITIVE: []
1436
+ end
1437
+
1438
+ class JournalTableConfigurationUpdates
1439
+ attr_accessor record_expiration: Types::RecordExpiration
1440
+ SENSITIVE: []
1441
+ end
1442
+
1331
1443
  class LambdaFunctionConfiguration
1332
1444
  attr_accessor id: ::String
1333
1445
  attr_accessor lambda_function_arn: ::String
@@ -1404,6 +1516,7 @@ module Aws::S3
1404
1516
  class ListBucketIntelligentTieringConfigurationsRequest
1405
1517
  attr_accessor bucket: ::String
1406
1518
  attr_accessor continuation_token: ::String
1519
+ attr_accessor expected_bucket_owner: ::String
1407
1520
  SENSITIVE: []
1408
1521
  end
1409
1522
 
@@ -1600,7 +1713,7 @@ module Aws::S3
1600
1713
  attr_accessor parts: ::Array[Types::Part]
1601
1714
  attr_accessor initiator: Types::Initiator
1602
1715
  attr_accessor owner: Types::Owner
1603
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1716
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1604
1717
  attr_accessor request_charged: ("requester")
1605
1718
  attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1606
1719
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
@@ -1635,6 +1748,19 @@ module Aws::S3
1635
1748
  SENSITIVE: []
1636
1749
  end
1637
1750
 
1751
+ class MetadataConfiguration
1752
+ attr_accessor journal_table_configuration: Types::JournalTableConfiguration
1753
+ attr_accessor inventory_table_configuration: Types::InventoryTableConfiguration
1754
+ SENSITIVE: []
1755
+ end
1756
+
1757
+ class MetadataConfigurationResult
1758
+ attr_accessor destination_result: Types::DestinationResult
1759
+ attr_accessor journal_table_configuration_result: Types::JournalTableConfigurationResult
1760
+ attr_accessor inventory_table_configuration_result: Types::InventoryTableConfigurationResult
1761
+ SENSITIVE: []
1762
+ end
1763
+
1638
1764
  class MetadataEntry
1639
1765
  attr_accessor name: ::String
1640
1766
  attr_accessor value: ::String
@@ -1651,6 +1777,12 @@ module Aws::S3
1651
1777
  SENSITIVE: []
1652
1778
  end
1653
1779
 
1780
+ class MetadataTableEncryptionConfiguration
1781
+ attr_accessor sse_algorithm: ("aws:kms" | "AES256")
1782
+ attr_accessor kms_key_arn: ::String
1783
+ SENSITIVE: []
1784
+ end
1785
+
1654
1786
  class Metrics
1655
1787
  attr_accessor status: ("Enabled" | "Disabled")
1656
1788
  attr_accessor event_threshold: Types::ReplicationTimeValue
@@ -1682,7 +1814,7 @@ module Aws::S3
1682
1814
  attr_accessor upload_id: ::String
1683
1815
  attr_accessor key: ::String
1684
1816
  attr_accessor initiated: ::Time
1685
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1817
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1686
1818
  attr_accessor owner: Types::Owner
1687
1819
  attr_accessor initiator: Types::Initiator
1688
1820
  attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
@@ -1739,7 +1871,7 @@ module Aws::S3
1739
1871
  attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
1740
1872
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1741
1873
  attr_accessor size: ::Integer
1742
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1874
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
1743
1875
  attr_accessor owner: Types::Owner
1744
1876
  attr_accessor restore_status: Types::RestoreStatus
1745
1877
  SENSITIVE: []
@@ -1882,6 +2014,15 @@ module Aws::S3
1882
2014
  SENSITIVE: []
1883
2015
  end
1884
2016
 
2017
+ class PutBucketAbacRequest
2018
+ attr_accessor bucket: ::String
2019
+ attr_accessor content_md5: ::String
2020
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2021
+ attr_accessor expected_bucket_owner: ::String
2022
+ attr_accessor abac_status: Types::AbacStatus
2023
+ SENSITIVE: []
2024
+ end
2025
+
1885
2026
  class PutBucketAccelerateConfigurationRequest
1886
2027
  attr_accessor bucket: ::String
1887
2028
  attr_accessor accelerate_configuration: Types::AccelerateConfiguration
@@ -1934,6 +2075,7 @@ module Aws::S3
1934
2075
  class PutBucketIntelligentTieringConfigurationRequest
1935
2076
  attr_accessor bucket: ::String
1936
2077
  attr_accessor id: ::String
2078
+ attr_accessor expected_bucket_owner: ::String
1937
2079
  attr_accessor intelligent_tiering_configuration: Types::IntelligentTieringConfiguration
1938
2080
  SENSITIVE: []
1939
2081
  end
@@ -2008,6 +2150,7 @@ module Aws::S3
2008
2150
  attr_accessor content_md5: ::String
2009
2151
  attr_accessor expected_bucket_owner: ::String
2010
2152
  attr_accessor ownership_controls: Types::OwnershipControls
2153
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2011
2154
  SENSITIVE: []
2012
2155
  end
2013
2156
 
@@ -2133,7 +2276,7 @@ module Aws::S3
2133
2276
  attr_accessor checksum_sha1: ::String
2134
2277
  attr_accessor checksum_sha256: ::String
2135
2278
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
2136
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2279
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2137
2280
  attr_accessor version_id: ::String
2138
2281
  attr_accessor sse_customer_algorithm: ::String
2139
2282
  attr_accessor sse_customer_key_md5: ::String
@@ -2172,8 +2315,8 @@ module Aws::S3
2172
2315
  attr_accessor key: ::String
2173
2316
  attr_accessor write_offset_bytes: ::Integer
2174
2317
  attr_accessor metadata: ::Hash[::String, ::String]
2175
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2176
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
2318
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2319
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
2177
2320
  attr_accessor website_redirect_location: ::String
2178
2321
  attr_accessor sse_customer_algorithm: ::String
2179
2322
  attr_accessor sse_customer_key: ::String
@@ -2250,6 +2393,12 @@ module Aws::S3
2250
2393
  SENSITIVE: []
2251
2394
  end
2252
2395
 
2396
+ class RecordExpiration
2397
+ attr_accessor expiration: ("ENABLED" | "DISABLED")
2398
+ attr_accessor days: ::Integer
2399
+ SENSITIVE: []
2400
+ end
2401
+
2253
2402
  class RecordsEvent
2254
2403
  attr_accessor payload: ::IO
2255
2404
  attr_accessor event_type: untyped
@@ -2271,6 +2420,25 @@ module Aws::S3
2271
2420
  SENSITIVE: []
2272
2421
  end
2273
2422
 
2423
+ class RenameObjectOutput < Aws::EmptyStructure
2424
+ end
2425
+
2426
+ class RenameObjectRequest
2427
+ attr_accessor bucket: ::String
2428
+ attr_accessor key: ::String
2429
+ attr_accessor rename_source: ::String
2430
+ attr_accessor destination_if_match: ::String
2431
+ attr_accessor destination_if_none_match: ::String
2432
+ attr_accessor destination_if_modified_since: ::Time
2433
+ attr_accessor destination_if_unmodified_since: ::Time
2434
+ attr_accessor source_if_match: ::String
2435
+ attr_accessor source_if_none_match: ::String
2436
+ attr_accessor source_if_modified_since: ::Time
2437
+ attr_accessor source_if_unmodified_since: ::Time
2438
+ attr_accessor client_token: ::String
2439
+ SENSITIVE: []
2440
+ end
2441
+
2274
2442
  class ReplicaModifications
2275
2443
  attr_accessor status: ("Enabled" | "Disabled")
2276
2444
  SENSITIVE: []
@@ -2394,7 +2562,7 @@ module Aws::S3
2394
2562
  attr_accessor access_control_list: ::Array[Types::Grant]
2395
2563
  attr_accessor tagging: Types::Tagging
2396
2564
  attr_accessor user_metadata: ::Array[Types::MetadataEntry]
2397
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
2565
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
2398
2566
  SENSITIVE: []
2399
2567
  end
2400
2568
 
@@ -2456,7 +2624,7 @@ module Aws::S3
2456
2624
  end
2457
2625
 
2458
2626
  class ServerSideEncryptionByDefault
2459
- attr_accessor sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse")
2627
+ attr_accessor sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2460
2628
  attr_accessor kms_master_key_id: ::String
2461
2629
  SENSITIVE: [:kms_master_key_id]
2462
2630
  end
@@ -2469,6 +2637,7 @@ module Aws::S3
2469
2637
  class ServerSideEncryptionRule
2470
2638
  attr_accessor apply_server_side_encryption_by_default: Types::ServerSideEncryptionByDefault
2471
2639
  attr_accessor bucket_key_enabled: bool
2640
+ attr_accessor blocked_encryption_types: Types::BlockedEncryptionTypes
2472
2641
  SENSITIVE: []
2473
2642
  end
2474
2643
 
@@ -2573,10 +2742,28 @@ module Aws::S3
2573
2742
  SENSITIVE: []
2574
2743
  end
2575
2744
 
2745
+ class UpdateBucketMetadataInventoryTableConfigurationRequest
2746
+ attr_accessor bucket: ::String
2747
+ attr_accessor content_md5: ::String
2748
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2749
+ attr_accessor inventory_table_configuration: Types::InventoryTableConfigurationUpdates
2750
+ attr_accessor expected_bucket_owner: ::String
2751
+ SENSITIVE: []
2752
+ end
2753
+
2754
+ class UpdateBucketMetadataJournalTableConfigurationRequest
2755
+ attr_accessor bucket: ::String
2756
+ attr_accessor content_md5: ::String
2757
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2758
+ attr_accessor journal_table_configuration: Types::JournalTableConfigurationUpdates
2759
+ attr_accessor expected_bucket_owner: ::String
2760
+ SENSITIVE: []
2761
+ end
2762
+
2576
2763
  class UploadPartCopyOutput
2577
2764
  attr_accessor copy_source_version_id: ::String
2578
2765
  attr_accessor copy_part_result: Types::CopyPartResult
2579
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2766
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2580
2767
  attr_accessor sse_customer_algorithm: ::String
2581
2768
  attr_accessor sse_customer_key_md5: ::String
2582
2769
  attr_accessor ssekms_key_id: ::String
@@ -2609,7 +2796,7 @@ module Aws::S3
2609
2796
  end
2610
2797
 
2611
2798
  class UploadPartOutput
2612
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2799
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2613
2800
  attr_accessor etag: ::String
2614
2801
  attr_accessor checksum_crc32: ::String
2615
2802
  attr_accessor checksum_crc32c: ::String
@@ -2694,11 +2881,11 @@ module Aws::S3
2694
2881
  attr_accessor replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
2695
2882
  attr_accessor request_charged: ("requester")
2696
2883
  attr_accessor restore: ::String
2697
- attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
2884
+ attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2698
2885
  attr_accessor sse_customer_algorithm: ::String
2699
2886
  attr_accessor ssekms_key_id: ::String
2700
2887
  attr_accessor sse_customer_key_md5: ::String
2701
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
2888
+ attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
2702
2889
  attr_accessor tag_count: ::Integer
2703
2890
  attr_accessor version_id: ::String
2704
2891
  attr_accessor bucket_key_enabled: bool