@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
|
@@ -11,10 +11,10 @@ export interface PutBucketAccelerateConfigurationCommandOutput extends __Metadat
|
|
|
11
11
|
* bucket-level feature that enables you to perform faster data transfers to Amazon S3.</p>
|
|
12
12
|
*
|
|
13
13
|
* <p> To use this operation, you must have permission to perform the
|
|
14
|
-
*
|
|
15
|
-
* bucket owner can grant this permission to others. For more information
|
|
16
|
-
* 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
|
|
17
|
-
* Resources</a>.</p>
|
|
14
|
+
* <code>s3:PutAccelerateConfiguration</code> action. The bucket owner has this permission
|
|
15
|
+
* by default. The bucket owner can grant this permission to others. For more information
|
|
16
|
+
* 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
|
|
17
|
+
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
18
18
|
*
|
|
19
19
|
* <p> The Transfer Acceleration state of a bucket can be set to one of the following two
|
|
20
20
|
* values:</p>
|
|
@@ -11,7 +11,9 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
|
11
11
|
* encryption and Amazon S3 Bucket Key for an existing bucket.</p>
|
|
12
12
|
* <p>Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys
|
|
13
13
|
* (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption
|
|
14
|
-
* using SSE-KMS, you can also configure Amazon S3 Bucket Key.
|
|
14
|
+
* using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if
|
|
15
|
+
* you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3
|
|
16
|
+
* uses the default Amazon Web Services managed KMS key for your account. For information about default
|
|
15
17
|
* encryption, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 default bucket encryption</a>
|
|
16
18
|
* in the <i>Amazon S3 User Guide</i>. For more information about S3 Bucket Keys,
|
|
17
19
|
* 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>
|
|
@@ -8,6 +8,8 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
|
|
11
|
+
* configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if
|
|
12
|
+
* you want to retain any configuration details, they must be included in the new lifecycle
|
|
11
13
|
* configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing your storage
|
|
12
14
|
* lifecycle</a>.</p>
|
|
13
15
|
*
|
|
@@ -59,7 +61,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
59
61
|
* subresources (for example, lifecycle configuration and website configuration). Only the
|
|
60
62
|
* resource owner (that is, the Amazon Web Services account that created it) can access the resource. The
|
|
61
63
|
* resource owner can optionally grant access permissions to others by writing an access
|
|
62
|
-
* policy. For this operation, a user must get the s3:PutLifecycleConfiguration
|
|
64
|
+
* policy. For this operation, a user must get the <code>s3:PutLifecycleConfiguration</code>
|
|
63
65
|
* permission.</p>
|
|
64
66
|
*
|
|
65
67
|
* <p>You can also explicitly deny permissions. Explicit deny also supersedes any other
|
|
@@ -68,13 +70,19 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
68
70
|
*
|
|
69
71
|
* <ul>
|
|
70
72
|
* <li>
|
|
71
|
-
* <p>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>s3:DeleteObject</code>
|
|
75
|
+
* </p>
|
|
72
76
|
* </li>
|
|
73
77
|
* <li>
|
|
74
|
-
* <p>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>s3:DeleteObjectVersion</code>
|
|
80
|
+
* </p>
|
|
75
81
|
* </li>
|
|
76
82
|
* <li>
|
|
77
|
-
* <p>
|
|
83
|
+
* <p>
|
|
84
|
+
* <code>s3:PutLifecycleConfiguration</code>
|
|
85
|
+
* </p>
|
|
78
86
|
* </li>
|
|
79
87
|
* </ul>
|
|
80
88
|
*
|
|
@@ -38,7 +38,8 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
|
|
|
38
38
|
*
|
|
39
39
|
* <p>You can disable notifications by adding the empty NotificationConfiguration
|
|
40
40
|
* element.</p>
|
|
41
|
-
*
|
|
41
|
+
* <p>For more information about the number of event notification configurations that you can create per bucket, see
|
|
42
|
+
* <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>
|
|
42
43
|
* <p>By default, only the bucket owner can configure notifications on a bucket. However,
|
|
43
44
|
* bucket owners can use a bucket policy to grant permission to other users to set this
|
|
44
45
|
* configuration with <code>s3:PutBucketNotification</code> permission.</p>
|
|
@@ -7,8 +7,7 @@ export interface PutBucketVersioningCommandInput extends PutBucketVersioningRequ
|
|
|
7
7
|
export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Sets the versioning state of an existing bucket
|
|
11
|
-
* be the bucket owner.</p>
|
|
10
|
+
* <p>Sets the versioning state of an existing bucket.</p>
|
|
12
11
|
* <p>You can set the versioning state with one of the following values:</p>
|
|
13
12
|
*
|
|
14
13
|
* <p>
|
|
@@ -22,8 +21,9 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
22
21
|
* <p>If the versioning state has never been set on a bucket, it has no versioning state; a
|
|
23
22
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> request does not return a versioning state value.</p>
|
|
24
23
|
*
|
|
25
|
-
* <p>
|
|
26
|
-
*
|
|
24
|
+
* <p>In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner
|
|
25
|
+
* and want to enable MFA Delete in the bucket versioning configuration, you must
|
|
26
|
+
* include the <code>x-amz-mfa request</code> header and the
|
|
27
27
|
* <code>Status</code> and the <code>MfaDelete</code> request elements in a request to set
|
|
28
28
|
* the versioning state of the bucket.</p>
|
|
29
29
|
*
|
|
@@ -7,7 +7,7 @@ export interface PutObjectLegalHoldCommandInput extends PutObjectLegalHoldReques
|
|
|
7
7
|
export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Applies a
|
|
10
|
+
* <p>Applies a legal hold configuration to the specified object. For more information, see
|
|
11
11
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
12
12
|
* Objects</a>.</p>
|
|
13
13
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/
|
|
3
|
+
import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
export interface PutObjectRetentionCommandInput extends PutObjectRetentionRequest {
|
|
6
6
|
}
|
|
@@ -13,13 +13,6 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
|
|
|
13
13
|
* requires the <code>s3:BypassGovernanceRetention</code> permission.
|
|
14
14
|
* </p>
|
|
15
15
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>
|
|
18
|
-
* <b>Permissions</b>
|
|
19
|
-
* </p>
|
|
20
|
-
* <p>When the Object Lock retention mode is set to compliance, you need <code>s3:PutObjectRetention</code> and
|
|
21
|
-
* <code>s3:BypassGovernanceRetention</code> permissions. For other requests to <code>PutObjectRetention</code>,
|
|
22
|
-
* only <code>s3:PutObjectRetention</code> permissions are required.</p>
|
|
23
16
|
* @example
|
|
24
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
18
|
* ```javascript
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/
|
|
3
|
+
import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
export interface PutObjectTaggingCommandInput extends PutObjectTaggingRequest {
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { PutPublicAccessBlockRequest } from "../models/
|
|
3
|
+
import { PutPublicAccessBlockRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
export interface PutPublicAccessBlockCommandInput extends PutPublicAccessBlockRequest {
|
|
6
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { RestoreObjectOutput } from "../models/
|
|
4
|
-
import { RestoreObjectRequest } from "../models/models_1";
|
|
3
|
+
import { RestoreObjectOutput, RestoreObjectRequest } from "../models/models_1";
|
|
5
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
5
|
export interface RestoreObjectCommandInput extends RestoreObjectRequest {
|
|
7
6
|
}
|
|
@@ -145,42 +144,35 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
145
144
|
* <ul>
|
|
146
145
|
* <li>
|
|
147
146
|
* <p>
|
|
148
|
-
* <
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* retrievals is available when you need it. Expedited retrievals and provisioned
|
|
157
|
-
* capacity are not available for objects stored in the S3 Glacier Deep Archive
|
|
158
|
-
* storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
147
|
+
* <code>Expedited</code> - Expedited retrievals allow you to quickly access your
|
|
148
|
+
* data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
|
|
149
|
+
* tier when occasional urgent requests for a subset of archives are required. For all
|
|
150
|
+
* but the largest archived objects (250 MB+), data accessed using Expedited retrievals
|
|
151
|
+
* is typically made available within 1–5 minutes. Provisioned capacity ensures that
|
|
152
|
+
* retrieval capacity for Expedited retrievals is available when you need it. Expedited
|
|
153
|
+
* retrievals and provisioned capacity are not available for objects stored in the
|
|
154
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
159
155
|
* </li>
|
|
160
156
|
* <li>
|
|
161
157
|
* <p>
|
|
162
|
-
* <
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* S3
|
|
169
|
-
*
|
|
170
|
-
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
|
|
171
|
-
* Standard retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
158
|
+
* <code>Standard</code> - Standard retrievals allow you to access any of your
|
|
159
|
+
* archived objects within several hours. This is the default option for retrieval
|
|
160
|
+
* requests that do not specify the retrieval option. Standard retrievals typically
|
|
161
|
+
* finish within 3–5 hours for objects stored in the S3 Glacier storage
|
|
162
|
+
* class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
|
|
163
|
+
* objects stored in the S3 Glacier Deep Archive storage class or
|
|
164
|
+
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
|
|
165
|
+
* S3 Intelligent-Tiering.</p>
|
|
172
166
|
* </li>
|
|
173
167
|
* <li>
|
|
174
168
|
* <p>
|
|
175
|
-
* <
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
|
|
183
|
-
* Bulk retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
169
|
+
* <code>Bulk</code> - Bulk retrievals are the lowest-cost retrieval option in
|
|
170
|
+
* S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
|
|
171
|
+
* inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
|
|
172
|
+
* in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
|
|
173
|
+
* typically finish within 48 hours for objects stored in the
|
|
174
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
|
|
175
|
+
* retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
184
176
|
* </li>
|
|
185
177
|
* </ul>
|
|
186
178
|
* <p>For more information about archive retrieval options and provisioned capacity for
|
|
@@ -36,13 +36,13 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
|
|
|
36
36
|
* Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
|
-
* <p>For information about copying objects using a single atomic action vs.
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* <p>For information about copying objects using a single atomic action vs. a multipart
|
|
40
|
+
* upload, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html">Operations on Objects</a> in
|
|
41
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* <li>
|
|
44
44
|
* <p>For information about using server-side encryption with customer-provided
|
|
45
|
-
* 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>
|
|
45
|
+
* 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>
|
|
46
46
|
* </li>
|
|
47
47
|
* </ul>
|
|
48
48
|
* <p>Note the following additional considerations about the request headers
|
|
@@ -41,6 +41,7 @@ export * from "./GetBucketTaggingCommand";
|
|
|
41
41
|
export * from "./GetBucketVersioningCommand";
|
|
42
42
|
export * from "./GetBucketWebsiteCommand";
|
|
43
43
|
export * from "./GetObjectAclCommand";
|
|
44
|
+
export * from "./GetObjectAttributesCommand";
|
|
44
45
|
export * from "./GetObjectCommand";
|
|
45
46
|
export * from "./GetObjectLegalHoldCommand";
|
|
46
47
|
export * from "./GetObjectLockConfigurationCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from S3 service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class S3ServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|