aws-sdk-s3 1.179.0 → 1.181.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.
@@ -597,13 +597,13 @@ module Aws::S3
597
597
  # * **Directory buckets** - For directory buckets, you must make
598
598
  # requests for this API operation to the Zonal endpoint. These
599
599
  # endpoints support virtual-hosted-style requests in the format
600
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
600
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
601
601
  # `. Path-style requests are not supported. For more information about
602
602
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
603
603
  # for directory buckets in Availability Zones][2] in the *Amazon S3
604
604
  # User Guide*. For more information about endpoints in Local Zones,
605
- # see [Available Local Zone for directory buckets][3] in the *Amazon
606
- # S3 User Guide*.
605
+ # see [Concepts for directory buckets in Local Zones][3] in the
606
+ # *Amazon S3 User Guide*.
607
607
  #
608
608
  # </note>
609
609
  #
@@ -647,7 +647,7 @@ module Aws::S3
647
647
  #
648
648
  #
649
649
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
650
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
650
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
651
651
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
652
652
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
653
653
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -665,7 +665,7 @@ module Aws::S3
665
665
  # requests are not supported. Directory bucket names must be unique in
666
666
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
667
667
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
668
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
668
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
669
669
  # naming restrictions, see [Directory bucket naming rules][1] in the
670
670
  # *Amazon S3 User Guide*.
671
671
  #
@@ -685,14 +685,14 @@ module Aws::S3
685
685
  #
686
686
  # </note>
687
687
  #
688
- # **S3 on Outposts** - When you use this action with Amazon S3 on
689
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
690
- # S3 on Outposts hostname takes the form `
688
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
689
+ # must direct requests to the S3 on Outposts hostname. The S3 on
690
+ # Outposts hostname takes the form `
691
691
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
692
- # When you use this action with S3 on Outposts through the Amazon Web
693
- # Services SDKs, you provide the Outposts access point ARN in place of
694
- # the bucket name. For more information about S3 on Outposts ARNs, see
695
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
692
+ # When you use this action with S3 on Outposts, the destination bucket
693
+ # must be the Outposts access point ARN or the access point alias. For
694
+ # more information about S3 on Outposts, see [What is S3 on
695
+ # Outposts?][3] in the *Amazon S3 User Guide*.
696
696
  #
697
697
  #
698
698
  #
@@ -830,13 +830,13 @@ module Aws::S3
830
830
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
831
831
  # for this API operation to the Zonal endpoint. These endpoints support
832
832
  # virtual-hosted-style requests in the format
833
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
833
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
834
834
  # `. Path-style requests are not supported. For more information about
835
835
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
836
836
  # directory buckets in Availability Zones][5] in the *Amazon S3 User
837
837
  # Guide*. For more information about endpoints in Local Zones, see
838
- # [Available Local Zone for directory buckets][6] in the *Amazon S3 User
839
- # Guide*.
838
+ # [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
839
+ # User Guide*.
840
840
  #
841
841
  # </note>
842
842
  #
@@ -923,7 +923,7 @@ module Aws::S3
923
923
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
924
924
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html
925
925
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
926
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
926
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
927
927
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
928
928
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
929
929
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
@@ -942,7 +942,7 @@ module Aws::S3
942
942
  # requests are not supported. Directory bucket names must be unique in
943
943
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
944
944
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
945
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
945
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
946
946
  # naming restrictions, see [Directory bucket naming rules][1] in the
947
947
  # *Amazon S3 User Guide*.
948
948
  #
@@ -962,14 +962,14 @@ module Aws::S3
962
962
  #
963
963
  # </note>
964
964
  #
965
- # **S3 on Outposts** - When you use this action with Amazon S3 on
966
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
967
- # S3 on Outposts hostname takes the form `
965
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
966
+ # must direct requests to the S3 on Outposts hostname. The S3 on
967
+ # Outposts hostname takes the form `
968
968
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
969
- # When you use this action with S3 on Outposts through the Amazon Web
970
- # Services SDKs, you provide the Outposts access point ARN in place of
971
- # the bucket name. For more information about S3 on Outposts ARNs, see
972
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
969
+ # When you use this action with S3 on Outposts, the destination bucket
970
+ # must be the Outposts access point ARN or the access point alias. For
971
+ # more information about S3 on Outposts, see [What is S3 on
972
+ # Outposts?][3] in the *Amazon S3 User Guide*.
973
973
  #
974
974
  #
975
975
  #
@@ -989,7 +989,7 @@ module Aws::S3
989
989
  # @option params [String] :checksum_crc32
990
990
  # This header can be used as a data integrity check to verify that the
991
991
  # data received is the same data that was originally sent. This header
992
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
992
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
993
993
  # For more information, see [Checking object integrity][1] in the
994
994
  # *Amazon S3 User Guide*.
995
995
  #
@@ -1000,7 +1000,7 @@ module Aws::S3
1000
1000
  # @option params [String] :checksum_crc32c
1001
1001
  # This header can be used as a data integrity check to verify that the
1002
1002
  # data received is the same data that was originally sent. This header
1003
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
1003
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
1004
1004
  # For more information, see [Checking object integrity][1] in the
1005
1005
  # *Amazon S3 User Guide*.
1006
1006
  #
@@ -1011,10 +1011,10 @@ module Aws::S3
1011
1011
  # @option params [String] :checksum_crc64nvme
1012
1012
  # This header can be used as a data integrity check to verify that the
1013
1013
  # data received is the same data that was originally sent. This header
1014
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
1015
- # object. The `CRC-64NVME` checksum is always a full object checksum.
1016
- # For more information, see [Checking object integrity in the Amazon S3
1017
- # User Guide][1].
1014
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
1015
+ # object. The `CRC64NVME` checksum is always a full object checksum. For
1016
+ # more information, see [Checking object integrity in the Amazon S3 User
1017
+ # Guide][1].
1018
1018
  #
1019
1019
  #
1020
1020
  #
@@ -1023,9 +1023,9 @@ module Aws::S3
1023
1023
  # @option params [String] :checksum_sha1
1024
1024
  # This header can be used as a data integrity check to verify that the
1025
1025
  # data received is the same data that was originally sent. This header
1026
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
1027
- # For more information, see [Checking object integrity][1] in the
1028
- # *Amazon S3 User Guide*.
1026
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
1027
+ # more information, see [Checking object integrity][1] in the *Amazon S3
1028
+ # User Guide*.
1029
1029
  #
1030
1030
  #
1031
1031
  #
@@ -1034,7 +1034,7 @@ module Aws::S3
1034
1034
  # @option params [String] :checksum_sha256
1035
1035
  # This header can be used as a data integrity check to verify that the
1036
1036
  # data received is the same data that was originally sent. This header
1037
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
1037
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
1038
1038
  # For more information, see [Checking object integrity][1] in the
1039
1039
  # *Amazon S3 User Guide*.
1040
1040
  #
@@ -1299,13 +1299,13 @@ module Aws::S3
1299
1299
  # * <b>Directory buckets </b> - For directory buckets, you must make
1300
1300
  # requests for this API operation to the Zonal endpoint. These
1301
1301
  # endpoints support virtual-hosted-style requests in the format
1302
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
1302
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
1303
1303
  # `. Path-style requests are not supported. For more information about
1304
1304
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
1305
1305
  # for directory buckets in Availability Zones][2] in the *Amazon S3
1306
1306
  # User Guide*. For more information about endpoints in Local Zones,
1307
- # see [Available Local Zone for directory buckets][3] in the *Amazon
1308
- # S3 User Guide*.
1307
+ # see [Concepts for directory buckets in Local Zones][3] in the
1308
+ # *Amazon S3 User Guide*.
1309
1309
  #
1310
1310
  # * VPC endpoints don't support cross-Region requests (including
1311
1311
  # copies). If you're using VPC endpoints, your source and destination
@@ -1431,9 +1431,15 @@ module Aws::S3
1431
1431
  # account. For pricing information, see [Amazon S3 pricing][10].
1432
1432
  #
1433
1433
  # HTTP Host header syntax
1434
+ # : * <b>Directory buckets </b> - The HTTP Host header syntax is `
1435
+ # Bucket-name.s3express-zone-id.region-code.amazonaws.com`.
1434
1436
  #
1435
- # : <b>Directory buckets </b> - The HTTP Host header syntax is `
1436
- # Bucket-name.s3express-zone-id.region-code.amazonaws.com`.
1437
+ # * **Amazon S3 on Outposts** - When you use this action with S3 on
1438
+ # Outposts through the REST API, you must direct requests to the S3
1439
+ # on Outposts hostname. The S3 on Outposts hostname takes the form `
1440
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
1441
+ # The hostname isn't required when you use the Amazon Web Services
1442
+ # CLI or SDKs.
1437
1443
  #
1438
1444
  # The following operations are related to `CopyObject`:
1439
1445
  #
@@ -1444,7 +1450,7 @@ module Aws::S3
1444
1450
  #
1445
1451
  #
1446
1452
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html
1447
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
1453
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
1448
1454
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
1449
1455
  # [4]: https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#manage-acct-regions-enable-standalone
1450
1456
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
@@ -1498,7 +1504,7 @@ module Aws::S3
1498
1504
  # requests are not supported. Directory bucket names must be unique in
1499
1505
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
1500
1506
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
1501
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
1507
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
1502
1508
  # naming restrictions, see [Directory bucket naming rules][1] in the
1503
1509
  # *Amazon S3 User Guide*.
1504
1510
  #
@@ -1526,14 +1532,19 @@ module Aws::S3
1526
1532
  #
1527
1533
  # </note>
1528
1534
  #
1529
- # **S3 on Outposts** - When you use this action with Amazon S3 on
1530
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
1531
- # S3 on Outposts hostname takes the form `
1535
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
1536
+ # must use the Outpost bucket access point ARN or the access point alias
1537
+ # for the destination bucket. You can only copy objects within the same
1538
+ # Outpost bucket. It's not supported to copy objects across different
1539
+ # Amazon Web Services Outposts, between buckets on the same Outposts, or
1540
+ # between Outposts buckets and any other bucket types. For more
1541
+ # information about S3 on Outposts, see [What is S3 on Outposts?][3] in
1542
+ # the *S3 on Outposts guide*. When you use this action with S3 on
1543
+ # Outposts through the REST API, you must direct requests to the S3 on
1544
+ # Outposts hostname, in the format `
1532
1545
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
1533
- # When you use this action with S3 on Outposts through the Amazon Web
1534
- # Services SDKs, you provide the Outposts access point ARN in place of
1535
- # the bucket name. For more information about S3 on Outposts ARNs, see
1536
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
1546
+ # The hostname isn't required when you use the Amazon Web Services CLI
1547
+ # or SDKs.
1537
1548
  #
1538
1549
  #
1539
1550
  #
@@ -2012,20 +2023,17 @@ module Aws::S3
2012
2023
  # Signature Version in Request Authentication][1] in the *Amazon S3 User
2013
2024
  # Guide*.
2014
2025
  #
2015
- # **Directory buckets** - If you specify `x-amz-server-side-encryption`
2016
- # with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
2017
- # header is implicitly assigned the ID of the KMS symmetric encryption
2018
- # customer managed key that's configured for your directory bucket's
2019
- # default encryption setting. If you want to specify the `
2020
- # x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
2021
- # can only specify it with the ID (Key ID or Key ARN) of the KMS
2022
- # customer managed key that's configured for your directory bucket's
2023
- # default encryption setting. Otherwise, you get an HTTP `400 Bad
2024
- # Request` error. Only use the key ID or key ARN. The key alias format
2025
- # of the KMS key isn't supported. Your SSE-KMS configuration can only
2026
- # support 1 [customer managed key][2] per directory bucket for the
2027
- # lifetime of the bucket. The [Amazon Web Services managed key][3]
2028
- # (`aws/s3`) isn't supported.
2026
+ # **Directory buckets** - To encrypt data using SSE-KMS, it's
2027
+ # recommended to specify the `x-amz-server-side-encryption` header to
2028
+ # `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
2029
+ # header implicitly uses the bucket's default KMS customer managed key
2030
+ # ID. If you want to explicitly set the `
2031
+ # x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
2032
+ # bucket's default customer managed key (using key ID or ARN, not
2033
+ # alias). Your SSE-KMS configuration can only support 1 [customer
2034
+ # managed key][2] per directory bucket's lifetime. The [Amazon Web
2035
+ # Services managed key][3] (`aws/s3`) isn't supported. Incorrect key
2036
+ # specification results in an HTTP `400 Bad Request` error.
2029
2037
  #
2030
2038
  #
2031
2039
  #
@@ -2369,8 +2377,8 @@ module Aws::S3
2369
2377
  # information about endpoints in Availability Zones, see [Regional and
2370
2378
  # Zonal endpoints for directory buckets in Availability Zones][4] in
2371
2379
  # the *Amazon S3 User Guide*. For more information about endpoints in
2372
- # Local Zones, see [Available Local Zone for directory buckets][5] in
2373
- # the *Amazon S3 User Guide*.
2380
+ # Local Zones, see [Concepts for directory buckets in Local Zones][5]
2381
+ # in the *Amazon S3 User Guide*.
2374
2382
  #
2375
2383
  # </note>
2376
2384
  #
@@ -2462,7 +2470,7 @@ module Aws::S3
2462
2470
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
2463
2471
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html
2464
2472
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
2465
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
2473
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
2466
2474
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
2467
2475
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
2468
2476
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
@@ -2628,7 +2636,7 @@ module Aws::S3
2628
2636
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read
2629
2637
  # bucket: "BucketName", # required
2630
2638
  # create_bucket_configuration: {
2631
- # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
2639
+ # location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
2632
2640
  # location: {
2633
2641
  # type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
2634
2642
  # name: "LocationNameAsString",
@@ -2775,13 +2783,13 @@ module Aws::S3
2775
2783
  # * <b>Directory buckets </b> - For directory buckets, you must make
2776
2784
  # requests for this API operation to the Zonal endpoint. These
