aws-sdk-s3 1.200.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.
@@ -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
@@ -680,7 +760,7 @@ module Aws::S3
680
760
  #
681
761
  # @!attribute [rw] checksum_crc32
682
762
  # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
683
- # checksum is only be present if the checksum was uploaded with the
763
+ # checksum is only present if the checksum was uploaded with the
684
764
  # object. When you use an API operation on an object that was uploaded
685
765
  # using multipart uploads, this value may not be a direct checksum
686
766
  # value of the full object. Instead, it's a calculation based on the
@@ -722,14 +802,15 @@ module Aws::S3
722
802
  # @return [String]
723
803
  #
724
804
  # @!attribute [rw] checksum_sha1
725
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
726
- # only be present if the object was uploaded with the object. When you
727
- # use the API operation on an object that was uploaded using multipart
728
- # uploads, this value may not be a direct checksum value of the full
729
- # object. Instead, it's a calculation based on the checksum values of
730
- # each individual part. For more information about how checksums are
731
- # calculated with multipart uploads, see [ Checking object
732
- # integrity][1] in the *Amazon S3 User Guide*.
805
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
806
+ # checksum is only present if the checksum was uploaded with the
807
+ # object. When you use the API operation on an object that was
808
+ # uploaded using multipart uploads, this value may not be a direct
809
+ # checksum value of the full object. Instead, it's a calculation
810
+ # based on the checksum values of each individual part. For more
811
+ # information about how checksums are calculated with multipart
812
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
813
+ # Guide*.
733
814
  #
734
815
  #
735
816
  #
@@ -737,14 +818,14 @@ module Aws::S3
737
818
  # @return [String]
738
819
  #
739
820
  # @!attribute [rw] checksum_sha256
740
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
741
- # only be present if the object was uploaded with the object. When you
742
- # use an API operation on an object that was uploaded using multipart
743
- # uploads, this value may not be a direct checksum value of the full
744
- # object. Instead, it's a calculation based on the checksum values of
745
- # each individual part. For more information about how checksums are
746
- # calculated with multipart uploads, see [ Checking object
747
- # integrity][1] in the *Amazon S3 User Guide*.
821
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
822
+ # checksum is only present if the checksum was uploaded with the
823
+ # object. When you use an API operation on an object that was uploaded
824
+ # using multipart uploads, this value may not be a direct checksum
825
+ # value of the full object. Instead, it's a calculation based on the
826
+ # checksum values of each individual part. For more information about
827
+ # how checksums are calculated with multipart uploads, see [ Checking
828
+ # object integrity][1] in the *Amazon S3 User Guide*.
748
829
  #
749
830
  #
750
831
  #
@@ -874,7 +955,7 @@ module Aws::S3
874
955
  #
875
956
  # @!attribute [rw] checksum_crc32
876
957
  # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
877
- # checksum is only be present if the checksum was uploaded with the
958
+ # checksum is only present if the checksum was uploaded with the
878
959
  # object. When you use an API operation on an object that was uploaded
879
960
  # using multipart uploads, this value may not be a direct checksum
880
961
  # value of the full object. Instead, it's a calculation based on the
@@ -916,14 +997,15 @@ module Aws::S3
916
997
  # @return [String]
917
998
  #
918
999
  # @!attribute [rw] checksum_sha1
919
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
920
- # only be present if the object was uploaded with the object. When you
921
- # use the API operation on an object that was uploaded using multipart
922
- # uploads, this value may not be a direct checksum value of the full
923
- # object. Instead, it's a calculation based on the checksum values of
924
- # each individual part. For more information about how checksums are
925
- # calculated with multipart uploads, see [ Checking object
926
- # integrity][1] in the *Amazon S3 User Guide*.
1000
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
1001
+ # checksum is only present if the checksum was uploaded with the
1002
+ # object. When you use the API operation on an object that was
1003
+ # uploaded using multipart uploads, this value may not be a direct
1004
+ # checksum value of the full object. Instead, it's a calculation
1005
+ # based on the checksum values of each individual part. For more
1006
+ # information about how checksums are calculated with multipart
1007
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1008
+ # Guide*.
927
1009
  #
