aws-sdk-s3 1.202.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.
@@ -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
  # },
@@ -124,10 +124,9 @@ module Aws
124
124
  # Only used when no custom executor is provided (creates {DefaultExecutor} with given thread count).
125
125
  #
126
126
  # @option options [String] :checksum_mode ("ENABLED")
127
- # When `"ENABLED"` and the object has a stored checksum, it will be used to validate the download and will
128
- # raise an `Aws::Errors::ChecksumError` if checksum validation fails. You may provide a `on_checksum_validated`
129
- # callback if you need to verify that validation occurred and which algorithm was used.
130
- # To disable checksum validation, set `checksum_mode` to `"DISABLED"`.
127
+ # This option is deprecated. Use `:response_checksum_validation` on your S3 client instead.
128
+ # To disable checksum validation, set `response_checksum_validation: 'when_required'`
129
+ # when creating your S3 client.
131
130
  #
132
131
  # @option options [Callable] :on_checksum_validated
133
132
  # Called each time a request's checksum is validated with the checksum algorithm and the
@@ -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
@@ -355,6 +378,63 @@ module Aws::S3
355
378
  include Aws::Structure
356
379
  end
357
380
 
381
+ # A bucket-level setting for Amazon S3 general purpose buckets used to
382
+ # prevent the upload of new objects encrypted with the specified
383
+ # server-side encryption type. For example, blocking an encryption type
384
+ # will block `PutObject`, `CopyObject`, `PostObject`, multipart upload,
385
+ # and replication requests to the bucket for objects with the specified
386
+ # encryption type. However, you can continue to read and list any
387
+ # pre-existing objects already encrypted with the specified encryption
388
+ # type. For more information, see [Blocking or unblocking SSE-C for a
389
+ # general purpose bucket][1].
390
+ #
391
+ # This data type is used with the following actions:
392
+ #
393
+ # * [PutBucketEncryption][2]
394
+ #
395
+ # * [GetBucketEncryption][3]
396
+ #
397
+ # * [DeleteBucketEncryption][4]
398
+ #
399
+ # Permissions
400
+ #
401
+ # : You must have the `s3:PutEncryptionConfiguration` permission to
402
+ # block or unblock an encryption type for a bucket.
403
+ #
404
+ # You must have the `s3:GetEncryptionConfiguration` permission to view
405
+ # a bucket's encryption type.
406
+ #
407
+ #
408
+ #
409
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
410
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
411
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
412
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
413
+ #
414
+ # @!attribute [rw] encryption_type
415
+ # The object encryption type that you want to block or unblock for an
416
+ # Amazon S3 general purpose bucket.
417
+ #
418
+ # <note markdown="1"> Currently, this parameter only supports blocking or unblocking
419
+ # server side encryption with customer-provided keys (SSE-C). For more
420
+ # information about SSE-C, see [Using server-side encryption with
421
+ # customer-provided keys (SSE-C)][1].
422
+ #
423
+ # </note>
424
+ #
425
+ #
426
+ #
427
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
428
+ # @return [Array<String>]
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BlockedEncryptionTypes AWS API Documentation
431
+ #
432
+ class BlockedEncryptionTypes < Struct.new(
433
+ :encryption_type)
434
+ SENSITIVE = []
435
+ include Aws::Structure
436
+ end
437
+
358
438
  # In terms of implementation, a Bucket is a resource.
359
439
  #
360
440
  # @!attribute [rw] name
@@ -2740,17 +2820,18 @@ module Aws::S3
2740
2820
  # creating. Tags are key-value pairs of metadata used to categorize
2741
2821
  # and organize your buckets, track costs, and control access.
2742
2822
  #
2743
- # <note markdown="1"> * This parameter is only supported for S3 directory buckets. For
2744
- # more information, see [Using tags with directory buckets][1].
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.
2745
2826
  #
2746
- # * You must have the `s3express:TagResource` permission to create a
2747
- # directory bucket with tags.
2748
- #
2749
- # </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].
2750
2831
  #
2751
2832
  #
2752
2833
  #
2753
- # [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
2754
2835
  # @return [Array<Types::Tag>]
2755
2836
  #
2756
2837
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration AWS API Documentation
@@ -6365,6 +6446,36 @@ module Aws::S3
6365
6446
  include Aws::Structure
6366
6447
  end
6367
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
+
6368
6479
  # @!attribute [rw] status
6369
6480
  # The accelerate configuration of the bucket.