2777
2785
  # endpoints support virtual-hosted-style requests in the format
2778
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
2786
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
2779
2787
  # `. Path-style requests are not supported. For more information about
2780
2788
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
2781
2789
  # for directory buckets in Availability Zones][4] in the *Amazon S3
2782
2790
  # User Guide*. For more information about endpoints in Local Zones,
2783
- # see [Available Local Zone for directory buckets][5] in the *Amazon
2784
- # S3 User Guide*.
2791
+ # see [Concepts for directory buckets in Local Zones][5] in the
2792
+ # *Amazon S3 User Guide*.
2785
2793
  #
2786
2794
  # </note>
2787
2795
  #
@@ -2983,7 +2991,7 @@ module Aws::S3
2983
2991
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
2984
2992
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
2985
2993
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config
2986
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
2994
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
2987
2995
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
2988
2996
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
2989
2997
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions
@@ -3035,7 +3043,7 @@ module Aws::S3
3035
3043
  # requests are not supported. Directory bucket names must be unique in
3036
3044
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
3037
3045
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
3038
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
3046
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
3039
3047
  # naming restrictions, see [Directory bucket naming rules][1] in the
3040
3048
  # *Amazon S3 User Guide*.
3041
3049
  #
@@ -3055,14 +3063,14 @@ module Aws::S3
3055
3063
  #
3056
3064
  # </note>
3057
3065
  #
3058
- # **S3 on Outposts** - When you use this action with Amazon S3 on
3059
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
3060
- # S3 on Outposts hostname takes the form `
3066
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
3067
+ # must direct requests to the S3 on Outposts hostname. The S3 on
3068
+ # Outposts hostname takes the form `
3061
3069
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
3062
- # When you use this action with S3 on Outposts through the Amazon Web
3063
- # Services SDKs, you provide the Outposts access point ARN in place of
3064
- # the bucket name. For more information about S3 on Outposts ARNs, see
3065
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
3070
+ # When you use this action with S3 on Outposts, the destination bucket
3071
+ # must be the Outposts access point ARN or the access point alias. For
3072
+ # more information about S3 on Outposts, see [What is S3 on
3073
+ # Outposts?][3] in the *Amazon S3 User Guide*.
3066
3074
  #
3067
3075
  #
3068
3076
  #
@@ -3478,20 +3486,17 @@ module Aws::S3
3478
3486
  # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
3479
3487
  # Amazon Web Services managed key (`aws/s3`) to protect the data.
3480
3488
  #
3481
- # **Directory buckets** - If you specify `x-amz-server-side-encryption`
3482
- # with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
3483
- # header is implicitly assigned the ID of the KMS symmetric encryption
3484
- # customer managed key that's configured for your directory bucket's
3485
- # default encryption setting. If you want to specify the `
3486
- # x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
3487
- # can only specify it with the ID (Key ID or Key ARN) of the KMS
3488
- # customer managed key that's configured for your directory bucket's
3489
- # default encryption setting. Otherwise, you get an HTTP `400 Bad
3490
- # Request` error. Only use the key ID or key ARN. The key alias format
3491
- # of the KMS key isn't supported. Your SSE-KMS configuration can only
3492
- # support 1 [customer managed key][1] per directory bucket for the
3493
- # lifetime of the bucket. The [Amazon Web Services managed key][2]
3494
- # (`aws/s3`) isn't supported.
3489
+ # **Directory buckets** - To encrypt data using SSE-KMS, it's
3490
+ # recommended to specify the `x-amz-server-side-encryption` header to
3491
+ # `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
3492
+ # header implicitly uses the bucket's default KMS customer managed key
3493
+ # ID. If you want to explicitly set the `
3494
+ # x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
3495
+ # bucket's default customer managed key (using key ID or ARN, not
3496
+ # alias). Your SSE-KMS configuration can only support 1 [customer
3497
+ # managed key][1] per directory bucket's lifetime. The [Amazon Web
3498
+ # Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
3499
+ # specification results in an HTTP `400 Bad Request` error.
3495
3500
  #
3496
3501
  #
3497
3502
  #
@@ -3748,8 +3753,8 @@ module Aws::S3
3748
3753
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
3749
3754
  # for directory buckets in Availability Zones][3] in the *Amazon S3
3750
3755
  # User Guide*. For more information about endpoints in Local Zones,
3751
- # see [Available Local Zone for directory buckets][4] in the *Amazon
3752
- # S3 User Guide*.
3756
+ # see [Concepts for directory buckets in Local Zones][4] in the
3757
+ # *Amazon S3 User Guide*.
3753
3758
  #
3754
3759
  # * <b> <code>CopyObject</code> API operation</b> - Unlike other Zonal
3755
3760
  # endpoint API operations, the `CopyObject` API operation doesn't use
@@ -3855,7 +3860,7 @@ module Aws::S3
3855
3860
  #
3856
3861
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html
3857
3862
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication
3858
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
3863
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
3859
3864
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
3860
3865
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
3861
3866
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html
@@ -3895,7 +3900,7 @@ module Aws::S3
3895
3900
  #
3896
3901
  #
3897
3902
  #
3898
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
3903
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html
3899
3904
  #
3900
3905
  # @option params [String] :ssekms_key_id
3901
3906
  # If you specify `x-amz-server-side-encryption` with `aws:kms`, you must
@@ -3908,8 +3913,8 @@ module Aws::S3
3908
3913
  # the Key ID.
3909
3914
  #
3910
3915
  # Your SSE-KMS configuration can only support 1 [customer managed
3911
- # key][1] per directory bucket for the lifetime of the bucket. The
3912
- # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
3916
+ # key][1] per directory bucket's lifetime. The [Amazon Web Services
3917
+ # managed key][2] (`aws/s3`) isn't supported.
3913
3918
  #
3914
3919
  #
3915
3920
  #
@@ -4015,8 +4020,8 @@ module Aws::S3
4015
4020
  # information about endpoints in Availability Zones, see [Regional and
4016
4021
  # Zonal endpoints for directory buckets in Availability Zones][1] in
4017
4022
  # the *Amazon S3 User Guide*. For more information about endpoints in
4018
- # Local Zones, see [Available Local Zone for directory buckets][2] in
4019
- # the *Amazon S3 User Guide*.
4023
+ # Local Zones, see [Concepts for directory buckets in Local Zones][2]
4024
+ # in the *Amazon S3 User Guide*.
4020
4025
  #
4021
4026
  # </note>
4022
4027
  #
@@ -4047,7 +4052,7 @@ module Aws::S3
4047
4052
  #
4048
4053
  #
4049
4054
  #
4050
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
4055
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
4051
4056
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
4052
4057
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
4053
4058
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
@@ -4512,8 +4517,8 @@ module Aws::S3
4512
4517
  # information about endpoints in Availability Zones, see [Regional
4513
4518
  # and Zonal endpoints for directory buckets in Availability
4514
4519
  # Zones][3] in the *Amazon S3 User Guide*. For more information
4515
- # about endpoints in Local Zones, see [Available Local Zone for
4516
- # directory buckets][4] in the *Amazon S3 User Guide*.
4520
+ # about endpoints in Local Zones, see [Concepts for directory
4521
+ # buckets in Local Zones][4] in the *Amazon S3 User Guide*.
4517
4522
  #
4518
4523
  # </note>
4519
4524
  # ^
@@ -4536,7 +4541,7 @@ module Aws::S3
4536
4541
  #
4537
4542
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
4538
4543
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
4539
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
4544
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
4540
4545
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
4541
4546
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions
4542
4547
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html
@@ -4763,7 +4768,7 @@ module Aws::S3
4763
4768
  # about endpoints in Availability Zones, see [Regional and Zonal
4764
4769
  # endpoints for directory buckets in Availability Zones][1] in the
4765
4770
  # *Amazon S3 User Guide*. For more information about endpoints in Local
4766
- # Zones, see [Available Local Zone for directory buckets][2] in the
4771
+ # Zones, see [Concepts for directory buckets in Local Zones][2] in the
4767
4772
  # *Amazon S3 User Guide*.
4768
4773
  #
4769
4774
  # </note>
@@ -4820,7 +4825,7 @@ module Aws::S3
4820
4825
  #
4821
4826
  #
4822
4827
  #
4823
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
4828
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
4824
4829
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
4825
4830
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
4826
4831
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
@@ -5108,13 +5113,13 @@ module Aws::S3
5108
5113
  # * **Directory buckets** - For directory buckets, you must make
5109
5114
  # requests for this API operation to the Zonal endpoint. These
5110
5115
  # endpoints support virtual-hosted-style requests in the format
5111
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
5116
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
5112
5117
  # `. Path-style requests are not supported. For more information about
5113
5118
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
5114
5119
  # for directory buckets in Availability Zones][3] in the *Amazon S3
5115
5120
  # User Guide*. For more information about endpoints in Local Zones,
5116
- # see [Available Local Zone for directory buckets][4] in the *Amazon
5117
- # S3 User Guide*.
5121
+ # see [Concepts for directory buckets in Local Zones][4] in the
5122
+ # *Amazon S3 User Guide*.
5118
5123
  #
5119
5124
  # </note>
5120
5125
  #
@@ -5187,7 +5192,7 @@ module Aws::S3
5187
5192
  #
5188
5193
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html
5189
5194
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html
5190
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
5195
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
5191
5196
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
5192
5197
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html
5193
5198
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete
@@ -5204,7 +5209,7 @@ module Aws::S3
5204
5209
  # requests are not supported. Directory bucket names must be unique in
5205
5210
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
5206
5211
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
5207
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
5212
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
5208
5213
  # naming restrictions, see [Directory bucket naming rules][1] in the
5209
5214
  # *Amazon S3 User Guide*.
5210
5215
  #
@@ -5224,14 +5229,14 @@ module Aws::S3
5224
5229
  #
5225
5230
  # </note>
5226
5231
  #
5227
- # **S3 on Outposts** - When you use this action with Amazon S3 on
5228
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
5229
- # S3 on Outposts hostname takes the form `
5232
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
5233
+ # must direct requests to the S3 on Outposts hostname. The S3 on
5234
+ # Outposts hostname takes the form `
5230
5235
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
5231
- # When you use this action with S3 on Outposts through the Amazon Web
5232
- # Services SDKs, you provide the Outposts access point ARN in place of
5233
- # the bucket name. For more information about S3 on Outposts ARNs, see
5234
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
5236
+ # When you use this action with S3 on Outposts, the destination bucket
5237
+ # must be the Outposts access point ARN or the access point alias. For
5238
+ # more information about S3 on Outposts, see [What is S3 on
5239
+ # Outposts?][3] in the *Amazon S3 User Guide*.
5235
5240
  #
5236
5241
  #
5237
5242
  #
@@ -5306,7 +5311,7 @@ module Aws::S3
5306
5311
  #
5307
5312
  #
5308
5313
  #
5309
- # [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
5314
+ # [1]: https://tools.ietf.org/html/rfc7232
5310
5315
  #
5311
5316
  # @option params [Time,DateTime,Date,Integer,String] :if_match_last_modified_time
5312
5317
  # If present, the object is deleted only if its modification times
@@ -5341,15 +5346,6 @@ module Aws::S3
5341
5346
  # * {Types::DeleteObjectOutput#request_charged #request_charged} => String
5342
5347
  #
5343
5348
  #
5344
- # @example Example: To delete an object (from a non-versioned bucket)
5345
- #
5346
- # # The following example deletes an object from a non-versioned bucket.
5347
- #
5348
- # resp = client.delete_object({
5349
- # bucket: "ExampleBucket",
5350
- # key: "HappyFace.jpg",
5351
- # })
5352
- #
5353
5349
  # @example Example: To delete an object
5354
5350
  #
5355
5351
  # # The following example deletes an object from an S3 bucket.
@@ -5363,6 +5359,15 @@ module Aws::S3
5363
5359
  # {
5364
5360
  # }
5365
5361
  #
5362
+ # @example Example: To delete an object (from a non-versioned bucket)
5363
+ #
5364
+ # # The following example deletes an object from a non-versioned bucket.
5365
+ #
5366
+ # resp = client.delete_object({
5367
+ # bucket: "ExampleBucket",
5368
+ # key: "HappyFace.jpg",
5369
+ # })
5370
+ #
5366
5371
  # @example Request syntax with placeholder values
5367
5372
  #
5368
5373
  # resp = client.delete_object({
@@ -5433,14 +5438,14 @@ module Aws::S3
5433
5438
  # name. For more information about access point ARNs, see [Using access
5434
5439
  # points][1] in the *Amazon S3 User Guide*.
5435
5440
  #
5436
- # **S3 on Outposts** - When you use this action with Amazon S3 on
5437
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
5438
- # S3 on Outposts hostname takes the form `
5441
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
5442
+ # must direct requests to the S3 on Outposts hostname. The S3 on
5443
+ # Outposts hostname takes the form `
5439
5444
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
5440
- # When you use this action with S3 on Outposts through the Amazon Web
5441
- # Services SDKs, you provide the Outposts access point ARN in place of
5442
- # the bucket name. For more information about S3 on Outposts ARNs, see
5443
- # [What is S3 on Outposts?][2] in the *Amazon S3 User Guide*.
5445
+ # When you use this action with S3 on Outposts, the destination bucket
5446
+ # must be the Outposts access point ARN or the access point alias. For
5447
+ # more information about S3 on Outposts, see [What is S3 on
5448
+ # Outposts?][2] in the *Amazon S3 User Guide*.
5444
5449
  #
5445
5450
  #
5446
5451
  #
@@ -5522,13 +5527,14 @@ module Aws::S3
5522
5527
  # to delete, then this operation provides a suitable alternative to
5523
5528
  # sending individual delete requests, reducing per-request overhead.
5524
5529
  #
5525
- # The request can contain a list of up to 1000 keys that you want to
5530
+ # The request can contain a list of up to 1,000 keys that you want to
5526
5531
  # delete. In the XML, you provide the object key names, and optionally,
5527
5532
  # version IDs if you want to delete a specific version of the object
