@aws-sdk/client-s3 3.844.0 → 3.846.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.
Files changed (139) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +594 -121
  3. package/dist-es/S3.js +10 -0
  4. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
  5. package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
  6. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
  7. package/dist-es/commands/ListPartsCommand.js +1 -1
  8. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
  9. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +16 -24
  12. package/dist-es/models/models_1.js +24 -0
  13. package/dist-es/protocols/Aws_restXml.js +325 -3
  14. package/dist-types/S3.d.ts +35 -0
  15. package/dist-types/S3Client.d.ts +7 -2
  16. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
  17. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
  18. package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
  19. package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
  20. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
  23. package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
  24. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
  25. package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
  26. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
  27. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
  28. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  29. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
  30. package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
  31. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
  32. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
  33. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
  34. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
  35. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
  36. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
  37. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
  38. package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
  39. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
  40. package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
  41. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
  42. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
  43. package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
  44. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
  45. package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
  46. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
  47. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
  48. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
  49. package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
  50. package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
  51. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
  52. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
  53. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
  54. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
  55. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
  56. package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
  57. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
  58. package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
  59. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
  60. package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
  61. package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  62. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
  63. package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
  64. package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
  65. package/dist-types/commands/GetObjectCommand.d.ts +66 -81
  66. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
  67. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  68. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
  69. package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
  70. package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
  71. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
  72. package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
  73. package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
  74. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
  75. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
  76. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
  77. package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
  78. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
  79. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
  80. package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
  81. package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
  82. package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
  83. package/dist-types/commands/ListPartsCommand.d.ts +21 -24
  84. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
  85. package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
  86. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
  87. package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
  88. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
  89. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
  90. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
  91. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
  92. package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
  93. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
  94. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
  95. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  96. package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
  97. package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
  98. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  99. package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
  100. package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
  101. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
  102. package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
  103. package/dist-types/commands/PutObjectCommand.d.ts +56 -66
  104. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
  105. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
  106. package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
  107. package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
  108. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
  109. package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
  110. package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
  111. package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
  112. package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
  113. package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
  114. package/dist-types/commands/UploadPartCommand.d.ts +64 -74
  115. package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
  116. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
  117. package/dist-types/commands/index.d.ts +5 -0
  118. package/dist-types/models/models_0.d.ts +2688 -3603
  119. package/dist-types/models/models_1.d.ts +2120 -743
  120. package/dist-types/protocols/Aws_restXml.d.ts +45 -0
  121. package/dist-types/ts3.4/S3.d.ts +109 -0
  122. package/dist-types/ts3.4/S3Client.d.ts +30 -0
  123. package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  124. package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  134. package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +93 -206
  137. package/dist-types/ts3.4/models/models_1.d.ts +238 -0
  138. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
  139. package/package.json +15 -15
@@ -30,23 +30,22 @@ declare const PutObjectAclCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Uses the <code>acl</code> subresource to set the access control list (ACL) permissions
34
- * for a new or existing object in an S3 bucket. You must have the <code>WRITE_ACP</code>
35
- * permission to set the ACL of an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#permissions">What
36
- * permissions can I grant?</a> in the <i>Amazon S3 User Guide</i>.</p>
33
+ * <p>Uses the <code>acl</code> subresource to set the access control list (ACL) permissions for a new or
34
+ * existing object in an S3 bucket. You must have the <code>WRITE_ACP</code> permission to set the ACL of
35
+ * an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#permissions">What permissions can I grant?</a> in the
36
+ * <i>Amazon S3 User Guide</i>.</p>
37
37
  * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
38
- * <p>Depending on your application needs, you can choose to set the ACL on an object using
39
- * either the request body or the headers. For example, if you have an existing application
40
- * that updates a bucket ACL using the request body, you can continue to use that approach.
41
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a>
42
- * in the <i>Amazon S3 User Guide</i>.</p>
38
+ * <p>Depending on your application needs, you can choose to set the ACL on an object using either the
39
+ * request body or the headers. For example, if you have an existing application that updates a bucket ACL
40
+ * using the request body, you can continue to use that approach. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
41
+ * Overview</a> in the <i>Amazon S3 User Guide</i>.</p>
43
42
  * <important>