928
1010
  #
929
1011
  #
@@ -931,14 +1013,14 @@ module Aws::S3
931
1013
  # @return [String]
932
1014
  #
933
1015
  # @!attribute [rw] checksum_sha256
934
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
935
- # only be present if the object was uploaded with the object. When you
936
- # use an API operation on an object that was uploaded using multipart
937
- # uploads, this value may not be a direct checksum value of the full
938
- # object. Instead, it's a calculation based on the checksum values of
939
- # each individual part. For more information about how checksums are
940
- # calculated with multipart uploads, see [ Checking object
941
- # integrity][1] in the *Amazon S3 User Guide*.
1016
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
1017
+ # checksum is only present if the checksum was uploaded with the
1018
+ # object. When you use an API operation on an object that was uploaded
1019
+ # using multipart uploads, this value may not be a direct checksum
1020
+ # value of the full object. Instead, it's a calculation based on the
1021
+ # checksum values of each individual part. For more information about
1022
+ # how checksums are calculated with multipart uploads, see [ Checking
1023
+ # object integrity][1] in the *Amazon S3 User Guide*.
942
1024
  #
943
1025
  #
944
1026
  #
@@ -1915,6 +1997,40 @@ module Aws::S3
1915
1997
  # </note>
1916
1998
  # @return [String]
1917
1999
  #
2000
+ # @!attribute [rw] if_match
2001
+ # Copies the object if the entity tag (ETag) of the destination object
2002
+ # matches the specified tag. If the ETag values do not match, the
2003
+ # operation returns a `412 Precondition Failed` error. If a concurrent
2004
+ # operation occurs during the upload S3 returns a `409
2005
+ # ConditionalRequestConflict` response. On a 409 failure you should
2006
+ # fetch the object's ETag and retry the upload.
2007
+ #
2008
+ # Expects the ETag value as a string.
2009
+ #
2010
+ # For more information about conditional requests, see [RFC 7232][1].
2011
+ #
2012
+ #
2013
+ #
2014
+ # [1]: https://tools.ietf.org/html/rfc7232
2015
+ # @return [String]
2016
+ #
2017
+ # @!attribute [rw] if_none_match
2018
+ # Copies the object only if the object key name at the destination
2019
+ # does not already exist in the bucket specified. Otherwise, Amazon S3
2020
+ # returns a `412 Precondition Failed` error. If a concurrent operation
2021
+ # occurs during the upload S3 returns a `409
2022
+ # ConditionalRequestConflict` response. On a 409 failure you should
2023
+ # retry the upload.
2024
+ #
2025
+ # Expects the '*' (asterisk) character.
2026
+ #
2027
+ # For more information about conditional requests, see [RFC 7232][1].
2028
+ #
2029
+ #
2030
+ #
2031
+ # [1]: https://tools.ietf.org/html/rfc7232
2032
+ # @return [String]
2033
+ #
1918
2034
  # @!attribute [rw] key
1919
2035
  # The key of the destination object.
1920
2036
  # @return [String]
@@ -2441,6 +2557,8 @@ module Aws::S3
2441
2557
  :grant_read,
2442
2558
  :grant_read_acp,
2443
2559
  :grant_write_acp,
2560
+ :if_match,
2561
+ :if_none_match,
2444
2562
  :key,
2445
2563
  :metadata,
2446
2564
  :metadata_directive,
@@ -2502,9 +2620,9 @@ module Aws::S3
2502
2620
  #
2503
2621
  # @!attribute [rw] checksum_crc32c
2504
2622
  # The Base64 encoded, 32-bit `CRC32C` checksum of the object. This