5528
5533
  # from a versioning-enabled bucket. For each key, Amazon S3 performs a
5529
5534
  # delete operation and returns the result of that delete, success or
5530
- # failure, in the response. Note that if the object specified in the
5531
- # request is not found, Amazon S3 returns the result as deleted.
5535
+ # failure, in the response. If the object specified in the request
5536
+ # isn't found, Amazon S3 confirms the deletion by returning the result
5537
+ # as deleted.
5532
5538
  #
5533
5539
  # <note markdown="1"> * **Directory buckets** - S3 Versioning isn't enabled and supported
5534
5540
  # for directory buckets.
@@ -5536,13 +5542,13 @@ module Aws::S3
5536
5542
  # * **Directory buckets** - For directory buckets, you must make
5537
5543
  # requests for this API operation to the Zonal endpoint. These
5538
5544
  # endpoints support virtual-hosted-style requests in the format
5539
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
5545
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
5540
5546
  # `. Path-style requests are not supported. For more information about
5541
5547
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
5542
5548
  # for directory buckets in Availability Zones][1] in the *Amazon S3
5543
5549
  # User Guide*. For more information about endpoints in Local Zones,
5544
- # see [Available Local Zone for directory buckets][2] in the *Amazon
5545
- # S3 User Guide*.
5550
+ # see [Concepts for directory buckets in Local Zones][2] in the
5551
+ # *Amazon S3 User Guide*.
5546
5552
  #
5547
5553
  # </note>
5548
5554
  #
@@ -5626,7 +5632,7 @@ module Aws::S3
5626
5632
  #
5627
5633
  #
5628
5634
  #
5629
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
5635
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
5630
5636
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
5631
5637
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete
5632
5638
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -5645,7 +5651,7 @@ module Aws::S3
5645
5651
  # requests are not supported. Directory bucket names must be unique in
5646
5652
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
5647
5653
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
5648
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
5654
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
5649
5655
  # naming restrictions, see [Directory bucket naming rules][1] in the
5650
5656
  # *Amazon S3 User Guide*.
5651
5657
  #
@@ -5665,14 +5671,14 @@ module Aws::S3
5665
5671
  #
5666
5672
  # </note>
5667
5673
  #
5668
- # **S3 on Outposts** - When you use this action with Amazon S3 on
5669
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
5670
- # S3 on Outposts hostname takes the form `
5674
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
5675
+ # must direct requests to the S3 on Outposts hostname. The S3 on
5676
+ # Outposts hostname takes the form `
5671
5677
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
5672
- # When you use this action with S3 on Outposts through the Amazon Web
5673
- # Services SDKs, you provide the Outposts access point ARN in place of
5674
- # the bucket name. For more information about S3 on Outposts ARNs, see
5675
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
5678
+ # When you use this action with S3 on Outposts, the destination bucket
5679
+ # must be the Outposts access point ARN or the access point alias. For
5680
+ # more information about S3 on Outposts, see [What is S3 on
5681
+ # Outposts?][3] in the *Amazon S3 User Guide*.
5676
5682
  #
5677
5683
  #
5678
5684
  #
@@ -5748,15 +5754,15 @@ module Aws::S3
5748
5754
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
5749
5755
  # the supported algorithm from the following list:
5750
5756
  #
5751
- # * `CRC-32`
5757
+ # * `CRC32`
5752
5758
  #
5753
- # * `CRC-32C`
5759
+ # * `CRC32C`
5754
5760
  #
5755
- # * `CRC-64NVME`
5761
+ # * `CRC64NVME`
5756
5762
  #
5757
- # * `SHA-1`
5763
+ # * `SHA1`
5758
5764
  #
5759
- # * `SHA-256`
5765
+ # * `SHA256`
5760
5766
  #
5761
5767
  # For more information, see [Checking object integrity][1] in the
5762
5768
  # *Amazon S3 User Guide*.
@@ -5780,20 +5786,22 @@ module Aws::S3
5780
5786
  # * {Types::DeleteObjectsOutput#errors #errors} => Array&lt;Types::Error&gt;
5781
5787
  #
5782
5788
  #
5783
- # @example Example: To delete multiple objects from a versioned bucket
5789
+ # @example Example: To delete multiple object versions from a versioned bucket
5784
5790
  #
5785
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
5786
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
5791
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
5792
+ # # versions and returns the key and versions of deleted objects in the response.
5787
5793
  #
5788
5794
  # resp = client.delete_objects({
5789
5795
  # bucket: "examplebucket",
5790
5796
  # delete: {
5791
5797
  # objects: [
5792
5798
  # {
5793
- # key: "objectkey1",
5799
+ # key: "HappyFace.jpg",
5800
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5794
5801
  # },
5795
5802
  # {
5796
- # key: "objectkey2",
5803
+ # key: "HappyFace.jpg",
5804
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5797
5805
  # },
5798
5806
  # ],
5799
5807
  # quiet: false,
@@ -5804,34 +5812,30 @@ module Aws::S3
5804
5812
  # {
5805
5813
  # deleted: [
5806
5814
  # {
5807
- # delete_marker: true,
5808
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
5809
- # key: "objectkey1",
5815
+ # key: "HappyFace.jpg",
5816
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5810
5817
  # },
5811
5818
  # {
5812
- # delete_marker: true,
5813
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
5814
- # key: "objectkey2",
5819
+ # key: "HappyFace.jpg",
5820
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5815
5821
  # },
5816
5822
  # ],
5817
5823
  # }
5818
5824
  #
5819
- # @example Example: To delete multiple object versions from a versioned bucket
5825
+ # @example Example: To delete multiple objects from a versioned bucket
5820
5826
  #
5821
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
5822
- # # versions and returns the key and versions of deleted objects in the response.
5827
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
5828
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
5823
5829
  #
5824
5830
  # resp = client.delete_objects({
5825
5831
  # bucket: "examplebucket",
5826
5832
  # delete: {
5827
5833
  # objects: [
5828
5834
  # {
5829
- # key: "HappyFace.jpg",
5830
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5835
+ # key: "objectkey1",
5831
5836
  # },
5832
5837
  # {
5833
- # key: "HappyFace.jpg",
5834
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5838
+ # key: "objectkey2",
5835
5839
  # },
5836
5840
  # ],
5837
5841
  # quiet: false,
@@ -5842,12 +5846,14 @@ module Aws::S3
5842
5846
  # {
5843
5847
  # deleted: [
5844
5848
  # {
5845
- # key: "HappyFace.jpg",
5846
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
5849
+ # delete_marker: true,
5850
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
5851
+ # key: "objectkey1",
5847
5852
  # },
5848
5853
  # {
5849
- # key: "HappyFace.jpg",
5850
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
5854
+ # delete_marker: true,
5855
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
5856
+ # key: "objectkey2",
5851
5857
  # },
5852
5858
  # ],
5853
5859
  # }
@@ -6805,8 +6811,8 @@ module Aws::S3
6805
6811
  # information about endpoints in Availability Zones, see [Regional
6806
6812
  # and Zonal endpoints for directory buckets in Availability
6807
6813
  # Zones][5] in the *Amazon S3 User Guide*. For more information
6808
- # about endpoints in Local Zones, see [Available Local Zone for
6809
- # directory buckets][6] in the *Amazon S3 User Guide*.
6814
+ # about endpoints in Local Zones, see [Concepts for directory
6815
+ # buckets in Local Zones][6] in the *Amazon S3 User Guide*.
6810
6816
  #
6811
6817
  # </note>
6812
6818
  #
@@ -6840,7 +6846,7 @@ module Aws::S3
6840
6846
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html
6841
6847
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
6842
6848
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
6843
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
6849
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
6844
6850
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
6845
6851
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html
6846
6852
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
@@ -7024,7 +7030,7 @@ module Aws::S3
7024
7030
  #
7025
7031
  # @example Response structure
7026
7032
  #
7027
- # resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ca-central-1", "cn-north-1", "cn-northwest-1", "EU", "eu-central-1", "eu-north-1", "eu-south-1", "eu-south-2", "eu-west-1", "eu-west-2", "eu-west-3", "me-south-1", "sa-east-1", "us-east-2", "us-gov-east-1", "us-gov-west-1", "us-west-1", "us-west-2"
7033
+ # resp.location_constraint #=> String, one of "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-southeast-4", "ap-southeast-5", "ca-central-1", "cn-north-1", "cn-northwest-1", "EU", "eu-central-1", "eu-central-2", "eu-north-1", "eu-south-1", "eu-south-2", "eu-west-1", "eu-west-2", "eu-west-3", "il-central-1", "me-central-1", "me-south-1", "sa-east-1", "us-east-2", "us-gov-east-1", "us-gov-west-1", "us-west-1", "us-west-2"
7028
7034
  #
7029
7035
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation AWS API Documentation
7030
7036
  #
@@ -7556,7 +7562,7 @@ module Aws::S3
7556
7562
  # about endpoints in Availability Zones, see [Regional and Zonal
7557
7563
  # endpoints for directory buckets in Availability Zones][1] in the
7558
7564
  # *Amazon S3 User Guide*. For more information about endpoints in Local
7559
- # Zones, see [Available Local Zone for directory buckets][2] in the
7565
+ # Zones, see [Concepts for directory buckets in Local Zones][2] in the
7560
7566
  # *Amazon S3 User Guide*.
7561
7567
  #
7562
7568
  # </note>
@@ -7620,7 +7626,7 @@ module Aws::S3
7620
7626
  #
7621
7627
  #
7622
7628
  #
7623
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
7629
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
7624
7630
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
7625
7631
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
7626
7632
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
@@ -8239,7 +8245,7 @@ module Aws::S3
8239
8245
  # **Directory buckets** - Only virtual-hosted-style requests are
8240
8246
  # supported. For a virtual hosted-style request example, if you have the
8241
8247
  # object `photos/2006/February/sample.jpg` in the bucket named
8242
- # `examplebucket--use1-az5--x-s3`, specify the object key name as
8248
+ # `amzn-s3-demo-bucket--usw2-az1--x-s3`, specify the object key name as
8243
8249
  # `/photos/2006/February/sample.jpg`. Also, when you make requests to
8244
8250
  # this API operation, your requests are sent to the Zonal endpoint.
8245
8251
  # These endpoints support virtual-hosted-style requests in the format
@@ -8248,8 +8254,8 @@ module Aws::S3
8248
8254
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
8249
8255
  # directory buckets in Availability Zones][2] in the *Amazon S3 User
8250
8256
  # Guide*. For more information about endpoints in Local Zones, see
8251
- # [Available Local Zone for directory buckets][3] in the *Amazon S3 User
8252
- # Guide*.
8257
+ # [Concepts for directory buckets in Local Zones][3] in the *Amazon S3
8258
+ # User Guide*.
8253
8259
  #
8254
8260
  # Permissions
8255
8261
  # : * **General purpose bucket permissions** - You must have the
@@ -8385,7 +8391,7 @@ module Aws::S3
8385
8391
  #
8386
8392
  #
8387
8393
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket
8388
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
8394
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
8389
8395
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
8390
8396
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
8391
8397
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -8407,7 +8413,7 @@ module Aws::S3
8407
8413
  # requests are not supported. Directory bucket names must be unique in
8408
8414
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
8409
8415
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
8410
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
8416
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
8411
8417
  # naming restrictions, see [Directory bucket naming rules][1] in the
8412
8418
  # *Amazon S3 User Guide*.
8413
8419
  #
@@ -8433,14 +8439,14 @@ module Aws::S3
8433
8439
  #
8434
8440
  # </note>
8435
8441
  #
8436
- # **S3 on Outposts** - When you use this action with Amazon S3 on
8437
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
8438
- # S3 on Outposts hostname takes the form `
8442
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
8443
+ # must direct requests to the S3 on Outposts hostname. The S3 on
8444
+ # Outposts hostname takes the form `
8439
8445
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
8440
- # When you use this action with S3 on Outposts through the Amazon Web
8441
- # Services SDKs, you provide the Outposts access point ARN in place of
8442
- # the bucket name. For more information about S3 on Outposts ARNs, see
8443
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
8446
+ # When you use this action with S3 on Outposts, the destination bucket
8447
+ # must be the Outposts access point ARN or the access point alias. For
8448
+ # more information about S3 on Outposts, see [What is S3 on
8449
+ # Outposts?][3] in the *Amazon S3 User Guide*.
8444
8450
  #
8445
8451
  #
8446
8452
  #
@@ -8690,15 +8696,6 @@ module Aws::S3
8690
8696
  # @option params [String] :checksum_mode
8691
8697
  # To retrieve the checksum, this mode must be enabled.
8692
8698
  #
8693
- # **General purpose buckets** - In addition, if you enable checksum mode
8694
- # and the object is uploaded with a [checksum][1] and encrypted with an
8695
- # Key Management Service (KMS) key, you must have permission to use the
8696
- # `kms:Decrypt` action to retrieve the checksum.
8697
- #
8698
- #
8699
- #
8700
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
8701
- #
8702
8699
  # @return [Types::GetObjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8703
8700
  #
8704
8701
  # * {Types::GetObjectOutput#body #body} => IO
@@ -8742,49 +8739,49 @@ module Aws::S3
8742
8739
  # * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
8743
8740
  #
8744
8741
  #
8745
- # @example Example: To retrieve a byte range of an object
8742
+ # @example Example: To retrieve an object
8746
8743
  #
8747
- # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
8748
- # # specific byte range.
8744
+ # # The following example retrieves an object for an S3 bucket.
8749
8745
  #
8750
8746
  # resp = client.get_object({
8751
8747
  # bucket: "examplebucket",
8752
- # key: "SampleFile.txt",
8753
- # range: "bytes=0-9",
8748
+ # key: "HappyFace.jpg",
8754
8749
  # })
8755
8750
  #
8756
8751
  # resp.to_h outputs the following:
8757
8752
  # {
8758
8753
  # accept_ranges: "bytes",