44
- * <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
45
- * are disabled and no longer affect permissions. You must use policies to grant access to
46
- * your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return
47
- * the <code>AccessControlListNotSupported</code> error code. Requests to read ACLs are
48
- * still supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object
49
- * ownership</a> in the <i>Amazon S3 User Guide</i>.</p>
43
+ * <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled
44
+ * and no longer affect permissions. You must use policies to grant access to your bucket and the objects
45
+ * in it. Requests to set ACLs or update ACLs fail and return the
46
+ * <code>AccessControlListNotSupported</code> error code. Requests to read ACLs are still supported.
47
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object ownership</a> in
48
+ * the <i>Amazon S3 User Guide</i>.</p>
50
49
  * </important>
51
50
  * <dl>
52
51
  * <dt>Permissions</dt>
@@ -54,42 +53,37 @@ declare const PutObjectAclCommand_base: {
54
53
  * <p>You can set access permissions using one of the following methods:</p>
55
54
  * <ul>
56
55
  * <li>
57
- * <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. Amazon S3
58
- * supports a set of predefined ACLs, known as canned ACLs. Each canned ACL has
59
- * a predefined set of grantees and permissions. Specify the canned ACL name as
60
- * the value of <code>x-amz-ac</code>l. If you use this header, you cannot use
61
- * other access control-specific headers in your request. For more information,
62
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
63
- * ACL</a>.</p>
56
+ * <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. Amazon S3 supports a set
57
+ * of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees and
58
+ * permissions. Specify the canned ACL name as the value of <code>x-amz-ac</code>l. If you use
59
+ * this header, you cannot use other access control-specific headers in your request. For more
60
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned ACL</a>.</p>
64
61
  * </li>
65
62
  * <li>
66
- * <p>Specify access permissions explicitly with the
67
- * <code>x-amz-grant-read</code>, <code>x-amz-grant-read-acp</code>,
68
- * <code>x-amz-grant-write-acp</code>, and
69
- * <code>x-amz-grant-full-control</code> headers. When using these headers,
70
- * you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3
71
- * groups) who will receive the permission. If you use these ACL-specific
72
- * headers, you cannot use <code>x-amz-acl</code> header to set a canned ACL.
73
- * These parameters map to the set of permissions that Amazon S3 supports in an ACL.
74
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
75
- * Overview</a>.</p>
76
- * <p>You specify each grantee as a type=value pair, where the type is one of
77
- * the following:</p>
63
+ * <p>Specify access permissions explicitly with the <code>x-amz-grant-read</code>,
64
+ * <code>x-amz-grant-read-acp</code>, <code>x-amz-grant-write-acp</code>, and
65
+ * <code>x-amz-grant-full-control</code> headers. When using these headers, you specify
66
+ * explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who will receive the
67
+ * permission. If you use these ACL-specific headers, you cannot use <code>x-amz-acl</code>
68
+ * header to set a canned ACL. These parameters map to the set of permissions that Amazon S3 supports
69
+ * in an ACL. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
70
+ * Overview</a>.</p>
71
+ * <p>You specify each grantee as a type=value pair, where the type is one of the
72
+ * following:</p>
78
73
  * <ul>
79
74
  * <li>
80
75
  * <p>
81
- * <code>id</code> – if the value specified is the canonical user ID
82
- * of an Amazon Web Services account</p>
76
+ * <code>id</code> – if the value specified is the canonical user ID of an
77
+ * Amazon Web Services account</p>
83
78
  * </li>
84
79
  * <li>
85
80
  * <p>
86
- * <code>uri</code> – if you are granting permissions to a predefined
87
- * group</p>
81
+ * <code>uri</code> – if you are granting permissions to a predefined group</p>
88
82
  * </li>
89
83
  * <li>
90
84
  * <p>
91
- * <code>emailAddress</code> – if the value specified is the email
92
- * address of an Amazon Web Services account</p>
85
+ * <code>emailAddress</code> – if the value specified is the email address of an
86
+ * Amazon Web Services account</p>
93
87
  * <note>
