aws-sdk-s3 1.94.1 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ce5ec00762e55e690d481b9b204ed60e801ccb615a02dc75143a51c43cc4f71
4
- data.tar.gz: 792694ad4064f09de5b5d505f46c5aeac024eb75dbfd2866294df01ff8bf2f6c
3
+ metadata.gz: d19f73a2ffccaaa9cd15cac607af56e59943f884bb908408e5f56e28fc27bb5c
4
+ data.tar.gz: 6d78cc39d6200623982c9d96fd7983310da56009f004a4bde7d5a120e1dd67c2
5
5
  SHA512:
6
- metadata.gz: 9e968125f14dce1b6d3216c7429e0032a208812beb90e879be41c61b9dea09ecc9d87954d0aa81f324c7abd67facaf77b1e74b0fbe7869fcedf293a6f258c2ad
7
- data.tar.gz: 694e1f8d67abe81aad12733d58442ff8fcca505cfce8b79941cd5d790e99c4dc23e52884984519a1c9709d0472c2301ea8ec00295bd4cb848609492937525255
6
+ metadata.gz: a0c53f6f254417b8d01bd696c6a0ce64c0ba72299186f1bb8ef7b6ce108530cbe815a48d1dbd9be134da0a2bd4858bf966b122fb9c35b01b242a0a989f54ebf3
7
+ data.tar.gz: ac8e49b6dde30d3e0a5643cd827a63da27501ae2b0f9f85c0250de361b888448ea3421f683d7081cdee16341907cb15b58e782da6fb46c6b67d6934f5e6fbef0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2021-05-21)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon S3
8
+
4
9
  1.94.1 (2021-05-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.1
1
+ 1.95.0
data/lib/aws-sdk-s3.rb CHANGED
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
69
69
  # @!group service
70
70
  module Aws::S3
71
71
 
72
- GEM_VERSION = '1.94.1'
72
+ GEM_VERSION = '1.95.0'
73
73
 
74
74
  end
@@ -245,8 +245,10 @@ module Aws::S3
245
245
  # @option options [String] :grant_read_acp
246
246
  # Allows grantee to read the bucket ACL.
247
247
  # @option options [String] :grant_write
248
- # Allows grantee to create, overwrite, and delete any object in the
249
- # bucket.
248
+ # Allows grantee to create new objects in the bucket.
249
+ #
250
+ # For the bucket and object owners of existing objects, also allows
251
+ # deletions and overwrites of those objects.
250
252
  # @option options [String] :grant_write_acp
251
253
  # Allows grantee to write the ACL for the applicable bucket.
252
254
  # @option options [Boolean] :object_lock_enabled_for_bucket
@@ -306,7 +308,7 @@ module Aws::S3
306
308
  # request. Bucket owners need not specify this parameter in their
307
309
  # requests. For information about downloading objects from requester
308
310
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
309
- # in the *Amazon S3 Developer Guide*.
311
+ # in the *Amazon S3 User Guide*.
310
312
  #
311
313
  #
312
314
  #
@@ -468,7 +470,7 @@ module Aws::S3
468
470
  # and high availability. Depending on performance needs, you can specify
469
471
  # a different Storage Class. Amazon S3 on Outposts only uses the
470
472
  # OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
471
- # in the *Amazon S3 Service Developer Guide*.
473
+ # in the *Amazon S3 User Guide*.
472
474
  #
473
475
  #
474
476
  #
@@ -515,14 +517,12 @@ module Aws::S3
515
517
  # If `x-amz-server-side-encryption` is present and has the value of
516
518
  # `aws:kms`, this header specifies the ID of the AWS Key Management
517
519
  # Service (AWS KMS) symmetrical customer managed customer master key
518
- # (CMK) that was used for the object.
519
- #
520
- # If the value of `x-amz-server-side-encryption` is `aws:kms`, this
521
- # header specifies the ID of the symmetric customer managed AWS KMS CMK
522
- # that will be used for the object. If you specify
520
+ # (CMK) that was used for the object. If you specify
523
521
  # `x-amz-server-side-encryption:aws:kms`, but do not provide`
524
522
  # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
525
- # managed CMK in AWS to protect the data.
523
+ # managed CMK in AWS to protect the data. If the KMS key does not exist
524
+ # in the same account issuing the command, you must use the full ARN and
525
+ # not just the ID.
526
526
  # @option options [String] :ssekms_encryption_context
527
527
  # Specifies the AWS KMS Encryption Context to use for object encryption.
528
528
  # The value of this header is a base64-encoded UTF-8 string holding JSON
@@ -540,7 +540,7 @@ module Aws::S3
540
540
  # request. Bucket owners need not specify this parameter in their
541
541
  # requests. For information about downloading objects from requester
542
542
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
543
- # in the *Amazon S3 Developer Guide*.
543
+ # in the *Amazon S3 User Guide*.
544
544
  #
545
545
  #
546
546
  #
@@ -235,8 +235,10 @@ module Aws::S3
235
235
  # @option options [String] :grant_read_acp
236
236
  # Allows grantee to read the bucket ACL.
237
237
  # @option options [String] :grant_write
238
- # Allows grantee to create, overwrite, and delete any object in the
239
- # bucket.
238
+ # Allows grantee to create new objects in the bucket.
239
+ #
240
+ # For the bucket and object owners of existing objects, also allows
241
+ # deletions and overwrites of those objects.
240
242
  # @option options [String] :grant_write_acp
241
243
  # Allows grantee to write the ACL for the applicable bucket.
242
244
  # @option options [String] :expected_bucket_owner
@@ -36,8 +36,7 @@ module Aws::S3
36
36
 
37
37
  # Describes where logs are stored and the prefix that Amazon S3 assigns
38
38
  # to all log object keys for a bucket. For more information, see [PUT
39
- # Bucket logging][1] in the *Amazon Simple Storage Service API
40
- # Reference*.
39
+ # Bucket logging][1] in the *Amazon S3 API Reference*.
41
40
  #
42
41
  #
43
42
  #
@@ -454,7 +454,7 @@ module Aws::S3
454
454
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
455
455
  # When using this action with an access point through the AWS SDKs, you
456
456
  # provide the access point ARN in place of the bucket name. For more
457
- # information about access point ARNs, see [Using Access Points][1] in
457
+ # information about access point ARNs, see [Using access points][1] in
458
458
  # the *Amazon S3 User Guide*.
459
459
  #
460
460
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -482,7 +482,7 @@ module Aws::S3
482
482
  # request. Bucket owners need not specify this parameter in their
483
483
  # requests. For information about downloading objects from requester
484
484
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
485
- # in the *Amazon S3 Developer Guide*.
485
+ # in the *Amazon S3 User Guide*.
486
486
  #
487
487
  #
488
488
  #
@@ -640,7 +640,7 @@ module Aws::S3
640
640
  # request. Bucket owners need not specify this parameter in their
641
641
  # requests. For information about downloading objects from requester
642
642
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
643
- # in the *Amazon S3 Developer Guide*.
643
+ # in the *Amazon S3 User Guide*.
644
644
  #
645
645
  #
646
646
  #
@@ -792,9 +792,9 @@ module Aws::S3
792
792
  # permissions, you can use the `s3:x-amz-metadata-directive` condition
793
793
  # key to enforce certain metadata behavior when objects are uploaded.
794
794
  # For more information, see [Specifying Conditions in a Policy][6] in
795
- # the *Amazon S3 Developer Guide*. For a complete list of Amazon
796
- # S3-specific condition keys, see [Actions, Resources, and Condition
797
- # Keys for Amazon S3][7].
795
+ # the *Amazon S3 User Guide*. For a complete list of Amazon S3-specific
796
+ # condition keys, see [Actions, Resources, and Condition Keys for Amazon
797
+ # S3][7].
798
798
  #
799
799
  # <b> <code>x-amz-copy-source-if</code> Headers</b>
800
800
  #
@@ -863,7 +863,7 @@ module Aws::S3
863
863
  # You can use the `CopyObject` action to change the storage class of an
864
864
  # object that is already stored in Amazon S3 using the `StorageClass`
865
865
  # parameter. For more information, see [Storage Classes][12] in the
866
- # *Amazon S3 Service Developer Guide*.
866
+ # *Amazon S3 User Guide*.
867
867
  #
868
868
  # **Versioning**
869
869
  #
@@ -925,7 +925,7 @@ module Aws::S3
925
925
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
926
926
  # When using this action with an access point through the AWS SDKs, you
927
927
  # provide the access point ARN in place of the bucket name. For more
928
- # information about access point ARNs, see [Using Access Points][1] in
928
+ # information about access point ARNs, see [Using access points][1] in
929
929
  # the *Amazon S3 User Guide*.
930
930
  #
931
931
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -1067,7 +1067,7 @@ module Aws::S3
1067
1067
  # and high availability. Depending on performance needs, you can specify
1068
1068
  # a different Storage Class. Amazon S3 on Outposts only uses the
1069
1069
  # OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
1070
- # in the *Amazon S3 Service Developer Guide*.
1070
+ # in the *Amazon S3 User Guide*.
1071
1071
  #
1072
1072
  #
1073
1073
  #
@@ -1099,8 +1099,8 @@ module Aws::S3
1099
1099
  # PUT requests for an object protected by AWS KMS will fail if not made
1100
1100
  # via SSL or using SigV4. For information about configuring using any of
1101
1101
  # the officially supported AWS SDKs and AWS CLI, see [Specifying the
1102
- # Signature Version in Request Authentication][1] in the *Amazon S3
1103
- # Developer Guide*.
1102
+ # Signature Version in Request Authentication][1] in the *Amazon S3 User
1103
+ # Guide*.
1104
1104
  #
1105
1105
  #
1106
1106
  #
@@ -1139,7 +1139,7 @@ module Aws::S3
1139
1139
  # request. Bucket owners need not specify this parameter in their
1140
1140
  # requests. For information about downloading objects from requester
1141
1141
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1142
- # in the *Amazon S3 Developer Guide*.
1142
+ # in the *Amazon S3 User Guide*.
1143
1143
  #
1144
1144
  #
1145
1145
  #
@@ -1280,7 +1280,7 @@ module Aws::S3
1280
1280
  # the bucket, you become the bucket owner.
1281
1281
  #
1282
1282
  # Not every string is an acceptable bucket name. For information about
1283
- # bucket naming restrictions, see [Working with Amazon S3 buckets][1].
1283
+ # bucket naming restrictions, see [Bucket naming rules][1].
1284
1284
  #
1285
1285
  # If you want to create an Amazon S3 on Outposts bucket, see [Create
1286
1286
  # Bucket][2].
@@ -1374,7 +1374,7 @@ module Aws::S3
1374
1374
  #
1375
1375
  #
1376
1376
  #
1377
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html
1377
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
1378
1378
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html
1379
1379
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
1380
1380
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
@@ -1404,8 +1404,10 @@ module Aws::S3
1404
1404
  # Allows grantee to read the bucket ACL.
1405
1405
  #
1406
1406
  # @option params [String] :grant_write
1407
- # Allows grantee to create, overwrite, and delete any object in the
1408
- # bucket.
1407
+ # Allows grantee to create new objects in the bucket.
1408
+ #
1409
+ # For the bucket and object owners of existing objects, also allows
1410
+ # deletions and overwrites of those objects.
1409
1411
  #
1410
1412
  # @option params [String] :grant_write_acp
1411
1413
  # Allows grantee to write the ACL for the applicable bucket.
@@ -1419,33 +1421,33 @@ module Aws::S3
1419
1421
  # * {Types::CreateBucketOutput#location #location} => String
1420
1422
  #
1421
1423
  #
1422
- # @example Example: To create a bucket in a specific region
1424
+ # @example Example: To create a bucket
1423
1425
  #
1424
- # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1426
+ # # The following example creates a bucket.
1425
1427
  #
1426
1428
  # resp = client.create_bucket({
1427
1429
  # bucket: "examplebucket",
1428
- # create_bucket_configuration: {
1429
- # location_constraint: "eu-west-1",
1430
- # },
1431
1430
  # })
1432
1431
  #
1433
1432
  # resp.to_h outputs the following:
1434
1433
  # {
1435
- # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1434
+ # location: "/examplebucket",
1436
1435
  # }
1437
1436
  #
1438
- # @example Example: To create a bucket
1437
+ # @example Example: To create a bucket in a specific region
1439
1438
  #
1440
- # # The following example creates a bucket.
1439
+ # # The following example creates a bucket. The request specifies an AWS region where to create the bucket.
1441
1440
  #
1442
1441
  # resp = client.create_bucket({
1443
1442
  # bucket: "examplebucket",
1443
+ # create_bucket_configuration: {
1444
+ # location_constraint: "eu-west-1",
1445
+ # },
1444
1446
  # })
1445
1447
  #
1446
1448
  # resp.to_h outputs the following:
1447
1449
  # {
1448
- # location: "/examplebucket",
1450
+ # location: "http://examplebucket.<Region>.s3.amazonaws.com/",
1449
1451
  # }
1450
1452
  #
1451
1453
  # @example Request syntax with placeholder values
@@ -1523,11 +1525,12 @@ module Aws::S3
1523
1525
  # `CreateMultipartUpload`.
1524
1526
  #
1525
1527
  # To perform a multipart upload with encryption using an AWS KMS CMK,
1526
- # the requester must have permission to the `kms:Encrypt`,
1527
- # `kms:Decrypt`, `kms:ReEncrypt*`, `kms:GenerateDataKey*`, and
1528
- # `kms:DescribeKey` actions on the key. These permissions are required
1529
- # because Amazon S3 must decrypt and read data from the encrypted file
1530
- # parts before it completes the multipart upload.
1528
+ # the requester must have permission to the `kms:Decrypt` and
1529
+ # `kms:GenerateDataKey*` actions on the key. These permissions are
1530
+ # required because Amazon S3 must decrypt and read data from the
1531
+ # encrypted file parts before it completes the multipart upload. For
1532
+ # more information, see [Multipart upload API and permissions][7] in the
1533
+ # *Amazon S3 User Guide*.
1531
1534
  #
1532
1535
  # If your AWS Identity and Access Management (IAM) user or role is in
1533
1536
  # the same AWS account as the AWS KMS CMK, then you must have these
@@ -1536,7 +1539,7 @@ module Aws::S3
1536
1539
  # both the key policy and your IAM user or role.
1537
1540
  #
1538
1541
  # For more information, see [Protecting Data Using Server-Side
1539
- # Encryption][7].
1542
+ # Encryption][8].
1540
1543
  #
1541
1544
  # Access Permissions
1542
1545
  #
@@ -1546,13 +1549,13 @@ module Aws::S3
1546
1549
  # request headers:
1547
1550
  #
1548
1551
  # * Specify a canned ACL with the `x-amz-acl` request header. For more
1549
- # information, see [Canned ACL][8].
1552
+ # information, see [Canned ACL][9].
1550
1553
  #
1551
1554
  # * Specify access permissions explicitly with the `x-amz-grant-read`,
1552
1555
  # `x-amz-grant-read-acp`, `x-amz-grant-write-acp`, and
1553
1556
  # `x-amz-grant-full-control` headers. These parameters map to the
1554
1557
  # set of permissions that Amazon S3 supports in an ACL. For more
1555
- # information, see [Access Control List (ACL) Overview][9].
1558
+ # information, see [Access Control List (ACL) Overview][10].
1556
1559
  #
1557
1560
  # You can use either a canned ACL or specify access permissions
1558
1561
  # explicitly. You cannot do both.
@@ -1588,7 +1591,7 @@ module Aws::S3
1588
1591
  #
1589
1592
  # For more information about server-side encryption with CMKs stored
1590
1593
  # in AWS KMS (SSE-KMS), see [Protecting Data Using Server-Side
1591
- # Encryption with CMKs stored in AWS KMS][10].
1594
+ # Encryption with CMKs stored in AWS KMS][11].
1592
1595
  #
1593
1596
  # * Use customer-provided encryption keys – If you want to manage your
1594
1597
  # own encryption keys, provide all the following headers in the
@@ -1602,7 +1605,7 @@ module Aws::S3
1602
1605
  #
1603
1606
  # For more information about server-side encryption with CMKs stored
1604
1607
  # in AWS KMS (SSE-KMS), see [Protecting Data Using Server-Side
1605
- # Encryption with CMKs stored in AWS KMS][10].
1608
+ # Encryption with CMKs stored in AWS KMS][11].
1606
1609
  #
1607
1610
  # Access-Control-List (ACL)-Specific Request Headers
1608
1611
  #
@@ -1612,19 +1615,19 @@ module Aws::S3
1612
1615
  # permissions to individual AWS accounts or to predefined groups
1613
1616
  # defined by Amazon S3. These permissions are then added to the access
1614
1617
  # control list (ACL) on the object. For more information, see [Using
1615
- # ACLs][11]. With this operation, you can grant access permissions
1618
+ # ACLs][12]. With this operation, you can grant access permissions
1616
1619
  # using one of the following two methods:
1617
1620
  #
1618
1621
  # * Specify a canned ACL (`x-amz-acl`) — Amazon S3 supports a set of
1619
1622
  # predefined ACLs, known as *canned ACLs*. Each canned ACL has a
1620
1623
  # predefined set of grantees and permissions. For more information,
1621
- # see [Canned ACL][8].
1624
+ # see [Canned ACL][9].
1622
1625
  #
1623
1626
  # * Specify access permissions explicitly — To explicitly grant access
1624
1627
  # permissions to specific AWS accounts or groups, use the following
1625
1628
  # headers. Each header maps to specific permissions that Amazon S3
1626
1629
  # supports in an ACL. For more information, see [Access Control List
1627
- # (ACL) Overview][9]. In the header, you specify a list of grantees
1630
+ # (ACL) Overview][10]. In the header, you specify a list of grantees
1628
1631
  # who get the specific permission. To grant permissions explicitly,
1629
1632
  # use:
1630
1633
  #
@@ -1669,7 +1672,7 @@ module Aws::S3
1669
1672
  # * South America (São Paulo)
1670
1673
  #
1671
1674
  # For a list of all the Amazon S3 supported Regions and endpoints,
1672
- # see [Regions and Endpoints][12] in the AWS General Reference.
1675
+ # see [Regions and Endpoints][13] in the AWS General Reference.
1673
1676
  #
1674
1677
  # </note>
1675
1678
  #
@@ -1683,13 +1686,13 @@ module Aws::S3
1683
1686
  #
1684
1687
  # * [UploadPart][1]
1685
1688
  #
1686
- # * [CompleteMultipartUpload][13]
1689
+ # * [CompleteMultipartUpload][14]
1687
1690
  #
1688
- # * [AbortMultipartUpload][14]
1691
+ # * [AbortMultipartUpload][15]
1689
1692
  #
1690
- # * [ListParts][15]
1693
+ # * [ListParts][16]
1691
1694
  #
1692
- # * [ListMultipartUploads][16]
1695
+ # * [ListMultipartUploads][17]
1693
1696
  #
1694
1697
  #
1695
1698
  #
@@ -1699,16 +1702,17 @@ module Aws::S3
1699
1702
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
1700
1703
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
1701
1704
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
1702
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
1703
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
1704
- # [9]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
1705
- # [10]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
1706
- # [11]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html
1707
- # [12]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
1708
- # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
1709
- # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
1710
- # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
1711
- # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
1705
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions
1706
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
1707
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
1708
+ # [10]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html
1709
+ # [11]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
1710
+ # [12]: https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html
1711
+ # [13]: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
1712
+ # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
1713
+ # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
1714
+ # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
1715
+ # [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
1712
1716
  #
1713
1717
  # @option params [String] :acl
1714
1718
  # The canned ACL to apply to the object.
@@ -1723,7 +1727,7 @@ module Aws::S3
1723
1727
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
1724
1728
  # When using this action with an access point through the AWS SDKs, you
1725
1729
  # provide the access point ARN in place of the bucket name. For more
1726
- # information about access point ARNs, see [Using Access Points][1] in
1730
+ # information about access point ARNs, see [Using access points][1] in
1727
1731
  # the *Amazon S3 User Guide*.
1728
1732
  #
1729
1733
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -1797,7 +1801,7 @@ module Aws::S3
1797
1801
  # and high availability. Depending on performance needs, you can specify
1798
1802
  # a different Storage Class. Amazon S3 on Outposts only uses the
1799
1803
  # OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
1800
- # in the *Amazon S3 Service Developer Guide*.
1804
+ # in the *Amazon S3 User Guide*.
1801
1805
  #
1802
1806
  #
1803
1807
  #
@@ -1830,7 +1834,7 @@ module Aws::S3
1830
1834
  # protected by AWS KMS will fail if not made via SSL or using SigV4. For
1831
1835
  # information about configuring using any of the officially supported
1832
1836
  # AWS SDKs and AWS CLI, see [Specifying the Signature Version in Request
1833
- # Authentication][1] in the *Amazon S3 Developer Guide*.
1837
+ # Authentication][1] in the *Amazon S3 User Guide*.
1834
1838
  #
1835
1839
  #
1836
1840
  #
@@ -1855,7 +1859,7 @@ module Aws::S3
1855
1859
  # request. Bucket owners need not specify this parameter in their
1856
1860
  # requests. For information about downloading objects from requester
1857
1861
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1858
- # in the *Amazon S3 Developer Guide*.
1862
+ # in the *Amazon S3 User Guide*.
1859
1863
  #
1860
1864
  #
1861
1865
  #
@@ -2573,7 +2577,7 @@ module Aws::S3
2573
2577
  # </note>
2574
2578
  #
2575
2579
  # For information about replication configuration, see [Replication][3]
2576
- # in the *Amazon S3 Developer Guide*.
2580
+ # in the *Amazon S3 User Guide*.
2577
2581
  #
2578
2582
  # The following operations are related to `DeleteBucketReplication`\:
2579
2583
  #
@@ -2787,7 +2791,7 @@ module Aws::S3
2787
2791
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
2788
2792
  # When using this action with an access point through the AWS SDKs, you
2789
2793
  # provide the access point ARN in place of the bucket name. For more
2790
- # information about access point ARNs, see [Using Access Points][1] in
2794
+ # information about access point ARNs, see [Using access points][1] in
2791
2795
  # the *Amazon S3 User Guide*.
2792
2796
  #
2793
2797
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -2821,7 +2825,7 @@ module Aws::S3
2821
2825
  # request. Bucket owners need not specify this parameter in their
2822
2826
  # requests. For information about downloading objects from requester
2823
2827
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
2824
- # in the *Amazon S3 Developer Guide*.
2828
+ # in the *Amazon S3 User Guide*.
2825
2829
  #
2826
2830
  #
2827
2831
  #
@@ -2843,15 +2847,6 @@ module Aws::S3
2843
2847
  # * {Types::DeleteObjectOutput#request_charged #request_charged} => String
2844
2848
  #
2845
2849
  #
2846
- # @example Example: To delete an object (from a non-versioned bucket)
2847
- #
2848
- # # The following example deletes an object from a non-versioned bucket.
2849
- #
2850
- # resp = client.delete_object({
2851
- # bucket: "ExampleBucket",
2852
- # key: "HappyFace.jpg",
2853
- # })
2854
- #
2855
2850
  # @example Example: To delete an object
2856
2851
  #
2857
2852
  # # The following example deletes an object from an S3 bucket.
@@ -2865,6 +2860,15 @@ module Aws::S3
2865
2860
  # {
2866
2861
  # }
2867
2862
  #
2863
+ # @example Example: To delete an object (from a non-versioned bucket)
2864
+ #
2865
+ # # The following example deletes an object from a non-versioned bucket.
2866
+ #
2867
+ # resp = client.delete_object({
2868
+ # bucket: "ExampleBucket",
2869
+ # key: "HappyFace.jpg",
2870
+ # })
2871
+ #
2868
2872
  # @example Request syntax with placeholder values
2869
2873
  #
2870
2874
  # resp = client.delete_object({
@@ -2923,7 +2927,7 @@ module Aws::S3
2923
2927
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
2924
2928
  # When using this action with an access point through the AWS SDKs, you
2925
2929
  # provide the access point ARN in place of the bucket name. For more
2926
- # information about access point ARNs, see [Using Access Points][1] in
2930
+ # information about access point ARNs, see [Using access points][1] in
2927
2931
  # the *Amazon S3 User Guide*.
2928
2932
  #
2929
2933
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -3071,7 +3075,7 @@ module Aws::S3
3071
3075
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
3072
3076
  # When using this action with an access point through the AWS SDKs, you
3073
3077
  # provide the access point ARN in place of the bucket name. For more
3074
- # information about access point ARNs, see [Using Access Points][1] in
3078
+ # information about access point ARNs, see [Using access points][1] in
3075
3079
  # the *Amazon S3 User Guide*.
3076
3080
  #
3077
3081
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -3102,7 +3106,7 @@ module Aws::S3
3102
3106
  # request. Bucket owners need not specify this parameter in their
3103
3107
  # requests. For information about downloading objects from requester
3104
3108
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
3105
- # in the *Amazon S3 Developer Guide*.
3109
+ # in the *Amazon S3 User Guide*.
3106
3110
  #
3107
3111
  #
3108
3112
  #
@@ -5231,7 +5235,7 @@ module Aws::S3
5231
5235
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5232
5236
  # When using this action with an access point through the AWS SDKs, you
5233
5237
  # provide the access point ARN in place of the bucket name. For more
5234
- # information about access point ARNs, see [Using Access Points][1] in
5238
+ # information about access point ARNs, see [Using access points][1] in
5235
5239
  # the *Amazon S3 User Guide*.
5236
5240
  #
5237
5241
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -5323,7 +5327,7 @@ module Aws::S3
5323
5327
  # request. Bucket owners need not specify this parameter in their
5324
5328
  # requests. For information about downloading objects from requester
5325
5329
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5326
- # in the *Amazon S3 Developer Guide*.
5330
+ # in the *Amazon S3 User Guide*.
5327
5331
  #
5328
5332
  #
5329
5333
  #
@@ -5377,49 +5381,49 @@ module Aws::S3
5377
5381
  # * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
5378
5382
  #
5379
5383
  #
5380
- # @example Example: To retrieve an object
5384
+ # @example Example: To retrieve a byte range of an object
5381
5385
  #
5382
- # # The following example retrieves an object for an S3 bucket.
5386
+ # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
5387
+ # # specific byte range.
5383
5388
  #
5384
5389
  # resp = client.get_object({
5385
5390
  # bucket: "examplebucket",
5386
- # key: "HappyFace.jpg",
5391
+ # key: "SampleFile.txt",
5392
+ # range: "bytes=0-9",
5387
5393
  # })
5388
5394
  #
5389
5395
  # resp.to_h outputs the following:
5390
5396
  # {
5391
5397
  # accept_ranges: "bytes",
5392
- # content_length: 3191,
5393
- # content_type: "image/jpeg",
5394
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5395
- # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
5398
+ # content_length: 10,
5399
+ # content_range: "bytes 0-9/43",
5400
+ # content_type: "text/plain",
5401
+ # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
5402
+ # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
5396
5403
  # metadata: {
5397
5404
  # },
5398
- # tag_count: 2,
5399
5405
  # version_id: "null",
5400
5406
  # }
5401
5407
  #
5402
- # @example Example: To retrieve a byte range of an object
5408
+ # @example Example: To retrieve an object
5403
5409
  #
5404
- # # The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a
5405
- # # specific byte range.
5410
+ # # The following example retrieves an object for an S3 bucket.
5406
5411
  #
5407
5412
  # resp = client.get_object({
5408
5413
  # bucket: "examplebucket",
5409
- # key: "SampleFile.txt",
5410
- # range: "bytes=0-9",
5414
+ # key: "HappyFace.jpg",
5411
5415
  # })
5412
5416
  #
5413
5417
  # resp.to_h outputs the following:
5414
5418
  # {
5415
5419
  # accept_ranges: "bytes",
5416
- # content_length: 10,
5417
- # content_range: "bytes 0-9/43",
5418
- # content_type: "text/plain",
5419
- # etag: "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
5420
- # last_modified: Time.parse("Thu, 09 Oct 2014 22:57:28 GMT"),
5420
+ # content_length: 3191,
5421
+ # content_type: "image/jpeg",
5422
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
5423
+ # last_modified: Time.parse("Thu, 15 Dec 2016 01:19:41 GMT"),
5421
5424
  # metadata: {
5422
5425
  # },
5426
+ # tag_count: 2,
5423
5427
  # version_id: "null",
5424
5428
  # }
5425
5429
  #
@@ -5557,7 +5561,7 @@ module Aws::S3
5557
5561
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5558
5562
  # When using this action with an access point through the AWS SDKs, you
5559
5563
  # provide the access point ARN in place of the bucket name. For more
5560
- # information about access point ARNs, see [Using Access Points][1] in
5564
+ # information about access point ARNs, see [Using access points][1] in
5561
5565
  # the *Amazon S3 User Guide*.
5562
5566
  #
5563
5567
  #
@@ -5575,7 +5579,7 @@ module Aws::S3
5575
5579
  # request. Bucket owners need not specify this parameter in their
5576
5580
  # requests. For information about downloading objects from requester
5577
5581
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5578
- # in the *Amazon S3 Developer Guide*.
5582
+ # in the *Amazon S3 User Guide*.
5579
5583
  #
5580
5584
  #
5581
5585
  #
@@ -5694,7 +5698,7 @@ module Aws::S3
5694
5698
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5695
5699
  # When using this action with an access point through the AWS SDKs, you
5696
5700
  # provide the access point ARN in place of the bucket name. For more
5697
- # information about access point ARNs, see [Using Access Points][1] in
5701
+ # information about access point ARNs, see [Using access points][1] in
5698
5702
  # the *Amazon S3 User Guide*.
5699
5703
  #
5700
5704
  #
@@ -5714,7 +5718,7 @@ module Aws::S3
5714
5718
  # request. Bucket owners need not specify this parameter in their
5715
5719
  # requests. For information about downloading objects from requester
5716
5720
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5717
- # in the *Amazon S3 Developer Guide*.
5721
+ # in the *Amazon S3 User Guide*.
5718
5722
  #
5719
5723
  #
5720
5724
  #
@@ -5769,7 +5773,7 @@ module Aws::S3
5769
5773
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5770
5774
  # When using this action with an access point through the AWS SDKs, you
5771
5775
  # provide the access point ARN in place of the bucket name. For more
5772
- # information about access point ARNs, see [Using Access Points][1] in
5776
+ # information about access point ARNs, see [Using access points][1] in
5773
5777
  # the *Amazon S3 User Guide*.
5774
5778
  #
5775
5779
  #
@@ -5826,7 +5830,7 @@ module Aws::S3
5826
5830
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5827
5831
  # When using this action with an access point through the AWS SDKs, you
5828
5832
  # provide the access point ARN in place of the bucket name. For more
5829
- # information about access point ARNs, see [Using Access Points][1] in
5833
+ # information about access point ARNs, see [Using access points][1] in
5830
5834
  # the *Amazon S3 User Guide*.
5831
5835
  #
5832
5836
  #
@@ -5846,7 +5850,7 @@ module Aws::S3
5846
5850
  # request. Bucket owners need not specify this parameter in their
5847
5851
  # requests. For information about downloading objects from requester
5848
5852
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5849
- # in the *Amazon S3 Developer Guide*.
5853
+ # in the *Amazon S3 User Guide*.
5850
5854
  #
5851
5855
  #
5852
5856
  #
@@ -5922,7 +5926,7 @@ module Aws::S3
5922
5926
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5923
5927
  # When using this action with an access point through the AWS SDKs, you
5924
5928
  # provide the access point ARN in place of the bucket name. For more
5925
- # information about access point ARNs, see [Using Access Points][1] in
5929
+ # information about access point ARNs, see [Using access points][1] in
5926
5930
  # the *Amazon S3 User Guide*.
5927
5931
  #
5928
5932
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -5955,7 +5959,7 @@ module Aws::S3
5955
5959
  # request. Bucket owners need not specify this parameter in their
5956
5960
  # requests. For information about downloading objects from requester
5957
5961
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5958
- # in the *Amazon S3 Developer Guide*.
5962
+ # in the *Amazon S3 User Guide*.
5959
5963
  #
5960
5964
  #
5961
5965
  #
@@ -6078,7 +6082,7 @@ module Aws::S3
6078
6082
  # request. Bucket owners need not specify this parameter in their
6079
6083
  # requests. For information about downloading objects from requester
6080
6084
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6081
- # in the *Amazon S3 Developer Guide*.
6085
+ # in the *Amazon S3 User Guide*.
6082
6086
  #
6083
6087
  #
6084
6088
  #
@@ -6231,7 +6235,7 @@ module Aws::S3
6231
6235
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
6232
6236
  # When using this action with an access point through the AWS SDKs, you
6233
6237
  # provide the access point ARN in place of the bucket name. For more
6234
- # information about access point ARNs, see [Using Access Points][1] in
6238
+ # information about access point ARNs, see [Using access points][1] in
6235
6239
  # the *Amazon S3 User Guide*.
6236
6240
  #
6237
6241
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -6384,7 +6388,7 @@ module Aws::S3
6384
6388
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
6385
6389
  # When using this action with an access point through the AWS SDKs, you
6386
6390
  # provide the access point ARN in place of the bucket name. For more
6387
- # information about access point ARNs, see [Using Access Points][1] in
6391
+ # information about access point ARNs, see [Using access points][1] in
6388
6392
  # the *Amazon S3 User Guide*.
6389
6393
  #
6390
6394
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -6458,7 +6462,7 @@ module Aws::S3
6458
6462
  # request. Bucket owners need not specify this parameter in their
6459
6463
  # requests. For information about downloading objects from requester
6460
6464
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6461
- # in the *Amazon S3 Developer Guide*.
6465
+ # in the *Amazon S3 User Guide*.
6462
6466
  #
6463
6467
  #
6464
6468
  #
@@ -7091,7 +7095,7 @@ module Aws::S3
7091
7095
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
7092
7096
  # When using this action with an access point through the AWS SDKs, you
7093
7097
  # provide the access point ARN in place of the bucket name. For more
7094
- # information about access point ARNs, see [Using Access Points][1] in
7098
+ # information about access point ARNs, see [Using access points][1] in
7095
7099
  # the *Amazon S3 User Guide*.
7096
7100
  #
7097
7101
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -7556,7 +7560,7 @@ module Aws::S3
7556
7560
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
7557
7561
  # When using this action with an access point through the AWS SDKs, you
7558
7562
  # provide the access point ARN in place of the bucket name. For more
7559
- # information about access point ARNs, see [Using Access Points][1] in
7563
+ # information about access point ARNs, see [Using access points][1] in
7560
7564
  # the *Amazon S3 User Guide*.
7561
7565
  #
7562
7566
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -7702,13 +7706,14 @@ module Aws::S3
7702
7706
  req.send_request(options)
7703
7707
  end
7704
7708
 
7705
- # Returns some or all (up to 1,000) of the objects in a bucket. You can
7706
- # use the request parameters as selection criteria to return a subset of
7707
- # the objects in a bucket. A `200 OK` response can contain valid or
7708
- # invalid XML. Make sure to design your application to parse the
7709
- # contents of the response and handle it appropriately. Objects are
7710
- # returned sorted in an ascending order of the respective key names in
7711
- # the list.
7709
+ # Returns some or all (up to 1,000) of the objects in a bucket with each
7710
+ # request. You can use the request parameters as selection criteria to
7711
+ # return a subset of the objects in a bucket. A `200 OK` response can
7712
+ # contain valid or invalid XML. Make sure to design your application to
7713
+ # parse the contents of the response and handle it appropriately.
7714
+ # Objects are returned sorted in an ascending order of the respective
7715
+ # key names in the list. For more information about listing objects, see
7716
+ # [Listing object keys programmatically][1]
7712
7717
  #
7713
7718
  # To use this operation, you must have READ access to the bucket.
7714
7719
  #
@@ -7716,33 +7721,34 @@ module Aws::S3
7716
7721
  # policy, you must have permissions to perform the `s3:ListBucket`
7717
7722
  # action. The bucket owner has this permission by default and can grant
7718
7723
  # this permission to others. For more information about permissions, see
7719
- # [Permissions Related to Bucket Subresource Operations][1] and
7720
- # [Managing Access Permissions to Your Amazon S3 Resources][2].
7724
+ # [Permissions Related to Bucket Subresource Operations][2] and
7725
+ # [Managing Access Permissions to Your Amazon S3 Resources][3].
7721
7726
  #
7722
7727
  # This section describes the latest revision of this action. We
7723
7728
  # recommend that you use this revised API for application development.
7724
7729
  # For backward compatibility, Amazon S3 continues to support the prior
7725
- # version of this API, [ListObjects][3].
7730
+ # version of this API, [ListObjects][4].
7726
7731
  #
7727
- # To get a list of your buckets, see [ListBuckets][4].
7732
+ # To get a list of your buckets, see [ListBuckets][5].
7728
7733
  #
7729
7734
  # The following operations are related to `ListObjectsV2`\:
7730
7735
  #
7731
- # * [GetObject][5]
7736
+ # * [GetObject][6]
7732
7737
  #
7733
- # * [PutObject][6]
7738
+ # * [PutObject][7]
7734
7739
  #
7735
- # * [CreateBucket][7]
7740
+ # * [CreateBucket][8]
7736
7741
  #
7737
7742
  #
7738
7743
  #
7739
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
7740
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
7741
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html
7742
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
7743
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
7744
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
7745
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
7744
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html
7745
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
7746
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
7747
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html
7748
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
7749
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
7750
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
7751
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html
7746
7752
  #
7747
7753
  # @option params [required, String] :bucket
7748
7754
  # Bucket name to list.
@@ -7752,7 +7758,7 @@ module Aws::S3
7752
7758
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
7753
7759
  # When using this action with an access point through the AWS SDKs, you
7754
7760
  # provide the access point ARN in place of the bucket name. For more
7755
- # information about access point ARNs, see [Using Access Points][1] in
7761
+ # information about access point ARNs, see [Using access points][1] in
7756
7762
  # the *Amazon S3 User Guide*.
7757
7763
  #
7758
7764
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -7958,7 +7964,7 @@ module Aws::S3
7958
7964
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
7959
7965
  # When using this action with an access point through the AWS SDKs, you
7960
7966
  # provide the access point ARN in place of the bucket name. For more
7961
- # information about access point ARNs, see [Using Access Points][1] in
7967
+ # information about access point ARNs, see [Using access points][1] in
7962
7968
  # the *Amazon S3 User Guide*.
7963
7969
  #
7964
7970
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -7994,7 +8000,7 @@ module Aws::S3
7994
8000
  # request. Bucket owners need not specify this parameter in their
7995
8001
  # requests. For information about downloading objects from requester
7996
8002
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
7997
- # in the *Amazon S3 Developer Guide*.
8003
+ # in the *Amazon S3 User Guide*.
7998
8004
  #
7999
8005
  #
8000
8006
  #
@@ -8374,8 +8380,10 @@ module Aws::S3
8374
8380
  # Allows grantee to read the bucket ACL.
8375
8381
  #
8376
8382
  # @option params [String] :grant_write
8377
- # Allows grantee to create, overwrite, and delete any object in the
8378
- # bucket.
8383
+ # Allows grantee to create new objects in the bucket.
8384
+ #
8385
+ # For the bucket and object owners of existing objects, also allows
8386
+ # deletions and overwrites of those objects.
8379
8387
  #
8380
8388
  # @option params [String] :grant_write_acp
8381
8389
  # Allows grantee to write the ACL for the applicable bucket.
@@ -9207,8 +9215,7 @@ module Aws::S3
9207
9215
 
9208
9216
  # Creates a new lifecycle configuration for the bucket or replaces an
9209
9217
  # existing lifecycle configuration. For information about lifecycle
9210
- # configuration, see [Managing Access Permissions to Your Amazon S3
9211
- # Resources][1].
9218
+ # configuration, see [Managing your storage lifecycle][1].
9212
9219
  #
9213
9220
  # <note markdown="1"> Bucket lifecycle configuration now supports specifying a lifecycle
9214
9221
  # rule using an object key name prefix, one or more object tags, or a
@@ -9265,25 +9272,26 @@ module Aws::S3
9265
9272
  # * s3:PutLifecycleConfiguration
9266
9273
  #
9267
9274
  # For more information about permissions, see [Managing Access
9268
- # Permissions to Your Amazon S3 Resources][1].
9275
+ # Permissions to Your Amazon S3 Resources][5].
9269
9276
  #
9270
9277
  # The following are related to `PutBucketLifecycleConfiguration`\:
9271
9278
  #
9272
- # * [Examples of Lifecycle Configuration][5]
9279
+ # * [Examples of Lifecycle Configuration][6]
9273
9280
  #
9274
- # * [GetBucketLifecycleConfiguration][6]
9281
+ # * [GetBucketLifecycleConfiguration][7]
9275
9282
  #
9276
- # * [DeleteBucketLifecycle][7]
9283
+ # * [DeleteBucketLifecycle][8]
9277
9284
  #
9278
9285
  #
9279
9286
  #
9280
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
9287
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html
9281
9288
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html
9282
9289
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
9283
9290
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html
9284
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-configuration-examples.html
9285
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
9286
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
9291
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
9292
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-configuration-examples.html
9293
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html
9294
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html
9287
9295
  #
9288
9296
  # @option params [required, String] :bucket
9289
9297
  # The name of the bucket for which to set the configuration.
@@ -10016,8 +10024,7 @@ module Aws::S3
10016
10024
  end
10017
10025
 
10018
10026
  # Creates a replication configuration or replaces an existing one. For
10019
- # more information, see [Replication][1] in the *Amazon S3 Developer
10020
- # Guide*.
10027
+ # more information, see [Replication][1] in the *Amazon S3 User Guide*.
10021
10028
  #
10022
10029
  # <note markdown="1"> To perform this operation, the user or role performing the action must
10023
10030
  # have the [iam:PassRole][2] permission.
@@ -10768,7 +10775,7 @@ module Aws::S3
10768
10775
  # and high availability. Depending on performance needs, you can specify
10769
10776
  # a different Storage Class. Amazon S3 on Outposts only uses the
10770
10777
  # OUTPOSTS Storage Class. For more information, see [Storage Classes][6]
10771
- # in the *Amazon S3 Service Developer Guide*.
10778
+ # in the *Amazon S3 User Guide*.
10772
10779
  #
10773
10780
  # **Versioning**
10774
10781
  #
@@ -10822,7 +10829,7 @@ module Aws::S3
10822
10829
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
10823
10830
  # When using this action with an access point through the AWS SDKs, you
10824
10831
  # provide the access point ARN in place of the bucket name. For more
10825
- # information about access point ARNs, see [Using Access Points][1] in
10832
+ # information about access point ARNs, see [Using access points][1] in
10826
10833
  # the *Amazon S3 User Guide*.
10827
10834
  #
10828
10835
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -10947,7 +10954,7 @@ module Aws::S3
10947
10954
  # and high availability. Depending on performance needs, you can specify
10948
10955
  # a different Storage Class. Amazon S3 on Outposts only uses the
10949
10956
  # OUTPOSTS Storage Class. For more information, see [Storage Classes][1]
10950
- # in the *Amazon S3 Service Developer Guide*.
10957
+ # in the *Amazon S3 User Guide*.
10951
10958
  #
10952
10959
  #
10953
10960
  #
@@ -10999,14 +11006,12 @@ module Aws::S3
10999
11006
  # If `x-amz-server-side-encryption` is present and has the value of
11000
11007
  # `aws:kms`, this header specifies the ID of the AWS Key Management
11001
11008
  # Service (AWS KMS) symmetrical customer managed customer master key
11002
- # (CMK) that was used for the object.
11003
- #
11004
- # If the value of `x-amz-server-side-encryption` is `aws:kms`, this
11005
- # header specifies the ID of the symmetric customer managed AWS KMS CMK
11006
- # that will be used for the object. If you specify
11009
+ # (CMK) that was used for the object. If you specify
11007
11010
  # `x-amz-server-side-encryption:aws:kms`, but do not provide`
11008
11011
  # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
11009
- # managed CMK in AWS to protect the data.
11012
+ # managed CMK in AWS to protect the data. If the KMS key does not exist
11013
+ # in the same account issuing the command, you must use the full ARN and
11014
+ # not just the ID.
11010
11015
  #
11011
11016
  # @option params [String] :ssekms_encryption_context
11012
11017
  # Specifies the AWS KMS Encryption Context to use for object encryption.
@@ -11027,7 +11032,7 @@ module Aws::S3
11027
11032
  # request. Bucket owners need not specify this parameter in their
11028
11033
  # requests. For information about downloading objects from requester
11029
11034
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11030
- # in the *Amazon S3 Developer Guide*.
11035
+ # in the *Amazon S3 User Guide*.
11031
11036
  #
11032
11037
  #
11033
11038
  #
@@ -11070,59 +11075,45 @@ module Aws::S3
11070
11075
  # * {Types::PutObjectOutput#request_charged #request_charged} => String
11071
11076
  #
11072
11077
  #
11073
- # @example Example: To upload an object and specify optional tags
11074
- #
11075
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
11076
- # # S3 returns version ID of the newly created object.
11077
- #
11078
- # resp = client.put_object({
11079
- # body: "c:\\HappyFace.jpg",
11080
- # bucket: "examplebucket",
11081
- # key: "HappyFace.jpg",
11082
- # tagging: "key1=value1&key2=value2",
11083
- # })
11084
- #
11085
- # resp.to_h outputs the following:
11086
- # {
11087
- # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11088
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
11089
- # }
11090
- #
11091
- # @example Example: To create an object.
11078
+ # @example Example: To upload object and specify user-defined metadata
11092
11079
  #
11093
- # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
11080
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
11081
+ # # enabled, S3 returns version ID in response.
11094
11082
  #
11095
11083
  # resp = client.put_object({
11096
11084
  # body: "filetoupload",
11097
11085
  # bucket: "examplebucket",
11098
- # key: "objectkey",
11086
+ # key: "exampleobject",
11087
+ # metadata: {
11088
+ # "metadata1" => "value1",
11089
+ # "metadata2" => "value2",
11090
+ # },
11099
11091
  # })
11100
11092
  #
11101
11093
  # resp.to_h outputs the following:
11102
11094
  # {
11103
11095
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11104
- # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
11096
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
11105
11097
  # }
11106
11098
  #
11107
- # @example Example: To upload object and specify user-defined metadata
11099
+ # @example Example: To upload an object (specify optional headers)
11108
11100
  #
11109
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
11110
- # # enabled, S3 returns version ID in response.
11101
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
11102
+ # # storage class and use server-side encryption.
11111
11103
  #
11112
11104
  # resp = client.put_object({
11113
- # body: "filetoupload",
11105
+ # body: "HappyFace.jpg",
11114
11106
  # bucket: "examplebucket",
11115
- # key: "exampleobject",
11116
- # metadata: {
11117
- # "metadata1" => "value1",
11118
- # "metadata2" => "value2",
11119
- # },
11107
+ # key: "HappyFace.jpg",
11108
+ # server_side_encryption: "AES256",
11109
+ # storage_class: "STANDARD_IA",
11120
11110
  # })
11121
11111
  #
11122
11112
  # resp.to_h outputs the following:
11123
11113
  # {
11124
11114
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11125
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
11115
+ # server_side_encryption: "AES256",
11116
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
11126
11117
  # }
11127
11118
  #
11128
11119
  # @example Example: To upload an object
@@ -11162,42 +11153,56 @@ module Aws::S3
11162
11153
  # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
11163
11154
  # }
11164
11155
  #
11165
- # @example Example: To upload an object and specify canned ACL.
11156
+ # @example Example: To upload an object and specify optional tags
11166
11157
  #
11167
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
11168
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
11158
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
11159
+ # # S3 returns version ID of the newly created object.
11160
+ #
11161
+ # resp = client.put_object({
11162
+ # body: "c:\\HappyFace.jpg",
11163
+ # bucket: "examplebucket",
11164
+ # key: "HappyFace.jpg",
11165
+ # tagging: "key1=value1&key2=value2",
11166
+ # })
11167
+ #
11168
+ # resp.to_h outputs the following:
11169
+ # {
11170
+ # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11171
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
11172
+ # }
11173
+ #
11174
+ # @example Example: To create an object.
11175
+ #
11176
+ # # The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
11169
11177
  #
11170
11178
  # resp = client.put_object({
11171
- # acl: "authenticated-read",
11172
11179
  # body: "filetoupload",
11173
11180
  # bucket: "examplebucket",
11174
- # key: "exampleobject",
11181
+ # key: "objectkey",
11175
11182
  # })
11176
11183
  #
11177
11184
  # resp.to_h outputs the following:
11178
11185
  # {
11179
11186
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11180
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
11187
+ # version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
11181
11188
  # }
11182
11189
  #
11183
- # @example Example: To upload an object (specify optional headers)
11190
+ # @example Example: To upload an object and specify canned ACL.
11184
11191
  #
11185
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
11186
- # # storage class and use server-side encryption.
11192
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
11193
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
11187
11194
  #
11188
11195
  # resp = client.put_object({
11189
- # body: "HappyFace.jpg",
11196
+ # acl: "authenticated-read",
11197
+ # body: "filetoupload",
11190
11198
  # bucket: "examplebucket",
11191
- # key: "HappyFace.jpg",
11192
- # server_side_encryption: "AES256",
11193
- # storage_class: "STANDARD_IA",
11199
+ # key: "exampleobject",
11194
11200
  # })
11195
11201
  #
11196
11202
  # resp.to_h outputs the following:
11197
11203
  # {
11198
11204
  # etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
11199
- # server_side_encryption: "AES256",
11200
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
11205
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
11201
11206
  # }
11202
11207
  #
11203
11208
  # @example Streaming a file from disk
@@ -11280,7 +11285,7 @@ module Aws::S3
11280
11285
  # if you have an existing application that updates a bucket ACL using
11281
11286
  # the request body, you can continue to use that approach. For more
11282
11287
  # information, see [Access Control List (ACL) Overview][2] in the
11283
- # *Amazon S3 Developer Guide*.
11288
+ # *Amazon S3 User Guide*.
11284
11289
  #
11285
11290
  # **Access Permissions**
11286
11291
  #
@@ -11440,7 +11445,7 @@ module Aws::S3
11440
11445
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11441
11446
  # When using this action with an access point through the AWS SDKs, you
11442
11447
  # provide the access point ARN in place of the bucket name. For more
11443
- # information about access point ARNs, see [Using Access Points][1] in
11448
+ # information about access point ARNs, see [Using access points][1] in
11444
11449
  # the *Amazon S3 User Guide*.
11445
11450
  #
11446
11451
  #
@@ -11477,8 +11482,10 @@ module Aws::S3
11477
11482
  # This action is not supported by Amazon S3 on Outposts.
11478
11483
  #
11479
11484
  # @option params [String] :grant_write
11480
- # Allows grantee to create, overwrite, and delete any object in the
11481
- # bucket.
11485
+ # Allows grantee to create new objects in the bucket.
11486
+ #
11487
+ # For the bucket and object owners of existing objects, also allows
11488
+ # deletions and overwrites of those objects.
11482
11489
  #
11483
11490
  # @option params [String] :grant_write_acp
11484
11491
  # Allows grantee to write the ACL for the applicable bucket.
@@ -11493,7 +11500,7 @@ module Aws::S3
11493
11500
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11494
11501
  # When using this action with an access point through the AWS SDKs, you
11495
11502
  # provide the access point ARN in place of the bucket name. For more
11496
- # information about access point ARNs, see [Using Access Points][1] in
11503
+ # information about access point ARNs, see [Using access points][1] in
11497
11504
  # the *Amazon S3 User Guide*.
11498
11505
  #
11499
11506
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -11515,7 +11522,7 @@ module Aws::S3
11515
11522
  # request. Bucket owners need not specify this parameter in their
11516
11523
  # requests. For information about downloading objects from requester
11517
11524
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11518
- # in the *Amazon S3 Developer Guide*.
11525
+ # in the *Amazon S3 User Guide*.
11519
11526
  #
11520
11527
  #
11521
11528
  #
@@ -11618,7 +11625,7 @@ module Aws::S3
11618
11625
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11619
11626
  # When using this action with an access point through the AWS SDKs, you
11620
11627
  # provide the access point ARN in place of the bucket name. For more
11621
- # information about access point ARNs, see [Using Access Points][1] in
11628
+ # information about access point ARNs, see [Using access points][1] in
11622
11629
  # the *Amazon S3 User Guide*.
11623
11630
  #
11624
11631
  #
@@ -11637,7 +11644,7 @@ module Aws::S3
11637
11644
  # request. Bucket owners need not specify this parameter in their
11638
11645
  # requests. For information about downloading objects from requester
11639
11646
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11640
- # in the *Amazon S3 Developer Guide*.
11647
+ # in the *Amazon S3 User Guide*.
11641
11648
  #
11642
11649
  #
11643
11650
  #
@@ -11721,7 +11728,7 @@ module Aws::S3
11721
11728
  # request. Bucket owners need not specify this parameter in their
11722
11729
  # requests. For information about downloading objects from requester
11723
11730
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11724
- # in the *Amazon S3 Developer Guide*.
11731
+ # in the *Amazon S3 User Guide*.
11725
11732
  #
11726
11733
  #
11727
11734
  #
@@ -11796,7 +11803,7 @@ module Aws::S3
11796
11803
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11797
11804
  # When using this action with an access point through the AWS SDKs, you
11798
11805
  # provide the access point ARN in place of the bucket name. For more
11799
- # information about access point ARNs, see [Using Access Points][1] in
11806
+ # information about access point ARNs, see [Using access points][1] in
11800
11807
  # the *Amazon S3 User Guide*.
11801
11808
  #
11802
11809
  #
@@ -11815,7 +11822,7 @@ module Aws::S3
11815
11822
  # request. Bucket owners need not specify this parameter in their
11816
11823
  # requests. For information about downloading objects from requester
11817
11824
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11818
- # in the *Amazon S3 Developer Guide*.
11825
+ # in the *Amazon S3 User Guide*.
11819
11826
  #
11820
11827
  #
11821
11828
  #
@@ -11938,7 +11945,7 @@ module Aws::S3
11938
11945
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
11939
11946
  # When using this action with an access point through the AWS SDKs, you
11940
11947
  # provide the access point ARN in place of the bucket name. For more
11941
- # information about access point ARNs, see [Using Access Points][1] in
11948
+ # information about access point ARNs, see [Using access points][1] in
11942
11949
  # the *Amazon S3 User Guide*.
11943
11950
  #
11944
11951
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -11980,7 +11987,7 @@ module Aws::S3
11980
11987
  # request. Bucket owners need not specify this parameter in their
11981
11988
  # requests. For information about downloading objects from requester
11982
11989
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
11983
- # in the *Amazon S3 Developer Guide*.
11990
+ # in the *Amazon S3 User Guide*.
11984
11991
  #
11985
11992
  #
11986
11993
  #
@@ -12382,7 +12389,7 @@ module Aws::S3
12382
12389
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
12383
12390
  # When using this action with an access point through the AWS SDKs, you
12384
12391
  # provide the access point ARN in place of the bucket name. For more
12385
- # information about access point ARNs, see [Using Access Points][1] in
12392
+ # information about access point ARNs, see [Using access points][1] in
12386
12393
  # the *Amazon S3 User Guide*.
12387
12394
  #
12388
12395
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -12413,7 +12420,7 @@ module Aws::S3
12413
12420
  # request. Bucket owners need not specify this parameter in their
12414
12421
  # requests. For information about downloading objects from requester
12415
12422
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
12416
- # in the *Amazon S3 Developer Guide*.
12423
+ # in the *Amazon S3 User Guide*.
12417
12424
  #
12418
12425
  #
12419
12426
  #
@@ -13086,7 +13093,7 @@ module Aws::S3
13086
13093
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
13087
13094
  # When using this action with an access point through the AWS SDKs, you
13088
13095
  # provide the access point ARN in place of the bucket name. For more
13089
- # information about access point ARNs, see [Using Access Points][1] in
13096
+ # information about access point ARNs, see [Using access points][1] in
13090
13097
  # the *Amazon S3 User Guide*.
13091
13098
  #
13092
13099
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -13146,7 +13153,7 @@ module Aws::S3
13146
13153
  # request. Bucket owners need not specify this parameter in their
13147
13154
  # requests. For information about downloading objects from requester
13148
13155
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13149
- # in the *Amazon S3 Developer Guide*.
13156
+ # in the *Amazon S3 User Guide*.
13150
13157
  #
13151
13158
  #
13152
13159
  #
@@ -13360,7 +13367,7 @@ module Aws::S3
13360
13367
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
13361
13368
  # When using this action with an access point through the AWS SDKs, you
13362
13369
  # provide the access point ARN in place of the bucket name. For more
13363
- # information about access point ARNs, see [Using Access Points][1] in
13370
+ # information about access point ARNs, see [Using access points][1] in
13364
13371
  # the *Amazon S3 User Guide*.
13365
13372
  #
13366
13373
  # When using this action with Amazon S3 on Outposts, you must direct
@@ -13491,7 +13498,7 @@ module Aws::S3
13491
13498
  # request. Bucket owners need not specify this parameter in their
13492
13499
  # requests. For information about downloading objects from requester
13493
13500
  # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13494
- # in the *Amazon S3 Developer Guide*.
13501
+ # in the *Amazon S3 User Guide*.
13495
13502
  #
13496
13503
  #
13497
13504
  #
@@ -13910,7 +13917,7 @@ module Aws::S3
13910
13917
  params: params,
13911
13918
  config: config)
13912
13919
  context[:gem_name] = 'aws-sdk-s3'
13913
- context[:gem_version] = '1.94.1'
13920
+ context[:gem_version] = '1.95.0'
13914
13921
  Seahorse::Client::Request.new(handlers, context)
13915
13922
  end
13916
13923