8759
- # content_length: 10,
8760
- # content_range: "bytes 0-9/43",
8761
- # content_type: "text/plain",
8762
- # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
8763
- # last_modified: Time.parse("2014-10-09T22:57:28.000Z"),
8754
+ # content_length: 3191,
8755
+ # content_type: "image/jpeg",
8756
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
8757
+ # last_modified: Time.parse("2016-12-15T01:19:41.000Z"),
8764
8758
  # metadata: {
8765
8759
  # },
8760
+ # tag_count: 2,
8766
8761
  # version_id: "null",
8767
8762
  # }
8768
8763
  #
8769
- # @example Example: To retrieve an object
8764
+ # @example Example: To retrieve a byte range of an object
8770
8765
  #
8771
- # # The following example retrieves an object for an S3 bucket.
8766
+ # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
8767
+ # # specific byte range.
8772
8768
  #
8773
8769
  # resp = client.get_object({
8774
8770
  # bucket: "examplebucket",
8775
- # key: "HappyFace.jpg",
8771
+ # key: "SampleFile.txt",
8772
+ # range: "bytes=0-9",
8776
8773
  # })
8777
8774
  #
8778
8775
  # resp.to_h outputs the following:
8779
8776
  # {
8780
8777
  # accept_ranges: "bytes",
8781
- # content_length: 3191,
8782
- # content_type: "image/jpeg",
8783
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
8784
- # last_modified: Time.parse("2016-12-15T01:19:41.000Z"),
8778
+ # content_length: 10,
8779
+ # content_range: "bytes 0-9/43",
8780
+ # content_type: "text/plain",
8781
+ # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
8782
+ # last_modified: Time.parse("2014-10-09T22:57:28.000Z"),
8785
8783
  # metadata: {
8786
8784
  # },
8787
- # tag_count: 2,
8788
8785
  # version_id: "null",
8789
8786
  # }
8790
8787
  #
@@ -9090,13 +9087,13 @@ module Aws::S3
9090
9087
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
9091
9088
  # for this API operation to the Zonal endpoint. These endpoints support
9092
9089
  # virtual-hosted-style requests in the format
9093
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
9090
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
9094
9091
  # `. Path-style requests are not supported. For more information about
9095
9092
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
9096
9093
  # directory buckets in Availability Zones][1] in the *Amazon S3 User
9097
9094
  # Guide*. For more information about endpoints in Local Zones, see
9098
- # [Available Local Zone for directory buckets][2] in the *Amazon S3 User
9099
- # Guide*.
9095
+ # [Concepts for directory buckets in Local Zones][2] in the *Amazon S3
9096
+ # User Guide*.
9100
9097
  #
9101
9098
  # </note>
9102
9099
  #
@@ -9245,7 +9242,7 @@ module Aws::S3
9245
9242
  #
9246
9243
  #
9247
9244
  #
9248
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
9245
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
9249
9246
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
9250
9247
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
9251
9248
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -9271,7 +9268,7 @@ module Aws::S3
9271
9268
  # requests are not supported. Directory bucket names must be unique in
9272
9269
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
9273
9270
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
9274
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
9271
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
9275
9272
  # naming restrictions, see [Directory bucket naming rules][1] in the
9276
9273
  # *Amazon S3 User Guide*.
9277
9274
  #
@@ -9291,14 +9288,14 @@ module Aws::S3
9291
9288
  #
9292
9289
  # </note>
9293
9290
  #
9294
- # **S3 on Outposts** - When you use this action with Amazon S3 on
9295
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
9296
- # S3 on Outposts hostname takes the form `
9291
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
9292
+ # must direct requests to the S3 on Outposts hostname. The S3 on
9293
+ # Outposts hostname takes the form `
9297
9294
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9298
- # When you use this action with S3 on Outposts through the Amazon Web
9299
- # Services SDKs, you provide the Outposts access point ARN in place of
9300
- # the bucket name. For more information about S3 on Outposts ARNs, see
9301
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
9295
+ # When you use this action with S3 on Outposts, the destination bucket
9296
+ # must be the Outposts access point ARN or the access point alias. For
9297
+ # more information about S3 on Outposts, see [What is S3 on
9298
+ # Outposts?][3] in the *Amazon S3 User Guide*.
9302
9299
  #
9303
9300
  #
9304
9301
  #
@@ -9759,14 +9756,14 @@ module Aws::S3
9759
9756
  # name. For more information about access point ARNs, see [Using access
9760
9757
  # points][1] in the *Amazon S3 User Guide*.
9761
9758
  #
9762
- # **S3 on Outposts** - When you use this action with Amazon S3 on
9763
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
9764
- # S3 on Outposts hostname takes the form `
9759
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
9760
+ # must direct requests to the S3 on Outposts hostname. The S3 on
9761
+ # Outposts hostname takes the form `
9765
9762
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9766
- # When you use this action with S3 on Outposts through the Amazon Web
9767
- # Services SDKs, you provide the Outposts access point ARN in place of
9768
- # the bucket name. For more information about S3 on Outposts ARNs, see
9769
- # [What is S3 on Outposts?][2] in the *Amazon S3 User Guide*.
9763
+ # When you use this action with S3 on Outposts, the destination bucket
9764
+ # must be the Outposts access point ARN or the access point alias. For
9765
+ # more information about S3 on Outposts, see [What is S3 on
9766
+ # Outposts?][2] in the *Amazon S3 User Guide*.
9770
9767
  #
9771
9768
  #
9772
9769
  #
@@ -9807,49 +9804,49 @@ module Aws::S3
9807
9804
  # * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array&lt;Types::Tag&gt;
9808
9805
  #
9809
9806
  #
9810
- # @example Example: To retrieve tag set of an object
9807
+ # @example Example: To retrieve tag set of a specific object version
9811
9808
  #
9812
- # # The following example retrieves tag set of an object.
9809
+ # # The following example retrieves tag set of an object. The request specifies object version.
9813
9810
  #
9814
9811
  # resp = client.get_object_tagging({
9815
9812
  # bucket: "examplebucket",
9816
- # key: "HappyFace.jpg",
9813
+ # key: "exampleobject",
9814
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
9817
9815
  # })
9818
9816
  #
9819
9817
  # resp.to_h outputs the following:
9820
9818
  # {
9821
9819
  # tag_set: [
9822
9820
  # {
9823
- # key: "Key4",
9824
- # value: "Value4",
9825
- # },
9826
- # {
9827
- # key: "Key3",
9828
- # value: "Value3",
9821
+ # key: "Key1",
9822
+ # value: "Value1",
9829
9823
  # },
9830
9824
  # ],
9831
- # version_id: "null",
9825
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
9832
9826
  # }
9833
9827
  #
9834
- # @example Example: To retrieve tag set of a specific object version
9828
+ # @example Example: To retrieve tag set of an object
9835
9829
  #
9836
- # # The following example retrieves tag set of an object. The request specifies object version.
9830
+ # # The following example retrieves tag set of an object.
9837
9831
  #
9838
9832
  # resp = client.get_object_tagging({
9839
9833
  # bucket: "examplebucket",
9840
- # key: "exampleobject",
9841
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
9834
+ # key: "HappyFace.jpg",
9842
9835
  # })
9843
9836
  #
9844
9837
  # resp.to_h outputs the following:
9845
9838
  # {
9846
9839
  # tag_set: [
9847
9840
  # {
9848
- # key: "Key1",
9849
- # value: "Value1",
9841
+ # key: "Key4",
9842
+ # value: "Value4",
9843
+ # },
9844
+ # {
9845
+ # key: "Key3",
9846
+ # value: "Value3",
9850
9847
  # },
9851
9848
  # ],
9852
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
9849
+ # version_id: "null",
9853
9850
  # }
9854
9851
  #
9855
9852
  # @example Request syntax with placeholder values
@@ -10119,8 +10116,8 @@ module Aws::S3
10119
10116
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
10120
10117
  # for directory buckets in Availability Zones][5] in the *Amazon S3
10121
10118
  # User Guide*. For more information about endpoints in Local Zones,
10122
- # see [Available Local Zone for directory buckets][6] in the *Amazon
10123
- # S3 User Guide*.
10119
+ # see [Concepts for directory buckets in Local Zones][6] in the
10120
+ # *Amazon S3 User Guide*.
10124
10121
  #
10125
10122
  # </note>
10126
10123
  #
@@ -10130,7 +10127,7 @@ module Aws::S3
10130
10127
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
10131
10128
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
10132
10129
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
10133
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
10130
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
10134
10131
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
10135
10132
  #
10136
10133
  # @option params [required, String] :bucket
@@ -10142,7 +10139,7 @@ module Aws::S3
10142
10139
  # requests are not supported. Directory bucket names must be unique in
10143
10140
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
10144
10141
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
10145
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
10142
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
10146
10143
  # naming restrictions, see [Directory bucket naming rules][1] in the
10147
10144
  # *Amazon S3 User Guide*.
10148
10145
  #
@@ -10169,14 +10166,14 @@ module Aws::S3
10169
10166
  #
10170
10167
  # </note>
10171
10168
  #
10172
- # **S3 on Outposts** - When you use this action with Amazon S3 on
10173
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
10174
- # S3 on Outposts hostname takes the form `
10169
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
10170
+ # must direct requests to the S3 on Outposts hostname. The S3 on
10171
+ # Outposts hostname takes the form `
10175
10172
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
10176
- # When you use this action with S3 on Outposts through the Amazon Web
10177
- # Services SDKs, you provide the Outposts access point ARN in place of
10178
- # the bucket name. For more information about S3 on Outposts ARNs, see
10179
- # [What is S3 on Outposts?][4] in the *Amazon S3 User Guide*.
10173
+ # When you use this action with S3 on Outposts, the destination bucket
10174
+ # must be the Outposts access point ARN or the access point alias. For
10175
+ # more information about S3 on Outposts, see [What is S3 on
10176
+ # Outposts?][4] in the *Amazon S3 User Guide*.
10180
10177
  #
10181
10178
  #
10182
10179
  #
@@ -10365,13 +10362,13 @@ module Aws::S3
10365
10362
  # <note markdown="1"> For directory buckets, you must make requests for this API operation
10366
10363
  # to the Zonal endpoint. These endpoints support virtual-hosted-style
10367
10364
  # requests in the format
10368
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
10365
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
10369
10366
  # `. Path-style requests are not supported. For more information about
10370
10367
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
10371
10368
  # for directory buckets in Availability Zones][6] in the *Amazon S3
10372
10369
  # User Guide*. For more information about endpoints in Local Zones,
10373
- # see [Available Local Zone for directory buckets][7] in the *Amazon
10374
- # S3 User Guide*.
10370
+ # see [Concepts for directory buckets in Local Zones][7] in the
10371
+ # *Amazon S3 User Guide*.
10375
10372
  #
10376
10373
  # </note>
10377
10374
  #
@@ -10388,7 +10385,7 @@ module Aws::S3
10388
10385
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
10389
10386
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
10390
10387
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
10391
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
10388
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
10392
10389
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
10393
10390
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
10394
10391
  # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
@@ -10402,7 +10399,7 @@ module Aws::S3
10402
10399
  # requests are not supported. Directory bucket names must be unique in
10403
10400
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
10404
10401
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
10405
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
10402
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
10406
10403
  # naming restrictions, see [Directory bucket naming rules][1] in the
10407
10404
  # *Amazon S3 User Guide*.
10408
10405
  #
@@ -10422,14 +10419,14 @@ module Aws::S3
10422
10419
  #
10423
10420
  # </note>
10424
10421
  #
10425
- # **S3 on Outposts** - When you use this action with Amazon S3 on
10426
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
10427
- # S3 on Outposts hostname takes the form `
10422
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
10423
+ # must direct requests to the S3 on Outposts hostname. The S3 on
10424
+ # Outposts hostname takes the form `
10428
10425
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
10429
- # When you use this action with S3 on Outposts through the Amazon Web
10430
- # Services SDKs, you provide the Outposts access point ARN in place of
10431
- # the bucket name. For more information about S3 on Outposts ARNs, see
10432
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
10426
+ # When you use this action with S3 on Outposts, the destination bucket
10427
+ # must be the Outposts access point ARN or the access point alias. For
10428
+ # more information about S3 on Outposts, see [What is S3 on
10429
+ # Outposts?][3] in the *Amazon S3 User Guide*.
10433
10430
  #
10434
10431
  #
10435
10432
  #
@@ -10645,6 +10642,7 @@ module Aws::S3
10645
10642
  # * {Types::HeadObjectOutput#content_encoding #content_encoding} => String
10646
10643
  # * {Types::HeadObjectOutput#content_language #content_language} => String
10647
10644
  # * {Types::HeadObjectOutput#content_type #content_type} => String
10645
+ # * {Types::HeadObjectOutput#content_range #content_range} => String
10648
10646
  # * {Types::HeadObjectOutput#expires #expires} => Time
10649
10647
  # * {Types::HeadObjectOutput#expires_string #expires_string} => String
10650
10648
  # * {Types::HeadObjectOutput#website_redirect_location #website_redirect_location} => String
@@ -10733,6 +10731,7 @@ module Aws::S3
10733
10731
  # resp.content_encoding #=> String
10734
10732
  # resp.content_language #=> String
10735
10733
  # resp.content_type #=> String
10734
+ # resp.content_range #=> String
10736
10735
  # resp.expires #=> Time
10737
10736
  # resp.expires_string #=> String
10738
10737
  # resp.website_redirect_location #=> String
@@ -11314,7 +11313,7 @@ module Aws::S3
11314
11313
  # about endpoints in Availability Zones, see [Regional and Zonal
11315
11314
  # endpoints for directory buckets in Availability Zones][2] in the
11316
11315
  # *Amazon S3 User Guide*. For more information about endpoints in Local
11317
- # Zones, see [Available Local Zone for directory buckets][3] in the
11316
+ # Zones, see [Concepts for directory buckets in Local Zones][3] in the
11318
11317
  # *Amazon S3 User Guide*.
11319
11318
  #
11320
11319
  # </note>