2505
- # will only be present if the object was uploaded with the object. For
2506
- # more information, see [ Checking object integrity][1] in the *Amazon
2507
- # S3 User Guide*.
2623
+ # checksum is only present if the checksum was uploaded with the
2624
+ # object. For more information, see [ Checking object integrity][1] in
2625
+ # the *Amazon S3 User Guide*.
2508
2626
  #
2509
2627
  #
2510
2628
  #
@@ -2525,10 +2643,10 @@ module Aws::S3
2525
2643
  # @return [String]
2526
2644
  #
2527
2645
  # @!attribute [rw] checksum_sha1
2528
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
2529
- # only be present if the object was uploaded with the object. For more
2530
- # information, see [ Checking object integrity][1] in the *Amazon S3
2531
- # User Guide*.
2646
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
2647
+ # checksum is only present if the checksum was uploaded with the
2648
+ # object. For more information, see [ Checking object integrity][1] in
2649
+ # the *Amazon S3 User Guide*.
2532
2650
  #
2533
2651
  #
2534
2652
  #
@@ -2536,10 +2654,10 @@ module Aws::S3
2536
2654
  # @return [String]
2537
2655
  #
2538
2656
  # @!attribute [rw] checksum_sha256
2539
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
2540
- # only be present if the object was uploaded with the object. For more
2541
- # information, see [ Checking object integrity][1] in the *Amazon S3
2542
- # User Guide*.
2657
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
2658
+ # checksum is only present if the checksum was uploaded with the
2659
+ # object. For more information, see [ Checking object integrity][1] in
2660
+ # the *Amazon S3 User Guide*.
2543
2661
  #
2544
2662
  #
2545
2663
  #
@@ -2702,14 +2820,18 @@ module Aws::S3
2702
2820
  # creating. Tags are key-value pairs of metadata used to categorize
2703
2821
  # and organize your buckets, track costs, and control access.
2704
2822
  #
2705
- # <note markdown="1"> This parameter is only supported for S3 directory buckets. For more
2706
- # 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.
2707
2826
  #
2708
- # </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].
2709
2831
  #
2710
2832
  #
2711
2833
  #
2712
- # [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
2713
2835
  # @return [Array<Types::Tag>]
2714
2836
  #
2715
2837
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration AWS API Documentation
@@ -4659,17 +4781,16 @@ module Aws::S3
4659
4781
  # @return [String]
4660
4782
  #
4661
4783
  # @!attribute [rw] if_match
4662
- # The `If-Match` header field makes the request method conditional on
4663
- # ETags. If the ETag value does not match, the operation returns a
4664
- # `412 Precondition Failed` error. If the ETag matches or if the
4665
- # object doesn't exist, the operation will return a `204 Success (No
4666
- # Content) response`.
4667
- #
4668
- # For more information about conditional requests, see [RFC 7232][1].
4784
+ # Deletes the object if the ETag (entity tag) value provided during
4785
+ # the delete operation matches the ETag of the object in S3. If the
4786
+ # ETag values do not match, the operation returns a `412 Precondition
4787
+ # Failed` error.
4669
4788
  #
4670
- # <note markdown="1"> This functionality is only supported for directory buckets.
4789
+ # Expects the ETag value as a string. `If-Match` does accept a string
4790
+ # value of an '*' (asterisk) character to denote a match of any
4791
+ # ETag.
4671
4792
  #
4672
- # </note>
4793
+ # For more information about conditional requests, see [RFC 7232][1].
4673
4794
  #
4674
4795
  #
4675
4796
  #
@@ -6325,6 +6446,36 @@ module Aws::S3
6325
6446
  include Aws::Structure
6326
6447
  end
6327
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
+
6328
6479
  # @!attribute [rw] status
6329
6480
  # The accelerate configuration of the bucket.
6330
6481
  # @return [String]
@@ -6394,7 +6545,7 @@ module Aws::S3
6394
6545
  end
6395
6546
 
