aws-sdk-s3 1.196.1 → 1.213.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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +116 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +17 -17
  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 +1271 -453
  8. data/lib/aws-sdk-s3/client_api.rb +115 -0
  9. data/lib/aws-sdk-s3/customizations/object.rb +39 -24
  10. data/lib/aws-sdk-s3/customizations.rb +3 -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 +241 -68
  42. data/lib/aws-sdk-s3/endpoints.rb +39 -0
  43. data/lib/aws-sdk-s3/errors.rb +11 -0
  44. data/lib/aws-sdk-s3/file_downloader.rb +192 -104
  45. data/lib/aws-sdk-s3/file_uploader.rb +17 -13
  46. data/lib/aws-sdk-s3/multipart_file_uploader.rb +82 -69
  47. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
  48. data/lib/aws-sdk-s3/multipart_upload.rb +12 -12
  49. data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
  50. data/lib/aws-sdk-s3/object.rb +88 -59
  51. data/lib/aws-sdk-s3/object_acl.rb +5 -5
  52. data/lib/aws-sdk-s3/object_summary.rb +70 -41
  53. data/lib/aws-sdk-s3/object_version.rb +23 -25
  54. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +18 -5
  55. data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
  56. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +58 -34
  57. data/lib/aws-sdk-s3/transfer_manager.rb +321 -0
  58. data/lib/aws-sdk-s3/types.rb +687 -330
  59. data/lib/aws-sdk-s3.rb +1 -1
  60. data/sig/bucket.rbs +1 -1
  61. data/sig/client.rbs +62 -12
  62. data/sig/errors.rbs +2 -0
  63. data/sig/multipart_upload.rbs +1 -1
  64. data/sig/object.rbs +7 -5
  65. data/sig/object_summary.rbs +7 -5
  66. data/sig/types.rbs +84 -14
  67. metadata +21 -3
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.196.1'
78
+ GEM_VERSION = '1.213.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -133,7 +133,7 @@ module Aws
133
133
  ?write_offset_bytes: ::Integer,
134
134
  ?metadata: Hash[::String, ::String],
135
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"),
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"),
137
137
  ?website_redirect_location: ::String,
138
138
  ?sse_customer_algorithm: ::String,
139
139
  ?sse_customer_key: ::String,
data/sig/client.rbs CHANGED
@@ -196,12 +196,14 @@ module Aws
196
196
  ?grant_read: ::String,
197
197
  ?grant_read_acp: ::String,
198
198
  ?grant_write_acp: ::String,
199
+ ?if_match: ::String,
200
+ ?if_none_match: ::String,
199
201
  key: ::String,
200
202
  ?metadata: Hash[::String, ::String],
201
203
  ?metadata_directive: ("COPY" | "REPLACE"),
202
204
  ?tagging_directive: ("COPY" | "REPLACE"),
203
205
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
204
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
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"),
205
207
  ?website_redirect_location: ::String,
206
208
  ?sse_customer_algorithm: ::String,
207
209
  ?sse_customer_key: ::String,
@@ -335,7 +337,7 @@ module Aws
335
337
  key: ::String,
336
338
  ?metadata: Hash[::String, ::String],
337
339
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
338
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
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"),
339
341
  ?website_redirect_location: ::String,
340
342
  ?sse_customer_algorithm: ::String,
341
343
  ?sse_customer_key: ::String,
@@ -552,6 +554,17 @@ module Aws
552
554
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
553
555
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
554
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
+
555
568
  interface _GetBucketAccelerateConfigurationResponseSuccess
556
569
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAccelerateConfigurationOutput]
557
570
  def status: () -> ("Enabled" | "Suspended")
@@ -866,7 +879,7 @@ module Aws
866
879
  def sse_customer_key_md5: () -> ::String
867
880
  def ssekms_key_id: () -> ::String
868
881
  def bucket_key_enabled: () -> bool
869
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
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")
870
883
  def request_charged: () -> ("requester")
871
884
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
872
885
  def parts_count: () -> ::Integer