@@ -11343,7 +11342,7 @@ module Aws::S3
11343
11342
  #
11344
11343
  #
11345
11344
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html
11346
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
11345
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
11347
11346
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
11348
11347
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
11349
11348
  #
@@ -11433,13 +11432,13 @@ module Aws::S3
11433
11432
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
11434
11433
  # for this API operation to the Zonal endpoint. These endpoints support
11435
11434
  # virtual-hosted-style requests in the format
11436
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
11435
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
11437
11436
  # `. Path-style requests are not supported. For more information about
11438
11437
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
11439
11438
  # directory buckets in Availability Zones][2] in the *Amazon S3 User
11440
11439
  # Guide*. For more information about endpoints in Local Zones, see
11441
- # [Available Local Zone for directory buckets][3] in the *Amazon S3 User
11442
- # Guide*.
11440
+ # [Concepts for directory buckets in Local Zones][3] in the *Amazon S3
11441
+ # User Guide*.
11443
11442
  #
11444
11443
  # </note>
11445
11444
  #
@@ -11500,7 +11499,7 @@ module Aws::S3
11500
11499
  #
11501
11500
  #
11502
11501
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
11503
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
11502
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
11504
11503
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
11505
11504
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
11506
11505
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -11519,7 +11518,7 @@ module Aws::S3
11519
11518
  # requests are not supported. Directory bucket names must be unique in
11520
11519
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
11521
11520
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
11522
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
11521
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
11523
11522
  # naming restrictions, see [Directory bucket naming rules][1] in the
11524
11523
  # *Amazon S3 User Guide*.
11525
11524
  #
@@ -11539,14 +11538,14 @@ module Aws::S3
11539
11538
  #
11540
11539
  # </note>
11541
11540
  #
11542
- # **S3 on Outposts** - When you use this action with Amazon S3 on
11543
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
11544
- # S3 on Outposts hostname takes the form `
11541
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
11542
+ # must direct requests to the S3 on Outposts hostname. The S3 on
11543
+ # Outposts hostname takes the form `
11545
11544
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
11546
- # When you use this action with S3 on Outposts through the Amazon Web
11547
- # Services SDKs, you provide the Outposts access point ARN in place of
11548
- # the bucket name. For more information about S3 on Outposts ARNs, see
11549
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
11545
+ # When you use this action with S3 on Outposts, the destination bucket
11546
+ # must be the Outposts access point ARN or the access point alias. For
11547
+ # more information about S3 on Outposts, see [What is S3 on
11548
+ # Outposts?][3] in the *Amazon S3 User Guide*.
11550
11549
  #
11551
11550
  #
11552
11551
  #
@@ -11689,97 +11688,97 @@ module Aws::S3
11689
11688
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
11690
11689
  #
11691
11690
  #
11692
- # @example Example: List next set of multipart uploads when previous result is truncated
11691
+ # @example Example: To list in-progress multipart uploads on a bucket
11693
11692
  #
11694
- # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
11695
- # # setup of multipart uploads.
11693
+ # # The following example lists in-progress multipart uploads on a specific bucket.
11696
11694
  #
11697
11695
  # resp = client.list_multipart_uploads({
11698
11696
  # bucket: "examplebucket",
11699
- # key_marker: "nextkeyfrompreviousresponse",
11700
- # max_uploads: 2,
11701
- # upload_id_marker: "valuefrompreviousresponse",
11702
11697
  # })
11703
11698
  #
11704
11699
  # resp.to_h outputs the following:
11705
11700
  # {
11706
- # bucket: "acl1",
11707
- # is_truncated: true,
11708
- # key_marker: "",
11709
- # max_uploads: 2,
11710
- # next_key_marker: "someobjectkey",
11711
- # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11712
- # upload_id_marker: "",
11713
11701
  # uploads: [
11714
11702
  # {
11715
11703
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
11716
11704
  # initiator: {
11717
- # display_name: "ownder-display-name",
11705
+ # display_name: "display-name",
11718
11706
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11719
11707
  # },
11720
11708
  # key: "JavaFile",
11721
11709
  # owner: {
11722
- # display_name: "mohanataws",
11723
- # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11710
+ # display_name: "display-name",
11711
+ # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11724
11712
  # },
11725
11713
  # storage_class: "STANDARD",
11726
- # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
11714
+ # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
11727
11715
  # },
11728
11716
  # {
11729
11717
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
11730
11718
  # initiator: {
11731
- # display_name: "ownder-display-name",
11719
+ # display_name: "display-name",
11732
11720
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11733
11721
  # },
11734
11722
  # key: "JavaFile",
11735
11723
  # owner: {
11736
- # display_name: "ownder-display-name",
11724
+ # display_name: "display-name",
11737
11725
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11738
11726
  # },
11739
11727
  # storage_class: "STANDARD",
11740
- # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11728
+ # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11741
11729
  # },
11742
11730
  # ],
11743
11731
  # }
11744
11732
  #
11745
- # @example Example: To list in-progress multipart uploads on a bucket
11733
+ # @example Example: List next set of multipart uploads when previous result is truncated
11746
11734
  #
11747
- # # The following example lists in-progress multipart uploads on a specific bucket.
11735
+ # # The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next
11736
+ # # setup of multipart uploads.
11748
11737
  #
11749
11738
  # resp = client.list_multipart_uploads({
11750
11739
  # bucket: "examplebucket",
11740
+ # key_marker: "nextkeyfrompreviousresponse",
11741
+ # max_uploads: 2,
11742
+ # upload_id_marker: "valuefrompreviousresponse",
11751
11743
  # })
11752
11744
  #
11753
11745
  # resp.to_h outputs the following:
11754
11746
  # {
11747
+ # bucket: "acl1",
11748
+ # is_truncated: true,
11749
+ # key_marker: "",
11750
+ # max_uploads: 2,
11751
+ # next_key_marker: "someobjectkey",
11752
+ # next_upload_id_marker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11753
+ # upload_id_marker: "",
11755
11754
  # uploads: [
11756
11755
  # {
11757
11756
  # initiated: Time.parse("2014-05-01T05:40:58.000Z"),
11758
11757
  # initiator: {
11759
- # display_name: "display-name",
11758
+ # display_name: "ownder-display-name",
11760
11759
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11761
11760
  # },
11762
11761
  # key: "JavaFile",
11763
11762
  # owner: {
11764
- # display_name: "display-name",
11765
- # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11763
+ # display_name: "mohanataws",
11764
+ # id: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11766
11765
  # },
11767
11766
  # storage_class: "STANDARD",
11768
- # upload_id: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
11767
+ # upload_id: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--",
11769
11768
  # },
11770
11769
  # {
11771
11770
  # initiated: Time.parse("2014-05-01T05:41:27.000Z"),
11772
11771
  # initiator: {
11773
- # display_name: "display-name",
11772
+ # display_name: "ownder-display-name",
11774
11773
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11775
11774
  # },
11776
11775
  # key: "JavaFile",
11777
11776
  # owner: {
11778
- # display_name: "display-name",
11777
+ # display_name: "ownder-display-name",
11779
11778
  # id: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
11780
11779
  # },
11781
11780
  # storage_class: "STANDARD",
11782
- # upload_id: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11781
+ # upload_id: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
11783
11782
  # },
11784
11783
  # ],
11785
11784
  # }
@@ -12117,7 +12116,7 @@ module Aws::S3
12117
12116
  # requests are not supported. Directory bucket names must be unique in
12118
12117
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
12119
12118
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
12120
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
12119
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
12121
12120
  # naming restrictions, see [Directory bucket naming rules][1] in the
12122
12121
  # *Amazon S3 User Guide*.
12123
12122
  #
@@ -12137,14 +12136,14 @@ module Aws::S3
12137
12136
  #
12138
12137
  # </note>
12139
12138
  #
12140
- # **S3 on Outposts** - When you use this action with Amazon S3 on
12141
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
12142
- # S3 on Outposts hostname takes the form `
12139
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
12140
+ # must direct requests to the S3 on Outposts hostname. The S3 on
12141
+ # Outposts hostname takes the form `
12143
12142
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
12144
- # When you use this action with S3 on Outposts through the Amazon Web
12145
- # Services SDKs, you provide the Outposts access point ARN in place of
12146
- # the bucket name. For more information about S3 on Outposts ARNs, see
12147
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
12143
+ # When you use this action with S3 on Outposts, the destination bucket
12144
+ # must be the Outposts access point ARN or the access point alias. For
12145
+ # more information about S3 on Outposts, see [What is S3 on
12146
+ # Outposts?][3] in the *Amazon S3 User Guide*.
12148
12147
  #
12149
12148
  #
12150
12149
  #
@@ -12329,13 +12328,13 @@ module Aws::S3
12329
12328
  # * **Directory buckets** - For directory buckets, you must make
12330
12329
  # requests for this API operation to the Zonal endpoint. These
12331
12330
  # endpoints support virtual-hosted-style requests in the format
12332
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
12331
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
12333
12332
  # `. Path-style requests are not supported. For more information about
12334
12333
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
12335
12334
  # for directory buckets in Availability Zones][3] in the *Amazon S3
12336
12335
  # User Guide*. For more information about endpoints in Local Zones,
12337
- # see [Available Local Zone for directory buckets][4] in the *Amazon
12338
- # S3 User Guide*.
12336
+ # see [Concepts for directory buckets in Local Zones][4] in the
12337
+ # *Amazon S3 User Guide*.
12339
12338
  #
12340
12339
  # </note>
12341
12340
  #
@@ -12393,7 +12392,7 @@ module Aws::S3
12393
12392
  #
12394
12393
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html
12395
12394
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
12396
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
12395
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
12397
12396
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
12398
12397
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
12399
12398
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
@@ -12410,7 +12409,7 @@ module Aws::S3
12410
12409
  # requests are not supported. Directory bucket names must be unique in
12411
12410
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
12412
12411
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
12413
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
12412
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
12414
12413
  # naming restrictions, see [Directory bucket naming rules][1] in the
12415
12414
  # *Amazon S3 User Guide*.
12416
12415
  #
@@ -12430,14 +12429,14 @@ module Aws::S3
12430
12429
  #
12431
12430
  # </note>
12432
12431
  #
12433
- # **S3 on Outposts** - When you use this action with Amazon S3 on
12434
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
12435
- # S3 on Outposts hostname takes the form `
12432
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
12433
+ # must direct requests to the S3 on Outposts hostname. The S3 on
12434
+ # Outposts hostname takes the form `
12436
12435
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
12437
- # When you use this action with S3 on Outposts through the Amazon Web
12438
- # Services SDKs, you provide the Outposts access point ARN in place of
12439
- # the bucket name. For more information about S3 on Outposts ARNs, see
12440
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
12436
+ # When you use this action with S3 on Outposts, the destination bucket
12437
+ # must be the Outposts access point ARN or the access point alias. For
12438
+ # more information about S3 on Outposts, see [What is S3 on
12439
+ # Outposts?][3] in the *Amazon S3 User Guide*.
12441
12440
  #
12442
12441
  #
12443
12442
  #
@@ -12678,13 +12677,13 @@ module Aws::S3
12678
12677
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
12679
12678
  # for this API operation to the Zonal endpoint. These endpoints support
12680
12679
  # virtual-hosted-style requests in the format
12681
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
12680
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
12682
12681
  # `. Path-style requests are not supported. For more information about
12683
12682
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
12684
12683
  # directory buckets in Availability Zones][3] in the *Amazon S3 User
12685
12684
  # Guide*. For more information about endpoints in Local Zones, see
12686
- # [Available Local Zone for directory buckets][4] in the *Amazon S3 User
12687
- # Guide*.
12685
+ # [Concepts for directory buckets in Local Zones][4] in the *Amazon S3
12686
+ # User Guide*.
12688
12687
  #
12689
12688
  # </note>
12690
12689
  #
@@ -12738,7 +12737,7 @@ module Aws::S3
12738
12737
  #
12739
12738
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
12740
12739
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
12741
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
12740
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
12742
12741
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
12743
12742
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
12744
12743
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
@@ -12757,7 +12756,7 @@ module Aws::S3
12757
12756
  # requests are not supported. Directory bucket names must be unique in
12758
12757
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
12759
12758
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
12760
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
12759
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
12761
12760
  # naming restrictions, see [Directory bucket naming rules][1] in the
12762
12761
  # *Amazon S3 User Guide*.
12763
12762
  #
@@ -12777,14 +12776,14 @@ module Aws::S3
12777
12776
  #
12778
12777
  # </note>
12779
12778
  #
12780
- # **S3 on Outposts** - When you use this action with Amazon S3 on
12781
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
12782
- # S3 on Outposts hostname takes the form `
12779
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
12780
+ # must direct requests to the S3 on Outposts hostname. The S3 on
12781
+ # Outposts hostname takes the form `
12783
12782
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
12784
- # When you use this action with S3 on Outposts through the Amazon Web
12785
- # Services SDKs, you provide the Outposts access point ARN in place of
12786
- # the bucket name. For more information about S3 on Outposts ARNs, see
12787
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
12783
+ # When you use this action with S3 on Outposts, the destination bucket
12784
+ # must be the Outposts access point ARN or the access point alias. For
12785
+ # more information about S3 on Outposts, see [What is S3 on
12786
+ # Outposts?][3] in the *Amazon S3 User Guide*.
12788
12787
  #
12789
12788
  #
12790
12789
  #
@@ -13045,7 +13044,7 @@ module Aws::S3
13045
13044
  # fails with the HTTP status code `403 Forbidden` (access denied).
13046
13045
  #
13047
13046
  # @option params [String] :checksum_algorithm
13048
- # Indicates the algorithm used to create the checksum for the object
13047
+ # Indicates the algorithm used to create the checksum for the request
13049
13048
  # when you use the SDK. This header will not provide any additional
13050
13049
  # functionality if you don't use the SDK. When you send this header,
13051
13050
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -13280,7 +13279,7 @@ module Aws::S3
13280
13279
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
13281
13280
  #