6396
6547
  # @!attribute [rw] owner
6397
- # Container for the bucket owner's display name and ID.
6548
+ # Container for the bucket owner's ID.
6398
6549
  # @return [Types::Owner]
6399
6550
  #
6400
6551
  # @!attribute [rw] grants
@@ -7369,7 +7520,7 @@ module Aws::S3
7369
7520
  end
7370
7521
 
7371
7522
  # @!attribute [rw] owner
7372
- # Container for the bucket owner's display name and ID.
7523
+ # Container for the bucket owner's ID.
7373
7524
  # @return [Types::Owner]
7374
7525
  #
7375
7526
  # @!attribute [rw] grants
@@ -8003,9 +8154,9 @@ module Aws::S3
8003
8154
  #
8004
8155
  # @!attribute [rw] checksum_crc32c
8005
8156
  # The Base64 encoded, 32-bit `CRC32C` checksum of the object. This
8006
- # will only be present if the object was uploaded with the object. For
8007
- # more information, see [ Checking object integrity][1] in the *Amazon
8008
- # S3 User Guide*.
8157
+ # checksum is only present if the checksum was uploaded with the
8158
+ # object. For more information, see [ Checking object integrity][1] in
8159
+ # the *Amazon S3 User Guide*.
8009
8160
  #
8010
8161
  #
8011
8162
  #
@@ -8023,10 +8174,10 @@ module Aws::S3
8023
8174
  # @return [String]
8024
8175
  #
8025
8176
  # @!attribute [rw] checksum_sha1
8026
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
8027
- # only be present if the object was uploaded with the object. For more
8028
- # information, see [ Checking object integrity][1] in the *Amazon S3
8029
- # User Guide*.
8177
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
8178
+ # checksum is only present if the checksum was uploaded with the
8179
+ # object. For more information, see [ Checking object integrity][1] in
8180
+ # the *Amazon S3 User Guide*.
8030
8181
  #
8031
8182
  #
8032
8183
  #
@@ -8034,10 +8185,10 @@ module Aws::S3
8034
8185
  # @return [String]
8035
8186
  #
8036
8187
  # @!attribute [rw] checksum_sha256
8037
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
8038
- # only be present if the object was uploaded with the object. For more
8039
- # information, see [ Checking object integrity][1] in the *Amazon S3
8040
- # User Guide*.
8188
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
8189
+ # checksum is only present if the checksum was uploaded with the
8190
+ # object. For more information, see [ Checking object integrity][1] in
8191
+ # the *Amazon S3 User Guide*.
8041
8192
  #
8042
8193
  #
8043
8194
  #
@@ -8968,40 +9119,9 @@ module Aws::S3
8968
9119
  # Container for the person being granted permissions.
8969
9120
  #
8970
9121
  # @!attribute [rw] display_name
8971
- # Screen name of the grantee.
8972
9122
  # @return [String]
8973
9123
  #
8974
9124
  # @!attribute [rw] email_address
8975
- # Email address of the grantee.
8976
- #
8977
- # <note markdown="1"> Using email addresses to specify a grantee is only supported in the
8978
- # following Amazon Web Services Regions:
8979
- #
8980
- # * US East (N. Virginia)
8981
- #
8982
- # * US West (N. California)
8983
- #
8984
- # * US West (Oregon)
8985
- #
8986
- # * Asia Pacific (Singapore)
8987
- #
8988
- # * Asia Pacific (Sydney)
8989
- #
8990
- # * Asia Pacific (Tokyo)
8991
- #
8992
- # * Europe (Ireland)
8993
- #
8994
- # * South America (São Paulo)
8995
- #
8996
- # For a list of all the Amazon S3 supported Regions and endpoints, see
8997
- # [Regions and Endpoints][1] in the Amazon Web Services General
8998
- # Reference.
8999
- #
9000
- # </note>
9001
- #
9002
- #
9003
- #
9004
- # [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
9005
9125
  # @return [String]