94
88
  * <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p>
95
89
  * <ul>
@@ -122,32 +116,30 @@ declare const PutObjectAclCommand_base: {
122
116
  * </note>
123
117
  * </li>
124
118
  * </ul>
125
- * <p>For example, the following <code>x-amz-grant-read</code> header grants
126
- * list objects permission to the two Amazon Web Services accounts identified by their email
127
- * addresses.</p>
119
+ * <p>For example, the following <code>x-amz-grant-read</code> header grants list objects
120
+ * permission to the two Amazon Web Services accounts identified by their email addresses.</p>
128
121
  * <p>
129
- * <code>x-amz-grant-read: emailAddress="xyz@amazon.com",
130
- * emailAddress="abc@amazon.com" </code>
122
+ * <code>x-amz-grant-read: emailAddress="xyz@amazon.com", emailAddress="abc@amazon.com"
123
+ * </code>
131
124
  * </p>
132
125
  * </li>
133
126
  * </ul>
134
- * <p>You can use either a canned ACL or specify access permissions explicitly. You
135
- * cannot do both.</p>
127
+ * <p>You can use either a canned ACL or specify access permissions explicitly. You cannot do
128
+ * both.</p>
136
129
  * </dd>
137
130
  * <dt>Grantee Values</dt>
138
131
  * <dd>
139
- * <p>You can specify the person (grantee) to whom you're assigning access rights
140
- * (using request elements) in the following ways. For examples of how to specify these
141
- * grantee values in JSON format, see the Amazon Web Services CLI example in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html">
142
- * Enabling Amazon S3 server access logging</a> in the
143
- * <i>Amazon S3 User Guide</i>.</p>
132
+ * <p>You can specify the person (grantee) to whom you're assigning access rights (using request
133
+ * elements) in the following ways. For examples of how to specify these grantee values in JSON
134
+ * format, see the Amazon Web Services CLI example in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html"> Enabling Amazon S3 server
135
+ * access logging</a> in the <i>Amazon S3 User Guide</i>.</p>
144
136
  * <ul>
145
137
  * <li>
146
138
  * <p>By the person's ID:</p>
147
139
  * <p>
148
140
  * <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
149
- * xsi:type="CanonicalUser"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName>
150
- * </Grantee></code>
141
+ * xsi:type="CanonicalUser"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName>
142
+ * </Grantee></code>
151
143
  * </p>
152
144
  * <p>DisplayName is optional and ignored in the request.</p>
153
145
  * </li>