13282
13281
  # @option params [String] :checksum_algorithm
13283
- # Indicates the algorithm used to create the checksum for the object
13282
+ # Indicates the algorithm used to create the checksum for the request
13284
13283
  # when you use the SDK. This header will not provide any additional
13285
13284
  # functionality if you don't use the SDK. When you send this header,
13286
13285
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -13596,7 +13595,7 @@ module Aws::S3
13596
13595
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
13597
13596
  #
13598
13597
  # @option params [String] :checksum_algorithm
13599
- # Indicates the algorithm used to create the checksum for the object
13598
+ # Indicates the algorithm used to create the checksum for the request
13600
13599
  # when you use the SDK. This header will not provide any additional
13601
13600
  # functionality if you don't use the SDK. When you send this header,
13602
13601
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -13703,7 +13702,7 @@ module Aws::S3
13703
13702
  # about endpoints in Availability Zones, see [Regional and Zonal
13704
13703
  # endpoints for directory buckets in Availability Zones][1] in the
13705
13704
  # *Amazon S3 User Guide*. For more information about endpoints in Local
13706
- # Zones, see [Available Local Zone for directory buckets][2] in the
13705
+ # Zones, see [Concepts for directory buckets in Local Zones][2] in the
13707
13706
  # *Amazon S3 User Guide*.
13708
13707
  #
13709
13708
  # </note>
@@ -13740,8 +13739,8 @@ module Aws::S3
13740
13739
  # object uploads][5].
13741
13740
  #
13742
13741
  # * Your SSE-KMS configuration can only support 1 [customer managed
13743
- # key][6] per directory bucket for the lifetime of the bucket. The
13744
- # [Amazon Web Services managed key][7] (`aws/s3`) isn't supported.
13742
+ # key][6] per directory bucket's lifetime. The [Amazon Web Services
13743
+ # managed key][7] (`aws/s3`) isn't supported.
13745
13744
  #
13746
13745
  # * S3 Bucket Keys are always enabled for `GET` and `PUT` operations
13747
13746
  # in a directory bucket and can’t be disabled. S3 Bucket Keys
@@ -13811,7 +13810,7 @@ module Aws::S3
13811
13810
  #
13812
13811
  #
13813
13812
  #
13814
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
13813
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
13815
13814
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
13816
13815
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
13817
13816
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
@@ -13861,7 +13860,7 @@ module Aws::S3
13861
13860
  # </note>
13862
13861
  #
13863
13862
  # @option params [String] :checksum_algorithm
13864
- # Indicates the algorithm used to create the checksum for the object
13863
+ # Indicates the algorithm used to create the checksum for the request
13865
13864
  # when you use the SDK. This header will not provide any additional
13866
13865
  # functionality if you don't use the SDK. When you send this header,
13867
13866
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -14285,7 +14284,7 @@ module Aws::S3
14285
14284
  # automatically.
14286
14285
  #
14287
14286
  # @option params [String] :checksum_algorithm
14288
- # Indicates the algorithm used to create the checksum for the object
14287
+ # Indicates the algorithm used to create the checksum for the request
14289
14288
  # when you use the SDK. This header will not provide any additional
14290
14289
  # functionality if you don't use the SDK. When you send this header,
14291
14290
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -14460,8 +14459,8 @@ module Aws::S3
14460
14459
  # information about endpoints in Availability Zones, see [Regional
14461
14460
  # and Zonal endpoints for directory buckets in Availability
14462
14461
  # Zones][7] in the *Amazon S3 User Guide*. For more information
14463
- # about endpoints in Local Zones, see [Available Local Zone for
14464
- # directory buckets][8] in the *Amazon S3 User Guide*.
14462
+ # about endpoints in Local Zones, see [Concepts for directory
14463
+ # buckets in Local Zones][8] in the *Amazon S3 User Guide*.
14465
14464
  #
14466
14465
  # </note>
14467
14466
  #
@@ -14483,7 +14482,7 @@ module Aws::S3
14483
14482
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html
14484
14483
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
14485
14484
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
14486
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
14485
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
14487
14486
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
14488
14487
  # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
14489
14488
  # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
@@ -14492,7 +14491,7 @@ module Aws::S3
14492
14491
  # The name of the bucket for which to set the configuration.
14493
14492
  #
14494
14493
  # @option params [String] :checksum_algorithm
14495
- # Indicates the algorithm used to create the checksum for the object
14494
+ # Indicates the algorithm used to create the checksum for the request
14496
14495
  # when you use the SDK. This header will not provide any additional
14497
14496
  # functionality if you don't use the SDK. When you send this header,
14498
14497
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -14745,7 +14744,7 @@ module Aws::S3
14745
14744
  # automatically.
14746
14745
  #
14747
14746
  # @option params [String] :checksum_algorithm
14748
- # Indicates the algorithm used to create the checksum for the object
14747
+ # Indicates the algorithm used to create the checksum for the request
14749
14748
  # when you use the SDK. This header will not provide any additional
14750
14749
  # functionality if you don't use the SDK. When you send this header,
14751
14750
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -14961,7 +14960,7 @@ module Aws::S3
14961
14960
  # automatically.
14962
14961
  #
14963
14962
  # @option params [String] :checksum_algorithm
14964
- # Indicates the algorithm used to create the checksum for the object
14963
+ # Indicates the algorithm used to create the checksum for the request
14965
14964
  # when you use the SDK. This header will not provide any additional
14966
14965
  # functionality if you don't use the SDK. When you send this header,
14967
14966
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -15288,7 +15287,7 @@ module Aws::S3
15288
15287
  # about endpoints in Availability Zones, see [Regional and Zonal
15289
15288
  # endpoints for directory buckets in Availability Zones][1] in the
15290
15289
  # *Amazon S3 User Guide*. For more information about endpoints in Local
15291
- # Zones, see [Available Local Zone for directory buckets][2] in the
15290
+ # Zones, see [Concepts for directory buckets in Local Zones][2] in the
15292
15291
  # *Amazon S3 User Guide*.
15293
15292
  #
15294
15293
  # </note>
@@ -15352,7 +15351,7 @@ module Aws::S3
15352
15351
  #
15353
15352
  #
15354
15353
  #
15355
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
15354
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
15356
15355
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
15357
15356
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html
15358
15357
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
@@ -15391,7 +15390,7 @@ module Aws::S3
15391
15390
  # </note>
15392
15391
  #
15393
15392
  # @option params [String] :checksum_algorithm
15394
- # Indicates the algorithm used to create the checksum for the object
15393
+ # Indicates the algorithm used to create the checksum for the request
15395
15394
  # when you use the SDK. This header will not provide any additional
15396
15395
  # functionality if you don't use the SDK. When you send this header,
15397
15396
  # there must be a corresponding `x-amz-checksum-algorithm ` or
@@ -15401,15 +15400,15 @@ module Aws::S3
15401
15400
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
15402
15401
  # the supported algorithm from the following list:
15403
15402
  #
15404
- # * `CRC-32`
15403
+ # * `CRC32`
15405
15404
  #
15406
- # * `CRC-32C`
15405
+ # * `CRC32C`
15407
15406
  #
15408
- # * `CRC-64NVME`
15407
+ # * `CRC64NVME`
15409
15408
  #
15410
- # * `SHA-1`
15409
+ # * `SHA1`
15411
15410
  #
15412
- # * `SHA-256`
15411
+ # * `SHA256`
15413
15412
  #
15414
15413
  # For more information, see [Checking object integrity][1] in the
15415
15414
  # *Amazon S3 User Guide*.
@@ -15589,7 +15588,7 @@ module Aws::S3
15589
15588
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
15590
15589
  #
15591
15590
  # @option params [String] :checksum_algorithm
15592
- # Indicates the algorithm used to create the checksum for the object
15591
+ # Indicates the algorithm used to create the checksum for the request
15593
15592
  # when you use the SDK. This header will not provide any additional
15594
15593
  # functionality if you don't use the SDK. When you send this header,
15595
15594
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -15762,7 +15761,7 @@ module Aws::S3
15762
15761
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
15763
15762
  #
15764
15763
  # @option params [String] :checksum_algorithm
15765
- # Indicates the algorithm used to create the checksum for the object
15764
+ # Indicates the algorithm used to create the checksum for the request
15766
15765
  # when you use the SDK. This header will not provide any additional
15767
15766
  # functionality if you don't use the SDK. When you send this header,
15768
15767
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -15899,7 +15898,7 @@ module Aws::S3
15899
15898
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
15900
15899
  #
15901
15900
  # @option params [String] :checksum_algorithm
15902
- # Indicates the algorithm used to create the checksum for the object
15901
+ # Indicates the algorithm used to create the checksum for the request
15903
15902
  # when you use the SDK. This header will not provide any additional
15904
15903
  # functionality if you don't use the SDK. When you send this header,
15905
15904
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -16047,7 +16046,7 @@ module Aws::S3
16047
16046
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
16048
16047
  #
16049
16048
  # @option params [String] :checksum_algorithm
16050
- # Indicates the algorithm used to create the checksum for the object
16049
+ # Indicates the algorithm used to create the checksum for the request
16051
16050
  # when you use the SDK. This header will not provide any additional
16052
16051
  # functionality if you don't use the SDK. When you send this header,
16053
16052
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -16208,7 +16207,7 @@ module Aws::S3
16208
16207
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
16209
16208
  #
16210
16209
  # @option params [String] :checksum_algorithm
16211
- # Indicates the algorithm used to create the checksum for the object
16210
+ # Indicates the algorithm used to create the checksum for the request
16212
16211
  # when you use the SDK. This header will not provide any additional
16213
16212
  # functionality if you don't use the SDK. When you send this header,
16214
16213
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -16312,13 +16311,13 @@ module Aws::S3
16312
16311
  # * **Directory buckets** - For directory buckets, you must make
16313
16312
  # requests for this API operation to the Zonal endpoint. These
16314
16313
  # endpoints support virtual-hosted-style requests in the format
16315
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
16314
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
16316
16315
  # `. Path-style requests are not supported. For more information about
16317
16316
  # endpoints in Availability Zones, see [Regional and Zonal endpoints
16318
16317
  # for directory buckets in Availability Zones][1] in the *Amazon S3
16319
16318
  # User Guide*. For more information about endpoints in Local Zones,
16320
- # see [Available Local Zone for directory buckets][2] in the *Amazon
16321
- # S3 User Guide*.
16319
+ # see [Concepts for directory buckets in Local Zones][2] in the
16320
+ # *Amazon S3 User Guide*.
16322
16321
  #
16323
16322
  # </note>
16324
16323
  #
@@ -16335,6 +16334,23 @@ module Aws::S3
16335
16334
  #
16336
16335
  # </note>
16337
16336
  #
16337
+ # * **If-None-Match** - Uploads the object only if the object key name
16338
+ # does not already exist in the specified bucket. Otherwise, Amazon S3
16339
+ # returns a `412 Precondition Failed` error. If a conflicting
16340
+ # operation occurs during the upload, S3 returns a `409
16341
+ # ConditionalRequestConflict` response. On a 409 failure, retry the
16342
+ # upload.
16343
+ #
16344
+ # Expects the * character (asterisk).
16345
+ #
16346
+ # For more information, see [Add preconditions to S3 operations with
16347
+ # conditional requests][4] in the *Amazon S3 User Guide* or [RFC
16348
+ # 7232][5].
16349
+ #
16350
+ # <note markdown="1"> This functionality is not supported for S3 on Outposts.
16351
+ #
16352
+ # </note>
16353
+ #
16338
16354
  # * **S3 Versioning** - When you enable versioning for a bucket, if
16339
16355
  # Amazon S3 receives multiple write requests for the same object
16340
16356
  # simultaneously, it stores all versions of the objects. For each
@@ -16342,9 +16358,9 @@ module Aws::S3
16342
16358
  # automatically generates a unique version ID of that object being
16343
16359
  # stored in Amazon S3. You can retrieve, replace, or delete any
16344
16360
  # version of the object. For more information about versioning, see
16345
- # [Adding Objects to Versioning-Enabled Buckets][4] in the *Amazon S3
16361
+ # [Adding Objects to Versioning-Enabled Buckets][6] in the *Amazon S3
16346
16362
  # User Guide*. For information about returning the versioning state of
16347
- # a bucket, see [GetBucketVersioning][5].
16363
+ # a bucket, see [GetBucketVersioning][7].
16348
16364
  #
16349
16365
  # <note markdown="1"> This functionality is not supported for directory buckets.
16350
16366
  #
@@ -16368,7 +16384,7 @@ module Aws::S3
16368
16384
  # `s3:PutObjectTagging`.
16369
16385
  # * **Directory bucket permissions** - To grant access to this API
16370
16386
  # operation on a directory bucket, we recommend that you use the [
16371
- # `CreateSession` ][6] API operation for session-based
16387
+ # `CreateSession` ][8] API operation for session-based
16372
16388
  # authorization. Specifically, you grant the
16373
16389
  # `s3express:CreateSession` permission to the directory bucket in a
16374
16390
  # bucket policy or an IAM identity-based policy. Then, you make the
@@ -16379,7 +16395,7 @@ module Aws::S3
16379
16395
  # token for use. Amazon Web Services CLI or SDKs create session and
16380
16396
  # refresh the session token automatically to avoid service
16381
16397
  # interruptions when a session expires. For more information about
16382
- # authorization, see [ `CreateSession` ][6].
16398
+ # authorization, see [ `CreateSession` ][8].
16383
16399
  #
16384
16400
  # If the object is encrypted with SSE-KMS, you must also have the
16385
16401
  # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
@@ -16404,20 +16420,22 @@ module Aws::S3
16404
16420
  #
16405
16421
  # For more information about related Amazon S3 APIs, see the following:
16406
16422
  #
16407
- # * [CopyObject][7]
16423
+ # * [CopyObject][9]
16408
16424
  #
16409
- # * [DeleteObject][8]
16425
+ # * [DeleteObject][10]
16410
16426
  #
16411
16427
  #
16412
16428
  #