@@ -926,7 +939,7 @@ module Aws
926
939
  def etag: () -> ::String
927
940
  def checksum: () -> Types::Checksum
928
941
  def object_parts: () -> Types::GetObjectAttributesParts
929
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
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")
930
943
  def object_size: () -> ::Integer
931
944
  end
932
945
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
@@ -1072,7 +1085,7 @@ module Aws
1072
1085
  def sse_customer_key_md5: () -> ::String
1073
1086
  def ssekms_key_id: () -> ::String
1074
1087
  def bucket_key_enabled: () -> bool
1075
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
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")
1076
1089
  def request_charged: () -> ("requester")
1077
1090
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1078
1091
  def parts_count: () -> ::Integer
@@ -1331,7 +1344,7 @@ module Aws
1331
1344
  def parts: () -> ::Array[Types::Part]
1332
1345
  def initiator: () -> Types::Initiator
1333
1346
  def owner: () -> Types::Owner
1334
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
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")
1335
1348
  def request_charged: () -> ("requester")
1336
1349
  def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1337
1350
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
@@ -1351,6 +1364,18 @@ module Aws
1351
1364
  ) -> _ListPartsResponseSuccess
1352
1365
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
1353
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
+
1354
1379
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_accelerate_configuration-instance_method
1355
1380
  def put_bucket_accelerate_configuration: (
1356
1381
  bucket: ::String,
@@ -1468,7 +1493,10 @@ module Aws
1468
1493
  sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
1469
1494
  kms_master_key_id: ::String?
1470
1495
  }?,
1471
- bucket_key_enabled: bool?
1496
+ bucket_key_enabled: bool?,
1497
+ blocked_encryption_types: {
1498
+ encryption_type: Array[("NONE" | "SSE-C")]?
1499
+ }?
1472
1500
  },
1473
1501
  ]
1474
1502
  },
@@ -1536,7 +1564,7 @@ module Aws
1536
1564
  }?,
1537
1565
  id: ::String,
1538
1566
  included_object_versions: ("All" | "Current"),
1539
- 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")]?,
1540
1568
  schedule: {
1541
1569
  frequency: ("Daily" | "Weekly")
1542
1570
  }
@@ -1879,7 +1907,7 @@ module Aws
1879
1907
  destination: {
1880
1908
  bucket: ::String,
1881
1909
  account: ::String?,
1882
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?,
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")?,
1883
1911
  access_control_translation: {
1884
1912
  owner: ("Destination")
1885
1913
  }?,
@@ -2038,7 +2066,7 @@ module Aws
2038
2066
  ?write_offset_bytes: ::Integer,
2039
2067
  ?metadata: Hash[::String, ::String],
2040
2068
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2041
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
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"),
2042
2070
  ?website_redirect_location: ::String,
2043
2071
  ?sse_customer_algorithm: ::String,
2044
2072
  ?sse_customer_key: ::String,
@@ -2306,7 +2334,7 @@ module Aws
2306
2334
  value: ::String?
2307
2335
  },
2308
2336
  ]?,
2309
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
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")?
2310
2338
  }?
2311
2339
  }?
2312
2340
  },
@@ -2400,6 +2428,28 @@ module Aws
2400
2428
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2401
2429
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2402
2430
 
2431
+ interface _UpdateObjectEncryptionResponseSuccess
2432
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateObjectEncryptionResponse]
2433
+ def request_charged: () -> ("requester")
2434
+ end
2435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_object_encryption-instance_method
2436
+ def update_object_encryption: (
2437
+ bucket: ::String,
2438
+ key: ::String,
2439
+ ?version_id: ::String,
2440
+ object_encryption: {
2441
+ ssekms: {
2442
+ kms_key_arn: ::String,
2443
+ bucket_key_enabled: bool?
2444
+ }?
2445
+ },
2446
+ ?request_payer: ("requester"),
2447
+ ?expected_bucket_owner: ::String,
2448
+ ?content_md5: ::String,
2449
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2450
+ ) -> _UpdateObjectEncryptionResponseSuccess
2451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateObjectEncryptionResponseSuccess
2452
+
2403
2453
  interface _UploadPartResponseSuccess
