aws-sdk-s3 1.204.0 → 1.206.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.
@@ -14,6 +14,7 @@ module Aws::S3
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AbacStatus = Shapes::StructureShape.new(name: 'AbacStatus')
17
18
  AbortDate = Shapes::TimestampShape.new(name: 'AbortDate')
18
19
  AbortIncompleteMultipartUpload = Shapes::StructureShape.new(name: 'AbortIncompleteMultipartUpload')
19
20
  AbortMultipartUploadOutput = Shapes::StructureShape.new(name: 'AbortMultipartUploadOutput')
@@ -46,6 +47,7 @@ module Aws::S3
46
47
  BlockedEncryptionTypes = Shapes::StructureShape.new(name: 'BlockedEncryptionTypes')
47
48
  Body = Shapes::BlobShape.new(name: 'Body')
48
49
  Bucket = Shapes::StructureShape.new(name: 'Bucket')
50
+ BucketAbacStatus = Shapes::StringShape.new(name: 'BucketAbacStatus')
49
51
  BucketAccelerateStatus = Shapes::StringShape.new(name: 'BucketAccelerateStatus')
50
52
  BucketAlreadyExists = Shapes::StructureShape.new(name: 'BucketAlreadyExists')
51
53
  BucketAlreadyOwnedByYou = Shapes::StructureShape.new(name: 'BucketAlreadyOwnedByYou')
@@ -211,6 +213,8 @@ module Aws::S3
211
213
  FilterRuleList = Shapes::ListShape.new(name: 'FilterRuleList', flattened: true)
212
214
  FilterRuleName = Shapes::StringShape.new(name: 'FilterRuleName')
213
215
  FilterRuleValue = Shapes::StringShape.new(name: 'FilterRuleValue')
216
+ GetBucketAbacOutput = Shapes::StructureShape.new(name: 'GetBucketAbacOutput')
217
+ GetBucketAbacRequest = Shapes::StructureShape.new(name: 'GetBucketAbacRequest')
214
218
  GetBucketAccelerateConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketAccelerateConfigurationOutput')
215
219
  GetBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketAccelerateConfigurationRequest')
216
220
  GetBucketAclOutput = Shapes::StructureShape.new(name: 'GetBucketAclOutput')
@@ -500,6 +504,7 @@ module Aws::S3
500
504
  ProgressEvent = Shapes::StructureShape.new(name: 'ProgressEvent')
501
505
  Protocol = Shapes::StringShape.new(name: 'Protocol')
502
506
  PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'PublicAccessBlockConfiguration')
507
+ PutBucketAbacRequest = Shapes::StructureShape.new(name: 'PutBucketAbacRequest')
503
508
  PutBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAccelerateConfigurationRequest')
504
509
  PutBucketAclRequest = Shapes::StructureShape.new(name: 'PutBucketAclRequest')
505
510
  PutBucketAnalyticsConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAnalyticsConfigurationRequest')
@@ -689,6 +694,9 @@ module Aws::S3
689
694
  WriteOffsetBytes = Shapes::IntegerShape.new(name: 'WriteOffsetBytes')
690
695
  Years = Shapes::IntegerShape.new(name: 'Years')
691
696
 
697
+ AbacStatus.add_member(:status, Shapes::ShapeRef.new(shape: BucketAbacStatus, location_name: "Status"))
698
+ AbacStatus.struct_class = Types::AbacStatus
699
+
692
700
  AbortIncompleteMultipartUpload.add_member(:days_after_initiation, Shapes::ShapeRef.new(shape: DaysAfterInitiation, location_name: "DaysAfterInitiation"))
693
701
  AbortIncompleteMultipartUpload.struct_class = Types::AbortIncompleteMultipartUpload
694
702
 
@@ -1262,6 +1270,15 @@ module Aws::S3
1262
1270
 
1263
1271
  FilterRuleList.member = Shapes::ShapeRef.new(shape: FilterRule)
1264
1272
 