9006
9126
  #
9007
9127
  # @!attribute [rw] id
@@ -9240,7 +9360,7 @@ module Aws::S3
9240
9360
  #
9241
9361
  # @!attribute [rw] checksum_crc32
9242
9362
  # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
9243
- # checksum is only be present if the checksum was uploaded with the
9363
+ # checksum is only present if the checksum was uploaded with the
9244
9364
  # object. When you use an API operation on an object that was uploaded
9245
9365
  # using multipart uploads, this value may not be a direct checksum
9246
9366
  # value of the full object. Instead, it's a calculation based on the
@@ -9279,14 +9399,15 @@ module Aws::S3
9279
9399
  # @return [String]
9280
9400
  #
9281
9401
  # @!attribute [rw] checksum_sha1
9282
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
9283
- # only be present if the object was uploaded with the object. When you
9284
- # use the API operation on an object that was uploaded using multipart
9285
- # uploads, this value may not be a direct checksum value of the full
9286
- # object. Instead, it's a calculation based on the checksum values of
9287
- # each individual part. For more information about how checksums are
9288
- # calculated with multipart uploads, see [ Checking object
9289
- # integrity][1] in the *Amazon S3 User Guide*.
9402
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
9403
+ # checksum is only present if the checksum was uploaded with the
9404
+ # object. When you use the API operation on an object that was
9405
+ # uploaded using multipart uploads, this value may not be a direct
9406
+ # checksum value of the full object. Instead, it's a calculation
9407
+ # based on the checksum values of each individual part. For more
9408
+ # information about how checksums are calculated with multipart
9409
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
9410
+ # Guide*.
9290
9411
  #
9291
9412
  #
9292
9413
  #
@@ -9294,14 +9415,14 @@ module Aws::S3
9294
9415
  # @return [String]
9295
9416
  #
9296
9417
  # @!attribute [rw] checksum_sha256
9297
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
9298
- # only be present if the object was uploaded with the object. When you
9299
- # use an API operation on an object that was uploaded using multipart
9300
- # uploads, this value may not be a direct checksum value of the full
9301
- # object. Instead, it's a calculation based on the checksum values of
9302
- # each individual part. For more information about how checksums are
9303
- # calculated with multipart uploads, see [ Checking object
9304
- # integrity][1] in the *Amazon S3 User Guide*.
9418
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
9419
+ # checksum is only present if the checksum was uploaded with the
9420
+ # object. When you use an API operation on an object that was uploaded
9421
+ # using multipart uploads, this value may not be a direct checksum
9422
+ # value of the full object. Instead, it's a calculation based on the
9423
+ # checksum values of each individual part. For more information about
9424
+ # how checksums are calculated with multipart uploads, see [ Checking
9425
+ # object integrity][1] in the *Amazon S3 User Guide*.
9305
9426
  #
9306
9427
  #
9307
9428
  #
@@ -9973,8 +10094,6 @@ module Aws::S3
9973
10094
  # @return [String]
9974
10095
  #
9975
10096
  # @!attribute [rw] display_name
9976
- # Name of the Principal.
9977
- #
9978
10097
  # <note markdown="1"> This functionality is not supported for directory buckets.
9979
10098
  #
9980
10099
  # </note>
@@ -10700,8 +10819,10 @@ module Aws::S3
10700
10819
  # @return [String]
10701
10820
  #
10702
10821
  # @!attribute [rw] prefix
10703
- # Prefix identifying one or more objects to which the rule applies.
10704
- # This is no longer used; use `Filter` instead.
10822
+ # The general purpose bucket prefix that identifies one or more
10823
+ # objects to which the rule applies. We recommend using `Filter`
10824
+ # instead of `Prefix` for new PUTs. Previous configurations where a
10825
+ # prefix is defined will continue to operate as before.
10705
10826
  #
10706
10827
  # Replacement must be made for object keys containing special