2404
2454
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2405
2455
  def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
@@ -2512,7 +2562,7 @@ module Aws
2512
2562
  ?sse_customer_algorithm: ::String,
2513
2563
  ?ssekms_key_id: ::String,
2514
2564
  ?sse_customer_key_md5: ::String,
2515
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
2565
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
2516
2566
  ?tag_count: ::Integer,
2517
2567
  ?version_id: ::String,
2518
2568
  ?bucket_key_enabled: bool
data/sig/errors.rbs CHANGED
@@ -11,6 +11,8 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class AccessDenied < ::Aws::Errors::ServiceError
15
+ end
14
16
  class BucketAlreadyExists < ::Aws::Errors::ServiceError
15
17
  end
16
18
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
@@ -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" | "FSX_OPENZFS")
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
data/sig/object.rbs CHANGED
@@ -114,7 +114,7 @@ module Aws
114
114
  def bucket_key_enabled: () -> bool
115
115
 
116
116
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
117
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
117
+ 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")
118
118
 
119
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
120
120
  def request_charged: () -> ("requester")
@@ -180,11 +180,13 @@ module Aws
180
180
  ?grant_read: ::String,
181
181
  ?grant_read_acp: ::String,
182
182
  ?grant_write_acp: ::String,
183
+ ?if_match: ::String,
184
+ ?if_none_match: ::String,
183
185
  ?metadata: Hash[::String, ::String],
184
186
  ?metadata_directive: ("COPY" | "REPLACE"),
185
187
  ?tagging_directive: ("COPY" | "REPLACE"),
186
188
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
187
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
189
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
188
190
  ?website_redirect_location: ::String,
189
191
  ?sse_customer_algorithm: ::String,
190
192
  ?sse_customer_key: ::String,
@@ -257,7 +259,7 @@ module Aws
257
259
  ?grant_write_acp: ::String,
258
260
  ?metadata: Hash[::String, ::String],
259
261
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
260
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
262
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
261
263
  ?website_redirect_location: ::String,
262
264
  ?sse_customer_algorithm: ::String,
263
265
  ?sse_customer_key: ::String,
@@ -303,7 +305,7 @@ module Aws
303
305
  ?write_offset_bytes: ::Integer,
304
306
  ?metadata: Hash[::String, ::String],
305
307
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
306
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
308
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
307
309
  ?website_redirect_location: ::String,
308
310
  ?sse_customer_algorithm: ::String,
309
311
  ?sse_customer_key: ::String,
@@ -400,7 +402,7 @@ module Aws
400
402
  value: ::String?
401
403
  },
402
404
  ]?,
403
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
405
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
404
406
  }?
405
407
  }?
406
408
  },
@@ -36,7 +36,7 @@ module Aws
36
36
  def size: () -> ::Integer
37
37
 
38
38
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
39
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
39
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
40
40
 
41
41
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
42
42
  def owner: () -> Types::Owner
@@ -84,11 +84,13 @@ module Aws
84
84
  ?grant_read: ::String,
85
85
  ?grant_read_acp: ::String,
86
86
  ?grant_write_acp: ::String,
87
+ ?if_match: ::String,
88
+ ?if_none_match: ::String,
87
89
  ?metadata: Hash[::String, ::String],
88
90
  ?metadata_directive: ("COPY" | "REPLACE"),
89
91
  ?tagging_directive: ("COPY" | "REPLACE"),
90
92
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
91
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
93
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
92
94
  ?website_redirect_location: ::String,
93
95
  ?sse_customer_algorithm: ::String,
94
96
  ?sse_customer_key: ::String,
@@ -161,7 +163,7 @@ module Aws
161
163
  ?grant_write_acp: ::String,
162
164
  ?metadata: Hash[::String, ::String],
163
165
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
164
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
166
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
165
167
  ?website_redirect_location: ::String,
166
168
  ?sse_customer_algorithm: ::String,
167
169
  ?sse_customer_key: ::String,