16413
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
16429
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
16414
16430
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
16415
16431
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
16416
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html
16417
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html
16418
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
16419
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
16420
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
16432
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
16433
+ # [5]: https://datatracker.ietf.org/doc/rfc7232/
16434
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html
16435
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html
16436
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
16437
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
16438
+ # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html
16421
16439
  #
16422
16440
  # @option params [String] :acl
16423
16441
  # The canned ACL to apply to the object. For more information, see
@@ -16469,7 +16487,7 @@ module Aws::S3
16469
16487
  # requests are not supported. Directory bucket names must be unique in
16470
16488
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
16471
16489
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
16472
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
16490
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
16473
16491
  # naming restrictions, see [Directory bucket naming rules][1] in the
16474
16492
  # *Amazon S3 User Guide*.
16475
16493
  #
@@ -16489,14 +16507,14 @@ module Aws::S3
16489
16507
  #
16490
16508
  # </note>
16491
16509
  #
16492
- # **S3 on Outposts** - When you use this action with Amazon S3 on
16493
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
16494
- # S3 on Outposts hostname takes the form `
16510
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
16511
+ # must direct requests to the S3 on Outposts hostname. The S3 on
16512
+ # Outposts hostname takes the form `
16495
16513
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
16496
- # When you use this action with S3 on Outposts through the Amazon Web
16497
- # Services SDKs, you provide the Outposts access point ARN in place of
16498
- # the bucket name. For more information about S3 on Outposts ARNs, see
16499
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
16514
+ # When you use this action with S3 on Outposts, the destination bucket
16515
+ # must be the Outposts access point ARN or the access point alias. For
16516
+ # more information about S3 on Outposts, see [What is S3 on
16517
+ # Outposts?][3] in the *Amazon S3 User Guide*.
16500
16518
  #
16501
16519
  #
16502
16520
  #
@@ -16590,15 +16608,15 @@ module Aws::S3
16590
16608
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
16591
16609
  # the supported algorithm from the following list:
16592
16610
  #
16593
- # * `CRC-32`
16611
+ # * `CRC32`
16594
16612
  #
16595
- # * `CRC-32C`
16613
+ # * `CRC32C`
16596
16614
  #
16597
- # * `CRC-64NVME`
16615
+ # * `CRC64NVME`
16598
16616
  #
16599
- # * `SHA-1`
16617
+ # * `SHA1`
16600
16618
  #
16601
- # * `SHA-256`
16619
+ # * `SHA256`
16602
16620
  #
16603
16621
  # For more information, see [Checking object integrity][1] in the
16604
16622
  # *Amazon S3 User Guide*.
@@ -16627,7 +16645,7 @@ module Aws::S3
16627
16645
  # @option params [String] :checksum_crc32
16628
16646
  # This header can be used as a data integrity check to verify that the
16629
16647
  # data received is the same data that was originally sent. This header
16630
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
16648
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
16631
16649
  # For more information, see [Checking object integrity][1] in the
16632
16650
  # *Amazon S3 User Guide*.
16633
16651
  #
@@ -16638,7 +16656,7 @@ module Aws::S3
16638
16656
  # @option params [String] :checksum_crc32c
16639
16657
  # This header can be used as a data integrity check to verify that the
16640
16658
  # data received is the same data that was originally sent. This header
16641
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
16659
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
16642
16660
  # For more information, see [Checking object integrity][1] in the
16643
16661
  # *Amazon S3 User Guide*.
16644
16662
  #
@@ -16649,10 +16667,10 @@ module Aws::S3
16649
16667
  # @option params [String] :checksum_crc64nvme
16650
16668
  # This header can be used as a data integrity check to verify that the
16651
16669
  # data received is the same data that was originally sent. This header
16652
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
16653
- # object. The `CRC-64NVME` checksum is always a full object checksum.
16654
- # For more information, see [Checking object integrity in the Amazon S3
16655
- # User Guide][1].
16670
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
16671
+ # object. The `CRC64NVME` checksum is always a full object checksum. For
16672
+ # more information, see [Checking object integrity in the Amazon S3 User
16673
+ # Guide][1].
16656
16674
  #
16657
16675
  #
16658
16676
  #
@@ -16661,9 +16679,9 @@ module Aws::S3
16661
16679
  # @option params [String] :checksum_sha1
16662
16680
  # This header can be used as a data integrity check to verify that the
16663
16681
  # data received is the same data that was originally sent. This header
16664
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
16665
- # For more information, see [Checking object integrity][1] in the
16666
- # *Amazon S3 User Guide*.
16682
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
16683
+ # more information, see [Checking object integrity][1] in the *Amazon S3
16684
+ # User Guide*.
16667
16685
  #
16668
16686
  #
16669
16687
  #
@@ -16672,7 +16690,7 @@ module Aws::S3
16672
16690
  # @option params [String] :checksum_sha256
16673
16691
  # This header can be used as a data integrity check to verify that the
16674
16692
  # data received is the same data that was originally sent. This header
16675
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
16693
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
16676
16694
  # For more information, see [Checking object integrity][1] in the
16677
16695
  # *Amazon S3 User Guide*.
16678
16696
  #
@@ -16938,20 +16956,17 @@ module Aws::S3
16938
16956
  # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
16939
16957
  # Amazon Web Services managed key (`aws/s3`) to protect the data.
16940
16958
  #
16941
- # **Directory buckets** - If you specify `x-amz-server-side-encryption`
16942
- # with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
16943
- # header is implicitly assigned the ID of the KMS symmetric encryption
16944
- # customer managed key that's configured for your directory bucket's
16945
- # default encryption setting. If you want to specify the `
16946
- # x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
16947
- # can only specify it with the ID (Key ID or Key ARN) of the KMS
16948
- # customer managed key that's configured for your directory bucket's
16949
- # default encryption setting. Otherwise, you get an HTTP `400 Bad
16950
- # Request` error. Only use the key ID or key ARN. The key alias format
16951
- # of the KMS key isn't supported. Your SSE-KMS configuration can only
16952
- # support 1 [customer managed key][1] per directory bucket for the
16953
- # lifetime of the bucket. The [Amazon Web Services managed key][2]
16954
- # (`aws/s3`) isn't supported.
16959
+ # **Directory buckets** - To encrypt data using SSE-KMS, it's
16960
+ # recommended to specify the `x-amz-server-side-encryption` header to
16961
+ # `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
16962
+ # header implicitly uses the bucket's default KMS customer managed key
16963
+ # ID. If you want to explicitly set the `
16964
+ # x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
16965
+ # bucket's default customer managed key (using key ID or ARN, not
16966
+ # alias). Your SSE-KMS configuration can only support 1 [customer
16967
+ # managed key][1] per directory bucket's lifetime. The [Amazon Web
16968
+ # Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
16969
+ # specification results in an HTTP `400 Bad Request` error.
16955
16970
  #
16956
16971
  #
16957
16972
  #
@@ -17087,76 +17102,75 @@ module Aws::S3
17087
17102
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
17088
17103
  #
17089
17104
  #
17090
- # @example Example: To create an object.
17105
+ # @example Example: To upload an object
17091
17106
  #
17092
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
17107
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
17108
+ # # syntax. S3 returns VersionId of the newly created object.
17093
17109
  #
17094
17110
  # resp = client.put_object({
17095
- # body: "filetoupload",
17111
+ # body: "HappyFace.jpg",
17096
17112
  # bucket: "examplebucket",
17097
- # key: "objectkey",
17113
+ # key: "HappyFace.jpg",
17098
17114
  # })
17099
17115
  #
17100
17116
  # resp.to_h outputs the following:
17101
17117
  # {
17102
17118
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17103
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
17119
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
17104
17120
  # }
17105
17121
  #
17106
- # @example Example: To upload an object and specify optional tags
17122
+ # @example Example: To upload an object (specify optional headers)
17107
17123
  #
17108
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
17109
- # # S3 returns version ID of the newly created object.
17124
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
17125
+ # # storage class and use server-side encryption.
17110
17126
  #
17111
17127
  # resp = client.put_object({
17112
- # body: "c:\\HappyFace.jpg",
17128
+ # body: "HappyFace.jpg",
17113
17129
  # bucket: "examplebucket",
17114
17130
  # key: "HappyFace.jpg",
17115
- # tagging: "key1=value1&key2=value2",
17131
+ # server_side_encryption: "AES256",
17132
+ # storage_class: "STANDARD_IA",
17116
17133
  # })
17117
17134
  #
17118
17135
  # resp.to_h outputs the following:
17119
17136
  # {
17120
17137
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17121
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
17138
+ # server_side_encryption: "AES256",
17139
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
17122
17140
  # }
17123
17141
  #
17124
- # @example Example: To upload object and specify user-defined metadata
17142
+ # @example Example: To create an object.
17125
17143
  #
17126
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
17127
- # # enabled, S3 returns version ID in response.
17144
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
17128
17145
  #
17129
17146
  # resp = client.put_object({
17130
17147
  # body: "filetoupload",
17131
17148
  # bucket: "examplebucket",
17132
- # key: "exampleobject",
17133
- # metadata: {
17134
- # "metadata1" => "value1",
17135
- # "metadata2" => "value2",
17136
- # },
17149
+ # key: "objectkey",
17137
17150
  # })
17138
17151
  #
17139
17152
  # resp.to_h outputs the following:
17140
17153
  # {
17141
17154
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17142
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
17155
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
17143
17156
  # }
17144
17157
  #
17145
- # @example Example: To upload an object
17158
+ # @example Example: To upload an object and specify optional tags
17146
17159
  #
17147
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
17148
- # # syntax. S3 returns VersionId of the newly created object.
17160
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
17161
+ # # S3 returns version ID of the newly created object.
17149
17162
  #
17150
17163
  # resp = client.put_object({
17151
- # body: "HappyFace.jpg",
17164
+ # body: "c:\\HappyFace.jpg",
17152
17165
  # bucket: "examplebucket",
17153
17166
  # key: "HappyFace.jpg",
17167
+ # tagging: "key1=value1&key2=value2",
17154
17168
  # })
17155
17169
  #
17156
17170
  # resp.to_h outputs the following:
17157
17171
  # {
17158
17172
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17159
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
17173
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
17160
17174
  # }
17161
17175
  #
17162
17176
  # @example Example: To upload an object and specify server-side encryption and object tags
@@ -17179,24 +17193,25 @@ module Aws::S3
17179
17193
  # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
17180
17194
  # }
17181
17195
  #
17182
- # @example Example: To upload an object (specify optional headers)
17196
+ # @example Example: To upload object and specify user-defined metadata
17183
17197
  #
17184
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
17185
- # # storage class and use server-side encryption.
17198
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
17199
+ # # enabled, S3 returns version ID in response.
17186
17200
  #
17187
17201
  # resp = client.put_object({
17188
- # body: "HappyFace.jpg",
17202
+ # body: "filetoupload",
17189
17203
  # bucket: "examplebucket",
17190
- # key: "HappyFace.jpg",
17191
- # server_side_encryption: "AES256",
17192
- # storage_class: "STANDARD_IA",
17204
+ # key: "exampleobject",
17205
+ # metadata: {
17206
+ # "metadata1" => "value1",
17207
+ # "metadata2" => "value2",
17208
+ # },
17193
17209
  # })
17194
17210
  #
17195
17211
  # resp.to_h outputs the following:
17196
17212
  # {
17197
17213
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
17198
- # server_side_encryption: "AES256",
17199
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
17214
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
17200
17215
  # }
17201
17216
  #
17202
17217
  # @example Example: To upload an object and specify canned ACL.
@@ -17494,14 +17509,14 @@ module Aws::S3
17494
17509
  # name. For more information about access point ARNs, see [Using access
17495
17510
  # points][1] in the *Amazon S3 User Guide*.
17496
17511
  #
17497
- # **S3 on Outposts** - When you use this action with Amazon S3 on
17498
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
17499
- # S3 on Outposts hostname takes the form `
17512
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
17513
+ # must direct requests to the S3 on Outposts hostname. The S3 on
17514
+ # Outposts hostname takes the form `
17500
17515
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
17501
- # When you use this action with S3 on Outposts through the Amazon Web
17502
- # Services SDKs, you provide the Outposts access point ARN in place of
17503
- # the bucket name. For more information about S3 on Outposts ARNs, see
17504
- # [What is S3 on Outposts?][2] in the *Amazon S3 User Guide*.
17516
+ # When you use this action with S3 on Outposts, the destination bucket
17517
+ # must be the Outposts access point ARN or the access point alias. For
17518
+ # more information about S3 on Outposts, see [What is S3 on
17519
+ # Outposts?][2] in the *Amazon S3 User Guide*.
17505
17520
  #
17506
17521
  #
17507
17522
  #
@@ -18103,14 +18118,14 @@ module Aws::S3
18103
18118
  # name. For more information about access point ARNs, see [Using access
18104
18119
  # points][1] in the *Amazon S3 User Guide*.
18105
18120
  #
18106
- # **S3 on Outposts** - When you use this action with Amazon S3 on
18107
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
18108
- # S3 on Outposts hostname takes the form `
18121
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
18122
+ # must direct requests to the S3 on Outposts hostname. The S3 on
18123
+ # Outposts hostname takes the form `
18109
18124
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
18110
- # When you use this action with S3 on Outposts through the Amazon Web
18111
- # Services SDKs, you provide the Outposts access point ARN in place of
18112
- # the bucket name. For more information about S3 on Outposts ARNs, see
18113
- # [What is S3 on Outposts?][2] in the *Amazon S3 User Guide*.
18125
+ # When you use this action with S3 on Outposts, the destination bucket
18126
+ # must be the Outposts access point ARN or the access point alias. For
18127
+ # more information about S3 on Outposts, see [What is S3 on
18128
+ # Outposts?][2] in the *Amazon S3 User Guide*.
18114
18129
  #
18115
18130
  #
18116
18131
  #
@@ -18535,14 +18550,14 @@ module Aws::S3
18535
18550
  # name. For more information about access point ARNs, see [Using access