1273
+ GetBucketAbacOutput.add_member(:abac_status, Shapes::ShapeRef.new(shape: AbacStatus, location_name: "AbacStatus"))
1274
+ GetBucketAbacOutput.struct_class = Types::GetBucketAbacOutput
1275
+ GetBucketAbacOutput[:payload] = :abac_status
1276
+ GetBucketAbacOutput[:payload_member] = GetBucketAbacOutput.member(:abac_status)
1277
+
1278
+ GetBucketAbacRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
1279
+ GetBucketAbacRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
1280
+ GetBucketAbacRequest.struct_class = Types::GetBucketAbacRequest
1281
+
1265
1282
  GetBucketAccelerateConfigurationOutput.add_member(:status, Shapes::ShapeRef.new(shape: BucketAccelerateStatus, location_name: "Status"))
1266
1283
  GetBucketAccelerateConfigurationOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
1267
1284
  GetBucketAccelerateConfigurationOutput.struct_class = Types::GetBucketAccelerateConfigurationOutput
@@ -2302,6 +2319,15 @@ module Aws::S3
2302
2319
  PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Setting, location_name: "RestrictPublicBuckets"))
2303
2320
  PublicAccessBlockConfiguration.struct_class = Types::PublicAccessBlockConfiguration
2304
2321
 
