@aws-sdk/client-s3 3.844.0 → 3.846.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +15 -15
|
@@ -27,30 +27,28 @@ declare const CreateSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a session that establishes temporary security credentials to support fast
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <p>To make Zonal endpoint API requests on a directory bucket, use the <code>CreateSession</code>
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* initiate and manage requests to the CreateSession API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication">Performance guidelines and design patterns</a> in the
|
|
53
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
30
|
+
* <p>Creates a session that establishes temporary security credentials to support fast authentication and
|
|
31
|
+
* authorization for the Zonal endpoint API operations on directory buckets. For more information about Zonal endpoint API operations that
|
|
32
|
+
* include the Availability Zone in the request endpoint, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html">S3 Express One Zone APIs</a> in the
|
|
33
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
34
|
+
* <p>To make Zonal endpoint API requests on a directory bucket, use the <code>CreateSession</code> API
|
|
35
|
+
* operation. Specifically, you grant <code>s3express:CreateSession</code> permission to a bucket in
|
|
36
|
+
* a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the <code>CreateSession</code>
|
|
37
|
+
* API request on the bucket, which returns temporary security credentials that include the access key ID,
|
|
38
|
+
* secret access key, session token, and expiration. These credentials have associated permissions to
|
|
39
|
+
* access the Zonal endpoint API operations. After the session is created, you don’t need to use other policies to grant
|
|
40
|
+
* permissions to each Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your
|
|
41
|
+
* requests by applying the temporary security credentials of the session to the request headers and
|
|
42
|
+
* following the SigV4 protocol for authentication. You also apply the session token to the
|
|
43
|
+
* <code>x-amz-s3session-token</code> request header for authorization. Temporary security credentials
|
|
44
|
+
* are scoped to the bucket and expire after 5 minutes. After the expiration time, any calls that you make
|
|
45
|
+
* with those credentials will fail. You must use IAM credentials again to make a
|
|
46
|
+
* <code>CreateSession</code> API request that generates a new set of temporary credentials for use.
|
|
47
|
+
* Temporary credentials cannot be extended or refreshed beyond the original specified interval.</p>
|
|
48
|
+
* <p>If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid service
|
|
49
|
+
* interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to initiate and manage
|
|
50
|
+
* requests to the CreateSession API. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication">Performance guidelines and design patterns</a> in the
|
|
51
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
54
52
|
* <note>
|
|
55
53
|
* <ul>
|
|
56
54
|
* <li>
|
|
@@ -61,44 +59,41 @@ declare const CreateSessionCommand_base: {
|
|
|
61
59
|
* <li>
|
|
62
60
|
* <p>
|
|
63
61
|
* <b>
|
|
64
|
-
* <code>CopyObject</code> API operation</b> -
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>.</p>
|
|
62
|
+
* <code>CopyObject</code> API operation</b> - Unlike other
|
|
63
|
+
* Zonal endpoint API operations, the <code>CopyObject</code> API operation doesn't use the temporary security
|
|
64
|
+
* credentials returned from the <code>CreateSession</code> API operation for authentication and
|
|
65
|
+
* authorization. For information about authentication and authorization of the
|
|
66
|
+
* <code>CopyObject</code> API operation on directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html">CopyObject</a>.</p>
|
|
70
67
|
* </li>
|
|
71
68
|
* <li>
|
|
72
69
|
* <p>
|
|
73
70
|
* <b>
|
|
74
|
-
* <code>HeadBucket</code> API operation</b> -
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a>.</p>
|
|
71
|
+
* <code>HeadBucket</code> API operation</b> - Unlike other
|
|
72
|
+
* Zonal endpoint API operations, the <code>HeadBucket</code> API operation doesn't use the temporary security
|
|
73
|
+
* credentials returned from the <code>CreateSession</code> API operation for authentication and
|
|
74
|
+
* authorization. For information about authentication and authorization of the
|
|
75
|
+
* <code>HeadBucket</code> API operation on directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a>.</p>
|
|
80
76
|
* </li>
|
|
81
77
|
* </ul>
|
|
82
78
|
* </note>
|
|
83
79
|
* <dl>
|
|
84
80
|
* <dt>Permissions</dt>
|
|
85
81
|
* <dd>
|
|
86
|
-
* <p>To obtain temporary security credentials, you must create
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* about <code>ReadWrite</code> or <code>ReadOnly</code> sessions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html#API_CreateSession_RequestParameters">
|
|
82
|
+
* <p>To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that
|
|
83
|
+
* grants <code>s3express:CreateSession</code> permission to the bucket. In a policy, you can have
|
|
84
|
+
* the <code>s3express:SessionMode</code> condition key to control who can create a
|
|
85
|
+
* <code>ReadWrite</code> or <code>ReadOnly</code> session. For more information about
|
|
86
|
+
* <code>ReadWrite</code> or <code>ReadOnly</code> sessions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html#API_CreateSession_RequestParameters">
|
|
92
87
|
* <code>x-amz-create-session-mode</code>
|
|
93
|
-
* </a>. For example policies, see
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
88
|
+
* </a>. For example policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example
|
|
89
|
+
* bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity
|
|
90
|
+
* and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the
|
|
91
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
92
|
+
* <p>To grant cross-account access to Zonal endpoint API operations, the bucket policy should also grant both
|
|
93
|
+
* accounts the <code>s3express:CreateSession</code> permission.</p>
|
|
98
94
|
* <p>If you want to encrypt objects with SSE-KMS, you must also have the
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* key.</p>
|
|
95
|
+
* <code>kms:GenerateDataKey</code> and the <code>kms:Decrypt</code> permissions in IAM
|
|
96
|
+
* identity-based policies and KMS key policies for the target KMS key.</p>
|
|
102
97
|
* </dd>
|
|
103
98
|
* <dt>Encryption</dt>
|
|
104
99
|
* <dd>
|
|
@@ -30,17 +30,15 @@ declare const DeleteBucketAnalyticsConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Deletes an analytics configuration for the bucket (specified by the analytics
|
|
34
|
-
*
|
|
33
|
+
* <p>Deletes an analytics configuration for the bucket (specified by the analytics configuration
|
|
34
|
+
* ID).</p>
|
|
35
35
|
* <p>To use this operation, you must have permissions to perform the
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
36
|
+
* <code>s3:PutAnalyticsConfiguration</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>.</p>
|
|
40
39
|
* <p>For information about the Amazon S3 analytics feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class
|
|
41
|
-
*
|
|
42
|
-
* <p>The following operations are related to
|
|
43
|
-
* <code>DeleteBucketAnalyticsConfiguration</code>:</p>
|
|
40
|
+
* Analysis</a>. </p>
|
|
41
|
+
* <p>The following operations are related to <code>DeleteBucketAnalyticsConfiguration</code>:</p>
|
|
44
42
|
* <ul>
|
|
45
43
|
* <li>
|
|
46
44
|
* <p>
|
|
@@ -27,15 +27,15 @@ declare const DeleteBucketCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
|
|
31
|
-
*
|
|
30
|
+
* <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in the bucket
|
|
31
|
+
* must be deleted before the bucket itself can be deleted.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>
|
|
36
|
-
* <b>Directory buckets</b> - If multipart
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* <b>Directory buckets</b> - If multipart uploads in a
|
|
37
|
+
* directory bucket are in progress, you can't delete the bucket until all the in-progress multipart
|
|
38
|
+
* uploads are aborted or completed.</p>
|
|
39
39
|
* </li>
|
|
40
40
|
* <li>
|
|
41
41
|
* <p>
|
|
@@ -53,16 +53,14 @@ declare const DeleteBucketCommand_base: {
|
|
|
53
53
|
* <ul>
|
|
54
54
|
* <li>
|
|
55
55
|
* <p>
|
|
56
|
-
* <b>General purpose bucket permissions</b> - You
|
|
57
|
-
*
|
|
58
|
-
* bucket in a policy.</p>
|
|
56
|
+
* <b>General purpose bucket permissions</b> - You must have the
|
|
57
|
+
* <code>s3:DeleteBucket</code> permission on the specified bucket in a policy.</p>
|
|
59
58
|
* </li>
|
|
60
59
|
* <li>
|
|
61
60
|
* <p>
|
|
62
|
-
* <b>Directory bucket permissions</b> -
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* 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>
|
|
61
|
+
* <b>Directory bucket permissions</b> - You must have the
|
|
62
|
+
* <code>s3express:DeleteBucket</code> permission in an IAM identity-based policy instead of a bucket policy.
|
|
63
|
+
* 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. 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>
|
|
66
64
|
* </li>
|
|
67
65
|
* </ul>
|
|
68
66
|
* </dd>
|
|
@@ -31,11 +31,10 @@ declare const DeleteBucketCorsCommand_base: {
|
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <p>Deletes the <code>cors</code> configuration information set for the bucket.</p>
|
|
34
|
-
* <p>To use this operation, you must have permission to perform the
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* the <i>Amazon S3 User Guide</i>.</p>
|
|
34
|
+
* <p>To use this operation, you must have permission to perform the <code>s3:PutBucketCORS</code> action.
|
|
35
|
+
* The bucket owner has this permission by default and can grant this permission to others. </p>
|
|
36
|
+
* <p>For information about <code>cors</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling Cross-Origin Resource Sharing</a> in the
|
|
37
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
39
38
|
* <p class="title">
|
|
40
39
|
* <b>Related Resources</b>
|
|
41
40
|
* </p>
|
|
@@ -27,22 +27,22 @@ declare const DeleteBucketEncryptionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This implementation of the DELETE action resets the default encryption for the bucket as
|
|
31
|
-
*
|
|
30
|
+
* <p>This implementation of the DELETE action resets the default encryption for the bucket as server-side
|
|
31
|
+
* encryption with Amazon S3 managed keys (SSE-S3).</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <ul>
|
|
34
34
|
* <li>
|
|
35
35
|
* <p>
|
|
36
|
-
* <b>General purpose buckets</b> - For information
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* <b>General purpose buckets</b> - For information about the bucket
|
|
37
|
+
* default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a> in the
|
|
38
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
39
39
|
* </li>
|
|
40
40
|
* <li>
|
|
41
41
|
* <p>
|
|
42
42
|
* <b>Directory buckets</b> -
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. For information about the default encryption configuration in
|
|
44
|
+
* directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html">Setting default server-side
|
|
45
|
+
* encryption behavior for directory buckets</a>.</p>
|
|
46
46
|
* </li>
|
|
47
47
|
* </ul>
|
|
48
48
|
* </note>
|
|
@@ -53,19 +53,17 @@ declare const DeleteBucketEncryptionCommand_base: {
|
|
|
53
53
|
* <li>
|
|
54
54
|
* <p>
|
|
55
55
|
* <b>General purpose bucket permissions</b> - The
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* Permissions to Your Amazon S3 Resources</a>.</p>
|
|
56
|
+
* <code>s3:PutEncryptionConfiguration</code> permission is required in a policy. The bucket
|
|
57
|
+
* owner has this permission by default. The bucket owner can grant this permission to others.
|
|
58
|
+
* 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 Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your
|
|
59
|
+
* Amazon S3 Resources</a>.</p>
|
|
61
60
|
* </li>
|
|
62
61
|
* <li>
|
|
63
62
|
* <p>
|
|
64
|
-
* <b>Directory bucket permissions</b> -
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* 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>
|
|
63
|
+
* <b>Directory bucket permissions</b> - To grant access to
|
|
64
|
+
* this API operation, you must have the <code>s3express:PutEncryptionConfiguration</code>
|
|
65
|
+
* permission in 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.
|
|
66
|
+
* 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>
|
|
69
67
|
* </li>
|
|
70
68
|
* </ul>
|
|
71
69
|
* </dd>
|
|
@@ -30,13 +30,11 @@ declare const DeleteBucketInventoryConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Deletes an
|
|
34
|
-
* bucket.</p>
|
|
33
|
+
* <p>Deletes an S3 Inventory configuration (identified by the inventory ID) from the bucket.</p>
|
|
35
34
|
* <p>To use this operation, you must have permissions to perform the
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
35
|
+
* <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission by default. The
|
|
36
|
+
* 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
|
|
37
|
+
* Resources</a>.</p>
|
|
40
38
|
* <p>For information about the Amazon S3 inventory feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a>.</p>
|
|
41
39
|
* <p>Operations related to <code>DeleteBucketInventoryConfiguration</code> include: </p>
|
|
42
40
|
* <ul>
|
|
@@ -27,41 +27,36 @@ declare const DeleteBucketLifecycleCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle
|
|
31
|
+
* configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire,
|
|
32
|
+
* and Amazon S3 no longer automatically deletes any objects on the basis of rules contained in the deleted
|
|
33
|
+
* lifecycle configuration.</p>
|
|
34
34
|
* <dl>
|
|
35
35
|
* <dt>Permissions</dt>
|
|
36
36
|
* <dd>
|
|
37
37
|
* <ul>
|
|
38
38
|
* <li>
|
|
39
39
|
* <p>
|
|
40
|
-
* <b>General purpose bucket permissions</b> - By
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* <p>For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access
|
|
49
|
-
* Permissions to Your Amazon S3 Resources</a>.</p>
|
|
40
|
+
* <b>General purpose bucket permissions</b> - By default, all Amazon S3
|
|
41
|
+
* resources are private, including buckets, objects, and related subresources (for example,
|
|
42
|
+
* lifecycle configuration and website configuration). Only the resource owner (that is, the
|
|
43
|
+
* Amazon Web Services account that created it) can access the resource. The resource owner can optionally
|
|
44
|
+
* grant access permissions to others by writing an access policy. For this operation, a user
|
|
45
|
+
* must have the <code>s3:PutLifecycleConfiguration</code> permission.</p>
|
|
46
|
+
* <p>For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your
|
|
47
|
+
* Amazon S3 Resources</a>.</p>
|
|
50
48
|
* </li>
|
|
51
49
|
* </ul>
|
|
52
50
|
* <ul>
|
|
53
51
|
* <li>
|
|
54
52
|
* <p>
|
|
55
|
-
* <b>Directory bucket permissions</b> -
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* <p>For more information about directory bucket policies and permissions, see
|
|
63
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Authorizing Regional endpoint APIs with IAM</a> in the
|
|
64
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
53
|
+
* <b>Directory bucket permissions</b> - You must have the
|
|
54
|
+
* <code>s3express:PutLifecycleConfiguration</code> permission in an IAM identity-based policy
|
|
55
|
+
* to use this operation. Cross-account access to this API operation isn't supported. The
|
|
56
|
+
* resource owner can optionally grant access permissions to others by creating a role or user
|
|
57
|
+
* for them as long as they are within the same account as the owner and resource.</p>
|
|
58
|
+
* <p>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">Authorizing Regional endpoint APIs with IAM</a> in the <i>Amazon S3 User
|
|
59
|
+
* Guide</i>.</p>
|
|
65
60
|
* <note>
|
|
66
61
|
* <p>
|
|
67
62
|
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
@@ -78,12 +73,12 @@ declare const DeleteBucketLifecycleCommand_base: {
|
|
|
78
73
|
* <dt>HTTP Host header syntax</dt>
|
|
79
74
|
* <dd>
|
|
80
75
|
* <p>
|
|
81
|
-
* <b>Directory buckets </b> - The HTTP Host
|
|
82
|
-
*
|
|
83
|
-
* <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
76
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
77
|
+
* <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
84
78
|
* </dd>
|
|
85
79
|
* </dl>
|
|
86
|
-
* <p>For more information about the object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to
|
|
80
|
+
* <p>For more information about the object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to
|
|
81
|
+
* Describe Lifecycle Actions</a>.</p>
|
|
87
82
|
* <p>Related actions include:</p>
|
|
88
83
|
* <ul>
|
|
89
84
|
* <li>
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteBucketMetadataConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteBucketMetadataConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteBucketMetadataConfigurationCommandInput extends DeleteBucketMetadataConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteBucketMetadataConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteBucketMetadataConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteBucketMetadataConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketMetadataConfigurationCommandInput, DeleteBucketMetadataConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteBucketMetadataConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketMetadataConfigurationCommandInput, DeleteBucketMetadataConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Deletes an S3 Metadata configuration from a general purpose bucket. For more information, see
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating
|
|
32
|
+
* data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>You can use the V2 <code>DeleteBucketMetadataConfiguration</code> API operation with V1 or V2
|
|
35
|
+
* metadata configurations. However, if you try to use the V1
|
|
36
|
+
* <code>DeleteBucketMetadataTableConfiguration</code> API operation with V2 configurations, you
|
|
37
|
+
* will receive an HTTP <code>405 Method Not Allowed</code> error.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* <dl>
|
|
40
|
+
* <dt>Permissions</dt>
|
|
41
|
+
* <dd>
|
|
42
|
+
* <p>To use this operation, you must have the
|
|
43
|
+
* <code>s3:DeleteBucketMetadataTableConfiguration</code> permission. For more information, see
|
|
44
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for configuring metadata tables</a> in the
|
|
45
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
46
|
+
* <note>
|
|
47
|
+
* <p>The IAM policy action name is the same for the V1 and V2 API operations.</p>
|
|
48
|
+
* </note>
|
|
49
|
+
* </dd>
|
|
50
|
+
* </dl>
|
|
51
|
+
* <p>The following operations are related to <code>DeleteBucketMetadataConfiguration</code>:</p>
|
|
52
|
+
* <ul>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>
|
|
55
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a>
|
|
56
|
+
* </p>
|
|
57
|
+
* </li>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>
|
|
60
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataConfiguration.html">GetBucketMetadataConfiguration</a>
|
|
61
|
+
* </p>
|
|
62
|
+
* </li>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>
|
|
65
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataInventoryTableConfiguration.html">UpdateBucketMetadataInventoryTableConfiguration</a>
|
|
66
|
+
* </p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html">UpdateBucketMetadataJournalTableConfiguration</a>
|
|
71
|
+
* </p>
|
|
72
|
+
* </li>
|
|
73
|
+
* </ul>
|
|
74
|
+
* @example
|
|
75
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
76
|
+
* ```javascript
|
|
77
|
+
* import { S3Client, DeleteBucketMetadataConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
78
|
+
* // const { S3Client, DeleteBucketMetadataConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
79
|
+
* const client = new S3Client(config);
|
|
80
|
+
* const input = { // DeleteBucketMetadataConfigurationRequest
|
|
81
|
+
* Bucket: "STRING_VALUE", // required
|
|
82
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
83
|
+
* };
|
|
84
|
+
* const command = new DeleteBucketMetadataConfigurationCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* // {};
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param DeleteBucketMetadataConfigurationCommandInput - {@link DeleteBucketMetadataConfigurationCommandInput}
|
|
91
|
+
* @returns {@link DeleteBucketMetadataConfigurationCommandOutput}
|
|
92
|
+
* @see {@link DeleteBucketMetadataConfigurationCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link DeleteBucketMetadataConfigurationCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link S3ServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class DeleteBucketMetadataConfigurationCommand extends DeleteBucketMetadataConfigurationCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: DeleteBucketMetadataConfigurationRequest;
|
|
107
|
+
output: {};
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: DeleteBucketMetadataConfigurationCommandInput;
|
|
111
|
+
output: DeleteBucketMetadataConfigurationCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -27,17 +27,35 @@ declare const DeleteBucketMetadataTableConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>
|
|
32
|
+
* We recommend that you delete your S3 Metadata configurations by using the V2
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html">DeleteBucketMetadataTableConfiguration</a> API operation. We no longer recommend using
|
|
34
|
+
* the V1 <code>DeleteBucketMetadataTableConfiguration</code> API operation.
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete
|
|
37
|
+
* and re-create your configuration by using <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a> so that you can expire journal table records and create
|
|
38
|
+
* a live inventory table.</p>
|
|
39
|
+
* </important>
|
|
40
|
+
* <p> Deletes a V1 S3 Metadata configuration from a general purpose bucket. For more information, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating
|
|
42
|
+
* data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
43
|
+
* <note>
|
|
44
|
+
* <p>You can use the V2 <code>DeleteBucketMetadataConfiguration</code> API operation with V1 or V2
|
|
45
|
+
* metadata table configurations. However, if you try to use the V1
|
|
46
|
+
* <code>DeleteBucketMetadataTableConfiguration</code> API operation with V2 configurations, you
|
|
47
|
+
* will receive an HTTP <code>405 Method Not Allowed</code> error.</p>
|
|
48
|
+
* <p>Make sure that you update your processes to use the new V2 API operations
|
|
49
|
+
* (<code>CreateBucketMetadataConfiguration</code>, <code>GetBucketMetadataConfiguration</code>, and
|
|
50
|
+
* <code>DeleteBucketMetadataConfiguration</code>) instead of the V1 API operations. </p>
|
|
51
|
+
* </note>
|
|
34
52
|
* <dl>
|
|
35
53
|
* <dt>Permissions</dt>
|
|
36
54
|
* <dd>
|
|
37
|
-
* <p>To use this operation, you must have the
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
55
|
+
* <p>To use this operation, you must have the
|
|
56
|
+
* <code>s3:DeleteBucketMetadataTableConfiguration</code> permission. For more information, see
|
|
57
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for configuring metadata tables</a> in the
|
|
58
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
41
59
|
* </dd>
|
|
42
60
|
* </dl>
|
|
43
61
|
* <p>The following operations are related to <code>DeleteBucketMetadataTableConfiguration</code>:</p>
|
|
@@ -30,18 +30,14 @@ declare const DeleteBucketMetricsConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the
|
|
34
|
-
*
|
|
35
|
-
* metrics.</p>
|
|
33
|
+
* <p>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics
|
|
34
|
+
* configuration ID) from the bucket. Note that this doesn't include the daily storage metrics.</p>
|
|
36
35
|
* <p> To use this operation, you must have permissions to perform the
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* <p>
|
|
42
|
-
* Amazon CloudWatch</a>. </p>
|
|
43
|
-
* <p>The following operations are related to
|
|
44
|
-
* <code>DeleteBucketMetricsConfiguration</code>:</p>
|
|
36
|
+
* <code>s3:PutMetricsConfiguration</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>.</p>
|
|
39
|
+
* <p>For information about CloudWatch request metrics for Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring Metrics with Amazon CloudWatch</a>. </p>
|
|
40
|
+
* <p>The following operations are related to <code>DeleteBucketMetricsConfiguration</code>:</p>
|
|
45
41
|
* <ul>
|
|
46
42
|
* <li>
|
|
47
43
|
* <p>
|
|
@@ -60,7 +56,8 @@ declare const DeleteBucketMetricsConfigurationCommand_base: {
|
|
|
60
56
|
* </li>
|
|
61
57
|
* <li>
|
|
62
58
|
* <p>
|
|
63
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring
|
|
60
|
+
* Metrics with Amazon CloudWatch</a>
|
|
64
61
|
* </p>
|
|
65
62
|
* </li>
|
|
66
63
|
* </ul>
|