18536
18551
  # points][1] in the *Amazon S3 User Guide*.
18537
18552
  #
18538
- # **S3 on Outposts** - When you use this action with Amazon S3 on
18539
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
18540
- # S3 on Outposts hostname takes the form `
18553
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
18554
+ # must direct requests to the S3 on Outposts hostname. The S3 on
18555
+ # Outposts hostname takes the form `
18541
18556
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
18542
- # When you use this action with S3 on Outposts through the Amazon Web
18543
- # Services SDKs, you provide the Outposts access point ARN in place of
18544
- # the bucket name. For more information about S3 on Outposts ARNs, see
18545
- # [What is S3 on Outposts?][2] in the *Amazon S3 User Guide*.
18557
+ # When you use this action with S3 on Outposts, the destination bucket
18558
+ # must be the Outposts access point ARN or the access point alias. For
18559
+ # more information about S3 on Outposts, see [What is S3 on
18560
+ # Outposts?][2] in the *Amazon S3 User Guide*.
18546
18561
  #
18547
18562
  #
18548
18563
  #
@@ -19181,13 +19196,13 @@ module Aws::S3
19181
19196
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
19182
19197
  # for this API operation to the Zonal endpoint. These endpoints support
19183
19198
  # virtual-hosted-style requests in the format
19184
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
19199
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
19185
19200
  # `. Path-style requests are not supported. For more information about
19186
19201
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
19187
19202
  # directory buckets in Availability Zones][5] in the *Amazon S3 User
19188
19203
  # Guide*. For more information about endpoints in Local Zones, see
19189
- # [Available Local Zone for directory buckets][6] in the *Amazon S3 User
19190
- # Guide*.
19204
+ # [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
19205
+ # User Guide*.
19191
19206
  #
19192
19207
  # </note>
19193
19208
  #
@@ -19321,7 +19336,7 @@ module Aws::S3
19321
19336
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
19322
19337
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html
19323
19338
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
19324
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
19339
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
19325
19340
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
19326
19341
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
19327
19342
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
@@ -19346,7 +19361,7 @@ module Aws::S3
19346
19361
  # requests are not supported. Directory bucket names must be unique in
19347
19362
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
19348
19363
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
19349
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
19364
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
19350
19365
  # naming restrictions, see [Directory bucket naming rules][1] in the
19351
19366
  # *Amazon S3 User Guide*.
19352
19367
  #
@@ -19366,14 +19381,14 @@ module Aws::S3
19366
19381
  #
19367
19382
  # </note>
19368
19383
  #
19369
- # **S3 on Outposts** - When you use this action with Amazon S3 on
19370
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
19371
- # S3 on Outposts hostname takes the form `
19384
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
19385
+ # must direct requests to the S3 on Outposts hostname. The S3 on
19386
+ # Outposts hostname takes the form `
19372
19387
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
19373
- # When you use this action with S3 on Outposts through the Amazon Web
19374
- # Services SDKs, you provide the Outposts access point ARN in place of
19375
- # the bucket name. For more information about S3 on Outposts ARNs, see
19376
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
19388
+ # When you use this action with S3 on Outposts, the destination bucket
19389
+ # must be the Outposts access point ARN or the access point alias. For
19390
+ # more information about S3 on Outposts, see [What is S3 on
19391
+ # Outposts?][3] in the *Amazon S3 User Guide*.
19377
19392
  #
19378
19393
  #
19379
19394
  #
@@ -19416,7 +19431,7 @@ module Aws::S3
19416
19431
  # @option params [String] :checksum_crc32
19417
19432
  # This header can be used as a data integrity check to verify that the
19418
19433
  # data received is the same data that was originally sent. This header
19419
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
19434
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
19420
19435
  # For more information, see [Checking object integrity][1] in the
19421
19436
  # *Amazon S3 User Guide*.
19422
19437
  #
@@ -19427,7 +19442,7 @@ module Aws::S3
19427
19442
  # @option params [String] :checksum_crc32c
19428
19443
  # This header can be used as a data integrity check to verify that the
19429
19444
  # data received is the same data that was originally sent. This header
19430
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
19445
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
19431
19446
  # For more information, see [Checking object integrity][1] in the
19432
19447
  # *Amazon S3 User Guide*.
19433
19448
  #
@@ -19438,8 +19453,8 @@ module Aws::S3
19438
19453
  # @option params [String] :checksum_crc64nvme
19439
19454
  # This header can be used as a data integrity check to verify that the
19440
19455
  # data received is the same data that was originally sent. This header
19441
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
19442
- # part. For more information, see [Checking object integrity][1] in the
19456
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part.
19457
+ # For more information, see [Checking object integrity][1] in the
19443
19458
  # *Amazon S3 User Guide*.
19444
19459
  #
19445
19460
  #
@@ -19449,9 +19464,9 @@ module Aws::S3
19449
19464
  # @option params [String] :checksum_sha1
19450
19465
  # This header can be used as a data integrity check to verify that the
19451
19466
  # data received is the same data that was originally sent. This header
19452
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
19453
- # For more information, see [Checking object integrity][1] in the
19454
- # *Amazon S3 User Guide*.
19467
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
19468
+ # more information, see [Checking object integrity][1] in the *Amazon S3
19469
+ # User Guide*.
19455
19470
  #
19456
19471
  #
19457
19472
  #
@@ -19460,7 +19475,7 @@ module Aws::S3
19460
19475
  # @option params [String] :checksum_sha256
19461
19476
  # This header can be used as a data integrity check to verify that the
19462
19477
  # data received is the same data that was originally sent. This header
19463
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
19478
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
19464
19479
  # For more information, see [Checking object integrity][1] in the
19465
19480
  # *Amazon S3 User Guide*.
19466
19481
  #
@@ -19640,13 +19655,13 @@ module Aws::S3
19640
19655
  # <note markdown="1"> **Directory buckets** - For directory buckets, you must make requests
19641
19656
  # for this API operation to the Zonal endpoint. These endpoints support
19642
19657
  # virtual-hosted-style requests in the format
19643
- # `https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
19658
+ # `https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
19644
19659
  # `. Path-style requests are not supported. For more information about
19645
19660
  # endpoints in Availability Zones, see [Regional and Zonal endpoints for
19646
19661
  # directory buckets in Availability Zones][5] in the *Amazon S3 User
19647
19662
  # Guide*. For more information about endpoints in Local Zones, see
19648
- # [Available Local Zone for directory buckets][6] in the *Amazon S3 User
19649
- # Guide*.
19663
+ # [Concepts for directory buckets in Local Zones][6] in the *Amazon S3
19664
+ # User Guide*.
19650
19665
  #
19651
19666
  # </note>
19652
19667
  #
@@ -19791,7 +19806,7 @@ module Aws::S3
19791
19806
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html
19792
19807
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
19793
19808
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html
19794
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
19809
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html
19795
19810
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html
19796
19811
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
19797
19812
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html
@@ -19817,7 +19832,7 @@ module Aws::S3
19817
19832
  # requests are not supported. Directory bucket names must be unique in
19818
19833
  # the chosen Zone (Availability Zone or Local Zone). Bucket names must
19819
19834
  # follow the format ` bucket-base-name--zone-id--x-s3` (for example, `
19820
- # DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about bucket
19835
+ # amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket
19821
19836
  # naming restrictions, see [Directory bucket naming rules][1] in the
19822
19837
  # *Amazon S3 User Guide*.
19823
19838
  #
@@ -19845,14 +19860,14 @@ module Aws::S3
19845
19860
  #
19846
19861
  # </note>
19847
19862
  #
19848
- # **S3 on Outposts** - When you use this action with Amazon S3 on
19849
- # Outposts, you must direct requests to the S3 on Outposts hostname. The
19850
- # S3 on Outposts hostname takes the form `
19863
+ # **S3 on Outposts** - When you use this action with S3 on Outposts, you
19864
+ # must direct requests to the S3 on Outposts hostname. The S3 on
19865
+ # Outposts hostname takes the form `
19851
19866
  # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
19852
- # When you use this action with S3 on Outposts through the Amazon Web
19853
- # Services SDKs, you provide the Outposts access point ARN in place of
19854
- # the bucket name. For more information about S3 on Outposts ARNs, see
19855
- # [What is S3 on Outposts?][3] in the *Amazon S3 User Guide*.
19867
+ # When you use this action with S3 on Outposts, the destination bucket
19868
+ # must be the Outposts access point ARN or the access point alias. For
19869
+ # more information about S3 on Outposts, see [What is S3 on
19870
+ # Outposts?][3] in the *Amazon S3 User Guide*.
19856
19871
  #
19857
19872
  #
19858
19873
  #
@@ -20100,45 +20115,45 @@ module Aws::S3
20100
20115
  # * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
20101
20116
  #
20102
20117
  #
20103
- # @example Example: To upload a part by copying data from an existing object as data source
20118
+ # @example Example: To upload a part by copying byte range from an existing object as data source
20104
20119
  #
20105
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
20120
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
20121
+ # # data source.
20106
20122
  #
20107
20123
  # resp = client.upload_part_copy({
20108
20124
  # bucket: "examplebucket",
20109
20125
  # copy_source: "/bucketname/sourceobjectkey",
20126
+ # copy_source_range: "bytes=1-100000",
20110
20127
  # key: "examplelargeobject",
20111
- # part_number: 1,
20128
+ # part_number: 2,
20112
20129
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
20113
20130
  # })
20114
20131
  #
20115
20132
  # resp.to_h outputs the following:
20116
20133
  # {
20117
20134
  # copy_part_result: {
20118
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
20119
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
20135
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
20136
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
20120
20137
  # },
20121
20138
  # }
20122
20139
  #
20123
- # @example Example: To upload a part by copying byte range from an existing object as data source
20140
+ # @example Example: To upload a part by copying data from an existing object as data source
20124
20141
  #
20125
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
20126
- # # data source.
20142
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
20127
20143
  #
20128
20144
  # resp = client.upload_part_copy({
20129
20145
  # bucket: "examplebucket",
20130
20146
  # copy_source: "/bucketname/sourceobjectkey",
20131
- # copy_source_range: "bytes=1-100000",
20132
20147
  # key: "examplelargeobject",
20133
- # part_number: 2,
20148
+ # part_number: 1,
20134
20149
  # upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
20135
20150
  # })
20136
20151
  #
20137
20152
  # resp.to_h outputs the following:
20138
20153
  # {
20139
20154
  # copy_part_result: {
20140
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
20141
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
20155
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
20156
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
20142
20157
  # },
20143
20158
  # }
20144
20159
  #
@@ -20338,7 +20353,7 @@ module Aws::S3
20338
20353
  # @option params [String] :checksum_crc32
20339
20354
  # This header can be used as a data integrity check to verify that the
20340
20355
  # data received is the same data that was originally sent. This
20341
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object
20356
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object
20342
20357
  # returned by the Object Lambda function. This may not match the
20343
20358
  # checksum for the object stored in Amazon S3. Amazon S3 will perform
20344
20359
  # validation of the checksum values only when the original `GetObject`
@@ -20358,7 +20373,7 @@ module Aws::S3
20358
20373
  # @option params [String] :checksum_crc32c
20359
20374
  # This header can be used as a data integrity check to verify that the
20360
20375
  # data received is the same data that was originally sent. This
20361
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object
20376
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object
20362
20377
  # returned by the Object Lambda function. This may not match the
20363
20378
  # checksum for the object stored in Amazon S3. Amazon S3 will perform
20364
20379
  # validation of the checksum values only when the original `GetObject`
@@ -20376,8 +20391,8 @@ module Aws::S3
20376
20391
  # @option params [String] :checksum_crc64nvme
20377
20392
  # This header can be used as a data integrity check to verify that the
20378
20393
  # data received is the same data that was originally sent. This header
20379
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
20380
- # part. For more information, see [Checking object integrity][1] in the
20394
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part.
20395
+ # For more information, see [Checking object integrity][1] in the
20381
20396
  # *Amazon S3 User Guide*.
20382
20397
  #
20383
20398
  #
@@ -20387,7 +20402,7 @@ module Aws::S3
20387
20402
  # @option params [String] :checksum_sha1
20388
20403
  # This header can be used as a data integrity check to verify that the
20389
20404
  # data received is the same data that was originally sent. This
20390
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object
20405
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object
20391
20406
  # returned by the Object Lambda function. This may not match the
20392
20407
  # checksum for the object stored in Amazon S3. Amazon S3 will perform
20393
20408
  # validation of the checksum values only when the original `GetObject`
@@ -20405,7 +20420,7 @@ module Aws::S3
20405
20420
  # @option params [String] :checksum_sha256
20406
20421
  # This header can be used as a data integrity check to verify that the
20407
20422
  # data received is the same data that was originally sent. This
20408
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object
20423
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object
20409
20424
  # returned by the Object Lambda function. This may not match the
20410
20425
  # checksum for the object stored in Amazon S3. Amazon S3 will perform
20411
20426
  # validation of the checksum values only when the original `GetObject`
@@ -20422,7 +20437,12 @@ module Aws::S3
20422
20437
  #
20423
20438
  # @option params [Boolean] :delete_marker
20424
20439
  # Specifies whether an object stored in Amazon S3 is (`true`) or is not
20425
- # (`false`) a delete marker.
20440
+ # (`false`) a delete marker. To learn more about delete markers, see
20441
+ # [Working with delete markers][1].
20442
+ #
20443
+ #
20444
+ #
20445
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html
20426
20446
  #
20427
20447
  # @option params [String] :etag
20428
20448
  # An opaque identifier assigned by a web server to a specific version of
@@ -20613,7 +20633,7 @@ module Aws::S3
20613
20633
  tracer: tracer
20614
20634
  )
20615
20635
  context[:gem_name] = 'aws-sdk-s3'
20616
- context[:gem_version] = '1.179.0'
20636
+ context[:gem_version] = '1.181.0'
20617
20637
  Seahorse::Client::Request.new(handlers, context)
20618
20638
  end
20619
20639