10707
10828
  # characters (such as carriage returns) when using XML requests. For
@@ -12494,14 +12615,13 @@ module Aws::S3
12494
12615
  # Container element that identifies who initiated the multipart
12495
12616
  # upload. If the initiator is an Amazon Web Services account, this
12496
12617
  # element provides the same information as the `Owner` element. If the
12497
- # initiator is an IAM User, this element provides the user ARN and
12498
- # display name.
12618
+ # initiator is an IAM User, this element provides the user ARN.
12499
12619
  # @return [Types::Initiator]
12500
12620
  #
12501
12621
  # @!attribute [rw] owner
12502
12622
  # Container element that identifies the object owner, after the object
12503
12623
  # is created. If multipart upload is initiated by an IAM user, this
12504
- # element provides the parent account ID and display name.
12624
+ # element provides the parent account ID.
12505
12625
  #
12506
12626
  # <note markdown="1"> **Directory buckets** - The bucket owner is returned as the object
12507
12627
  # owner for all the parts.
@@ -13817,44 +13937,9 @@ module Aws::S3
13817
13937
  include Aws::Structure
13818
13938
  end
13819
13939
 
13820
- # End of support notice: Beginning October 1, 2025, Amazon S3 will stop
13821
- # returning `DisplayName`. Update your applications to use canonical IDs
13822
- # (unique identifier for Amazon Web Services accounts), Amazon Web
13823
- # Services account ID (12 digit identifier) or IAM ARNs (full resource
13824
- # naming) as a direct replacement of `DisplayName`.
13825
- #
13826
- # This change affects the following Amazon Web Services Regions: US
13827
- # East
13828
- # (N. Virginia) Region, US West (N. California) Region, US West (Oregon)
13829
- # Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
13830
- # Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South
13831
- # America (São Paulo) Region.
13832
- #
13833
13940
  # Container for the owner's display name and ID.
13834
13941
  #
13835
13942
  # @!attribute [rw] display_name
13836
- # Container for the display name of the owner. This value is only
13837
- # supported in the following Amazon Web Services Regions:
13838
- #
13839
- # * US East (N. Virginia)
13840
- #
13841
- # * US West (N. California)
13842
- #
13843
- # * US West (Oregon)
13844
- #
13845
- # * Asia Pacific (Singapore)
13846
- #
13847
- # * Asia Pacific (Sydney)
13848
- #
13849
- # * Asia Pacific (Tokyo)
13850
- #
13851
- # * Europe (Ireland)
13852
- #
13853
- # * South America (São Paulo)
13854
- #
13855
- # <note markdown="1"> This functionality is not supported for directory buckets.
13856
- #
13857
- # </note>
13858
13943
  # @return [String]
13859
13944
  #
13860
13945
  # @!attribute [rw] id
@@ -14117,9 +14202,11 @@ module Aws::S3
14117
14202
 
14118
14203
  # The PublicAccessBlock configuration that you want to apply to this
14119
14204
  # Amazon S3 bucket. You can enable the configuration options in any
14120
- # combination. For more information about when Amazon S3 considers a
14121
- # bucket or object public, see [The Meaning of "Public"][1] in the
14122
- # *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*.
14123
14210
  #
14124
14211
  #
14125
14212
  #
@@ -14183,6 +14270,58 @@ module Aws::S3
14183
14270
  include Aws::Structure
14184
14271
  end
14185
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
+
14186
14325
  # @!attribute [rw] bucket
14187
14326
  # The name of the bucket for which the accelerate configuration is
14188
14327
  # set.
@@ -15273,7 +15412,17 @@ module Aws::S3
15273
15412
  # @!attribute [rw] mfa
15274
15413
  # The concatenation of the authentication device's serial number, a
15275
15414
  # space, and the value that is displayed on your authentication