@@ -207,7 +209,7 @@ module Aws
207
209
  ?write_offset_bytes: ::Integer,
208
210
  ?metadata: Hash[::String, ::String],
209
211
  ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
210
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
212
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
211
213
  ?website_redirect_location: ::String,
212
214
  ?sse_customer_algorithm: ::String,
213
215
  ?sse_customer_key: ::String,
@@ -304,7 +306,7 @@ module Aws
304
306
  value: ::String?
305
307
  },
306
308
  ]?,
307
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
309
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
308
310
  }?
309
311
  }?
310
312
  },
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: []
@@ -44,6 +49,9 @@ module Aws::S3
44
49
  SENSITIVE: []
45
50
  end
46
51
 
52
+ class AccessDenied < Aws::EmptyStructure
53
+ end
54
+
47
55
  class AnalyticsAndOperator
48
56
  attr_accessor prefix: ::String
49
57
  attr_accessor tags: ::Array[Types::Tag]
@@ -77,6 +85,11 @@ module Aws::S3
77
85
  SENSITIVE: []
78
86
  end
79
87
 
88
+ class BlockedEncryptionTypes
89
+ attr_accessor encryption_type: ::Array[("NONE" | "SSE-C")]
90
+ SENSITIVE: []
91
+ end
92
+
80
93
  class Bucket
81
94
  attr_accessor name: ::String
82
95
  attr_accessor creation_date: ::Time
@@ -269,12 +282,14 @@ module Aws::S3
269
282
  attr_accessor grant_read: ::String
270
283
  attr_accessor grant_read_acp: ::String
271
284
  attr_accessor grant_write_acp: ::String
285
+ attr_accessor if_match: ::String
286
+ attr_accessor if_none_match: ::String
272
287
  attr_accessor key: ::String
273
288
  attr_accessor metadata: ::Hash[::String, ::String]
274
289
  attr_accessor metadata_directive: ("COPY" | "REPLACE")
275
290
  attr_accessor tagging_directive: ("COPY" | "REPLACE")
276
291
  attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
277
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
292
+ 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")
278
293
  attr_accessor website_redirect_location: ::String
279
294
  attr_accessor sse_customer_algorithm: ::String
280
295
  attr_accessor sse_customer_key: ::String
@@ -398,7 +413,7 @@ module Aws::S3
398
413
  attr_accessor key: ::String
399
414
  attr_accessor metadata: ::Hash[::String, ::String]
400
415
  attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
401
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
416
+ 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")
402
417
  attr_accessor website_redirect_location: ::String
403
418
  attr_accessor sse_customer_algorithm: ::String
404
419
  attr_accessor sse_customer_key: ::String
@@ -626,7 +641,7 @@ module Aws::S3
626
641
  class Destination
627
642
  attr_accessor bucket: ::String
628
643
  attr_accessor account: ::String
629
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
644
+ 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")
630
645
  attr_accessor access_control_translation: Types::AccessControlTranslation
631
646
  attr_accessor encryption_configuration: Types::EncryptionConfiguration
632
647
  attr_accessor replication_time: Types::ReplicationTime
@@ -694,6 +709,17 @@ module Aws::S3
694
709
  SENSITIVE: []
695
710
  end
696
711
 
712
+ class GetBucketAbacOutput
713
+ attr_accessor abac_status: Types::AbacStatus
714
+ SENSITIVE: []
715
+ end
716
+
717
+ class GetBucketAbacRequest
718
+ attr_accessor bucket: ::String
719
+ attr_accessor expected_bucket_owner: ::String
720
+ SENSITIVE: []
721
+ end
722
+
697
723
  class GetBucketAccelerateConfigurationOutput
698
724
  attr_accessor status: ("Enabled" | "Suspended")
699
725
  attr_accessor request_charged: ("requester")
@@ -990,7 +1016,7 @@ module Aws::S3
990
1016
  attr_accessor etag: ::String
991
1017
  attr_accessor checksum: Types::Checksum
992
1018
  attr_accessor object_parts: Types::GetObjectAttributesParts
