@aws-sdk/client-s3 3.50.0 → 3.53.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/CHANGELOG.md +33 -0
- package/dist-cjs/S3.js +15 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-cjs/commands/DeleteObjectsCommand.js +6 -2
- package/dist-cjs/commands/GetObjectAttributesCommand.js +40 -0
- package/dist-cjs/commands/GetObjectCommand.js +7 -0
- package/dist-cjs/commands/ListPartsCommand.js +2 -0
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-cjs/commands/PutBucketAclCommand.js +6 -2
- package/dist-cjs/commands/PutBucketCorsCommand.js +6 -2
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-cjs/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-cjs/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-cjs/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-cjs/commands/PutObjectAclCommand.js +6 -2
- package/dist-cjs/commands/PutObjectCommand.js +6 -0
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutObjectRetentionCommand.js +9 -5
- package/dist-cjs/commands/PutObjectTaggingCommand.js +9 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +8 -4
- package/dist-cjs/commands/RestoreObjectCommand.js +7 -2
- package/dist-cjs/commands/UploadPartCommand.js +6 -0
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/S3ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +165 -41
- package/dist-cjs/models/models_1.js +51 -1
- package/dist-cjs/protocols/Aws_restXml.js +962 -1057
- package/dist-cjs/runtimeConfig.browser.js +17 -13
- package/dist-cjs/runtimeConfig.js +17 -14
- package/dist-es/S3.js +15 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-es/commands/DeleteObjectsCommand.js +6 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +43 -0
- package/dist-es/commands/GetObjectCommand.js +7 -0
- package/dist-es/commands/ListPartsCommand.js +2 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-es/commands/PutBucketAclCommand.js +6 -2
- package/dist-es/commands/PutBucketCorsCommand.js +6 -2
- package/dist-es/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-es/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-es/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-es/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-es/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-es/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-es/commands/PutObjectAclCommand.js +6 -2
- package/dist-es/commands/PutObjectCommand.js +6 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-es/commands/PutObjectRetentionCommand.js +7 -3
- package/dist-es/commands/PutObjectTaggingCommand.js +7 -3
- package/dist-es/commands/PutPublicAccessBlockCommand.js +7 -3
- package/dist-es/commands/RestoreObjectCommand.js +7 -2
- package/dist-es/commands/UploadPartCommand.js +6 -0
- package/dist-es/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/S3ServiceException.js +12 -0
- package/dist-es/models/models_0.js +141 -27
- package/dist-es/models/models_1.js +38 -1
- package/dist-es/protocols/Aws_restXml.js +1366 -900
- package/dist-es/runtimeConfig.browser.js +5 -3
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-types/S3.d.ts +332 -90
- package/dist-types/S3Client.d.ts +19 -7
- package/dist-types/commands/CopyObjectCommand.d.ts +11 -5
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +33 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +7 -5
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +190 -0
- package/dist-types/commands/GetObjectCommand.d.ts +3 -5
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +6 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListPartsCommand.d.ts +8 -0
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -8
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +24 -32
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/S3ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1065 -406
- package/dist-types/models/models_1.d.ts +434 -48
- package/dist-types/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +3 -1
- package/dist-types/ts3.4/S3.d.ts +470 -0
- package/dist-types/ts3.4/S3Client.d.ts +184 -0
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/index.d.ts +93 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3903 -0
- package/dist-types/ts3.4/models/models_1.d.ts +767 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +281 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +49 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +50 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +7 -0
- package/package.json +50 -47
package/dist-types/S3.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "./c
|
|
|
42
42
|
import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
|
|
43
43
|
import { GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand";
|
|
44
44
|
import { GetObjectAclCommandInput, GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand";
|
|
45
|
+
import { GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand";
|
|
45
46
|
import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
|
|
46
47
|
import { GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand";
|
|
47
48
|
import { GetObjectLockConfigurationCommandInput, GetObjectLockConfigurationCommandOutput } from "./commands/GetObjectLockConfigurationCommand";
|
|
@@ -263,9 +264,10 @@ export declare class S3 extends S3Client {
|
|
|
263
264
|
* <p>Creates a copy of an object that is already stored in Amazon S3.</p>
|
|
264
265
|
* <note>
|
|
265
266
|
* <p>You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your
|
|
266
|
-
* object up to 5 GB in size in a single atomic action using this API. However, to copy
|
|
267
|
-
*
|
|
268
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
|
|
267
|
+
* object up to 5 GB in size in a single atomic action using this API. However, to copy an
|
|
268
|
+
* object greater than 5 GB, you must use the multipart upload Upload Part - Copy
|
|
269
|
+
* (UploadPartCopy) API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjctsUsingRESTMPUapi.html">Copy Object Using the
|
|
270
|
+
* REST Multipart Upload API</a>.</p>
|
|
269
271
|
* </note>
|
|
270
272
|
* <p>All copy requests must be authenticated. Additionally, you must have
|
|
271
273
|
* <i>read</i> access to the source object and <i>write</i>
|
|
@@ -308,8 +310,7 @@ export declare class S3 extends S3Client {
|
|
|
308
310
|
* 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
|
|
309
311
|
* Amazon S3</a>.</p>
|
|
310
312
|
* <p>
|
|
311
|
-
* <b>
|
|
312
|
-
* <code>x-amz-copy-source-if</code> Headers</b>
|
|
313
|
+
* <b>x-amz-copy-source-if Headers</b>
|
|
313
314
|
* </p>
|
|
314
315
|
* <p>To only copy an object under certain conditions, such as whether the <code>Etag</code>
|
|
315
316
|
* matches or whether the object was modified before or after a specified date, use the
|
|
@@ -404,6 +405,12 @@ export declare class S3 extends S3Client {
|
|
|
404
405
|
* all objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
405
406
|
* </note>
|
|
406
407
|
* <p>
|
|
408
|
+
* <b>Checksums</b>
|
|
409
|
+
* </p>
|
|
410
|
+
* <p>When copying an object, if it has a checksum, that checksum will be copied to the new object
|
|
411
|
+
* by default. When you copy the object over, you may optionally specify a different checksum
|
|
412
|
+
* algorithm to use with the <code>x-amz-checksum-algorithm</code> header.</p>
|
|
413
|
+
* <p>
|
|
407
414
|
* <b>Storage Class Options</b>
|
|
408
415
|
* </p>
|
|
409
416
|
* <p>You can use the <code>CopyObject</code> action to change the storage class of an
|
|
@@ -687,13 +694,19 @@ export declare class S3 extends S3Client {
|
|
|
687
694
|
* used to encrypt data, specify the following headers in the request.</p>
|
|
688
695
|
* <ul>
|
|
689
696
|
* <li>
|
|
690
|
-
* <p>
|
|
697
|
+
* <p>
|
|
698
|
+
* <code>x-amz-server-side-encryption</code>
|
|
699
|
+
* </p>
|
|
691
700
|
* </li>
|
|
692
701
|
* <li>
|
|
693
|
-
* <p>
|
|
702
|
+
* <p>
|
|
703
|
+
* <code>x-amz-server-side-encryption-aws-kms-key-id</code>
|
|
704
|
+
* </p>
|
|
694
705
|
* </li>
|
|
695
706
|
* <li>
|
|
696
|
-
* <p>
|
|
707
|
+
* <p>
|
|
708
|
+
* <code>x-amz-server-side-encryption-context</code>
|
|
709
|
+
* </p>
|
|
697
710
|
* </li>
|
|
698
711
|
* </ul>
|
|
699
712
|
* <note>
|
|
@@ -713,13 +726,19 @@ export declare class S3 extends S3Client {
|
|
|
713
726
|
* encryption keys, provide all the following headers in the request.</p>
|
|
714
727
|
* <ul>
|
|
715
728
|
* <li>
|
|
716
|
-
* <p>
|
|
729
|
+
* <p>
|
|
730
|
+
* <code>x-amz-server-side-encryption-customer-algorithm</code>
|
|
731
|
+
* </p>
|
|
717
732
|
* </li>
|
|
718
733
|
* <li>
|
|
719
|
-
* <p>
|
|
734
|
+
* <p>
|
|
735
|
+
* <code>x-amz-server-side-encryption-customer-key</code>
|
|
736
|
+
* </p>
|
|
720
737
|
* </li>
|
|
721
738
|
* <li>
|
|
722
|
-
* <p>
|
|
739
|
+
* <p>
|
|
740
|
+
* <code>x-amz-server-side-encryption-customer-key-MD5</code>
|
|
741
|
+
* </p>
|
|
723
742
|
* </li>
|
|
724
743
|
* </ul>
|
|
725
744
|
* <p>For more information about server-side encryption with KMS keys (SSE-KMS),
|
|
@@ -753,19 +772,29 @@ export declare class S3 extends S3Client {
|
|
|
753
772
|
* use:</p>
|
|
754
773
|
* <ul>
|
|
755
774
|
* <li>
|
|
756
|
-
* <p>
|
|
775
|
+
* <p>
|
|
776
|
+
* <code>x-amz-grant-read</code>
|
|
777
|
+
* </p>
|
|
757
778
|
* </li>
|
|
758
779
|
* <li>
|
|
759
|
-
* <p>
|
|
780
|
+
* <p>
|
|
781
|
+
* <code>x-amz-grant-write</code>
|
|
782
|
+
* </p>
|
|
760
783
|
* </li>
|
|
761
784
|
* <li>
|
|
762
|
-
* <p>
|
|
785
|
+
* <p>
|
|
786
|
+
* <code>x-amz-grant-read-acp</code>
|
|
787
|
+
* </p>
|
|
763
788
|
* </li>
|
|
764
789
|
* <li>
|
|
765
|
-
* <p>
|
|
790
|
+
* <p>
|
|
791
|
+
* <code>x-amz-grant-write-acp</code>
|
|
792
|
+
* </p>
|
|
766
793
|
* </li>
|
|
767
794
|
* <li>
|
|
768
|
-
* <p>
|
|
795
|
+
* <p>
|
|
796
|
+
* <code>x-amz-grant-full-control</code>
|
|
797
|
+
* </p>
|
|
769
798
|
* </li>
|
|
770
799
|
* </ul>
|
|
771
800
|
* <p>You specify each grantee as a type=value pair, where the type is one of
|
|
@@ -1510,13 +1539,15 @@ export declare class S3 extends S3Client {
|
|
|
1510
1539
|
getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void): void;
|
|
1511
1540
|
getBucketAnalyticsConfiguration(args: GetBucketAnalyticsConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketAnalyticsConfigurationCommandOutput) => void): void;
|
|
1512
1541
|
/**
|
|
1513
|
-
* <p>Returns the
|
|
1542
|
+
* <p>Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the
|
|
1543
|
+
* bucket.</p>
|
|
1514
1544
|
*
|
|
1515
|
-
* <p> To use this operation, you must have permission to perform the
|
|
1516
|
-
*
|
|
1545
|
+
* <p> To use this operation, you must have permission to perform the
|
|
1546
|
+
* <code>s3:GetBucketCORS</code> action. By default, the bucket owner has this permission
|
|
1547
|
+
* and can grant it to others.</p>
|
|
1517
1548
|
*
|
|
1518
|
-
* <p> For more information about
|
|
1519
|
-
*
|
|
1549
|
+
* <p> For more information about CORS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling Cross-Origin Resource
|
|
1550
|
+
* Sharing</a>.</p>
|
|
1520
1551
|
*
|
|
1521
1552
|
* <p>The following operations are related to <code>GetBucketCors</code>:</p>
|
|
1522
1553
|
* <ul>
|
|
@@ -1958,7 +1989,7 @@ export declare class S3 extends S3Client {
|
|
|
1958
1989
|
* <code>GetBucketTagging</code> has the following special error:</p>
|
|
1959
1990
|
* <ul>
|
|
1960
1991
|
* <li>
|
|
1961
|
-
* <p>Error code: <code>
|
|
1992
|
+
* <p>Error code: <code>NoSuchTagSet</code>
|
|
1962
1993
|
* </p>
|
|
1963
1994
|
* <ul>
|
|
1964
1995
|
* <li>
|
|
@@ -2060,9 +2091,7 @@ export declare class S3 extends S3Client {
|
|
|
2060
2091
|
* <code>/examplebucket/photos/2006/February/sample.jpg</code>. For more information about
|
|
2061
2092
|
* request types, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket">HTTP Host Header Bucket Specification</a>.</p>
|
|
2062
2093
|
*
|
|
2063
|
-
* <p>
|
|
2064
|
-
* BitTorrent. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3Torrent.html">Amazon S3
|
|
2065
|
-
* Torrent</a>. For more information about returning the ACL of an object, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>.</p>
|
|
2094
|
+
* <p>For more information about returning the ACL of an object, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>.</p>
|
|
2066
2095
|
*
|
|
2067
2096
|
* <p>If the object you are retrieving is stored in the S3 Glacier or
|
|
2068
2097
|
* S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
|
|
@@ -2147,8 +2176,8 @@ export declare class S3 extends S3Client {
|
|
|
2147
2176
|
* <b>Overriding Response Header Values</b>
|
|
2148
2177
|
* </p>
|
|
2149
2178
|
* <p>There are times when you want to override certain response header values in a GET
|
|
2150
|
-
* response. For example, you might override the Content-Disposition response
|
|
2151
|
-
* your GET request.</p>
|
|
2179
|
+
* response. For example, you might override the <code>Content-Disposition</code> response
|
|
2180
|
+
* header value in your GET request.</p>
|
|
2152
2181
|
*
|
|
2153
2182
|
* <p>You can override values for a set of response headers using the following query
|
|
2154
2183
|
* parameters. These response header values are sent only on a successful request, that is,
|
|
@@ -2232,7 +2261,10 @@ export declare class S3 extends S3Client {
|
|
|
2232
2261
|
getObject(args: GetObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectCommandOutput) => void): void;
|
|
2233
2262
|
/**
|
|
2234
2263
|
* <p>Returns the access control list (ACL) of an object. To use this operation, you must have
|
|
2235
|
-
* <code>READ_ACP</code> access to the object
|
|
2264
|
+
* <code>s3:GetObjectAcl</code> permissions or <code>READ_ACP</code> access to the object.
|
|
2265
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping">Mapping of ACL permissions and access policy permissions</a> in the <i>Amazon S3
|
|
2266
|
+
* User Guide</i>
|
|
2267
|
+
* </p>
|
|
2236
2268
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
2237
2269
|
* <p>
|
|
2238
2270
|
* <b>Versioning</b>
|
|
@@ -2255,6 +2287,11 @@ export declare class S3 extends S3Client {
|
|
|
2255
2287
|
* </li>
|
|
2256
2288
|
* <li>
|
|
2257
2289
|
* <p>
|
|
2290
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2291
|
+
* </p>
|
|
2292
|
+
* </li>
|
|
2293
|
+
* <li>
|
|
2294
|
+
* <p>
|
|
2258
2295
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
|
|
2259
2296
|
* </p>
|
|
2260
2297
|
* </li>
|
|
@@ -2269,8 +2306,179 @@ export declare class S3 extends S3Client {
|
|
|
2269
2306
|
getObjectAcl(args: GetObjectAclCommandInput, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void;
|
|
2270
2307
|
getObjectAcl(args: GetObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void;
|
|
2271
2308
|
/**
|
|
2272
|
-
* <p>
|
|
2309
|
+
* <p>Retrieves all the metadata from an object without returning the object itself. This
|
|
2310
|
+
* action is useful if you're interested only in an object's metadata. To use
|
|
2311
|
+
* <code>GetObjectAttributes</code>, you must have READ access to the object.</p>
|
|
2312
|
+
*
|
|
2313
|
+
* <p>
|
|
2314
|
+
* <code>GetObjectAttributes</code> combines the functionality of
|
|
2315
|
+
* <code>GetObjectAcl</code>, <code>GetObjectLegalHold</code>,
|
|
2316
|
+
* <code>GetObjectLockConfiguration</code>, <code>GetObjectRetention</code>,
|
|
2317
|
+
* <code>GetObjectTagging</code>, <code>HeadObject</code>, and <code>ListParts</code>. All
|
|
2318
|
+
* of the data returned with each of those individual calls can be returned with a single call
|
|
2319
|
+
* to <code>GetObjectAttributes</code>.</p>
|
|
2320
|
+
*
|
|
2321
|
+
* <p>If you encrypt an object by using server-side encryption with customer-provided
|
|
2322
|
+
* encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
|
|
2323
|
+
* metadata from the object, you must use the following headers:</p>
|
|
2324
|
+
* <ul>
|
|
2325
|
+
* <li>
|
|
2326
|
+
* <p>
|
|
2327
|
+
* <code>x-amz-server-side-encryption-customer-algorithm</code>
|
|
2328
|
+
* </p>
|
|
2329
|
+
* </li>
|
|
2330
|
+
* <li>
|
|
2331
|
+
* <p>
|
|
2332
|
+
* <code>x-amz-server-side-encryption-customer-key</code>
|
|
2333
|
+
* </p>
|
|
2334
|
+
* </li>
|
|
2335
|
+
* <li>
|
|
2336
|
+
* <p>
|
|
2337
|
+
* <code>x-amz-server-side-encryption-customer-key-MD5</code>
|
|
2338
|
+
* </p>
|
|
2339
|
+
* </li>
|
|
2340
|
+
* </ul>
|
|
2341
|
+
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
|
|
2342
|
+
* (Using Customer-Provided Encryption Keys)</a> in the
|
|
2343
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
2344
|
+
* <note>
|
|
2345
|
+
* <ul>
|
|
2346
|
+
* <li>
|
|
2347
|
+
* <p>Encryption request headers, such as
|
|
2348
|
+
* <code>x-amz-server-side-encryption</code>, should not be sent for GET requests
|
|
2349
|
+
* if your object uses server-side encryption with Amazon Web Services KMS keys stored in Amazon Web Services Key
|
|
2350
|
+
* Management Service (SSE-KMS) or server-side encryption with Amazon S3 managed
|
|
2351
|
+
* encryption keys (SSE-S3). If your object does use these types of keys, you'll get
|
|
2352
|
+
* an HTTP <code>400 Bad Request</code> error.</p>
|
|
2353
|
+
* </li>
|
|
2354
|
+
* <li>
|
|
2355
|
+
* <p>
|
|
2356
|
+
* The last modified property in this case is the creation date of the object.</p>
|
|
2357
|
+
* </li>
|
|
2358
|
+
* </ul>
|
|
2359
|
+
* </note>
|
|
2360
|
+
*
|
|
2361
|
+
* <p>Consider the following when using request headers:</p>
|
|
2362
|
+
* <ul>
|
|
2363
|
+
* <li>
|
|
2364
|
+
* <p> If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code>
|
|
2365
|
+
* headers are present in the request as follows, then Amazon S3 returns the HTTP
|
|
2366
|
+
* status code <code>200 OK</code> and the data requested:</p>
|
|
2367
|
+
* <ul>
|
|
2368
|
+
* <li>
|
|
2369
|
+
* <p>
|
|
2370
|
+
* <code>If-Match</code> condition evaluates to <code>true</code>.</p>
|
|
2371
|
+
* </li>
|
|
2372
|
+
* <li>
|
|
2373
|
+
* <p>
|
|
2374
|
+
* <code>If-Unmodified-Since</code> condition evaluates to
|
|
2375
|
+
* <code>false</code>.</p>
|
|
2376
|
+
* </li>
|
|
2377
|
+
* </ul>
|
|
2378
|
+
* </li>
|
|
2379
|
+
* <li>
|
|
2380
|
+
* <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code>
|
|
2381
|
+
* headers are present in the request as follows, then Amazon S3 returns the HTTP status code
|
|
2382
|
+
* <code>304 Not Modified</code>:</p>
|
|
2383
|
+
* <ul>
|
|
2384
|
+
* <li>
|
|
2385
|
+
* <p>
|
|
2386
|
+
* <code>If-None-Match</code> condition evaluates to
|
|
2387
|
+
* <code>false</code>.</p>
|
|
2388
|
+
* </li>
|
|
2389
|
+
* <li>
|
|
2390
|
+
* <p>
|
|
2391
|
+
* <code>If-Modified-Since</code> condition evaluates to
|
|
2392
|
+
* <code>true</code>.</p>
|
|
2393
|
+
* </li>
|
|
2394
|
+
* </ul>
|
|
2395
|
+
* </li>
|
|
2396
|
+
* </ul>
|
|
2397
|
+
*
|
|
2398
|
+
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
|
|
2399
|
+
*
|
|
2400
|
+
* <p>
|
|
2401
|
+
* <b>Permissions</b>
|
|
2402
|
+
* </p>
|
|
2403
|
+
* <p>The permissions that you need to use this operation depend on whether the bucket is
|
|
2404
|
+
* versioned. If the bucket is versioned, you need both the <code>s3:GetObjectVersion</code>
|
|
2405
|
+
* and <code>s3:GetObjectVersionAttributes</code> permissions for this operation. If the
|
|
2406
|
+
* bucket is not versioned, you need the <code>s3:GetObject</code> and
|
|
2407
|
+
* <code>s3:GetObjectAttributes</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
2408
|
+
* Permissions in a Policy</a> in the <i>Amazon S3 User Guide</i>. If the
|
|
2409
|
+
* object that you request does not exist, the error Amazon S3 returns depends on whether you also
|
|
2410
|
+
* have the <code>s3:ListBucket</code> permission.</p>
|
|
2411
|
+
* <ul>
|
|
2412
|
+
* <li>
|
|
2413
|
+
* <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
|
|
2414
|
+
* returns an HTTP status code <code>404 Not Found</code> ("no such key") error.</p>
|
|
2415
|
+
* </li>
|
|
2416
|
+
* <li>
|
|
2417
|
+
* <p>If you don't have the <code>s3:ListBucket</code> permission, Amazon S3 returns an
|
|
2418
|
+
* HTTP status code <code>403 Forbidden</code> ("access denied") error.</p>
|
|
2419
|
+
* </li>
|
|
2420
|
+
* </ul>
|
|
2421
|
+
*
|
|
2422
|
+
* <p>The following actions are related to <code>GetObjectAttributes</code>:</p>
|
|
2423
|
+
* <ul>
|
|
2424
|
+
* <li>
|
|
2425
|
+
* <p>
|
|
2426
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
|
|
2427
|
+
* </p>
|
|
2428
|
+
* </li>
|
|
2429
|
+
* <li>
|
|
2430
|
+
* <p>
|
|
2431
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a>
|
|
2432
|
+
* </p>
|
|
2433
|
+
* </li>
|
|
2434
|
+
* <li>
|
|
2435
|
+
* <p>
|
|
2436
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html">GetObjectLegalHold</a>
|
|
2437
|
+
* </p>
|
|
2438
|
+
* </li>
|
|
2439
|
+
* <li>
|
|
2440
|
+
* <p>
|
|
2441
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html">GetObjectLockConfiguration</a>
|
|
2442
|
+
* </p>
|
|
2443
|
+
* </li>
|
|
2444
|
+
* <li>
|
|
2445
|
+
* <p>
|
|
2446
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html">GetObjectRetention</a>
|
|
2447
|
+
* </p>
|
|
2448
|
+
* </li>
|
|
2449
|
+
* <li>
|
|
2450
|
+
* <p>
|
|
2451
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a>
|
|
2452
|
+
* </p>
|
|
2453
|
+
* </li>
|
|
2454
|
+
* <li>
|
|
2455
|
+
* <p>
|
|
2456
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html">HeadObject</a>
|
|
2457
|
+
* </p>
|
|
2458
|
+
* </li>
|
|
2459
|
+
* <li>
|
|
2460
|
+
* <p>
|
|
2461
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a>
|
|
2462
|
+
* </p>
|
|
2463
|
+
* </li>
|
|
2464
|
+
* </ul>
|
|
2465
|
+
*/
|
|
2466
|
+
getObjectAttributes(args: GetObjectAttributesCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectAttributesCommandOutput>;
|
|
2467
|
+
getObjectAttributes(args: GetObjectAttributesCommandInput, cb: (err: any, data?: GetObjectAttributesCommandOutput) => void): void;
|
|
2468
|
+
getObjectAttributes(args: GetObjectAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAttributesCommandOutput) => void): void;
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
2471
|
+
* Objects</a>.</p>
|
|
2273
2472
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
2473
|
+
*
|
|
2474
|
+
* <p>The following action is related to <code>GetObjectLegalHold</code>:</p>
|
|
2475
|
+
* <ul>
|
|
2476
|
+
* <li>
|
|
2477
|
+
* <p>
|
|
2478
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2479
|
+
* </p>
|
|
2480
|
+
* </li>
|
|
2481
|
+
* </ul>
|
|
2274
2482
|
*/
|
|
2275
2483
|
getObjectLegalHold(args: GetObjectLegalHoldCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectLegalHoldCommandOutput>;
|
|
2276
2484
|
getObjectLegalHold(args: GetObjectLegalHoldCommandInput, cb: (err: any, data?: GetObjectLegalHoldCommandOutput) => void): void;
|
|
@@ -2280,6 +2488,15 @@ export declare class S3 extends S3Client {
|
|
|
2280
2488
|
* configuration will be applied by default to every new object placed in the specified
|
|
2281
2489
|
* bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
2282
2490
|
* Objects</a>.</p>
|
|
2491
|
+
*
|
|
2492
|
+
* <p>The following action is related to <code>GetObjectLockConfiguration</code>:</p>
|
|
2493
|
+
* <ul>
|
|
2494
|
+
* <li>
|
|
2495
|
+
* <p>
|
|
2496
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2497
|
+
* </p>
|
|
2498
|
+
* </li>
|
|
2499
|
+
* </ul>
|
|
2283
2500
|
*/
|
|
2284
2501
|
getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectLockConfigurationCommandOutput>;
|
|
2285
2502
|
getObjectLockConfiguration(args: GetObjectLockConfigurationCommandInput, cb: (err: any, data?: GetObjectLockConfigurationCommandOutput) => void): void;
|
|
@@ -2287,6 +2504,15 @@ export declare class S3 extends S3Client {
|
|
|
2287
2504
|
/**
|
|
2288
2505
|
* <p>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
|
|
2289
2506
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
2507
|
+
*
|
|
2508
|
+
* <p>The following action is related to <code>GetObjectRetention</code>:</p>
|
|
2509
|
+
* <ul>
|
|
2510
|
+
* <li>
|
|
2511
|
+
* <p>
|
|
2512
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2513
|
+
* </p>
|
|
2514
|
+
* </li>
|
|
2515
|
+
* </ul>
|
|
2290
2516
|
*/
|
|
2291
2517
|
getObjectRetention(args: GetObjectRetentionCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectRetentionCommandOutput>;
|
|
2292
2518
|
getObjectRetention(args: GetObjectRetentionCommandInput, cb: (err: any, data?: GetObjectRetentionCommandOutput) => void): void;
|
|
@@ -2307,16 +2533,21 @@ export declare class S3 extends S3Client {
|
|
|
2307
2533
|
*
|
|
2308
2534
|
* <p> For information about the Amazon S3 object tagging feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</p>
|
|
2309
2535
|
*
|
|
2310
|
-
* <p>The following
|
|
2536
|
+
* <p>The following actions are related to <code>GetObjectTagging</code>:</p>
|
|
2311
2537
|
* <ul>
|
|
2312
2538
|
* <li>
|
|
2313
2539
|
* <p>
|
|
2314
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
2540
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html">DeleteObjectTagging</a>
|
|
2315
2541
|
* </p>
|
|
2316
2542
|
* </li>
|
|
2317
2543
|
* <li>
|
|
2318
2544
|
* <p>
|
|
2319
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
2545
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2546
|
+
* </p>
|
|
2547
|
+
* </li>
|
|
2548
|
+
* <li>
|
|
2549
|
+
* <p>
|
|
2550
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html">PutObjectTagging</a>
|
|
2320
2551
|
* </p>
|
|
2321
2552
|
* </li>
|
|
2322
2553
|
* </ul>
|
|
@@ -2517,13 +2748,18 @@ export declare class S3 extends S3Client {
|
|
|
2517
2748
|
* </li>
|
|
2518
2749
|
* </ul>
|
|
2519
2750
|
*
|
|
2520
|
-
* <p>The following
|
|
2751
|
+
* <p>The following actions are related to <code>HeadObject</code>:</p>
|
|
2521
2752
|
* <ul>
|
|
2522
2753
|
* <li>
|
|
2523
2754
|
* <p>
|
|
2524
2755
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>
|
|
2525
2756
|
* </p>
|
|
2526
2757
|
* </li>
|
|
2758
|
+
* <li>
|
|
2759
|
+
* <p>
|
|
2760
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
2761
|
+
* </p>
|
|
2762
|
+
* </li>
|
|
2527
2763
|
* </ul>
|
|
2528
2764
|
*/
|
|
2529
2765
|
headObject(args: HeadObjectCommandInput, options?: __HttpHandlerOptions): Promise<HeadObjectCommandOutput>;
|
|
@@ -2693,7 +2929,8 @@ export declare class S3 extends S3Client {
|
|
|
2693
2929
|
listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void): void;
|
|
2694
2930
|
listBucketMetricsConfigurations(args: ListBucketMetricsConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketMetricsConfigurationsCommandOutput) => void): void;
|
|
2695
2931
|
/**
|
|
2696
|
-
* <p>Returns a list of all buckets owned by the authenticated sender of the request
|
|
2932
|
+
* <p>Returns a list of all buckets owned by the authenticated sender of the request. To use
|
|
2933
|
+
* this operation, you must have the <code>s3:ListAllMyBuckets</code> permission.</p>
|
|
2697
2934
|
*/
|
|
2698
2935
|
listBuckets(args: ListBucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListBucketsCommandOutput>;
|
|
2699
2936
|
listBuckets(args: ListBucketsCommandInput, cb: (err: any, data?: ListBucketsCommandOutput) => void): void;
|
|
@@ -2899,6 +3136,9 @@ export declare class S3 extends S3Client {
|
|
|
2899
3136
|
* and a <code>NextPartNumberMarker</code> element. In subsequent <code>ListParts</code>
|
|
2900
3137
|
* requests you can include the part-number-marker query string parameter and set its value to
|
|
2901
3138
|
* the <code>NextPartNumberMarker</code> field value from the previous response.</p>
|
|
3139
|
+
* <p>If the upload was created using a checksum algorithm, you will need to have permission
|
|
3140
|
+
* to the <code>kms:Decrypt</code> action for the request to succeed.
|
|
3141
|
+
* </p>
|
|
2902
3142
|
*
|
|
2903
3143
|
* <p>For more information on multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
2904
3144
|
* Upload</a>.</p>
|
|
@@ -2930,6 +3170,11 @@ export declare class S3 extends S3Client {
|
|
|
2930
3170
|
* </li>
|
|
2931
3171
|
* <li>
|
|
2932
3172
|
* <p>
|
|
3173
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a>
|
|
3174
|
+
* </p>
|
|
3175
|
+
* </li>
|
|
3176
|
+
* <li>
|
|
3177
|
+
* <p>
|
|
2933
3178
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html">ListMultipartUploads</a>
|
|
2934
3179
|
* </p>
|
|
2935
3180
|
* </li>
|
|
@@ -2943,10 +3188,10 @@ export declare class S3 extends S3Client {
|
|
|
2943
3188
|
* bucket-level feature that enables you to perform faster data transfers to Amazon S3.</p>
|
|
2944
3189
|
*
|
|
2945
3190
|
* <p> To use this operation, you must have permission to perform the
|
|
2946
|
-
*
|
|
2947
|
-
* bucket owner can grant this permission to others. For more information
|
|
2948
|
-
* 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
|
|
2949
|
-
* Resources</a>.</p>
|
|
3191
|
+
* <code>s3:PutAccelerateConfiguration</code> action. The bucket owner has this permission
|
|
3192
|
+
* by default. The bucket owner can grant this permission to others. For more information
|
|
3193
|
+
* 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
|
|
3194
|
+
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
2950
3195
|
*
|
|
2951
3196
|
* <p> The Transfer Acceleration state of a bucket can be set to one of the following two
|
|
2952
3197
|
* values:</p>
|
|
@@ -3378,7 +3623,9 @@ export declare class S3 extends S3Client {
|
|
|
3378
3623
|
* encryption and Amazon S3 Bucket Key for an existing bucket.</p>
|
|
3379
3624
|
* <p>Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys
|
|
3380
3625
|
* (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption
|
|
3381
|
-
* using SSE-KMS, you can also configure Amazon S3 Bucket Key.
|
|
3626
|
+
* using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if
|
|
3627
|
+
* you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3
|
|
3628
|
+
* uses the default Amazon Web Services managed KMS key for your account. For information about default
|
|
3382
3629
|
* encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 default bucket encryption</a>
|
|
3383
3630
|
* in the <i>Amazon S3 User Guide</i>. For more information about S3 Bucket Keys,
|
|
3384
3631
|
* 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>
|
|
@@ -3607,6 +3854,8 @@ export declare class S3 extends S3Client {
|
|
|
3607
3854
|
putBucketInventoryConfiguration(args: PutBucketInventoryConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketInventoryConfigurationCommandOutput) => void): void;
|
|
3608
3855
|
/**
|
|
3609
3856
|
* <p>Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
|
|
3857
|
+
* configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if
|
|
3858
|
+
* you want to retain any configuration details, they must be included in the new lifecycle
|
|
3610
3859
|
* configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing your storage
|
|
3611
3860
|
* lifecycle</a>.</p>
|
|
3612
3861
|
*
|
|
@@ -3658,7 +3907,7 @@ export declare class S3 extends S3Client {
|
|
|
3658
3907
|
* subresources (for example, lifecycle configuration and website configuration). Only the
|
|
3659
3908
|
* resource owner (that is, the Amazon Web Services account that created it) can access the resource. The
|
|
3660
3909
|
* resource owner can optionally grant access permissions to others by writing an access
|
|
3661
|
-
* policy. For this operation, a user must get the s3:PutLifecycleConfiguration
|
|
3910
|
+
* policy. For this operation, a user must get the <code>s3:PutLifecycleConfiguration</code>
|
|
3662
3911
|
* permission.</p>
|
|
3663
3912
|
*
|
|
3664
3913
|
* <p>You can also explicitly deny permissions. Explicit deny also supersedes any other
|
|
@@ -3667,13 +3916,19 @@ export declare class S3 extends S3Client {
|
|
|
3667
3916
|
*
|
|
3668
3917
|
* <ul>
|
|
3669
3918
|
* <li>
|
|
3670
|
-
* <p>
|
|
3919
|
+
* <p>
|
|
3920
|
+
* <code>s3:DeleteObject</code>
|
|
3921
|
+
* </p>
|
|
3671
3922
|
* </li>
|
|
3672
3923
|
* <li>
|
|
3673
|
-
* <p>
|
|
3924
|
+
* <p>
|
|
3925
|
+
* <code>s3:DeleteObjectVersion</code>
|
|
3926
|
+
* </p>
|
|
3674
3927
|
* </li>
|
|
3675
3928
|
* <li>
|
|
3676
|
-
* <p>
|
|
3929
|
+
* <p>
|
|
3930
|
+
* <code>s3:PutLifecycleConfiguration</code>
|
|
3931
|
+
* </p>
|
|
3677
3932
|
* </li>
|
|
3678
3933
|
* </ul>
|
|
3679
3934
|
*
|
|
@@ -3882,7 +4137,8 @@ export declare class S3 extends S3Client {
|
|
|
3882
4137
|
*
|
|
3883
4138
|
* <p>You can disable notifications by adding the empty NotificationConfiguration
|
|
3884
4139
|
* element.</p>
|
|
3885
|
-
*
|
|
4140
|
+
* <p>For more information about the number of event notification configurations that you can create per bucket, see
|
|
4141
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/s3.html#limits_s3">Amazon S3 service quotas</a> in <i>Amazon Web Services General Reference</i>.</p>
|
|
3886
4142
|
* <p>By default, only the bucket owner can configure notifications on a bucket. However,
|
|
3887
4143
|
* bucket owners can use a bucket policy to grant permission to other users to set this
|
|
3888
4144
|
* configuration with <code>s3:PutBucketNotification</code> permission.</p>
|
|
@@ -4158,8 +4414,7 @@ export declare class S3 extends S3Client {
|
|
|
4158
4414
|
putBucketTagging(args: PutBucketTaggingCommandInput, cb: (err: any, data?: PutBucketTaggingCommandOutput) => void): void;
|
|
4159
4415
|
putBucketTagging(args: PutBucketTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketTaggingCommandOutput) => void): void;
|
|
4160
4416
|
/**
|
|
4161
|
-
* <p>Sets the versioning state of an existing bucket
|
|
4162
|
-
* be the bucket owner.</p>
|
|
4417
|
+
* <p>Sets the versioning state of an existing bucket.</p>
|
|
4163
4418
|
* <p>You can set the versioning state with one of the following values:</p>
|
|
4164
4419
|
*
|
|
4165
4420
|
* <p>
|
|
@@ -4173,8 +4428,9 @@ export declare class S3 extends S3Client {
|
|
|
4173
4428
|
* <p>If the versioning state has never been set on a bucket, it has no versioning state; a
|
|
4174
4429
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> request does not return a versioning state value.</p>
|
|
4175
4430
|
*
|
|
4176
|
-
* <p>
|
|
4177
|
-
*
|
|
4431
|
+
* <p>In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner
|
|
4432
|
+
* and want to enable MFA Delete in the bucket versioning configuration, you must
|
|
4433
|
+
* include the <code>x-amz-mfa request</code> header and the
|
|
4178
4434
|
* <code>Status</code> and the <code>MfaDelete</code> request elements in a request to set
|
|
4179
4435
|
* the versioning state of the bucket.</p>
|
|
4180
4436
|
*
|
|
@@ -4642,7 +4898,7 @@ export declare class S3 extends S3Client {
|
|
|
4642
4898
|
putObjectAcl(args: PutObjectAclCommandInput, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void;
|
|
4643
4899
|
putObjectAcl(args: PutObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void;
|
|
4644
4900
|
/**
|
|
4645
|
-
* <p>Applies a
|
|
4901
|
+
* <p>Applies a legal hold configuration to the specified object. For more information, see
|
|
4646
4902
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
4647
4903
|
* Objects</a>.</p>
|
|
4648
4904
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
@@ -4683,13 +4939,6 @@ export declare class S3 extends S3Client {
|
|
|
4683
4939
|
* requires the <code>s3:BypassGovernanceRetention</code> permission.
|
|
4684
4940
|
* </p>
|
|
4685
4941
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
4686
|
-
*
|
|
4687
|
-
* <p>
|
|
4688
|
-
* <b>Permissions</b>
|
|
4689
|
-
* </p>
|
|
4690
|
-
* <p>When the Object Lock retention mode is set to compliance, you need <code>s3:PutObjectRetention</code> and
|
|
4691
|
-
* <code>s3:BypassGovernanceRetention</code> permissions. For other requests to <code>PutObjectRetention</code>,
|
|
4692
|
-
* only <code>s3:PutObjectRetention</code> permissions are required.</p>
|
|
4693
4942
|
*/
|
|
4694
4943
|
putObjectRetention(args: PutObjectRetentionCommandInput, options?: __HttpHandlerOptions): Promise<PutObjectRetentionCommandOutput>;
|
|
4695
4944
|
putObjectRetention(args: PutObjectRetentionCommandInput, cb: (err: any, data?: PutObjectRetentionCommandOutput) => void): void;
|
|
@@ -4991,42 +5240,35 @@ export declare class S3 extends S3Client {
|
|
|
4991
5240
|
* <ul>
|
|
4992
5241
|
* <li>
|
|
4993
5242
|
* <p>
|
|
4994
|
-
* <
|
|
4995
|
-
*
|
|
4996
|
-
*
|
|
4997
|
-
*
|
|
4998
|
-
*
|
|
4999
|
-
*
|
|
5000
|
-
*
|
|
5001
|
-
*
|
|
5002
|
-
* retrievals is available when you need it. Expedited retrievals and provisioned
|
|
5003
|
-
* capacity are not available for objects stored in the S3 Glacier Deep Archive
|
|
5004
|
-
* storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
5243
|
+
* <code>Expedited</code> - Expedited retrievals allow you to quickly access your
|
|
5244
|
+
* data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
|
|
5245
|
+
* tier when occasional urgent requests for a subset of archives are required. For all
|
|
5246
|
+
* but the largest archived objects (250 MB+), data accessed using Expedited retrievals
|
|
5247
|
+
* is typically made available within 1–5 minutes. Provisioned capacity ensures that
|
|
5248
|
+
* retrieval capacity for Expedited retrievals is available when you need it. Expedited
|
|
5249
|
+
* retrievals and provisioned capacity are not available for objects stored in the
|
|
5250
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
5005
5251
|
* </li>
|
|
5006
5252
|
* <li>
|
|
5007
5253
|
* <p>
|
|
5008
|
-
* <
|
|
5009
|
-
*
|
|
5010
|
-
*
|
|
5011
|
-
*
|
|
5012
|
-
*
|
|
5013
|
-
*
|
|
5014
|
-
* S3
|
|
5015
|
-
*
|
|
5016
|
-
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
|
|
5017
|
-
* Standard retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
5254
|
+
* <code>Standard</code> - Standard retrievals allow you to access any of your
|
|
5255
|
+
* archived objects within several hours. This is the default option for retrieval
|
|
5256
|
+
* requests that do not specify the retrieval option. Standard retrievals typically
|
|
5257
|
+
* finish within 3–5 hours for objects stored in the S3 Glacier storage
|
|
5258
|
+
* class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
|
|
5259
|
+
* objects stored in the S3 Glacier Deep Archive storage class or
|
|
5260
|
+
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
|
|
5261
|
+
* S3 Intelligent-Tiering.</p>
|
|
5018
5262
|
* </li>
|
|
5019
5263
|
* <li>
|
|
5020
5264
|
* <p>
|
|
5021
|
-
* <
|
|
5022
|
-
*
|
|
5023
|
-
*
|
|
5024
|
-
*
|
|
5025
|
-
*
|
|
5026
|
-
*
|
|
5027
|
-
*
|
|
5028
|
-
* in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
|
|
5029
|
-
* Bulk retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
5265
|
+
* <code>Bulk</code> - Bulk retrievals are the lowest-cost retrieval option in
|
|
5266
|
+
* S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
|
|
5267
|
+
* inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
|
|
5268
|
+
* in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
|
|
5269
|
+
* typically finish within 48 hours for objects stored in the
|
|
5270
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
|
|
5271
|
+
* retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
5030
5272
|
* </li>
|
|
5031
5273
|
* </ul>
|
|
5032
5274
|
* <p>For more information about archive retrieval options and provisioned capacity for
|
|
@@ -5446,13 +5688,13 @@ export declare class S3 extends S3Client {
|
|
|
5446
5688
|
* Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
5447
5689
|
* </li>
|
|
5448
5690
|
* <li>
|
|
5449
|
-
* <p>For information about copying objects using a single atomic action vs.
|
|
5450
|
-
*
|
|
5451
|
-
*
|
|
5691
|
+
* <p>For information about copying objects using a single atomic action vs. a multipart
|
|
5692
|
+
* upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
|
|
5693
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
5452
5694
|
* </li>
|
|
5453
5695
|
* <li>
|
|
5454
5696
|
* <p>For information about using server-side encryption with customer-provided
|
|
5455
|
-
* encryption keys with the UploadPartCopy operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
|
|
5697
|
+
* encryption keys with the <code>UploadPartCopy</code> operation, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>.</p>
|
|
5456
5698
|
* </li>
|
|
5457
5699
|
* </ul>
|
|
5458
5700
|
* <p>Note the following additional considerations about the request headers
|