15276
- # device.
15415
+ # device. The serial number is the number that uniquely identifies the
15416
+ # MFA device. For physical MFA devices, this is the unique serial
15417
+ # number that's provided with the device. For virtual MFA devices,
15418
+ # the serial number is the device ARN. For more information, see
15419
+ # [Enabling versioning on buckets][1] and [Configuring MFA delete][2]
15420
+ # in the *Amazon Simple Storage Service User Guide*.
15421
+ #
15422
+ #
15423
+ #
15424
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html
15425
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html
15277
15426
  # @return [String]
15278
15427
  #
15279
15428
  # @!attribute [rw] versioning_configuration
@@ -15809,7 +15958,7 @@ module Aws::S3
15809
15958
  #
15810
15959
  # @!attribute [rw] checksum_crc32
15811
15960
  # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
15812
- # checksum is only be present if the checksum was uploaded with the
15961
+ # checksum is only present if the checksum was uploaded with the
15813
15962
  # object. When you use an API operation on an object that was uploaded
15814
15963
  # using multipart uploads, this value may not be a direct checksum
15815
15964
  # value of the full object. Instead, it's a calculation based on the
@@ -15852,14 +16001,15 @@ module Aws::S3
15852
16001
  # @return [String]
15853
16002
  #
15854
16003
  # @!attribute [rw] checksum_sha1
15855
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
15856
- # only be present if the object was uploaded with the object. When you
15857
- # use the API operation on an object that was uploaded using multipart
15858
- # uploads, this value may not be a direct checksum value of the full
15859
- # object. Instead, it's a calculation based on the checksum values of
15860
- # each individual part. For more information about how checksums are
15861
- # calculated with multipart uploads, see [ Checking object
15862
- # integrity][1] in the *Amazon S3 User Guide*.
16004
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
16005
+ # checksum is only present if the checksum was uploaded with the
16006
+ # object. When you use the API operation on an object that was
16007
+ # uploaded using multipart uploads, this value may not be a direct
16008
+ # checksum value of the full object. Instead, it's a calculation
16009
+ # based on the checksum values of each individual part. For more
16010
+ # information about how checksums are calculated with multipart
16011
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
16012
+ # Guide*.
15863
16013
  #
15864
16014
  #
15865
16015
  #
@@ -15867,14 +16017,14 @@ module Aws::S3
15867
16017
  # @return [String]
15868
16018
  #
15869
16019
  # @!attribute [rw] checksum_sha256
15870
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
15871
- # only be present if the object was uploaded with the object. When you
15872
- # use an API operation on an object that was uploaded using multipart
15873
- # uploads, this value may not be a direct checksum value of the full
15874
- # object. Instead, it's a calculation based on the checksum values of
15875
- # each individual part. For more information about how checksums are
15876
- # calculated with multipart uploads, see [ Checking object
15877
- # integrity][1] in the *Amazon S3 User Guide*.
16020
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
16021
+ # checksum is only present if the checksum was uploaded with the
16022
+ # object. When you use an API operation on an object that was uploaded
16023
+ # using multipart uploads, this value may not be a direct checksum
16024
+ # value of the full object. Instead, it's a calculation based on the
16025
+ # checksum values of each individual part. For more information about
16026
+ # how checksums are calculated with multipart uploads, see [ Checking
16027
+ # object integrity][1] in the *Amazon S3 User Guide*.
15878
16028
  #
15879
16029
  #
15880
16030
  #
@@ -16990,21 +17140,9 @@ module Aws::S3
16990
17140
  # @return [String]
16991
17141
  #
16992
17142
  # @!attribute [rw] request_payer