993
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1019
+ 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")
994
1020
  attr_accessor object_size: ::Integer
995
1021
  SENSITIVE: []
996
1022
  end
@@ -1077,7 +1103,7 @@ module Aws::S3
1077
1103
  attr_accessor sse_customer_key_md5: ::String
1078
1104
  attr_accessor ssekms_key_id: ::String
1079
1105
  attr_accessor bucket_key_enabled: bool
1080
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1106
+ 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")
1081
1107
  attr_accessor request_charged: ("requester")
1082
1108
  attr_accessor replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1083
1109
  attr_accessor parts_count: ::Integer
@@ -1234,7 +1260,7 @@ module Aws::S3
1234
1260
  attr_accessor sse_customer_key_md5: ::String
1235
1261
  attr_accessor ssekms_key_id: ::String
1236
1262
  attr_accessor bucket_key_enabled: bool
1237
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1263
+ 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")
1238
1264
  attr_accessor request_charged: ("requester")
1239
1265
  attr_accessor replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1240
1266
  attr_accessor parts_count: ::Integer
@@ -1314,7 +1340,7 @@ module Aws::S3
1314
1340
  end
1315
1341
 
1316
1342
  class InvalidObjectState
1317
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1343
+ 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")
1318
1344
  attr_accessor access_tier: ("ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS")
1319
1345
  SENSITIVE: []
1320
1346
  end
@@ -1331,7 +1357,7 @@ module Aws::S3
1331
1357
  attr_accessor filter: Types::InventoryFilter
1332
1358
  attr_accessor id: ::String
1333
1359
  attr_accessor included_object_versions: ("All" | "Current")
1334
- attr_accessor optional_fields: ::Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner")]
1360
+ attr_accessor optional_fields: ::Array[("Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner" | "LifecycleExpirationDate")]
1335
1361
  attr_accessor schedule: Types::InventorySchedule
1336
1362
  SENSITIVE: []
1337
1363
  end
@@ -1690,7 +1716,7 @@ module Aws::S3
1690
1716
  attr_accessor parts: ::Array[Types::Part]
1691
1717
  attr_accessor initiator: Types::Initiator
1692
1718
  attr_accessor owner: Types::Owner
1693
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1719
+ 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")
1694
1720
  attr_accessor request_charged: ("requester")
1695
1721
  attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1696
1722
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
@@ -1791,7 +1817,7 @@ module Aws::S3
1791
1817
  attr_accessor upload_id: ::String
1792
1818
  attr_accessor key: ::String
1793
1819
  attr_accessor initiated: ::Time
1794
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1820
+ 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")
1795
1821
  attr_accessor owner: Types::Owner
1796
1822
  attr_accessor initiator: Types::Initiator
1797
1823
  attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
@@ -1848,7 +1874,7 @@ module Aws::S3
1848
1874
  attr_accessor checksum_algorithm: ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
1849
1875
  attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
1850
1876
  attr_accessor size: ::Integer
1851
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1877
+ 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")
1852
1878
  attr_accessor owner: Types::Owner
1853
1879
  attr_accessor restore_status: Types::RestoreStatus
1854
1880
  SENSITIVE: []
@@ -1857,6 +1883,17 @@ module Aws::S3
1857
1883
  class ObjectAlreadyInActiveTierError < Aws::EmptyStructure
1858
1884
  end
1859
1885
 
1886
+ class ObjectEncryption
1887
+ attr_accessor ssekms: Types::SSEKMSEncryption
1888
+ attr_accessor unknown: untyped
1889
+ SENSITIVE: []
1890
+
1891
+ class Ssekms < ObjectEncryption
1892
+ end
1893
+ class Unknown < ObjectEncryption
1894
+ end
1895
+ end
1896
+
1860
1897
  class ObjectIdentifier
1861
1898
  attr_accessor key: ::String
1862
1899
  attr_accessor version_id: ::String
@@ -1991,6 +2028,15 @@ module Aws::S3
1991
2028
  SENSITIVE: []
1992
2029
  end