6370
6481
  # @return [String]
@@ -6434,7 +6545,7 @@ module Aws::S3
6434
6545
  end
6435
6546
 
6436
6547
  # @!attribute [rw] owner
6437
- # Container for the bucket owner's display name and ID.
6548
+ # Container for the bucket owner's ID.
6438
6549
  # @return [Types::Owner]
6439
6550
  #
6440
6551
  # @!attribute [rw] grants
@@ -7409,7 +7520,7 @@ module Aws::S3
7409
7520
  end
7410
7521
 
7411
7522
  # @!attribute [rw] owner
7412
- # Container for the bucket owner's display name and ID.
7523
+ # Container for the bucket owner's ID.
7413
7524
  # @return [Types::Owner]
7414
7525
  #
7415
7526
  # @!attribute [rw] grants
@@ -9005,56 +9116,12 @@ module Aws::S3
9005
9116
  include Aws::Structure
9006
9117
  end
9007
9118
 
9008
- # End of support notice: Beginning November 21, 2025, Amazon S3 will
9009
- # stop returning `DisplayName`. Update your applications to use
9010
- # canonical IDs (unique identifier for Amazon Web Services accounts),
9011
- # Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
9012
- # resource naming) as a direct replacement of `DisplayName`.
9013
- #
9014
- # This change affects the following Amazon Web Services Regions: US
9015
- # East
9016
- # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
9017
- # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
9018
- # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
9019
- # America (São Paulo) Region.
9020
- #
9021
9119
  # Container for the person being granted permissions.
9022
9120
  #
9023
9121
  # @!attribute [rw] display_name
9024
- # Screen name of the grantee.
9025
9122
  # @return [String]
9026
9123
  #
9027
9124
  # @!attribute [rw] email_address
9028
- # Email address of the grantee.
9029
- #
9030
- # <note markdown="1"> Using email addresses to specify a grantee is only supported in the
9031
- # following Amazon Web Services Regions:
9032
- #
9033
- # * US East (N. Virginia)
9034
- #
9035
- # * US West (N. California)
9036
- #
9037
- # * US West (Oregon)
9038
- #
9039
- # * Asia Pacific (Singapore)
9040
- #
9041
- # * Asia Pacific (Sydney)
9042
- #
9043
- # * Asia Pacific (Tokyo)
9044
- #
9045
- # * Europe (Ireland)
9046
- #
9047
- # * South America (São Paulo)
9048
- #
9049
- # For a list of all the Amazon S3 supported Regions and endpoints, see
9050
- # [Regions and Endpoints][1] in the Amazon Web Services General
9051
- # Reference.
9052
- #
9053
- # </note>
9054
- #
9055
- #
9056
- #
9057
- # [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
9058
9125
  # @return [String]
9059
9126
  #
9060
9127
  # @!attribute [rw] id
@@ -10027,8 +10094,6 @@ module Aws::S3
10027
10094
  # @return [String]
10028
10095
  #
10029
10096
  # @!attribute [rw] display_name
10030
- # Name of the Principal.
10031
- #
10032
10097
  # <note markdown="1"> This functionality is not supported for directory buckets.
10033
10098
  #
10034
10099
  # </note>
@@ -12550,14 +12615,13 @@ module Aws::S3
12550
12615
  # Container element that identifies who initiated the multipart
12551
12616
  # upload. If the initiator is an Amazon Web Services account, this
12552
12617
  # element provides the same information as the `Owner` element. If the
12553
- # initiator is an IAM User, this element provides the user ARN and
12554
- # display name.
12618
+ # initiator is an IAM User, this element provides the user ARN.
12555
12619
  # @return [Types::Initiator]
12556
12620
  #
12557
12621
  # @!attribute [rw] owner
12558
12622
  # Container element that identifies the object owner, after the object
12559
12623
  # is created. If multipart upload is initiated by an IAM user, this
12560
- # element provides the parent account ID and display name.
12624
+ # element provides the parent account ID.
12561
12625
  #
12562
12626
  # <note markdown="1"> **Directory buckets** - The bucket owner is returned as the object
12563
12627
  # owner for all the parts.
@@ -13873,44 +13937,9 @@ module Aws::S3
13873
13937
  include Aws::Structure
13874
13938
  end
13875
13939
 