16993
- # Confirms that the requester knows that they will be charged for the
16994
- # request. Bucket owners need not specify this parameter in their
16995
- # requests. If either the source or destination S3 bucket has
16996
- # Requester Pays enabled, the requester will pay for corresponding
16997
- # charges to copy the object. For information about downloading
16998
- # objects from Requester Pays buckets, see [Downloading Objects in
16999
- # Requester Pays Buckets][1] in the *Amazon S3 User Guide*.
17000
- #
17001
- # <note markdown="1"> This functionality is not supported for directory buckets.
17002
- #
17003
- # </note>
17004
- #
17005
- #
17006
- #
17007
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
17143
+ # Confirms that the requester knows that she or he will be charged for
17144
+ # the tagging object request. Bucket owners need not specify this
17145
+ # parameter in their requests.
17008
17146
  # @return [String]
17009
17147
  #
17010
17148
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest AWS API Documentation
@@ -18690,11 +18828,36 @@ module Aws::S3
18690
18828
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
18691
18829
  # @return [Boolean]
18692
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
+ #
18693
18855
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule AWS API Documentation
18694
18856
  #
18695
18857
  class ServerSideEncryptionRule < Struct.new(
18696
18858
  :apply_server_side_encryption_by_default,
18697
- :bucket_key_enabled)
18859
+ :bucket_key_enabled,
18860
+ :blocked_encryption_types)
18698
18861
  SENSITIVE = []
18699
18862
  include Aws::Structure
18700
18863
  end
@@ -19648,7 +19811,7 @@ module Aws::S3
19648
19811
  #
19649
19812
  # @!attribute [rw] checksum_crc32
19650
19813
  # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
19651
- # checksum is only be present if the checksum was uploaded with the
19814
+ # checksum is only present if the checksum was uploaded with the
19652
19815
  # object. When you use an API operation on an object that was uploaded
19653
19816
  # using multipart uploads, this value may not be a direct checksum
19654
19817
  # value of the full object. Instead, it's a calculation based on the
@@ -19689,14 +19852,15 @@ module Aws::S3
19689
19852
  # @return [String]
19690
19853
  #
19691
19854
  # @!attribute [rw] checksum_sha1
19692
- # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
19693
- # only be present if the object was uploaded with the object. When you
19694
- # use the API operation on an object that was uploaded using multipart
19695
- # uploads, this value may not be a direct checksum value of the full
19696
- # object. Instead, it's a calculation based on the checksum values of
19697
- # each individual part. For more information about how checksums are
19698
- # calculated with multipart uploads, see [ Checking object
19699
- # integrity][1] in the *Amazon S3 User Guide*.
19855
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This
19856
+ # checksum is only present if the checksum was uploaded with the
19857
+ # object. When you use the API operation on an object that was
19858
+ # uploaded using multipart uploads, this value may not be a direct
19859
+ # checksum value of the full object. Instead, it's a calculation
19860
+ # based on the checksum values of each individual part. For more
19861
+ # information about how checksums are calculated with multipart
19862
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
19863
+ # Guide*.
19700
19864
  #
19701
19865
  #
19702
19866
  #
@@ -19704,14 +19868,14 @@ module Aws::S3
19704
19868
  # @return [String]
19705
19869
  #
19706
19870
  # @!attribute [rw] checksum_sha256
19707
- # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
19708
- # only be present if the object was uploaded with the object. When you
19709
- # use an API operation on an object that was uploaded using multipart
19710
- # uploads, this value may not be a direct checksum value of the full
19711
- # object. Instead, it's a calculation based on the checksum values of
19712
- # each individual part. For more information about how checksums are
19713
- # calculated with multipart uploads, see [ Checking object
19714
- # integrity][1] in the *Amazon S3 User Guide*.
19871
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This
19872
+ # checksum is only present if the checksum was uploaded with the
19873
+ # object. When you use an API operation on an object that was uploaded
19874
+ # using multipart uploads, this value may not be a direct checksum
19875
+ # value of the full object. Instead, it's a calculation based on the
19876
+ # checksum values of each individual part. For more information about
19877
+ # how checksums are calculated with multipart uploads, see [ Checking
19878
+ # object integrity][1] in the *Amazon S3 User Guide*.
19715
19879
  #
19716
19880
  #
19717
19881
  #