1993
2030
 
2031
+ class PutBucketAbacRequest
2032
+ attr_accessor bucket: ::String
2033
+ attr_accessor content_md5: ::String
2034
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2035
+ attr_accessor expected_bucket_owner: ::String
2036
+ attr_accessor abac_status: Types::AbacStatus
2037
+ SENSITIVE: []
2038
+ end
2039
+
1994
2040
  class PutBucketAccelerateConfigurationRequest
1995
2041
  attr_accessor bucket: ::String
1996
2042
  attr_accessor accelerate_configuration: Types::AccelerateConfiguration
@@ -2284,7 +2330,7 @@ module Aws::S3
2284
2330
  attr_accessor write_offset_bytes: ::Integer
2285
2331
  attr_accessor metadata: ::Hash[::String, ::String]
2286
2332
  attr_accessor server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2287
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
2333
+ 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")
2288
2334
  attr_accessor website_redirect_location: ::String
2289
2335
  attr_accessor sse_customer_algorithm: ::String
2290
2336
  attr_accessor sse_customer_key: ::String
@@ -2530,7 +2576,7 @@ module Aws::S3
2530
2576
  attr_accessor access_control_list: ::Array[Types::Grant]
2531
2577
  attr_accessor tagging: Types::Tagging
2532
2578
  attr_accessor user_metadata: ::Array[Types::MetadataEntry]
2533
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
2579
+ 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")
2534
2580
  SENSITIVE: []
2535
2581
  end
2536
2582
 
@@ -2553,6 +2599,12 @@ module Aws::S3
2553
2599
  SENSITIVE: [:key_id]
2554
2600
  end
2555
2601
 
2602
+ class SSEKMSEncryption
2603
+ attr_accessor kms_key_arn: ::String
2604
+ attr_accessor bucket_key_enabled: bool
2605
+ SENSITIVE: [:kms_key_arn]
2606
+ end
2607
+
2556
2608
  class SSES3 < Aws::EmptyStructure
2557
2609
  end
2558
2610
 
@@ -2605,6 +2657,7 @@ module Aws::S3
2605
2657
  class ServerSideEncryptionRule
2606
2658
  attr_accessor apply_server_side_encryption_by_default: Types::ServerSideEncryptionByDefault
2607
2659
  attr_accessor bucket_key_enabled: bool
2660
+ attr_accessor blocked_encryption_types: Types::BlockedEncryptionTypes
2608
2661
  SENSITIVE: []
2609
2662
  end
2610
2663
 
@@ -2727,6 +2780,23 @@ module Aws::S3
2727
2780
  SENSITIVE: []
2728
2781
  end
2729
2782
 
2783
+ class UpdateObjectEncryptionRequest
2784
+ attr_accessor bucket: ::String
2785
+ attr_accessor key: ::String
2786
+ attr_accessor version_id: ::String
2787
+ attr_accessor object_encryption: Types::ObjectEncryption
2788
+ attr_accessor request_payer: ("requester")
2789
+ attr_accessor expected_bucket_owner: ::String
2790
+ attr_accessor content_md5: ::String
2791
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2792
+ SENSITIVE: []
2793
+ end
2794
+
2795
+ class UpdateObjectEncryptionResponse
2796
+ attr_accessor request_charged: ("requester")
2797
+ SENSITIVE: []
2798
+ end
2799
+
2730
2800
  class UploadPartCopyOutput
2731
2801
  attr_accessor copy_source_version_id: ::String
2732
2802
  attr_accessor copy_part_result: Types::CopyPartResult
@@ -2852,7 +2922,7 @@ module Aws::S3
2852
2922
  attr_accessor sse_customer_algorithm: ::String
2853
2923
  attr_accessor ssekms_key_id: ::String
2854
2924
  attr_accessor sse_customer_key_md5: ::String
2855
- attr_accessor storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
2925
+ 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")
2856
2926
  attr_accessor tag_count: ::Integer
2857
2927
  attr_accessor version_id: ::String
2858
2928
  attr_accessor bucket_key_enabled: bool