@aws-sdk/client-s3 3.842.0 → 3.845.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/README.md +40 -0
- package/dist-cjs/index.js +594 -121
- package/dist-es/S3.js +10 -0
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/dist-es/commands/ListPartsCommand.js +1 -1
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/protocols/Aws_restXml.js +325 -3
- package/dist-types/S3.d.ts +35 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
- package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
- package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
- package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
- package/dist-types/commands/GetObjectCommand.d.ts +66 -81
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
- package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
- package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
- package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
- package/dist-types/commands/ListPartsCommand.d.ts +21 -24
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
- package/dist-types/commands/PutObjectCommand.d.ts +56 -66
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
- package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
- package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/dist-types/commands/UploadPartCommand.d.ts +64 -74
- package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +2688 -3603
- package/dist-types/models/models_1.d.ts +2120 -743
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/S3.d.ts +109 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -206
- package/dist-types/ts3.4/models/models_1.d.ts +238 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +19 -19
|
@@ -30,13 +30,12 @@ declare const DeleteBucketOwnershipControlsCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* <p>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you must have the
|
|
34
|
+
* <code>s3:PutBucketOwnershipControls</code> permission. For more information about Amazon S3 permissions,
|
|
35
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
36
|
+
* Permissions in a Policy</a>.</p>
|
|
37
37
|
* <p>For information about Amazon S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html">Using Object Ownership</a>. </p>
|
|
38
|
-
* <p>The following operations are related to
|
|
39
|
-
* <code>DeleteBucketOwnershipControls</code>:</p>
|
|
38
|
+
* <p>The following operations are related to <code>DeleteBucketOwnershipControls</code>:</p>
|
|
40
39
|
* <ul>
|
|
41
40
|
* <li>
|
|
42
41
|
* <p>
|
|
@@ -39,38 +39,35 @@ declare const DeleteBucketPolicyCommand_base: {
|
|
|
39
39
|
* <dl>
|
|
40
40
|
* <dt>Permissions</dt>
|
|
41
41
|
* <dd>
|
|
42
|
-
* <p>If you are using an identity other than the root user of the Amazon Web Services account that
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* returns a <code>405 Method Not Allowed</code> error.</p>
|
|
42
|
+
* <p>If you are using an identity other than the root user of the Amazon Web Services account that owns the
|
|
43
|
+
* bucket, the calling identity must both have the <code>DeleteBucketPolicy</code> permissions on the
|
|
44
|
+
* specified bucket and belong to the bucket owner's account in order to use this operation.</p>
|
|
45
|
+
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403 Access
|
|
46
|
+
* Denied</code> error. If you have the correct permissions, but you're not using an identity that
|
|
47
|
+
* belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not Allowed</code>
|
|
48
|
+
* error.</p>
|
|
50
49
|
* <important>
|
|
51
|
-
* <p>To ensure that bucket owners don't inadvertently lock themselves out of
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Amazon Web Services Organizations policies.</p>
|
|
50
|
+
* <p>To ensure that bucket owners don't inadvertently lock themselves out of their own buckets,
|
|
51
|
+
* the root principal in a bucket owner's Amazon Web Services account can perform the
|
|
52
|
+
* <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
|
|
53
|
+
* <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the
|
|
54
|
+
* root principal's access. Bucket owner root principals can only be blocked from performing these
|
|
55
|
+
* API actions by VPC endpoint policies and Amazon Web Services Organizations policies.</p>
|
|
58
56
|
* </important>
|
|
59
57
|
* <ul>
|
|
60
58
|
* <li>
|
|
61
59
|
* <p>
|
|
62
60
|
* <b>General purpose bucket permissions</b> - The
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
61
|
+
* <code>s3:DeleteBucketPolicy</code> permission is required in a policy. For more information
|
|
62
|
+
* about general purpose buckets bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
63
|
+
* Policies</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
66
64
|
* </li>
|
|
67
65
|
* <li>
|
|
68
66
|
* <p>
|
|
69
|
-
* <b>Directory bucket permissions</b> -
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
67
|
+
* <b>Directory bucket permissions</b> - To grant access to
|
|
68
|
+
* this API operation, you must have the <code>s3express:DeleteBucketPolicy</code> permission in
|
|
69
|
+
* an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.
|
|
70
|
+
* For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
74
71
|
* </li>
|
|
75
72
|
* </ul>
|
|
76
73
|
* </dd>
|
|
@@ -32,16 +32,14 @@ declare const DeleteBucketReplicationCommand_base: {
|
|
|
32
32
|
* </note>
|
|
33
33
|
* <p> Deletes the replication configuration from the bucket.</p>
|
|
34
34
|
* <p>To use this operation, you must have permissions to perform the
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* Access Permissions to Your Amazon S3 Resources</a>. </p>
|
|
35
|
+
* <code>s3:PutReplicationConfiguration</code> action. The bucket owner has these permissions by default
|
|
36
|
+
* and can grant it to others. For more information 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 Access Permissions to Your Amazon S3
|
|
37
|
+
* Resources</a>. </p>
|
|
39
38
|
* <note>
|
|
40
|
-
* <p>It can take a while for the deletion of a replication configuration to fully
|
|
41
|
-
* propagate.</p>
|
|
39
|
+
* <p>It can take a while for the deletion of a replication configuration to fully propagate.</p>
|
|
42
40
|
* </note>
|
|
43
41
|
* <p> For information about replication configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> in the
|
|
44
|
-
*
|
|
42
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
45
43
|
* <p>The following operations are related to <code>DeleteBucketReplication</code>:</p>
|
|
46
44
|
* <ul>
|
|
47
45
|
* <li>
|
|
@@ -31,9 +31,8 @@ declare const DeleteBucketTaggingCommand_base: {
|
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>Deletes the tags from the bucket.</p>
|
|
34
|
-
* <p>To use this operation, you must have permission to perform the
|
|
35
|
-
*
|
|
36
|
-
* permission and can grant this permission to others. </p>
|
|
34
|
+
* <p>To use this operation, you must have permission to perform the <code>s3:PutBucketTagging</code>
|
|
35
|
+
* action. By default, the bucket owner has this permission and can grant this permission to others. </p>
|
|
37
36
|
* <p>The following operations are related to <code>DeleteBucketTagging</code>:</p>
|
|
38
37
|
* <ul>
|
|
39
38
|
* <li>
|
|
@@ -30,16 +30,15 @@ declare const DeleteBucketWebsiteCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>This action removes the website configuration for a bucket. Amazon S3 returns a <code>200
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* <p>This DELETE action requires the <code>S3:DeleteBucketWebsite</code> permission. By
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* permission. </p>
|
|
33
|
+
* <p>This action removes the website configuration for a bucket. Amazon S3 returns a <code>200 OK</code>
|
|
34
|
+
* response upon successfully deleting a website configuration on the specified bucket. You will get a
|
|
35
|
+
* <code>200 OK</code> response if the website configuration you are trying to delete does not exist on
|
|
36
|
+
* the bucket. Amazon S3 returns a <code>404</code> response if the bucket specified in the request does not
|
|
37
|
+
* exist.</p>
|
|
38
|
+
* <p>This DELETE action requires the <code>S3:DeleteBucketWebsite</code> permission. By default, only the
|
|
39
|
+
* bucket owner can delete the website configuration attached to a bucket. However, bucket owners can grant
|
|
40
|
+
* other users permission to delete the website configuration by writing a bucket policy granting them the
|
|
41
|
+
* <code>S3:DeleteBucketWebsite</code> permission. </p>
|
|
43
42
|
* <p>For more information about hosting websites, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a>. </p>
|
|
44
43
|
* <p>The following operations are related to <code>DeleteBucketWebsite</code>:</p>
|
|
45
44
|
* <ul>
|
|
@@ -33,18 +33,30 @@ declare const DeleteObjectCommand_base: {
|
|
|
33
33
|
* <p>If bucket versioning is not enabled, the operation permanently deletes the object.</p>
|
|
34
34
|
* </li>
|
|
35
35
|
* <li>
|
|
36
|
-
* <p>If bucket versioning is enabled, the operation inserts a delete marker, which becomes the
|
|
36
|
+
* <p>If bucket versioning is enabled, the operation inserts a delete marker, which becomes the
|
|
37
|
+
* current version of the object. To permanently delete an object in a versioned bucket, you must
|
|
38
|
+
* include the object’s <code>versionId</code> in the request. For more information about
|
|
39
|
+
* versioning-enabled buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html">Deleting object versions from a
|
|
40
|
+
* versioning-enabled bucket</a>.</p>
|
|
37
41
|
* </li>
|
|
38
42
|
* <li>
|
|
39
|
-
* <p>If bucket versioning is suspended, the operation removes the object that has a null
|
|
43
|
+
* <p>If bucket versioning is suspended, the operation removes the object that has a null
|
|
44
|
+
* <code>versionId</code>, if there is one, and inserts a delete marker that becomes the current
|
|
45
|
+
* version of the object. If there isn't an object with a null <code>versionId</code>, and all versions
|
|
46
|
+
* of the object have a <code>versionId</code>, Amazon S3 does not remove the object and only inserts a
|
|
47
|
+
* delete marker. To permanently delete an object that has a <code>versionId</code>, you must include
|
|
48
|
+
* the object’s <code>versionId</code> in the request. For more information about versioning-suspended
|
|
49
|
+
* buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html">Deleting
|
|
50
|
+
* objects from versioning-suspended buckets</a>.</p>
|
|
40
51
|
* </li>
|
|
41
52
|
* </ul>
|
|
42
53
|
* <note>
|
|
43
54
|
* <ul>
|
|
44
55
|
* <li>
|
|
45
56
|
* <p>
|
|
46
|
-
* <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets.
|
|
47
|
-
*
|
|
57
|
+
* <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets.
|
|
58
|
+
* You can only specify <code>null</code> to the <code>versionId</code> query parameter in the
|
|
59
|
+
* request.</p>
|
|
48
60
|
* </li>
|
|
49
61
|
* <li>
|
|
50
62
|
* <p>
|
|
@@ -56,27 +68,25 @@ declare const DeleteObjectCommand_base: {
|
|
|
56
68
|
* </ul>
|
|
57
69
|
* </note>
|
|
58
70
|
* <p>To remove a specific version, you must use the <code>versionId</code> query parameter. Using this
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* <p>If the object you want to delete is in a bucket where the bucket versioning
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* requests that use versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete">Sample
|
|
67
|
-
* Request</a>. </p>
|
|
71
|
+
* query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3 sets the
|
|
72
|
+
* response header <code>x-amz-delete-marker</code> to true. </p>
|
|
73
|
+
* <p>If the object you want to delete is in a bucket where the bucket versioning configuration is MFA
|
|
74
|
+
* Delete enabled, you must include the <code>x-amz-mfa</code> request header in the DELETE
|
|
75
|
+
* <code>versionId</code> request. Requests that include <code>x-amz-mfa</code> must use HTTPS. For more
|
|
76
|
+
* information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html">Using MFA Delete</a> in the <i>Amazon S3 User
|
|
77
|
+
* Guide</i>. To see sample requests that use versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete">Sample Request</a>. </p>
|
|
68
78
|
* <note>
|
|
69
79
|
* <p>
|
|
70
80
|
* <b>Directory buckets</b> - MFA delete is not supported by directory buckets.</p>
|
|
71
81
|
* </note>
|
|
72
|
-
* <p>You can delete objects by explicitly calling DELETE Object or calling
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* <code>s3:PutLifeCycleConfiguration</code> actions. </p>
|
|
82
|
+
* <p>You can delete objects by explicitly calling DELETE Object or calling (<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>) to enable Amazon S3 to
|
|
83
|
+
* remove them for you. If you want to block users or accounts from removing or deleting objects from your
|
|
84
|
+
* bucket, you must deny them the <code>s3:DeleteObject</code>, <code>s3:DeleteObjectVersion</code>, and
|
|
85
|
+
* <code>s3:PutLifeCycleConfiguration</code> actions. </p>
|
|
77
86
|
* <note>
|
|
78
87
|
* <p>
|
|
79
|
-
* <b>Directory buckets</b> -
|
|
88
|
+
* <b>Directory buckets</b> -
|
|
89
|
+
* S3 Lifecycle is not supported by directory buckets.</p>
|
|
80
90
|
* </note>
|
|
81
91
|
* <dl>
|
|
82
92
|
* <dt>Permissions</dt>
|
|
@@ -84,20 +94,24 @@ declare const DeleteObjectCommand_base: {
|
|
|
84
94
|
* <ul>
|
|
85
95
|
* <li>
|
|
86
96
|
* <p>
|
|
87
|
-
* <b>General purpose bucket permissions</b> - The following
|
|
88
|
-
*
|
|
97
|
+
* <b>General purpose bucket permissions</b> - The following
|
|
98
|
+
* permissions are required in your policies when your <code>DeleteObjects</code> request
|
|
99
|
+
* includes specific headers.</p>
|
|
89
100
|
* <ul>
|
|
90
101
|
* <li>
|
|
91
102
|
* <p>
|
|
92
103
|
* <b>
|
|
93
104
|
* <code>s3:DeleteObject</code>
|
|
94
|
-
* </b> - To delete an
|
|
105
|
+
* </b> - To delete an
|
|
106
|
+
* object from a bucket, you must always have the <code>s3:DeleteObject</code>
|
|
107
|
+
* permission.</p>
|
|
95
108
|
* </li>
|
|
96
109
|
* <li>
|
|
97
110
|
* <p>
|
|
98
111
|
* <b>
|
|
99
112
|
* <code>s3:DeleteObjectVersion</code>
|
|
100
|
-
* </b> - To delete a specific version of an object from a versioning-enabled
|
|
113
|
+
* </b> - To delete a specific version of an object from a versioning-enabled
|
|
114
|
+
* bucket, you must have the <code>s3:DeleteObjectVersion</code> permission.</p>
|
|
101
115
|
* </li>
|
|
102
116
|
* </ul>
|
|
103
117
|
* </li>
|
|
@@ -30,13 +30,13 @@ declare const DeleteObjectTaggingCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Removes the entire tag set from the specified object. For more information about
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
33
|
+
* <p>Removes the entire tag set from the specified object. For more information about managing object
|
|
34
|
+
* tags, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html"> Object
|
|
35
|
+
* Tagging</a>.</p>
|
|
36
|
+
* <p>To use this operation, you must have permission to perform the <code>s3:DeleteObjectTagging</code>
|
|
37
|
+
* action.</p>
|
|
38
|
+
* <p>To delete tags of a specific object version, add the <code>versionId</code> query parameter in the
|
|
39
|
+
* request. You will need permission for the <code>s3:DeleteObjectVersionTagging</code> action.</p>
|
|
40
40
|
* <p>The following operations are related to <code>DeleteObjectTagging</code>:</p>
|
|
41
41
|
* <ul>
|
|
42
42
|
* <li>
|
|
@@ -27,47 +27,44 @@ declare const DeleteObjectsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation enables you to delete multiple objects from a bucket using a single HTTP
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* If the object specified in the request isn't found, Amazon S3 confirms the deletion by returning the result as deleted.</p>
|
|
30
|
+
* <p>This operation enables you to delete multiple objects from a bucket using a single HTTP request. If
|
|
31
|
+
* you know the object keys that you want to delete, then this operation provides a suitable alternative to
|
|
32
|
+
* sending individual delete requests, reducing per-request overhead.</p>
|
|
33
|
+
* <p>The request can contain a list of up to 1,000 keys that you want to delete. In the XML, you provide
|
|
34
|
+
* the object key names, and optionally, version IDs if you want to delete a specific version of the object
|
|
35
|
+
* from a versioning-enabled bucket. For each key, Amazon S3 performs a delete operation and returns the result
|
|
36
|
+
* of that delete, success or failure, in the response. If the object specified in the request isn't found,
|
|
37
|
+
* Amazon S3 confirms the deletion by returning the result as deleted.</p>
|
|
39
38
|
* <note>
|
|
40
39
|
* <ul>
|
|
41
40
|
* <li>
|
|
42
41
|
* <p>
|
|
43
42
|
* <b>Directory buckets</b> -
|
|
44
|
-
*
|
|
43
|
+
* S3 Versioning isn't enabled and supported for directory buckets.</p>
|
|
45
44
|
* </li>
|
|
46
45
|
* <li>
|
|
47
46
|
* <p>
|
|
48
|
-
* <b>Directory buckets</b> -
|
|
49
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
47
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
50
48
|
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
51
49
|
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
52
50
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
53
51
|
* </li>
|
|
54
52
|
* </ul>
|
|
55
53
|
* </note>
|
|
56
|
-
* <p>The operation supports two modes for the response: verbose and quiet. By default, the
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* <p>When performing this action on an MFA Delete enabled bucket, that attempts to delete any
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
54
|
+
* <p>The operation supports two modes for the response: verbose and quiet. By default, the operation uses
|
|
55
|
+
* verbose mode in which the response includes the result of deletion of each key in your request. In quiet
|
|
56
|
+
* mode the response includes only keys where the delete operation encountered an error. For a successful
|
|
57
|
+
* deletion in a quiet mode, the operation does not return any information about the delete in the response
|
|
58
|
+
* body.</p>
|
|
59
|
+
* <p>When performing this action on an MFA Delete enabled bucket, that attempts to delete any versioned
|
|
60
|
+
* objects, you must include an MFA token. If you do not provide one, the entire request will fail, even if
|
|
61
|
+
* there are non-versioned objects you are trying to delete. If you provide an invalid token, whether there
|
|
62
|
+
* are versioned keys in the request or not, the entire Multi-Object Delete request will fail. For
|
|
63
|
+
* information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete">MFA Delete</a> in the
|
|
64
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
67
65
|
* <note>
|
|
68
66
|
* <p>
|
|
69
|
-
* <b>Directory buckets</b> -
|
|
70
|
-
* MFA delete is not supported by directory buckets.</p>
|
|
67
|
+
* <b>Directory buckets</b> - MFA delete is not supported by directory buckets.</p>
|
|
71
68
|
* </note>
|
|
72
69
|
* <dl>
|
|
73
70
|
* <dt>Permissions</dt>
|
|
@@ -75,25 +72,24 @@ declare const DeleteObjectsCommand_base: {
|
|
|
75
72
|
* <ul>
|
|
76
73
|
* <li>
|
|
77
74
|
* <p>
|
|
78
|
-
* <b>General purpose bucket permissions</b> - The
|
|
79
|
-
*
|
|
80
|
-
*
|
|
75
|
+
* <b>General purpose bucket permissions</b> - The following
|
|
76
|
+
* permissions are required in your policies when your <code>DeleteObjects</code> request
|
|
77
|
+
* includes specific headers.</p>
|
|
81
78
|
* <ul>
|
|
82
79
|
* <li>
|
|
83
80
|
* <p>
|
|
84
81
|
* <b>
|
|
85
82
|
* <code>s3:DeleteObject</code>
|
|
86
|
-
* </b>
|
|
87
|
-
*
|
|
88
|
-
*
|
|
83
|
+
* </b> - To delete an
|
|
84
|
+
* object from a bucket, you must always specify the <code>s3:DeleteObject</code>
|
|
85
|
+
* permission.</p>
|
|
89
86
|
* </li>
|
|
90
87
|
* <li>
|
|
91
88
|
* <p>
|
|
92
89
|
* <b>
|
|
93
90
|
* <code>s3:DeleteObjectVersion</code>
|
|
94
|
-
* </b> - To delete a specific version of an object from a
|
|
95
|
-
*
|
|
96
|
-
* <code>s3:DeleteObjectVersion</code> permission.</p>
|
|
91
|
+
* </b> - To delete a specific version of an object from a versioning-enabled
|
|
92
|
+
* bucket, you must specify the <code>s3:DeleteObjectVersion</code> permission.</p>
|
|
97
93
|
* </li>
|
|
98
94
|
* </ul>
|
|
99
95
|
* </li>
|
|
@@ -113,19 +109,16 @@ declare const DeleteObjectsCommand_base: {
|
|
|
113
109
|
* <ul>
|
|
114
110
|
* <li>
|
|
115
111
|
* <p>
|
|
116
|
-
* <b>General purpose bucket</b> - The Content-MD5
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* transit.</p>
|
|
112
|
+
* <b>General purpose bucket</b> - The Content-MD5 request header
|
|
113
|
+
* is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that
|
|
114
|
+
* your request body has not been altered in transit.</p>
|
|
120
115
|
* </li>
|
|
121
116
|
* <li>
|
|
122
117
|
* <p>
|
|
123
|
-
* <b>Directory bucket</b> - The
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* <code>x-amz-checksum-sha256</code>) is required for all Multi-Object
|
|
128
|
-
* Delete requests.</p>
|
|
118
|
+
* <b>Directory bucket</b> - The Content-MD5 request header
|
|
119
|
+
* or a additional checksum request header (including <code>x-amz-checksum-crc32</code>,
|
|
120
|
+
* <code>x-amz-checksum-crc32c</code>, <code>x-amz-checksum-sha1</code>, or
|
|
121
|
+
* <code>x-amz-checksum-sha256</code>) is required for all Multi-Object Delete requests.</p>
|
|
129
122
|
* </li>
|
|
130
123
|
* </ul>
|
|
131
124
|
* </dd>
|
|
@@ -30,16 +30,16 @@ declare const DeletePublicAccessBlockCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Removes the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use this
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* <p>Removes the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use this operation,
|
|
34
|
+
* you must have the <code>s3:PutBucketPublicAccessBlock</code> permission. For more information about
|
|
35
|
+
* 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 Access Permissions to Your Amazon S3
|
|
36
|
+
* Resources</a>.</p>
|
|
37
37
|
* <p>The following operations are related to <code>DeletePublicAccessBlock</code>:</p>
|
|
38
38
|
* <ul>
|
|
39
39
|
* <li>
|
|
40
40
|
* <p>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using
|
|
42
|
-
*
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using
|
|
42
|
+
* Amazon S3 Block Public Access</a>
|
|
43
43
|
* </p>
|
|
44
44
|
* </li>
|
|
45
45
|
* <li>
|
|
@@ -30,25 +30,22 @@ declare const GetBucketAccelerateConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>This implementation of the GET action uses the <code>accelerate</code> subresource to
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
33
|
+
* <p>This implementation of the GET action uses the <code>accelerate</code> subresource to return the
|
|
34
|
+
* Transfer Acceleration state of a bucket, which is either <code>Enabled</code> or <code>Suspended</code>.
|
|
35
|
+
* Amazon S3 Transfer Acceleration is a bucket-level feature that enables you to perform faster data transfers
|
|
36
|
+
* to and from Amazon S3.</p>
|
|
37
37
|
* <p>To use this operation, you must have permission to perform the
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* Access Permissions to your Amazon S3 Resources</a> in the
|
|
42
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
|
+
* <code>s3:GetAccelerateConfiguration</code> action. The bucket owner has this permission by default.
|
|
39
|
+
* The bucket owner can grant this permission to others. For more information 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 Access Permissions to your Amazon S3
|
|
40
|
+
* Resources</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
43
41
|
* <p>You set the Transfer Acceleration state of an existing bucket to <code>Enabled</code> or
|
|
44
|
-
*
|
|
45
|
-
* <p>A GET <code>accelerate</code> request does not return a state value for a bucket that
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* <p>For more information about transfer acceleration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer Acceleration</a> in
|
|
49
|
-
*
|
|
50
|
-
* <p>The following operations are related to
|
|
51
|
-
* <code>GetBucketAccelerateConfiguration</code>:</p>
|
|
42
|
+
* <code>Suspended</code> by using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html">PutBucketAccelerateConfiguration</a> operation. </p>
|
|
43
|
+
* <p>A GET <code>accelerate</code> request does not return a state value for a bucket that has no
|
|
44
|
+
* transfer acceleration state. A bucket has no Transfer Acceleration state if a state has never been set
|
|
45
|
+
* on the bucket. </p>
|
|
46
|
+
* <p>For more information about transfer acceleration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Transfer Acceleration</a> in the
|
|
47
|
+
* Amazon S3 User Guide.</p>
|
|
48
|
+
* <p>The following operations are related to <code>GetBucketAccelerateConfiguration</code>:</p>
|
|
52
49
|
* <ul>
|
|
53
50
|
* <li>
|
|
54
51
|
* <p>
|
|
@@ -37,23 +37,21 @@ declare const GetBucketAclCommand_base: {
|
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
39
39
|
* </note>
|
|
40
|
-
* <p>This implementation of the <code>GET</code> action uses the <code>acl</code> subresource
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
40
|
+
* <p>This implementation of the <code>GET</code> action uses the <code>acl</code> subresource to return
|
|
41
|
+
* the access control list (ACL) of a bucket. To use <code>GET</code> to return the ACL of the bucket, you
|
|
42
|
+
* must have the <code>READ_ACP</code> access to the bucket. If <code>READ_ACP</code> permission is granted
|
|
43
|
+
* to the anonymous user, you can return the ACL of the bucket without using an authorization
|
|
44
|
+
* header.</p>
|
|
45
45
|
* <p>When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.</p>
|
|
46
46
|
* <p>When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name.
|
|
47
47
|
* If the Object Lambda access point alias in a request is not valid, the error code <code>InvalidAccessPointAliasError</code> is returned.
|
|
48
48
|
* For more information about <code>InvalidAccessPointAliasError</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of
|
|
49
49
|
* Error Codes</a>.</p>
|
|
50
50
|
* <note>
|
|
51
|
-
* <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* ownership and disabling ACLs</a> in the
|
|
56
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
51
|
+
* <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read
|
|
52
|
+
* ACLs are still supported and return the <code>bucket-owner-full-control</code> ACL with the owner
|
|
53
|
+
* being the account that created the bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling object ownership and
|
|
54
|
+
* disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
57
55
|
* </note>
|
|
58
56
|
* <p>The following operations are related to <code>GetBucketAcl</code>:</p>
|
|
59
57
|
* <ul>
|
|
@@ -30,18 +30,15 @@ declare const GetBucketAnalyticsConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>This implementation of the GET action returns an analytics configuration (identified by
|
|
34
|
-
*
|
|
33
|
+
* <p>This implementation of the GET action returns an analytics configuration (identified by the
|
|
34
|
+
* analytics configuration ID) from the bucket.</p>
|
|
35
35
|
* <p>To use this operation, you must have permissions to perform the
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* <p>
|
|
42
|
-
* Analysis</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
43
|
-
* <p>The following operations are related to
|
|
44
|
-
* <code>GetBucketAnalyticsConfiguration</code>:</p>
|
|
36
|
+
* <code>s3:GetAnalyticsConfiguration</code> action. The bucket owner has this permission by default. The
|
|
37
|
+
* bucket owner can grant this permission to others. For more information 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 Access Permissions to Your Amazon S3
|
|
38
|
+
* Resources</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
39
|
+
* <p>For information about Amazon S3 analytics feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class Analysis</a>
|
|
40
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
41
|
+
* <p>The following operations are related to <code>GetBucketAnalyticsConfiguration</code>:</p>
|
|
45
42
|
* <ul>
|
|
46
43
|
* <li>
|
|
47
44
|
* <p>
|
|
@@ -31,17 +31,15 @@ declare const GetBucketCorsCommand_base: {
|
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the
|
|
34
|
-
*
|
|
35
|
-
* <p> To use this operation, you must have permission to perform the
|
|
36
|
-
*
|
|
37
|
-
* and can grant it to others.</p>
|
|
34
|
+
* bucket.</p>
|
|
35
|
+
* <p> To use this operation, you must have permission to perform the <code>s3:GetBucketCORS</code>
|
|
36
|
+
* action. By default, the bucket owner has this permission and can grant it to others.</p>
|
|
38
37
|
* <p>When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.</p>
|
|
39
38
|
* <p>When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name.
|
|
40
39
|
* If the Object Lambda access point alias in a request is not valid, the error code <code>InvalidAccessPointAliasError</code> is returned.
|
|
41
40
|
* For more information about <code>InvalidAccessPointAliasError</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of
|
|
42
41
|
* Error Codes</a>.</p>
|
|
43
|
-
* <p> For more information about CORS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling Cross-Origin Resource
|
|
44
|
-
* Sharing</a>.</p>
|
|
42
|
+
* <p> For more information about CORS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling Cross-Origin Resource Sharing</a>.</p>
|
|
45
43
|
* <p>The following operations are related to <code>GetBucketCors</code>:</p>
|
|
46
44
|
* <ul>
|
|
47
45
|
* <li>
|