@@ -155,17 +147,17 @@ declare const PutObjectAclCommand_base: {
155
147
  * <p>By URI:</p>
156
148
  * <p>
157
149
  * <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
158
- * xsi:type="Group"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee></code>
150
+ * xsi:type="Group"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee></code>
159
151
  * </p>
160
152
  * </li>
161
153
  * <li>
162
154
  * <p>By Email address:</p>
163
155
  * <p>
164
156
  * <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
165
- * xsi:type="AmazonCustomerByEmail"><EmailAddress><>Grantees@email.com<></EmailAddress>lt;/Grantee></code>
157
+ * xsi:type="AmazonCustomerByEmail"><EmailAddress><>Grantees@email.com<></EmailAddress>lt;/Grantee></code>
166
158
  * </p>
167
- * <p>The grantee is resolved to the CanonicalUser and, in a response to a GET
168
- * Object acl request, appears as the CanonicalUser.</p>
159
+ * <p>The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl
160
+ * request, appears as the CanonicalUser.</p>
169
161
  * <note>
170
162
  * <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p>
171
163
  * <ul>
@@ -201,9 +193,9 @@ declare const PutObjectAclCommand_base: {
201
193
  * </dd>
202
194
  * <dt>Versioning</dt>
203
195
  * <dd>
204
- * <p>The ACL of an object is set at the object version level. By default, PUT sets
205
- * the ACL of the current version of an object. To set the ACL of a different
206
- * version, use the <code>versionId</code> subresource.</p>
196
+ * <p>The ACL of an object is set at the object version level. By default, PUT sets the ACL of the
197
+ * current version of an object. To set the ACL of a different version, use the
198
+ * <code>versionId</code> subresource.</p>
207
199
  * </dd>
208
200
  * </dl>
209
201
  * <p>The following operations are related to <code>PutObjectAcl</code>:</p>
@@ -40,20 +40,19 @@ declare const PutObjectCommand_base: {
40
40
  * <note>
41
41
  * <ul>
42
42
  * <li>
43
- * <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added
44
- * the entire object to the bucket. You cannot use <code>PutObject</code> to only
45
- * update a single piece of metadata for an existing object. You must put the entire
46
- * object with updated metadata if you want to update some values.</p>
43
+ * <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire
44
+ * object to the bucket. You cannot use <code>PutObject</code> to only update a single piece of
45
+ * metadata for an existing object. You must put the entire object with updated metadata if you want
46
+ * to update some values.</p>
47
47
  * </li>
48
48
  * <li>
49
- * <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
50
- * ACLs are disabled and no longer affect permissions. All objects written to the
51
- * bucket by any account will be owned by the bucket owner.</p>
49
+ * <p>If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled
50
+ * and no longer affect permissions. All objects written to the bucket by any account will be owned
51
+ * by the bucket owner.</p>
52
52
  * </li>
53
53
  * <li>
54
54
  * <p>
55
- * <b>Directory buckets</b> -
56
- * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
55
+ * <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
57
56
  * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
58
57
  * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
59
58
  * <i>Amazon S3 User Guide</i>.</p>
@@ -61,39 +60,39 @@ declare const PutObjectCommand_base: {
61
60
  * </ul>
62
61
  * </note>
63
62
  * <p>Amazon S3 is a distributed system. If it receives multiple write requests for the same object
64
- * simultaneously, it overwrites all but the last object written. However, Amazon S3 provides
65
- * features that can modify this behavior:</p>
63
+ * simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can
64
+ * modify this behavior:</p>
66
65
  * <ul>
67
66
  * <li>
68
67
  * <p>
69
- * <b>S3 Object Lock</b> - To prevent objects from
70
- * being deleted or overwritten, you can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Amazon S3 Object
71
- * Lock</a> in the <i>Amazon S3 User Guide</i>.</p>
68
+ * <b>S3 Object Lock</b> - To prevent objects from being deleted
69
+ * or overwritten, you can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Amazon S3 Object Lock</a> in the <i>Amazon S3 User Guide</i>.</p>
72
70
  * <note>
73
71
  * <p>This functionality is not supported for directory buckets.</p>
74
72
  * </note>
75
73
  * </li>
76
74
  * <li>
77
75
  * <p>
78
- * <b>If-None-Match</b> - Uploads the object only if the object key name does not already exist in the specified bucket. Otherwise, Amazon S3 returns a <code>412 Precondition Failed</code> error. If a conflicting operation occurs during the upload, S3 returns a <code>409 ConditionalRequestConflict</code> response. On a 409 failure, retry the upload.</p>
76
+ * <b>If-None-Match</b> - Uploads the object only if the object
77
+ * key name does not already exist in the specified bucket. Otherwise, Amazon S3 returns a <code>412
78
+ * Precondition Failed</code> error. If a conflicting operation occurs during the upload, S3 returns
79
+ * a <code>409 ConditionalRequestConflict</code> response. On a 409 failure, retry the upload.</p>
79
80
  * <p>Expects the * character (asterisk).</p>
80
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Add preconditions to S3 operations with conditional requests</a> in the <i>Amazon S3 User Guide</i> or <a href="https://datatracker.ietf.org/doc/rfc7232/">RFC 7232</a>.
81
- * </p>
81
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Add preconditions to S3 operations with
82
+ * conditional requests</a> in the <i>Amazon S3 User Guide</i> or <a href="https://datatracker.ietf.org/doc/rfc7232/">RFC 7232</a>. </p>
82
83
  * <note>
83
84
  * <p>This functionality is not supported for S3 on Outposts.</p>
84
85
  * </note>
85
86
  * </li>
86
87
  * <li>
87
88
  * <p>
88
- * <b>S3 Versioning</b> - When you enable versioning
89
- * for a bucket, if Amazon S3 receives multiple write requests for the same object
90
- * simultaneously, it stores all versions of the objects. For each write request that is
91
- * made to the same object, Amazon S3 automatically generates a unique version ID of that
92
- * object being stored in Amazon S3. You can retrieve, replace, or delete any version of the
93
- * object. For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding
94
- * Objects to Versioning-Enabled Buckets</a> in the <i>Amazon S3 User
95
- * Guide</i>. For information about returning the versioning state of a
96
- * bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
89
+ * <b>S3 Versioning</b> - When you enable versioning for a bucket,
90
+ * if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all versions
91
+ * of the objects. For each write request that is made to the same object, Amazon S3 automatically generates
92
+ * a unique version ID of that object being stored in Amazon S3. You can retrieve, replace, or delete any
93
+ * version of the object. For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding Objects to
94
+ * Versioning-Enabled Buckets</a> in the <i>Amazon S3 User Guide</i>. For information
95
+ * about returning the versioning state of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
97
96
  * <note>
98
97
  * <p>This functionality is not supported for directory buckets.</p>
99
98
  * </note>
@@ -105,34 +104,31 @@ declare const PutObjectCommand_base: {
105
104
  * <ul>
106
105
  * <li>
107
106
  * <p>
108
- * <b>General purpose bucket permissions</b> - The
109
- * following permissions are required in your policies when your
110
- * <code>PutObject</code> request includes specific headers.</p>
107
+ * <b>General purpose bucket permissions</b> - The following
108
+ * permissions are required in your policies when your <code>PutObject</code> request includes
109
+ * specific headers.</p>
111
110
  * <ul>
112
111
  * <li>
113
112
  * <p>
114
113
  * <b>
115
114
  * <code>s3:PutObject</code>
116
- * </b> -
117
- * To successfully complete the <code>PutObject</code> request, you must
118
- * always have the <code>s3:PutObject</code> permission on a bucket to
119
- * add an object to it.</p>
115
+ * </b> - To successfully
116
+ * complete the <code>PutObject</code> request, you must always have the
117
+ * <code>s3:PutObject</code> permission on a bucket to add an object to it.</p>
120
118
  * </li>
121
119
  * <li>
122
120
  * <p>
123
121
  * <b>
124
122
  * <code>s3:PutObjectAcl</code>
125
- * </b> - To successfully change the objects ACL of your
126
- * <code>PutObject</code> request, you must have the
127
- * <code>s3:PutObjectAcl</code>.</p>
123
+ * </b> - To successfully change the objects ACL of your <code>PutObject</code>
124
+ * request, you must have the <code>s3:PutObjectAcl</code>.</p>
128
125
  * </li>
129
126
  * <li>
130
127
  * <p>
131
128
  * <b>
132
129
  * <code>s3:PutObjectTagging</code>
133
- * </b> - To successfully set the tag-set with your
134
- * <code>PutObject</code> request, you must have the
135
- * <code>s3:PutObjectTagging</code>.</p>
130
+ * </b> - To successfully set the tag-set with your <code>PutObject</code>
131
+ * request, you must have the <code>s3:PutObjectTagging</code>.</p>
136
132
  * </li>
137
133
  * </ul>
138
134
  * </li>
@@ -145,9 +141,8 @@ declare const PutObjectCommand_base: {
145
141
  * <code>CreateSession</code>
146
142
  * </a>.</p>
147
143
  * <p>If the object is encrypted with SSE-KMS, you must also have the
148
- * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions
149
- * in IAM identity-based policies and KMS key policies for the KMS
150
- * key.</p>
144
+ * <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM
145
+ * identity-based policies and KMS key policies for the KMS key.</p>
151
146
  * </li>
152
147
  * </ul>
153
148
  * </dd>
@@ -156,18 +151,17 @@ declare const PutObjectCommand_base: {
156
151
  * <ul>
157
152
  * <li>
158
153
  * <p>
159
- * <b>General purpose bucket</b> - To ensure that
160
- * data is not corrupted traversing the network, use the
161
- * <code>Content-MD5</code> header. When you use this header, Amazon S3 checks
162
- * the object against the provided MD5 value and, if they do not match, Amazon S3
163
- * returns an error. Alternatively, when the object's ETag is its MD5 digest,
164
- * you can calculate the MD5 while putting the object to Amazon S3 and compare the
165
- * returned ETag to the calculated MD5 value.</p>
154
+ * <b>General purpose bucket</b> - To ensure that data is not
155
+ * corrupted traversing the network, use the <code>Content-MD5</code> header. When you use this
156
+ * header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, Amazon S3
157
+ * returns an error. Alternatively, when the object's ETag is its MD5 digest, you can calculate
158
+ * the MD5 while putting the object to Amazon S3 and compare the returned ETag to the calculated MD5
159
+ * value.</p>
166
160
  * </li>
167
161
  * <li>
168
162
  * <p>
169
163
  * <b>Directory bucket</b> -
170
- * This functionality is not supported for directory buckets.</p>
164
+ * This functionality is not supported for directory buckets.</p>
171
165
  * </li>
172
166
  * </ul>
173
167
  * </dd>
@@ -273,20 +267,20 @@ declare const PutObjectCommand_base: {
273
267
  * @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
274
268
  *
275
269
  * @throws {@link EncryptionTypeMismatch} (client fault)
276
- * <p>
277
- * The existing object was created with a different encryption type.
278
- * Subsequent write requests must include the appropriate encryption
279
- * parameters in the request or while creating the session.
280
- * </p>
270
+ * <p> The existing object was created with a different encryption type. Subsequent write requests must
271
+ * include the appropriate encryption parameters in the request or while creating the session. </p>
281
272
  *
282
273
  * @throws {@link InvalidRequest} (client fault)
283
- * <p>You may receive this error in multiple cases. Depending on the reason for the error, you may receive one of the messages below:</p>
274
+ * <p>You may receive this error in multiple cases. Depending on the reason for the error, you may receive
275
+ * one of the messages below:</p>
284
276
  * <ul>
285
277
  * <li>
286
- * <p>Cannot specify both a write offset value and user-defined object metadata for existing objects.</p>
278
+ * <p>Cannot specify both a write offset value and user-defined object metadata for existing
279
+ * objects.</p>
287
280
  * </li>
288
281
  * <li>
289
- * <p>Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: crc32c.</p>
282
+ * <p>Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type:
283
+ * crc32c.</p>
290
284
  * </li>
291
285
  * <li>
292
286
  * <p>Request body cannot be empty when 'write offset' is specified.</p>
@@ -294,16 +288,12 @@ declare const PutObjectCommand_base: {
294
288
  * </ul>
295
289
  *
296
290
  * @throws {@link InvalidWriteOffset} (client fault)
297
- * <p>
298
- * The write offset value that you specified does not match the current object size.
299
- * </p>
291
+ * <p> The write offset value that you specified does not match the current object size. </p>
300
292
  *
301
293
  * @throws {@link TooManyParts} (client fault)
302
- * <p>
303
- * You have attempted to add more parts than the maximum of 10000
304
- * that are allowed for this object. You can use the CopyObject operation
305
- * to copy this object to another and then add more data to the newly copied object.
306
- * </p>
294
+ * <p> You have attempted to add more parts than the maximum of 10000 that are allowed for this object.
295
+ * You can use the CopyObject operation to copy this object to another and then add more data to the newly
296
+ * copied object. </p>
307
297
  *
308
298
  * @throws {@link S3ServiceException}
309
299
  * <p>Base exception class for all service exceptions from S3 service.</p>
@@ -30,9 +30,7 @@ declare const PutObjectLegalHoldCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Applies a legal hold configuration to the specified object. For more information, see
34
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
35
- * Objects</a>.</p>
33
+ * <p>Applies a legal hold configuration to the specified object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
36
34
  * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
37
35
  * @example
38
36
  * Use a bare-bones client and the command you need to make an API call.
@@ -30,24 +30,23 @@ declare const PutObjectLockConfigurationCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Places an Object Lock configuration on the specified bucket. The rule specified in the
34
- * Object Lock configuration will be applied by default to every new object placed in the
35
- * specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>. </p>
33
+ * <p>Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock
34
+ * configuration will be applied by default to every new object placed in the specified bucket. For more
35
+ * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
36
+ * Objects</a>. </p>
36
37
  * <note>
37
38
  * <ul>
38
39
  * <li>
39
- * <p>The <code>DefaultRetention</code> settings require both a mode and a
40
- * period.</p>
40
+ * <p>The <code>DefaultRetention</code> settings require both a mode and a period.</p>
41
41
  * </li>
42
42
  * <li>
43
- * <p>The <code>DefaultRetention</code> period can be either <code>Days</code> or
44
- * <code>Years</code> but you must select one. You cannot specify
45
- * <code>Days</code> and <code>Years</code> at the same time.</p>
43
+ * <p>The <code>DefaultRetention</code> period can be either <code>Days</code> or <code>Years</code>
44
+ * but you must select one. You cannot specify <code>Days</code> and <code>Years</code> at the same
45
+ * time.</p>
46
46
  * </li>
47
47
  * <li>
48
- * <p>You can enable Object Lock for new or existing buckets. For more information,
49
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html">Configuring Object
50
- * Lock</a>.</p>
48
+ * <p>You can enable Object Lock for new or existing buckets. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html">Configuring
49
+ * Object Lock</a>.</p>
51
50
  * </li>
52
51
  * </ul>
53
52
  * </note>
@@ -30,10 +30,10 @@ declare const PutObjectRetentionCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Places an Object Retention configuration on an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
34
- * Users or accounts require the <code>s3:PutObjectRetention</code> permission in order to
35
- * place an Object Retention configuration on objects. Bypassing a Governance Retention
36
- * configuration requires the <code>s3:BypassGovernanceRetention</code> permission. </p>
33
+ * <p>Places an Object Retention configuration on an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>. Users or
34
+ * accounts require the <code>s3:PutObjectRetention</code> permission in order to place an Object Retention
35
+ * configuration on objects. Bypassing a Governance Retention configuration requires the
36
+ * <code>s3:BypassGovernanceRetention</code> permission. </p>
37
37
  * <p>This functionality is not supported for Amazon S3 on Outposts.</p>
38
38
  * @example
39
39
  * Use a bare-bones client and the command you need to make an API call.
@@ -30,44 +30,38 @@ declare const PutObjectTaggingCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Sets the supplied tag-set to an object that already exists in a bucket. A tag is a
34
- * key-value pair. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object Tagging</a>.</p>
35
- * <p>You can associate tags with an object by sending a PUT request against the tagging
36
- * subresource that is associated with the object. You can retrieve tags by sending a GET
37
- * request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>.</p>
33
+ * <p>Sets the supplied tag-set to an object that already exists in a bucket. A tag is a key-value pair.
34
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object Tagging</a>.</p>
35
+ * <p>You can associate tags with an object by sending a PUT request against the tagging subresource that
36
+ * is associated with the object. You can retrieve tags by sending a GET request. For more information, see
37
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>.</p>
38
38
  * <p>For tagging-related restrictions related to characters and encodings, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">Tag
39
- * Restrictions</a>. Note that Amazon S3 limits the maximum number of tags to 10 tags per
40
- * object.</p>
41
- * <p>To use this operation, you must have permission to perform the
42
- * <code>s3:PutObjectTagging</code> action. By default, the bucket owner has this
43
- * permission and can grant this permission to others.</p>
44
- * <p>To put tags of any other version, use the <code>versionId</code> query parameter. You
45
- * also need permission for the <code>s3:PutObjectVersionTagging</code> action.</p>
39
+ * Restrictions</a>. Note that Amazon S3 limits the maximum number of tags to 10 tags per object.</p>
40
+ * <p>To use this operation, you must have permission to perform the <code>s3:PutObjectTagging</code>
41
+ * action. By default, the bucket owner has this permission and can grant this permission to others.</p>
42
+ * <p>To put tags of any other version, use the <code>versionId</code> query parameter. You also need
43
+ * permission for the <code>s3:PutObjectVersionTagging</code> action.</p>
46
44
  * <p>
47
- * <code>PutObjectTagging</code> has the following special errors. For more Amazon S3 errors
48
- * see, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error
49
- * Responses</a>.</p>
45
+ * <code>PutObjectTagging</code> has the following special errors. For more Amazon S3 errors see, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error Responses</a>.</p>
50
46
  * <ul>
51
47
  * <li>
52
48
  * <p>
53
- * <code>InvalidTag</code> - The tag provided was not a valid tag. This error
54
- * can occur if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object
55
- * Tagging</a>.</p>
49
+ * <code>InvalidTag</code> - The tag provided was not a valid tag. This error can occur if
50
+ * the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html">Object Tagging</a>.</p>
56
51
  * </li>
57
52
  * <li>
58
53
  * <p>
59
- * <code>MalformedXML</code> - The XML provided does not match the
60
- * schema.</p>
54
+ * <code>MalformedXML</code> - The XML provided does not match the schema.</p>
61
55
  * </li>
62
56
  * <li>
63
57
  * <p>
64
- * <code>OperationAborted</code> - A conflicting conditional action is
65
- * currently in progress against this resource. Please try again.</p>
58
+ * <code>OperationAborted</code> - A conflicting conditional action is currently in progress
59
+ * against this resource. Please try again.</p>
66
60
  * </li>
67
61
  * <li>
68
62
  * <p>
69
- * <code>InternalError</code> - The service was unable to apply the provided
70
- * tag to the object.</p>
63
+ * <code>InternalError</code> - The service was unable to apply the provided tag to the
64
+ * object.</p>
71
65
  * </li>
72
66
  * </ul>
73
67
  * <p>The following operations are related to <code>PutObjectTagging</code>:</p>
@@ -30,17 +30,16 @@ declare const PutPublicAccessBlockCommand_base: {
30
30
  * <note>
31
31
  * <p>This operation is not supported for directory buckets.</p>
32
32
  * </note>
33
- * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket.
34
- * To use this operation, you must have the <code>s3:PutBucketPublicAccessBlock</code>
35
- * permission. For more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
36
- * Policy</a>.</p>
33
+ * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use this
34
+ * operation, you must have the <code>s3:PutBucketPublicAccessBlock</code> permission. For more information
35
+ * about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
36
+ * Policy</a>.</p>
37
37
  * <important>
38
- * <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or
39
- * an object, it checks the <code>PublicAccessBlock</code> configuration for both the
40
- * bucket (or the bucket that contains the object) and the bucket owner's account. If the
41
- * <code>PublicAccessBlock</code> configurations are different between the bucket and
42
- * the account, Amazon S3 uses the most restrictive combination of the bucket-level and
43
- * account-level settings.</p>
38
+ * <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or an object, it
39
+ * checks the <code>PublicAccessBlock</code> configuration for both the bucket (or the bucket that
40
+ * contains the object) and the bucket owner's account. If the <code>PublicAccessBlock</code>
41
+ * configurations are different between the bucket and the account, Amazon S3 uses the most restrictive
42
+ * combination of the bucket-level and account-level settings.</p>
44
43
  * </important>
45
44
  * <p>For more information about when Amazon S3 considers a bucket or an object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a>.</p>
46
45
  * <p>The following operations are related to <code>PutPublicAccessBlock</code>:</p>
@@ -62,8 +61,7 @@ declare const PutPublicAccessBlockCommand_base: {
62
61
  * </li>
63
62
  * <li>
64
63
  * <p>
65
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using Amazon S3 Block
66
- * Public Access</a>
64
+ * <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using Amazon S3 Block Public Access</a>
67
65
  * </p>
68
66
  * </li>
69
67
  * </ul>