2322
+ PutBucketAbacRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
2323
+ PutBucketAbacRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
2324
+ PutBucketAbacRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
2325
+ PutBucketAbacRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
2326
+ PutBucketAbacRequest.add_member(:abac_status, Shapes::ShapeRef.new(shape: AbacStatus, required: true, location_name: "AbacStatus", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
2327
+ PutBucketAbacRequest.struct_class = Types::PutBucketAbacRequest
2328
+ PutBucketAbacRequest[:payload] = :abac_status
2329
+ PutBucketAbacRequest[:payload_member] = PutBucketAbacRequest.member(:abac_status)
2330
+
2305
2331
  PutBucketAccelerateConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
2306
2332
  PutBucketAccelerateConfigurationRequest.add_member(:accelerate_configuration, Shapes::ShapeRef.new(shape: AccelerateConfiguration, required: true, location_name: "AccelerateConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
2307
2333
  PutBucketAccelerateConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
@@ -3343,6 +3369,14 @@ module Aws::S3
3343
3369
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3344
3370
  end)
3345
3371
 
3372
+ api.add_operation(:get_bucket_abac, Seahorse::Model::Operation.new.tap do |o|
3373
+ o.name = "GetBucketAbac"
3374
+ o.http_method = "GET"
3375
+ o.http_request_uri = "/?abac"
3376
+ o.input = Shapes::ShapeRef.new(shape: GetBucketAbacRequest)
3377
+ o.output = Shapes::ShapeRef.new(shape: GetBucketAbacOutput)
3378
+ end)
3379
+
3346
3380
  api.add_operation(:get_bucket_accelerate_configuration, Seahorse::Model::Operation.new.tap do |o|
3347
3381
  o.name = "GetBucketAccelerateConfiguration"
3348
3382
  o.http_method = "GET"
@@ -3777,6 +3811,22 @@ module Aws::S3
3777
3811
  )
3778
3812
  end)
3779
3813
 
3814
+ api.add_operation(:put_bucket_abac, Seahorse::Model::Operation.new.tap do |o|
3815
+ o.name = "PutBucketAbac"
3816
+ o.http_method = "PUT"
3817
+ o.http_request_uri = "/?abac"
3818
+ o.http_checksum = {
3819
+ "requestAlgorithmMember" => "checksum_algorithm",
3820
+ "requestChecksumRequired" => false,
3821
+ }
3822
+ o.http_checksum = {
3823
+ "requestAlgorithmMember" => "checksum_algorithm",
3824
+ "requestChecksumRequired" => false,
3825
+ }
3826
+ o.input = Shapes::ShapeRef.new(shape: PutBucketAbacRequest)
3827
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3828
+ end)
3829
+
3780
3830
  api.add_operation(:put_bucket_accelerate_configuration, Seahorse::Model::Operation.new.tap do |o|
3781
3831
  o.name = "PutBucketAccelerateConfiguration"
3782
3832
  o.http_method = "PUT"
@@ -337,6 +337,17 @@ module Aws::S3
337
337
  end
338
338
  end
339
339
 
340
+ class GetBucketAbac
341
+ def self.build(context)
342
+ Aws::S3::EndpointParameters.create(
343
+ context.config,
344
+ bucket: context.params[:bucket],
345
+ use_dual_stack: context[:use_dualstack_endpoint],
346
+ accelerate: context[:use_accelerate_endpoint],
347
+ )
348
+ end
349
+ end
350
+
340
351
  class GetBucketAccelerateConfiguration
341
352
  def self.build(context)
342
353
  Aws::S3::EndpointParameters.create(
@@ -878,6 +889,17 @@ module Aws::S3
878
889
  end
879
890
  end
880
891
 
892
+ class PutBucketAbac
893
+ def self.build(context)
894
+ Aws::S3::EndpointParameters.create(
895
+ context.config,
896
+ bucket: context.params[:bucket],
897
+ use_dual_stack: context[:use_dualstack_endpoint],
898
+ accelerate: context[:use_accelerate_endpoint],
899
+ )
900
+ end
901
+ end
902
+
881
903
  class PutBucketAccelerateConfiguration
882
904
  def self.build(context)
883
905
  Aws::S3::EndpointParameters.create(
@@ -1348,6 +1370,8 @@ module Aws::S3
1348
1370
  DeleteObjects.build(context)
1349
1371
  when :delete_public_access_block
1350
1372
  DeletePublicAccessBlock.build(context)
1373
+ when :get_bucket_abac
1374
+ GetBucketAbac.build(context)
1351
1375
  when :get_bucket_accelerate_configuration
1352
1376
  GetBucketAccelerateConfiguration.build(context)
1353
1377
  when :get_bucket_acl
@@ -1440,6 +1464,8 @@ module Aws::S3
1440
1464
  ListObjectsV2.build(context)
1441
1465
  when :list_parts
1442
1466
  ListParts.build(context)
1467
+ when :put_bucket_abac
1468
+ PutBucketAbac.build(context)
1443
1469
  when :put_bucket_accelerate_configuration
1444
1470
  PutBucketAccelerateConfiguration.build(context)
1445
1471
  when :put_bucket_acl
@@ -765,7 +765,7 @@ module Aws::S3
765
765
  # metadata_directive: "COPY", # accepts COPY, REPLACE
766
766
  # tagging_directive: "COPY", # accepts COPY, REPLACE
767
767
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
768
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
768
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
769
769
  # website_redirect_location: "WebsiteRedirectLocation",
770
770
  # sse_customer_algorithm: "SSECustomerAlgorithm",
771
771
  # sse_customer_key: "SSECustomerKey",
@@ -1889,7 +1889,7 @@ module Aws::S3
1889
1889
  # "MetadataKey" => "MetadataValue",
1890
1890
  # },
1891
1891
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
1892
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
1892
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
1893
1893
  # website_redirect_location: "WebsiteRedirectLocation",
1894
1894
  # sse_customer_algorithm: "SSECustomerAlgorithm",
1895
1895
  # sse_customer_key: "SSECustomerKey",
@@ -2490,7 +2490,7 @@ module Aws::S3
2490
2490
  # "MetadataKey" => "MetadataValue",
2491
2491
  # },
2492
2492
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
2493
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
2493
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
2494
2494
  # website_redirect_location: "WebsiteRedirectLocation",
2495
2495
  # sse_customer_algorithm: "SSECustomerAlgorithm",
2496
2496
  # sse_customer_key: "SSECustomerKey",
@@ -3165,7 +3165,7 @@ module Aws::S3
3165
3165
  # value: "MetadataValue",
3166
3166
  # },
3167
3167
  # ],
3168
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
3168
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
3169
3169
  # },
3170
3170
  # },
3171
3171
  # },
@@ -42,7 +42,7 @@ module Aws::S3
42
42
  @object_key
43
43
  end
44
44
 
45
- # Container for the bucket owner's display name and ID.
45
+ # Container for the bucket owner's ID.
46
46
  # @return [Types::Owner]
47
47
  def owner
48
48
  data[:owner]
@@ -362,7 +362,7 @@ module Aws::S3
362
362
  # metadata_directive: "COPY", # accepts COPY, REPLACE
363
363
  # tagging_directive: "COPY", # accepts COPY, REPLACE
364
364
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
365
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
365
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
366
366
  # website_redirect_location: "WebsiteRedirectLocation",
367
367
  # sse_customer_algorithm: "SSECustomerAlgorithm",
368
368
  # sse_customer_key: "SSECustomerKey",
@@ -1486,7 +1486,7 @@ module Aws::S3
1486
1486
  # "MetadataKey" => "MetadataValue",
1487
1487
  # },
1488
1488
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
1489
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
1489
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
1490
1490
  # website_redirect_location: "WebsiteRedirectLocation",
1491
1491
  # sse_customer_algorithm: "SSECustomerAlgorithm",
1492
1492
  # sse_customer_key: "SSECustomerKey",
@@ -2087,7 +2087,7 @@ module Aws::S3
2087
2087
  # "MetadataKey" => "MetadataValue",
2088
2088
  # },
2089
2089
  # server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
2090
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
2090
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
2091
2091
  # website_redirect_location: "WebsiteRedirectLocation",
2092
2092
  # sse_customer_algorithm: "SSECustomerAlgorithm",
2093
2093
  # sse_customer_key: "SSECustomerKey",
@@ -2762,7 +2762,7 @@ module Aws::S3
2762
2762
  # value: "MetadataValue",
2763
2763
  # },
2764
2764
  # ],
2765
- # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS
2765
+ # storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
2766
2766
  # },
2767
2767
  # },
2768
2768
  # },
@@ -10,6 +10,29 @@
10
10
  module Aws::S3
11
11
  module Types
12
12
 
13
+ # The ABAC status of the general purpose bucket. When ABAC is enabled
14
+ # for the general purpose bucket, you can use tags to manage access to
15
+ # the general purpose buckets as well as for cost tracking purposes.
16
+ # When ABAC is disabled for the general purpose buckets, you can only
17
+ # use tags for cost tracking purposes. For more information, see [Using
18
+ # tags with S3 general purpose buckets][1].
19
+ #
20
+ #
21
+ #
22
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html
23
+ #
24
+ # @!attribute [rw] status
25
+ # The ABAC status of the general purpose bucket.
26
+ # @return [String]
27
+ #
28
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbacStatus AWS API Documentation
29
+ #
30
+ class AbacStatus < Struct.new(
31
+ :status)
32
+ SENSITIVE = []
33
+ include Aws::Structure
34
+ end
35
+
13
36
  # Specifies the days since the initiation of an incomplete multipart
14
37
  # upload that Amazon S3 will wait before permanently removing all parts
15
38
  # of the upload. For more information, see [ Aborting Incomplete
@@ -362,7 +385,7 @@ module Aws::S3
362
385
  # and replication requests to the bucket for objects with the specified
363
386
  # encryption type. However, you can continue to read and list any
364
387
  # pre-existing objects already encrypted with the specified encryption
365
- # type. For more information, see [Blocking an encryption type for a
388
+ # type. For more information, see [Blocking or unblocking SSE-C for a
366
389
  # general purpose bucket][1].
367
390
  #
368
391
  # This data type is used with the following actions:
@@ -383,7 +406,7 @@ module Aws::S3
383
406
  #
384
407
  #
385
408
  #
386
- # [1]: https://docs.aws.amazon.com/AmazonS3/userguide/block-encryption-type.html
409
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
387
410
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
388
411
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
389
412
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
@@ -2797,17 +2820,18 @@ module Aws::S3
2797
2820
  # creating. Tags are key-value pairs of metadata used to categorize
2798
2821
  # and organize your buckets, track costs, and control access.
2799
2822
  #
2800
- # <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
2801
- # information, see [Using tags with directory buckets][1].
2802
- #
2803
- # You must have the `s3express:TagResource` permission to create a
2804
- # directory bucket with tags.
2823
+ # You must have the `s3:TagResource` permission to create a general
2824
+ # purpose bucket with tags or the `s3express:TagResource` permission
2825
+ # to create a directory bucket with tags.
2805
2826
  #
2806
- # </note>
2827
+ # When creating buckets with tags, note that tag-based conditions
2828
+ # using `aws:ResourceTag` and `s3:BucketTag` condition keys are
2829
+ # applicable only after ABAC is enabled on the bucket. To learn more,
2830
+ # see [Enabling ABAC in general purpose buckets][1].
2807
2831
  #
2808
2832
  #
2809
2833
  #
2810
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
2834
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html
2811
2835
  # @return [Array<Types::Tag>]
2812
2836
  #
2813
2837
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration AWS API Documentation
@@ -6422,6 +6446,36 @@ module Aws::S3
6422
6446
  include Aws::Structure
6423
6447
  end
6424
6448
 
6449
+ # @!attribute [rw] abac_status
6450
+ # The ABAC status of the general purpose bucket.
6451
+ # @return [Types::AbacStatus]
6452
+ #
6453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAbacOutput AWS API Documentation
6454
+ #
6455
+ class GetBucketAbacOutput < Struct.new(
6456
+ :abac_status)
6457
+ SENSITIVE = []
6458
+ include Aws::Structure
6459
+ end
6460
+
6461
+ # @!attribute [rw] bucket
6462
+ # The name of the general purpose bucket.
6463
+ # @return [String]
6464
+ #
6465
+ # @!attribute [rw] expected_bucket_owner
6466
+ # The Amazon Web Services account ID of the general purpose bucket's
6467
+ # owner.
6468
+ # @return [String]
6469
+ #
6470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAbacRequest AWS API Documentation
6471
+ #
6472
+ class GetBucketAbacRequest < Struct.new(
6473
+ :bucket,
6474
+ :expected_bucket_owner)
6475
+ SENSITIVE = []
6476
+ include Aws::Structure
6477
+ end
6478
+
6425
6479
  # @!attribute [rw] status
6426
6480
  # The accelerate configuration of the bucket.
6427
6481
  # @return [String]
@@ -6491,7 +6545,7 @@ module Aws::S3
6491
6545
  end
6492
6546
 
6493
6547
  # @!attribute [rw] owner
6494
- # Container for the bucket owner's display name and ID.
6548
+ # Container for the bucket owner's ID.
6495
6549
  # @return [Types::Owner]
6496
6550
  #
6497
6551
  # @!attribute [rw] grants
@@ -7466,7 +7520,7 @@ module Aws::S3
7466
7520
  end
7467
7521
 
7468
7522
  # @!attribute [rw] owner
7469
- # Container for the bucket owner's display name and ID.
7523
+ # Container for the bucket owner's ID.
7470
7524
  # @return [Types::Owner]
7471
7525
  #
7472
7526
  # @!attribute [rw] grants
@@ -9062,56 +9116,12 @@ module Aws::S3
9062
9116
  include Aws::Structure
9063
9117
  end
9064
9118
 
9065
- # End of support notice: Beginning November 21, 2025, Amazon S3 will
9066
- # stop returning `DisplayName`. Update your applications to use
9067
- # canonical IDs (unique identifier for Amazon Web Services accounts),
9068
- # Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
9069
- # resource naming) as a direct replacement of `DisplayName`.
9070
- #
9071
- # This change affects the following Amazon Web Services Regions: US
9072
- # East
9073
- # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
9074
- # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
9075
- # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
9076
- # America (São Paulo) Region.
9077
- #
9078
9119
  # Container for the person being granted permissions.
9079
9120
  #
9080
9121
  # @!attribute [rw] display_name
9081
- # Screen name of the grantee.
9082
9122
  # @return [String]
9083
9123
  #
9084
9124
  # @!attribute [rw] email_address
9085
- # Email address of the grantee.
9086
- #
9087
- # <note markdown="1"> Using email addresses to specify a grantee is only supported in the
9088
- # following Amazon Web Services Regions:
9089
- #
9090
- # * US East (N. Virginia)
9091
- #
9092
- # * US West (N. California)
9093
- #
9094
- # * US West (Oregon)
9095
- #
9096
- # * Asia Pacific (Singapore)
9097
- #
9098
- # * Asia Pacific (Sydney)
9099
- #
9100
- # * Asia Pacific (Tokyo)
9101
- #
9102
- # * Europe (Ireland)
9103
- #
9104
- # * South America (São Paulo)
9105
- #
9106
- # For a list of all the Amazon S3 supported Regions and endpoints, see
9107
- # [Regions and Endpoints][1] in the Amazon Web Services General
9108
- # Reference.
9109
- #
9110
- # </note>
9111
- #
9112
- #
9113
- #
9114
- # [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
9115
9125
  # @return [String]
9116
9126
  #
9117
9127
  # @!attribute [rw] id
@@ -10084,8 +10094,6 @@ module Aws::S3
10084
10094
  # @return [String]
10085
10095
  #
10086
10096
  # @!attribute [rw] display_name
10087
- # Name of the Principal.
10088
- #
10089
10097
  # <note markdown="1"> This functionality is not supported for directory buckets.
10090
10098
  #
10091
10099
  # </note>
@@ -12607,14 +12615,13 @@ module Aws::S3
12607
12615
  # Container element that identifies who initiated the multipart
12608
12616
  # upload. If the initiator is an Amazon Web Services account, this
12609
12617
  # element provides the same information as the `Owner` element. If the
12610
- # initiator is an IAM User, this element provides the user ARN and
12611
- # display name.
12618
+ # initiator is an IAM User, this element provides the user ARN.
12612
12619
  # @return [Types::Initiator]
12613
12620
  #
12614
12621
  # @!attribute [rw] owner
12615
12622
  # Container element that identifies the object owner, after the object
12616
12623
  # is created. If multipart upload is initiated by an IAM user, this
12617
- # element provides the parent account ID and display name.
12624
+ # element provides the parent account ID.
12618
12625
  #
12619
12626
  # <note markdown="1"> **Directory buckets** - The bucket owner is returned as the object
12620
12627
  # owner for all the parts.
@@ -13930,44 +13937,9 @@ module Aws::S3
13930
13937
  include Aws::Structure
13931
13938
  end
13932
13939
 
13933
- # End of support notice: Beginning November 21, 2025, Amazon S3 will
13934
- # stop returning `DisplayName`. Update your applications to use
13935
- # canonical IDs (unique identifier for Amazon Web Services accounts),
13936
- # Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
13937
- # resource naming) as a direct replacement of `DisplayName`.
13938
- #
13939
- # This change affects the following Amazon Web Services Regions: US
13940
- # East
13941
- # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
13942
- # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
13943
- # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
13944
- # America (São Paulo) Region.
13945
- #
13946
13940
  # Container for the owner's display name and ID.
13947
13941
  #
13948
13942
  # @!attribute [rw] display_name
13949
- # Container for the display name of the owner. This value is only
13950
- # supported in the following Amazon Web Services Regions:
13951
- #
13952
- # * US East (N. Virginia)
13953
- #
13954
- # * US West (N. California)
13955
- #
13956
- # * US West (Oregon)
13957
- #
13958
- # * Asia Pacific (Singapore)
13959
- #
13960
- # * Asia Pacific (Sydney)
13961
- #
13962
- # * Asia Pacific (Tokyo)
13963
- #
13964
- # * Europe (Ireland)
13965
- #
13966
- # * South America (São Paulo)
13967
- #
13968
- # <note markdown="1"> This functionality is not supported for directory buckets.
13969
- #
13970
- # </note>
13971
13943
  # @return [String]
13972
13944
  #
13973
13945
  # @!attribute [rw] id
@@ -14230,9 +14202,11 @@ module Aws::S3
14230
14202
 
14231
14203
  # The PublicAccessBlock configuration that you want to apply to this
14232
14204
  # Amazon S3 bucket. You can enable the configuration options in any
14233
- # combination. For more information about when Amazon S3 considers a
14234
- # bucket or object public, see [The Meaning of "Public"][1] in the
14235
- # *Amazon S3 User Guide*.
14205
+ # combination. Bucket-level settings work alongside account-level
14206
+ # settings (which may inherit from organization-level policies). For
14207
+ # more information about when Amazon S3 considers a bucket or object
14208
+ # public, see [The Meaning of "Public"][1] in the *Amazon S3 User
14209
+ # Guide*.
14236
14210
  #
14237
14211
  #
14238
14212
  #
@@ -14296,6 +14270,58 @@ module Aws::S3
14296
14270
  include Aws::Structure
14297
14271
  end
14298
14272
 
14273
+ # @!attribute [rw] bucket
14274
+ # The name of the general purpose bucket.
14275
+ # @return [String]
14276
+ #
14277
+ # @!attribute [rw] content_md5
14278
+ # The MD5 hash of the `PutBucketAbac` request body.
14279
+ #
14280
+ # For requests made using the Amazon Web Services Command Line
14281
+ # Interface (CLI) or Amazon Web Services SDKs, this field is
14282
+ # calculated automatically.
14283
+ # @return [String]
14284
+ #
14285
+ # @!attribute [rw] checksum_algorithm
14286
+ # Indicates the algorithm that you want Amazon S3 to use to create the
14287
+ # checksum. For more information, see [ Checking object integrity][1]
14288
+ # in the *Amazon S3 User Guide*.
14289
+ #
14290
+ #
14291
+ #
14292
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
14293
+ # @return [String]
14294
+ #
14295
+ # @!attribute [rw] expected_bucket_owner
14296
+ # The Amazon Web Services account ID of the general purpose bucket's
14297
+ # owner.
14298
+ # @return [String]
14299
+ #
14300
+ # @!attribute [rw] abac_status
14301
+ # The ABAC status of the general purpose bucket. When ABAC is enabled
14302
+ # for the general purpose bucket, you can use tags to manage access to
14303
+ # the general purpose buckets as well as for cost tracking purposes.
14304
+ # When ABAC is disabled for the general purpose buckets, you can only
14305
+ # use tags for cost tracking purposes. For more information, see
14306
+ # [Using tags with S3 general purpose buckets][1].
14307
+ #
14308
+ #
14309
+ #
14310
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html
14311
+ # @return [Types::AbacStatus]
14312
+ #
14313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAbacRequest AWS API Documentation
14314
+ #
14315
+ class PutBucketAbacRequest < Struct.new(
14316
+ :bucket,
14317
+ :content_md5,
14318
+ :checksum_algorithm,
14319
+ :expected_bucket_owner,
14320
+ :abac_status)
14321
+ SENSITIVE = []
14322
+ include Aws::Structure
14323
+ end
14324
+
14299
14325
  # @!attribute [rw] bucket
14300
14326
  # The name of the bucket for which the accelerate configuration is
14301
14327
  # set.
@@ -18810,11 +18836,11 @@ module Aws::S3
18810
18836
  # upload, and replication requests to the bucket for objects with the
18811
18837
  # specified encryption type. However, you can continue to read and
18812
18838
  # list any pre-existing objects already encrypted with the specified
18813
- # encryption type. For more information, see [Blocking an encryption
18814
- # type for a general purpose bucket][1].
18839
+ # encryption type. For more information, see [Blocking or unblocking
18840
+ # SSE-C for a general purpose bucket][1].
18815
18841
  #
18816
18842
  # <note markdown="1"> Currently, this parameter only supports blocking or unblocking
18817
- # Server Side Encryption with Customer Provided Keys (SSE-C). For more
18843
+ # server-side encryption with customer-provided keys (SSE-C). For more
18818
18844
  # information about SSE-C, see [Using server-side encryption with
18819
18845
  # customer-provided keys (SSE-C)][2].
18820
18846
  #
@@ -18822,7 +18848,7 @@ module Aws::S3
18822
18848
  #
18823
18849
  #
18824
18850
  #
18825
- # [1]: https://docs.aws.amazon.com/AmazonS3/userguide/block-encryption-type.html
18851
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
18826
18852
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
18827
18853
  # @return [Types::BlockedEncryptionTypes]
18828
18854
  #
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.204.0'
78
+ GEM_VERSION = '1.206.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,