13876
- # End of support notice: Beginning November 21, 2025, Amazon S3 will
13877
- # stop returning `DisplayName`. Update your applications to use
13878
- # canonical IDs (unique identifier for Amazon Web Services accounts),
13879
- # Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
13880
- # resource naming) as a direct replacement of `DisplayName`.
13881
- #
13882
- # This change affects the following Amazon Web Services Regions: US
13883
- # East
13884
- # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
13885
- # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
13886
- # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
13887
- # America (São Paulo) Region.
13888
- #
13889
13940
  # Container for the owner's display name and ID.
13890
13941
  #
13891
13942
  # @!attribute [rw] display_name
13892
- # Container for the display name of the owner. This value is only
13893
- # supported in the following Amazon Web Services Regions:
13894
- #
13895
- # * US East (N. Virginia)
13896
- #
13897
- # * US West (N. California)
13898
- #
13899
- # * US West (Oregon)
13900
- #
13901
- # * Asia Pacific (Singapore)
13902
- #
13903
- # * Asia Pacific (Sydney)
13904
- #
13905
- # * Asia Pacific (Tokyo)
13906
- #
13907
- # * Europe (Ireland)
13908
- #
13909
- # * South America (São Paulo)
13910
- #
13911
- # <note markdown="1"> This functionality is not supported for directory buckets.
13912
- #
13913
- # </note>
13914
13943
  # @return [String]
13915
13944
  #
13916
13945
  # @!attribute [rw] id
@@ -14173,9 +14202,11 @@ module Aws::S3
14173
14202
 
14174
14203
  # The PublicAccessBlock configuration that you want to apply to this
14175
14204
  # Amazon S3 bucket. You can enable the configuration options in any
14176
- # combination. For more information about when Amazon S3 considers a
14177
- # bucket or object public, see [The Meaning of "Public"][1] in the
14178
- # *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*.
14179
14210
  #
14180
14211
  #
14181
14212
  #
@@ -14239,6 +14270,58 @@ module Aws::S3
14239
14270
  include Aws::Structure
14240
14271
  end
14241
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
+
14242
14325
  # @!attribute [rw] bucket
14243
14326
  # The name of the bucket for which the accelerate configuration is
14244
14327
  # set.
@@ -17253,7 +17336,7 @@ module Aws::S3
17253
17336
  # record frame. To ensure continuous streaming of data, S3 Select
17254
17337
  # might split the same record across multiple record frames instead of
17255
17338
  # aggregating the results in memory. Some S3 clients (for example, the
17256
- # SDKforJava) handle this behavior by creating a `ByteStream` out of
17339
+ # SDK for Java) handle this behavior by creating a `ByteStream` out of
17257
17340
  # the response by default. Other clients might not handle this
17258
17341
  # behavior by default. In those cases, you must aggregate the results
17259
17342
  # on the client side and parse the response.
@@ -18745,11 +18828,36 @@ module Aws::S3
18745
18828
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
18746
18829
  # @return [Boolean]
18747
18830
  #
18831
+ # @!attribute [rw] blocked_encryption_types
18832
+ # A bucket-level setting for Amazon S3 general purpose buckets used to
18833
+ # prevent the upload of new objects encrypted with the specified
18834
+ # server-side encryption type. For example, blocking an encryption
18835
+ # type will block `PutObject`, `CopyObject`, `PostObject`, multipart
18836
+ # upload, and replication requests to the bucket for objects with the
18837
+ # specified encryption type. However, you can continue to read and
18838
+ # list any pre-existing objects already encrypted with the specified
18839
+ # encryption type. For more information, see [Blocking or unblocking
18840
+ # SSE-C for a general purpose bucket][1].
18841
+ #
18842
+ # <note markdown="1"> Currently, this parameter only supports blocking or unblocking
18843
+ # server-side encryption with customer-provided keys (SSE-C). For more
18844
+ # information about SSE-C, see [Using server-side encryption with
18845
+ # customer-provided keys (SSE-C)][2].
18846
+ #
18847
+ # </note>
18848
+ #
18849
+ #
18850
+ #
18851
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html
18852
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
18853
+ # @return [Types::BlockedEncryptionTypes]
18854
+ #
18748
18855
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule AWS API Documentation
18749
18856
  #
18750
18857
  class ServerSideEncryptionRule < Struct.new(
18751
18858
  :apply_server_side_encryption_by_default,
18752
- :bucket_key_enabled)
18859
+ :bucket_key_enabled,
18860
+ :blocked_encryption_types)
18753
18861
  SENSITIVE = []
18754
18862
  include Aws::Structure
18755
18863
  end
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.202.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,