@aws-sdk/client-s3 3.301.0 → 3.304.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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +296 -317
- package/dist-cjs/models/models_1.js +29 -36
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +294 -315
- package/dist-es/models/models_1.js +29 -36
- package/dist-types/S3.d.ts +751 -662
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +22 -14
- package/dist-types/commands/CopyObjectCommand.d.ts +53 -30
- package/dist-types/commands/CreateBucketCommand.d.ts +22 -14
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +74 -48
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +7 -5
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -2
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +11 -11
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -4
- package/dist-types/commands/DeleteObjectsCommand.d.ts +13 -14
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/GetBucketAclCommand.d.ts +9 -7
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -7
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -0
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -3
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectAclCommand.d.ts +5 -4
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +23 -28
- package/dist-types/commands/GetObjectCommand.d.ts +20 -18
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +5 -5
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +15 -9
- package/dist-types/commands/HeadObjectCommand.d.ts +20 -19
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -5
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -7
- package/dist-types/commands/ListBucketsCommand.d.ts +3 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -6
- package/dist-types/commands/ListObjectsV2Command.d.ts +11 -12
- package/dist-types/commands/ListPartsCommand.d.ts +3 -4
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketAclCommand.d.ts +15 -12
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +16 -14
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +20 -8
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +11 -7
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -12
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +12 -11
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +12 -12
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectAclCommand.d.ts +17 -13
- package/dist-types/commands/PutObjectCommand.d.ts +44 -53
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +4 -3
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +49 -68
- package/dist-types/commands/SelectObjectContentCommand.d.ts +13 -17
- package/dist-types/commands/UploadPartCommand.d.ts +23 -16
- package/dist-types/commands/UploadPartCopyCommand.d.ts +7 -5
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +32 -21
- package/dist-types/models/models_0.d.ts +975 -627
- package/dist-types/models/models_1.d.ts +145 -105
- package/dist-types/ts3.4/models/models_0.d.ts +383 -293
- package/dist-types/ts3.4/models/models_1.d.ts +40 -29
- package/package.json +51 -51
|
@@ -28,8 +28,8 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
|
|
|
28
28
|
* <p>To verify that all parts have been removed, so you don't get charged for the part
|
|
29
29
|
* storage, you should call the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a> action and ensure that
|
|
30
30
|
* the parts list is empty.</p>
|
|
31
|
-
* <p>For information about permissions required to use the multipart upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
32
|
-
*
|
|
31
|
+
* <p>For information about permissions required to use the multipart upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
32
|
+
* and Permissions</a>.</p>
|
|
33
33
|
* <p>The following operations are related to <code>AbortMultipartUpload</code>:</p>
|
|
34
34
|
* <ul>
|
|
35
35
|
* <li>
|
|
@@ -22,28 +22,36 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
|
|
|
22
22
|
* <p>Completes a multipart upload by assembling previously uploaded parts.</p>
|
|
23
23
|
* <p>You first initiate the multipart upload and then upload all parts using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
24
24
|
* operation. After successfully uploading all relevant parts of an upload, you call this
|
|
25
|
-
* action to complete the upload. Upon receiving this request, Amazon S3 concatenates all
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
25
|
+
* action to complete the upload. Upon receiving this request, Amazon S3 concatenates all the
|
|
26
|
+
* parts in ascending order by part number to create a new object. In the Complete Multipart
|
|
27
|
+
* Upload request, you must provide the parts list. You must ensure that the parts list is
|
|
28
|
+
* complete. This action concatenates the parts that you provide in the list. For each part in
|
|
29
|
+
* the list, you must provide the part number and the <code>ETag</code> value, returned after
|
|
30
|
+
* that part was uploaded.</p>
|
|
31
31
|
* <p>Processing of a Complete Multipart Upload request could take several minutes to
|
|
32
32
|
* complete. After Amazon S3 begins processing the request, it sends an HTTP response header that
|
|
33
33
|
* specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white
|
|
34
|
-
* space characters to keep the connection from timing out.
|
|
35
|
-
*
|
|
36
|
-
*
|
|
34
|
+
* space characters to keep the connection from timing out. A request could fail after the
|
|
35
|
+
* initial 200 OK response has been sent. This means that a <code>200 OK</code> response can
|
|
36
|
+
* contain either a success or an error. If you call the S3 API directly, make sure to design
|
|
37
|
+
* your application to parse the contents of the response and handle it appropriately. If you
|
|
38
|
+
* use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply
|
|
39
|
+
* error handling per your configuration settings (including automatically retrying the
|
|
40
|
+
* request as appropriate). If the condition persists, the SDKs throws an exception (or, for
|
|
41
|
+
* the SDKs that don't use exceptions, they return the error). </p>
|
|
37
42
|
* <p>Note that if <code>CompleteMultipartUpload</code> fails, applications should be prepared
|
|
38
|
-
* to retry the failed requests. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html">Amazon S3 Error Best
|
|
43
|
+
* to retry the failed requests. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html">Amazon S3 Error Best
|
|
44
|
+
* Practices</a>.</p>
|
|
39
45
|
* <important>
|
|
40
|
-
* <p>You cannot use <code>Content-Type: application/x-www-form-urlencoded</code> with
|
|
41
|
-
* Multipart Upload requests. Also, if you do not provide a
|
|
46
|
+
* <p>You cannot use <code>Content-Type: application/x-www-form-urlencoded</code> with
|
|
47
|
+
* Complete Multipart Upload requests. Also, if you do not provide a
|
|
48
|
+
* <code>Content-Type</code> header, <code>CompleteMultipartUpload</code> returns a 200
|
|
49
|
+
* OK response.</p>
|
|
42
50
|
* </important>
|
|
43
51
|
* <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
44
52
|
* Upload</a>.</p>
|
|
45
|
-
* <p>For information about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
46
|
-
*
|
|
53
|
+
* <p>For information about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
54
|
+
* and Permissions</a>.</p>
|
|
47
55
|
* <p>
|
|
48
56
|
* <code>CompleteMultipartUpload</code> has the following special errors:</p>
|
|
49
57
|
* <ul>
|
|
@@ -29,15 +29,20 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
29
29
|
* </note>
|
|
30
30
|
* <p>All copy requests must be authenticated. Additionally, you must have
|
|
31
31
|
* <i>read</i> access to the source object and <i>write</i>
|
|
32
|
-
* access to the destination bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>. Both the
|
|
33
|
-
* that you want to copy the object from and the Region that you want to copy the
|
|
34
|
-
* must be enabled for your account.</p>
|
|
32
|
+
* access to the destination bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>. Both the
|
|
33
|
+
* Region that you want to copy the object from and the Region that you want to copy the
|
|
34
|
+
* object to must be enabled for your account.</p>
|
|
35
35
|
* <p>A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
|
|
36
36
|
* is copying the files. If the error occurs before the copy action starts, you receive a
|
|
37
37
|
* standard Amazon S3 error. If the error occurs during the copy operation, the error response is
|
|
38
38
|
* embedded in the <code>200 OK</code> response. This means that a <code>200 OK</code>
|
|
39
|
-
* response can contain either a success or an error.
|
|
40
|
-
* contents of the response and handle it
|
|
39
|
+
* response can contain either a success or an error. If you call the S3 API directly, make
|
|
40
|
+
* sure to design your application to parse the contents of the response and handle it
|
|
41
|
+
* appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the
|
|
42
|
+
* embedded error and apply error handling per your configuration settings (including
|
|
43
|
+
* automatically retrying the request as appropriate). If the condition persists, the SDKs
|
|
44
|
+
* throws an exception (or, for the SDKs that don't use exceptions, they return the
|
|
45
|
+
* error).</p>
|
|
41
46
|
* <p>If the copy is successful, you receive a response with information about the copied
|
|
42
47
|
* object.</p>
|
|
43
48
|
* <note>
|
|
@@ -50,7 +55,8 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
50
55
|
* <important>
|
|
51
56
|
* <p>Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
|
|
52
57
|
* cross-Region copy using a transfer acceleration endpoint, you get a 400 <code>Bad
|
|
53
|
-
* Request</code> error. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer
|
|
58
|
+
* Request</code> error. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer
|
|
59
|
+
* Acceleration</a>.</p>
|
|
54
60
|
* </important>
|
|
55
61
|
* <p>
|
|
56
62
|
* <b>Metadata</b>
|
|
@@ -67,6 +73,11 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
67
73
|
* Policy</a> in the <i>Amazon S3 User Guide</i>. For a complete list of
|
|
68
74
|
* Amazon S3-specific condition keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, Resources, and Condition Keys for
|
|
69
75
|
* Amazon S3</a>.</p>
|
|
76
|
+
* <note>
|
|
77
|
+
* <p>
|
|
78
|
+
* <code>x-amz-website-redirect-location</code> is unique to each object and must be
|
|
79
|
+
* specified in the request headers to copy the value.</p>
|
|
80
|
+
* </note>
|
|
70
81
|
* <p>
|
|
71
82
|
* <b>x-amz-copy-source-if Headers</b>
|
|
72
83
|
* </p>
|
|
@@ -131,14 +142,27 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
131
142
|
* <p>
|
|
132
143
|
* <b>Server-side encryption</b>
|
|
133
144
|
* </p>
|
|
134
|
-
* <p>
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
145
|
+
* <p>Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When
|
|
146
|
+
* copying an object, if you don't specify encryption information in your copy request, the
|
|
147
|
+
* encryption setting of the target object is set to the default encryption configuration of
|
|
148
|
+
* the destination bucket. By default, all buckets have a base level of encryption
|
|
149
|
+
* configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
|
|
150
|
+
* destination bucket has a default encryption configuration that uses server-side encryption
|
|
151
|
+
* with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
|
|
152
|
+
* Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target
|
|
153
|
+
* object copy. When you perform a CopyObject operation, if you want to use a different type
|
|
154
|
+
* of encryption setting for the target object, you can use other appropriate
|
|
155
|
+
* encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed
|
|
156
|
+
* key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it
|
|
157
|
+
* writes it to disks in its data centers and decrypts the data when you access it. If the
|
|
158
|
+
* encryption setting in your request is different from the default encryption configuration
|
|
159
|
+
* of the destination bucket, the encryption setting in your request takes precedence. If the
|
|
160
|
+
* source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary
|
|
161
|
+
* encryption information in your request so that Amazon S3 can decrypt the object for copying. For
|
|
162
|
+
* more information about server-side encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Using Server-Side
|
|
163
|
+
* Encryption</a>.</p>
|
|
164
|
+
* <p>If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For
|
|
165
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
142
166
|
* <p>
|
|
143
167
|
* <b>Access Control List (ACL)-Specific Request
|
|
144
168
|
* Headers</b>
|
|
@@ -150,29 +174,29 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
150
174
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html">Managing ACLs Using the REST
|
|
151
175
|
* API</a>. </p>
|
|
152
176
|
* <p>If the bucket that you're copying objects to uses the bucket owner enforced setting for
|
|
153
|
-
* S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
|
|
154
|
-
*
|
|
155
|
-
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
|
|
156
|
-
* ACL or an equivalent form of this ACL expressed in the XML format.</p>
|
|
177
|
+
* S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that use
|
|
178
|
+
* this setting only accept PUT requests that don't specify an ACL or PUT requests that
|
|
179
|
+
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
|
|
180
|
+
* canned ACL or an equivalent form of this ACL expressed in the XML format.</p>
|
|
157
181
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
|
|
158
|
-
*
|
|
182
|
+
* objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
159
183
|
* <note>
|
|
160
|
-
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
|
|
161
|
-
*
|
|
184
|
+
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership, all
|
|
185
|
+
* objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
162
186
|
* </note>
|
|
163
187
|
* <p>
|
|
164
188
|
* <b>Checksums</b>
|
|
165
189
|
* </p>
|
|
166
|
-
* <p>When copying an object, if it has a checksum, that checksum will be copied to the new
|
|
167
|
-
*
|
|
168
|
-
*
|
|
190
|
+
* <p>When copying an object, if it has a checksum, that checksum will be copied to the new
|
|
191
|
+
* object by default. When you copy the object over, you may optionally specify a different
|
|
192
|
+
* checksum algorithm to use with the <code>x-amz-checksum-algorithm</code> header.</p>
|
|
169
193
|
* <p>
|
|
170
194
|
* <b>Storage Class Options</b>
|
|
171
195
|
* </p>
|
|
172
|
-
* <p>You can use the <code>CopyObject</code> action to change the storage class of an
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
196
|
+
* <p>You can use the <code>CopyObject</code> action to change the storage class of an object
|
|
197
|
+
* that is already stored in Amazon S3 using the <code>StorageClass</code> parameter. For more
|
|
198
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
|
|
199
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
176
200
|
* <p>
|
|
177
201
|
* <b>Versioning</b>
|
|
178
202
|
* </p>
|
|
@@ -201,8 +225,7 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
201
225
|
* </p>
|
|
202
226
|
* </li>
|
|
203
227
|
* </ul>
|
|
204
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html">Copying
|
|
205
|
-
* Objects</a>.</p>
|
|
228
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html">Copying Objects</a>.</p>
|
|
206
229
|
* @example
|
|
207
230
|
* Use a bare-bones client and the command you need to make an API call.
|
|
208
231
|
* ```javascript
|
|
@@ -23,27 +23,30 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
23
23
|
* valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to
|
|
24
24
|
* create buckets. By creating the bucket, you become the bucket owner.</p>
|
|
25
25
|
* <p>Not every string is an acceptable bucket name. For information about bucket naming
|
|
26
|
-
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
|
|
26
|
+
* restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
|
|
27
|
+
* rules</a>.</p>
|
|
27
28
|
* <p>If you want to create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">Create Bucket</a>. </p>
|
|
28
29
|
* <p>By default, the bucket is created in the US East (N. Virginia) Region. You can
|
|
29
30
|
* optionally specify a Region in the request body. You might choose a Region to optimize
|
|
30
31
|
* latency, minimize costs, or address regulatory requirements. For example, if you reside in
|
|
31
32
|
* Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)
|
|
32
33
|
* Region. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">Accessing a
|
|
33
|
-
*
|
|
34
|
+
* bucket</a>.</p>
|
|
34
35
|
* <note>
|
|
35
36
|
* <p>If you send your create bucket request to the <code>s3.amazonaws.com</code> endpoint,
|
|
36
37
|
* the request goes to the us-east-1 Region. Accordingly, the signature calculations in
|
|
37
38
|
* Signature Version 4 must use us-east-1 as the Region, even if the location constraint in
|
|
38
39
|
* the request specifies another Region where the bucket is to be created. If you create a
|
|
39
40
|
* bucket in a Region other than US East (N. Virginia), your application must be able to
|
|
40
|
-
* handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
|
|
41
|
+
* handle 307 redirect. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html">Virtual hosting of
|
|
42
|
+
* buckets</a>.</p>
|
|
41
43
|
* </note>
|
|
42
44
|
* <p>
|
|
43
45
|
* <b>Access control lists (ACLs)</b>
|
|
44
46
|
* </p>
|
|
45
|
-
* <p>When creating a bucket using this operation, you can optionally configure the bucket ACL
|
|
46
|
-
* groups that should be granted specific permissions on the
|
|
47
|
+
* <p>When creating a bucket using this operation, you can optionally configure the bucket ACL
|
|
48
|
+
* to specify the accounts or groups that should be granted specific permissions on the
|
|
49
|
+
* bucket.</p>
|
|
47
50
|
* <important>
|
|
48
51
|
* <p>If your CreateBucket request sets bucket owner enforced for S3 Object Ownership and
|
|
49
52
|
* specifies a bucket ACL that provides access to an external Amazon Web Services account, your request
|
|
@@ -52,7 +55,8 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
52
55
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object
|
|
53
56
|
* ownership</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
54
57
|
* </important>
|
|
55
|
-
* <p>There are two ways to grant the appropriate permissions using the request
|
|
58
|
+
* <p>There are two ways to grant the appropriate permissions using the request
|
|
59
|
+
* headers.</p>
|
|
56
60
|
* <ul>
|
|
57
61
|
* <li>
|
|
58
62
|
* <p>Specify a canned ACL using the <code>x-amz-acl</code> request header. Amazon S3
|
|
@@ -65,14 +69,15 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
65
69
|
* <code>x-amz-grant-write</code>, <code>x-amz-grant-read-acp</code>,
|
|
66
70
|
* <code>x-amz-grant-write-acp</code>, and <code>x-amz-grant-full-control</code>
|
|
67
71
|
* headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For
|
|
68
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html">Access control list
|
|
69
|
-
*
|
|
72
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html">Access control list (ACL)
|
|
73
|
+
* overview</a>.</p>
|
|
70
74
|
* <p>You specify each grantee as a type=value pair, where the type is one of the
|
|
71
75
|
* following:</p>
|
|
72
76
|
* <ul>
|
|
73
77
|
* <li>
|
|
74
78
|
* <p>
|
|
75
|
-
* <code>id</code> – if the value specified is the canonical user ID of an
|
|
79
|
+
* <code>id</code> – if the value specified is the canonical user ID of an
|
|
80
|
+
* Amazon Web Services account</p>
|
|
76
81
|
* </li>
|
|
77
82
|
* <li>
|
|
78
83
|
* <p>
|
|
@@ -128,14 +133,17 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
128
133
|
* <p>
|
|
129
134
|
* <b>Permissions</b>
|
|
130
135
|
* </p>
|
|
131
|
-
* <p>In addition to <code>s3:CreateBucket</code>, the following permissions are required when
|
|
136
|
+
* <p>In addition to <code>s3:CreateBucket</code>, the following permissions are required when
|
|
137
|
+
* your CreateBucket includes specific headers:</p>
|
|
132
138
|
* <ul>
|
|
133
139
|
* <li>
|
|
134
140
|
* <p>
|
|
135
|
-
* <b>ACLs</b> - If your <code>CreateBucket</code> request
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* <code>CreateBucket</code>
|
|
141
|
+
* <b>ACLs</b> - If your <code>CreateBucket</code> request
|
|
142
|
+
* specifies ACL permissions and the ACL is public-read, public-read-write,
|
|
143
|
+
* authenticated-read, or if you specify access permissions explicitly through any other
|
|
144
|
+
* ACL, both <code>s3:CreateBucket</code> and <code>s3:PutBucketAcl</code> permissions
|
|
145
|
+
* are needed. If the ACL the <code>CreateBucket</code> request is private or doesn't
|
|
146
|
+
* specify any ACLs, only <code>s3:CreateBucket</code> permission is needed. </p>
|
|
139
147
|
* </li>
|
|
140
148
|
* <li>
|
|
141
149
|
* <p>
|
|
@@ -28,39 +28,56 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
28
28
|
* <p>If you have configured a lifecycle rule to abort incomplete multipart uploads, the
|
|
29
29
|
* upload must complete within the number of days specified in the bucket lifecycle
|
|
30
30
|
* configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort
|
|
31
|
-
* action and Amazon S3 aborts the multipart upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config">Aborting
|
|
32
|
-
* Incomplete Multipart Uploads Using a Bucket Lifecycle Policy</a>.</p>
|
|
31
|
+
* action and Amazon S3 aborts the multipart upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config">Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy</a>.</p>
|
|
33
32
|
* <p>For information about the permissions required to use the multipart upload API, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
|
|
35
|
-
* Permissions</a>.</p>
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart
|
|
34
|
+
* Upload and Permissions</a>.</p>
|
|
36
35
|
* <p>For request signing, multipart upload is just a series of regular requests. You initiate
|
|
37
36
|
* a multipart upload, send one or more requests to upload parts, and then complete the
|
|
38
37
|
* multipart upload process. You sign each request individually. There is nothing special
|
|
39
|
-
* about signing multipart upload requests. For more information about signing, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating
|
|
40
|
-
* Requests (Amazon Web Services Signature Version 4)</a>.</p>
|
|
38
|
+
* about signing multipart upload requests. For more information about signing, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a>.</p>
|
|
41
39
|
* <note>
|
|
42
|
-
* <p>
|
|
40
|
+
* <p>After you initiate a multipart upload and upload one or more parts, to stop being
|
|
43
41
|
* charged for storing the uploaded parts, you must either complete or abort the multipart
|
|
44
42
|
* upload. Amazon S3 frees up the space used to store the parts and stop charging you for
|
|
45
43
|
* storing them only after you either complete or abort a multipart upload. </p>
|
|
46
44
|
* </note>
|
|
47
|
-
* <p>
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
45
|
+
* <p>Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
|
|
46
|
+
* writes it to disks in its data centers and decrypts it when you access it. Amazon S3
|
|
47
|
+
* automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a
|
|
48
|
+
* multipart upload, if you don't specify encryption information in your request, the
|
|
49
|
+
* encryption setting of the uploaded parts is set to the default encryption configuration of
|
|
50
|
+
* the destination bucket. By default, all buckets have a base level of encryption
|
|
51
|
+
* configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
|
|
52
|
+
* destination bucket has a default encryption configuration that uses server-side encryption
|
|
53
|
+
* with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
|
|
54
|
+
* Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded
|
|
55
|
+
* parts. When you perform a CreateMultipartUpload operation, if you want to use a different
|
|
56
|
+
* type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the
|
|
57
|
+
* object with a KMS key, an Amazon S3 managed key, or a customer-provided key. If the encryption
|
|
58
|
+
* setting in your request is different from the default encryption configuration of the
|
|
59
|
+
* destination bucket, the encryption setting in your request takes precedence. If you choose
|
|
60
|
+
* to provide your own encryption key, the request headers you provide in <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
61
|
+
* and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a> requests must
|
|
62
|
+
* match the headers you used in the request to initiate the upload by using
|
|
63
|
+
* <code>CreateMultipartUpload</code>. you can request that Amazon S3
|
|
64
|
+
* save the uploaded parts encrypted with server-side encryption with an Amazon S3 managed key
|
|
65
|
+
* (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key
|
|
66
|
+
* (SSE-C). </p>
|
|
67
|
+
* <p>To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
|
|
68
|
+
* must have permission to the <code>kms:Decrypt</code> and <code>kms:GenerateDataKey*</code>
|
|
54
69
|
* actions on the key. These permissions are required because Amazon S3 must decrypt and read data
|
|
55
70
|
* from the encrypted file parts before it completes the multipart upload. For more
|
|
56
71
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions">Multipart upload API
|
|
57
|
-
* and permissions</a>
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* user or role
|
|
61
|
-
* permissions on
|
|
62
|
-
*
|
|
63
|
-
*
|
|
72
|
+
* and permissions</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting data using
|
|
73
|
+
* server-side encryption with Amazon Web Services KMS</a> in the
|
|
74
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
75
|
+
* <p>If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key,
|
|
76
|
+
* then you must have these permissions on the key policy. If your IAM user or role belongs
|
|
77
|
+
* to a different account than the key, then you must have the permissions on both the key
|
|
78
|
+
* policy and your IAM user or role.</p>
|
|
79
|
+
* <p> For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Protecting Data Using Server-Side
|
|
80
|
+
* Encryption</a>.</p>
|
|
64
81
|
* <dl>
|
|
65
82
|
* <dt>Access Permissions</dt>
|
|
66
83
|
* <dd>
|
|
@@ -70,7 +87,8 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
70
87
|
* <ul>
|
|
71
88
|
* <li>
|
|
72
89
|
* <p>Specify a canned ACL with the <code>x-amz-acl</code> request header. For
|
|
73
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
90
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
91
|
+
* ACL</a>.</p>
|
|
74
92
|
* </li>
|
|
75
93
|
* <li>
|
|
76
94
|
* <p>Specify access permissions explicitly with the
|
|
@@ -78,8 +96,7 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
78
96
|
* <code>x-amz-grant-write-acp</code>, and
|
|
79
97
|
* <code>x-amz-grant-full-control</code> headers. These parameters map to
|
|
80
98
|
* the set of permissions that Amazon S3 supports in an ACL. For more information,
|
|
81
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
|
|
82
|
-
* Overview</a>.</p>
|
|
99
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a>.</p>
|
|
83
100
|
* </li>
|
|
84
101
|
* </ul>
|
|
85
102
|
* <p>You can use either a canned ACL or specify access permissions explicitly. You
|
|
@@ -87,16 +104,19 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
87
104
|
* </dd>
|
|
88
105
|
* <dt>Server-Side- Encryption-Specific Request Headers</dt>
|
|
89
106
|
* <dd>
|
|
90
|
-
* <p>
|
|
91
|
-
* encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts
|
|
107
|
+
* <p>Amazon S3 encrypts data
|
|
108
|
+
* by using server-side encryption with an Amazon S3 managed key (SSE-S3) by default. Server-side encryption is for data encryption at rest. Amazon S3 encrypts
|
|
92
109
|
* your data as it writes it to disks in its data centers and decrypts it when you
|
|
93
|
-
* access it.
|
|
94
|
-
*
|
|
110
|
+
* access it. You can request that Amazon S3 encrypts
|
|
111
|
+
* data at rest by using server-side encryption with other key options. The option you use depends on
|
|
112
|
+
* whether you want to use KMS keys (SSE-KMS) or provide your own encryption keys
|
|
113
|
+
* (SSE-C).</p>
|
|
95
114
|
* <ul>
|
|
96
115
|
* <li>
|
|
97
|
-
* <p>Use
|
|
98
|
-
*
|
|
99
|
-
* used to encrypt data, specify the following
|
|
116
|
+
* <p>Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key
|
|
117
|
+
* (<code>aws/s3</code>) and KMS customer managed keys stored in Key Management Service (KMS) – If you
|
|
118
|
+
* want Amazon Web Services to manage the keys used to encrypt data, specify the following
|
|
119
|
+
* headers in the request.</p>
|
|
100
120
|
* <ul>
|
|
101
121
|
* <li>
|
|
102
122
|
* <p>
|
|
@@ -117,18 +137,22 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
117
137
|
* <note>
|
|
118
138
|
* <p>If you specify <code>x-amz-server-side-encryption:aws:kms</code>, but
|
|
119
139
|
* don't provide <code>x-amz-server-side-encryption-aws-kms-key-id</code>,
|
|
120
|
-
* Amazon S3 uses the Amazon Web Services managed key
|
|
140
|
+
* Amazon S3 uses the Amazon Web Services managed key (<code>aws/s3</code> key) in KMS to
|
|
141
|
+
* protect the data.</p>
|
|
121
142
|
* </note>
|
|
122
143
|
* <important>
|
|
123
|
-
* <p>All GET and PUT requests for an object protected
|
|
124
|
-
* you don't make them
|
|
144
|
+
* <p>All <code>GET</code> and <code>PUT</code> requests for an object protected
|
|
145
|
+
* by KMS fail if you don't make them by using Secure Sockets Layer (SSL),
|
|
146
|
+
* Transport Layer Security (TLS), or Signature Version 4.</p>
|
|
125
147
|
* </important>
|
|
126
|
-
* <p>For more information about server-side encryption with KMS
|
|
127
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/
|
|
148
|
+
* <p>For more information about server-side encryption with KMS keys
|
|
149
|
+
* (SSE-KMS), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">Protecting Data
|
|
150
|
+
* Using Server-Side Encryption with KMS keys</a>.</p>
|
|
128
151
|
* </li>
|
|
129
152
|
* <li>
|
|
130
|
-
* <p>Use customer-provided encryption keys – If you want to manage
|
|
131
|
-
* encryption keys, provide all the following headers in the
|
|
153
|
+
* <p>Use customer-provided encryption keys (SSE-C) – If you want to manage
|
|
154
|
+
* your own encryption keys, provide all the following headers in the
|
|
155
|
+
* request.</p>
|
|
132
156
|
* <ul>
|
|
133
157
|
* <li>
|
|
134
158
|
* <p>
|
|
@@ -146,8 +170,10 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
146
170
|
* </p>
|
|
147
171
|
* </li>
|
|
148
172
|
* </ul>
|
|
149
|
-
* <p>For more information about server-side encryption with
|
|
150
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/
|
|
173
|
+
* <p>For more information about server-side encryption with customer-provided
|
|
174
|
+
* encryption keys (SSE-C), see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html">
|
|
175
|
+
* Protecting data using server-side encryption with customer-provided
|
|
176
|
+
* encryption keys (SSE-C)</a>.</p>
|
|
151
177
|
* </li>
|
|
152
178
|
* </ul>
|
|
153
179
|
* </dd>
|
|
@@ -155,10 +181,11 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
155
181
|
* <dd>
|
|
156
182
|
* <p>You also can use the following access control–related headers with this
|
|
157
183
|
* operation. By default, all objects are private. Only the owner has full access
|
|
158
|
-
* control. When adding a new object, you can grant permissions to individual
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
184
|
+
* control. When adding a new object, you can grant permissions to individual
|
|
185
|
+
* Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then
|
|
186
|
+
* added to the access control list (ACL) on the object. For more information, see
|
|
187
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Using ACLs</a>. With this operation, you can grant access permissions
|
|
188
|
+
* using one of the following two methods:</p>
|
|
162
189
|
* <ul>
|
|
163
190
|
* <li>
|
|
164
191
|
* <p>Specify a canned ACL (<code>x-amz-acl</code>) — Amazon S3 supports a set of
|
|
@@ -171,10 +198,9 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
171
198
|
* <p>Specify access permissions explicitly — To explicitly grant access
|
|
172
199
|
* permissions to specific Amazon Web Services accounts or groups, use the following headers.
|
|
173
200
|
* Each header maps to specific permissions that Amazon S3 supports in an ACL. For
|
|
174
|
-
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
* use:</p>
|
|
201
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
|
|
202
|
+
* Overview</a>. In the header, you specify a list of grantees who get
|
|
203
|
+
* the specific permission. To grant permissions explicitly, use:</p>
|
|
178
204
|
* <ul>
|
|
179
205
|
* <li>
|
|
180
206
|
* <p>
|
|
@@ -24,8 +24,8 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
|
|
|
24
24
|
* <p>To use this operation, you must have permissions to perform the
|
|
25
25
|
* <code>s3:PutAnalyticsConfiguration</code> action. The bucket owner has this permission
|
|
26
26
|
* by default. The bucket owner can grant this permission to others. For more information
|
|
27
|
-
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
28
|
-
* Resources</a>.</p>
|
|
27
|
+
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
28
|
+
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
29
29
|
* <p>For information about the Amazon S3 analytics feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class
|
|
30
30
|
* Analysis</a>. </p>
|
|
31
31
|
* <p>The following operations are related to
|
|
@@ -23,8 +23,8 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
* <p>To use this operation, you must have permission to perform the
|
|
24
24
|
* <code>s3:PutBucketCORS</code> action. The bucket owner has this permission by default
|
|
25
25
|
* and can grant this permission to others. </p>
|
|
26
|
-
* <p>For information about <code>cors</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
|
|
27
|
-
*
|
|
26
|
+
* <p>For information about <code>cors</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling Cross-Origin Resource Sharing</a> in
|
|
27
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
28
28
|
* <p class="title">
|
|
29
29
|
* <b>Related Resources:</b>
|
|
30
30
|
* </p>
|
|
@@ -19,14 +19,16 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>This implementation of the DELETE action
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>This implementation of the DELETE action resets the default encryption for the
|
|
23
|
+
* bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the
|
|
24
|
+
* bucket default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a>
|
|
25
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
25
26
|
* <p>To use this operation, you must have permissions to perform the
|
|
26
27
|
* <code>s3:PutEncryptionConfiguration</code> action. The bucket owner has this permission
|
|
27
28
|
* by default. The bucket owner can grant this permission to others. For more information
|
|
28
|
-
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
29
|
-
*
|
|
29
|
+
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
30
|
+
* Access Permissions to your Amazon S3 Resources</a> in the
|
|
31
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
30
32
|
* <p class="title">
|
|
31
33
|
* <b>Related Resources</b>
|
|
32
34
|
* </p>
|
|
@@ -23,8 +23,7 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
|
|
|
23
23
|
* <p>The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.</p>
|
|
24
24
|
* <p>The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.</p>
|
|
25
25
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
|
|
26
|
-
* <p>Operations related to
|
|
27
|
-
* <code>DeleteBucketIntelligentTieringConfiguration</code> include: </p>
|
|
26
|
+
* <p>Operations related to <code>DeleteBucketIntelligentTieringConfiguration</code> include: </p>
|
|
28
27
|
* <ul>
|
|
29
28
|
* <li>
|
|
30
29
|
* <p>
|
|
@@ -24,8 +24,8 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad
|
|
|
24
24
|
* <p>To use this operation, you must have permissions to perform the
|
|
25
25
|
* <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission
|
|
26
26
|
* by default. The bucket owner can grant this permission to others. For more information
|
|
27
|
-
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
28
|
-
* Resources</a>.</p>
|
|
27
|
+
* about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
28
|
+
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
29
29
|
* <p>For information about the Amazon S3 inventory feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a>.</p>
|
|
30
30
|
* <p>Operations related to <code>DeleteBucketInventoryConfiguration</code> include: </p>
|
|
31
31
|
* <ul>
|