@aws-sdk/client-s3 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/S3.js +0 -3
- package/dist-cjs/S3Client.js +0 -8
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -62
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -133
- package/dist-cjs/commands/CopyObjectCommand.js +0 -193
- package/dist-cjs/commands/CreateBucketCommand.js +0 -142
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -281
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -53
- package/dist-cjs/commands/DeleteBucketCommand.js +0 -41
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -45
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -47
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -46
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -49
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -49
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -42
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -56
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -49
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -41
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -50
- package/dist-cjs/commands/DeleteObjectCommand.js +0 -54
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -48
- package/dist-cjs/commands/DeleteObjectsCommand.js +0 -80
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -52
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -50
- package/dist-cjs/commands/GetBucketAclCommand.js +0 -39
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -53
- package/dist-cjs/commands/GetBucketCorsCommand.js +0 -44
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -45
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -46
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -53
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -79
- package/dist-cjs/commands/GetBucketLocationCommand.js +0 -44
- package/dist-cjs/commands/GetBucketLoggingCommand.js +0 -39
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -60
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -44
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -41
- package/dist-cjs/commands/GetBucketPolicyCommand.js +0 -50
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -54
- package/dist-cjs/commands/GetBucketReplicationCommand.js +0 -58
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -34
- package/dist-cjs/commands/GetBucketTaggingCommand.js +0 -55
- package/dist-cjs/commands/GetBucketVersioningCommand.js +0 -48
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -44
- package/dist-cjs/commands/GetObjectAclCommand.js +0 -50
- package/dist-cjs/commands/GetObjectCommand.js +0 -204
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -25
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -27
- package/dist-cjs/commands/GetObjectRetentionCommand.js +0 -25
- package/dist-cjs/commands/GetObjectTaggingCommand.js +0 -51
- package/dist-cjs/commands/GetObjectTorrentCommand.js +0 -40
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -63
- package/dist-cjs/commands/HeadBucketCommand.js +0 -39
- package/dist-cjs/commands/HeadObjectCommand.js +0 -135
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -63
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -46
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -62
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -64
- package/dist-cjs/commands/ListBucketsCommand.js +0 -24
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -74
- package/dist-cjs/commands/ListObjectVersionsCommand.js +0 -62
- package/dist-cjs/commands/ListObjectsCommand.js +0 -61
- package/dist-cjs/commands/ListObjectsV2Command.js +0 -65
- package/dist-cjs/commands/ListPartsCommand.js +0 -68
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -69
- package/dist-cjs/commands/PutBucketAclCommand.js +0 -213
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -139
- package/dist-cjs/commands/PutBucketCorsCommand.js +0 -80
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -56
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -106
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -124
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -117
- package/dist-cjs/commands/PutBucketLoggingCommand.js +0 -103
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -74
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -85
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -40
- package/dist-cjs/commands/PutBucketPolicyCommand.js +0 -53
- package/dist-cjs/commands/PutBucketReplicationCommand.js +0 -93
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -42
- package/dist-cjs/commands/PutBucketTaggingCommand.js +0 -102
- package/dist-cjs/commands/PutBucketVersioningCommand.js +0 -72
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -149
- package/dist-cjs/commands/PutObjectAclCommand.js +0 -200
- package/dist-cjs/commands/PutObjectCommand.js +0 -118
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -27
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -44
- package/dist-cjs/commands/PutObjectRetentionCommand.js +0 -36
- package/dist-cjs/commands/PutObjectTaggingCommand.js +0 -127
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -68
- package/dist-cjs/commands/RestoreObjectCommand.js +0 -315
- package/dist-cjs/commands/SelectObjectContentCommand.js +0 -140
- package/dist-cjs/commands/UploadPartCommand.js +0 -161
- package/dist-cjs/commands/UploadPartCopyCommand.js +0 -202
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -46
- package/dist-cjs/commands/index.js +95 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -101
- package/dist-cjs/models/models_0.js +0 -753
- package/dist-cjs/models/models_1.js +0 -96
- package/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -10
- package/dist-cjs/pagination/ListPartsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restXml.js +0 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-cjs/waiters/waitForBucketExists.js +0 -9
- package/dist-cjs/waiters/waitForBucketNotExists.js +0 -9
- package/dist-cjs/waiters/waitForObjectExists.js +0 -9
- package/dist-cjs/waiters/waitForObjectNotExists.js +0 -9
- package/dist-es/commands/index.js +92 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -101
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/commands/index.d.ts +92 -0
- package/dist-types/index.d.ts +5 -101
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/S3.d.ts +93 -5172
- package/dist-types/ts3.4/S3Client.d.ts +30 -109
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -129
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +2 -189
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -138
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +2 -277
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +2 -76
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -56
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +2 -200
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +2 -131
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +2 -61
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -209
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -135
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -76
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -102
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -120
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -113
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -99
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -81
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +2 -89
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -98
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +2 -68
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -145
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +2 -196
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +5 -121
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +2 -123
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -64
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -311
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +2 -136
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +5 -164
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +2 -198
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +5 -49
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/index.d.ts +5 -101
- package/dist-types/ts3.4/models/models_0.d.ts +1305 -7281
- package/dist-types/ts3.4/models/models_1.d.ts +223 -956
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -4
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +46 -46
|
@@ -6,52 +6,11 @@ export interface DeleteBucketEncryptionCommandInput extends DeleteBucketEncrypti
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>This implementation of the DELETE action removes default encryption from the bucket.
|
|
11
|
-
* For information about the Amazon S3 default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Default Bucket Encryption</a> in the
|
|
12
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
13
|
-
* <p>To use this operation, you must have permissions to perform the
|
|
14
|
-
* <code>s3:PutEncryptionConfiguration</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 Access Permissions to your Amazon S3
|
|
17
|
-
* Resources</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p class="title">
|
|
20
|
-
* <b>Related Resources</b>
|
|
21
|
-
* </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>
|
|
25
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html">PutBucketEncryption</a>
|
|
26
|
-
* </p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html">GetBucketEncryption</a>
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { S3Client, DeleteBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
38
|
-
* // const { S3Client, DeleteBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
39
|
-
* const client = new S3Client(config);
|
|
40
|
-
* const command = new DeleteBucketEncryptionCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link DeleteBucketEncryptionCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link DeleteBucketEncryptionCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
9
|
+
|
|
49
10
|
export declare class DeleteBucketEncryptionCommand extends $Command<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig> {
|
|
50
11
|
readonly input: DeleteBucketEncryptionCommandInput;
|
|
51
12
|
constructor(input: DeleteBucketEncryptionCommandInput);
|
|
52
|
-
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
13
|
+
|
|
55
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput>;
|
|
56
15
|
private serialize;
|
|
57
16
|
private deserialize;
|
|
@@ -6,51 +6,11 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandInput extends
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes the S3 Intelligent-Tiering configuration from the specified bucket.</p>
|
|
11
|
-
* <p>The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in two low latency and high throughput access tiers. For data that can be accessed asynchronously, you can choose to activate automatic archiving capabilities within the S3 Intelligent-Tiering storage class.</p>
|
|
12
|
-
* <p>The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.</p>
|
|
13
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
|
|
14
|
-
* <p>Operations related to
|
|
15
|
-
* <code>DeleteBucketIntelligentTieringConfiguration</code> include: </p>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html">GetBucketIntelligentTieringConfiguration</a>
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>
|
|
24
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html">PutBucketIntelligentTieringConfiguration</a>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html">ListBucketIntelligentTieringConfigurations</a>
|
|
30
|
-
* </p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
37
|
-
* // const { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
38
|
-
* const client = new S3Client(config);
|
|
39
|
-
* const command = new DeleteBucketIntelligentTieringConfigurationCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DeleteBucketIntelligentTieringConfigurationCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DeleteBucketIntelligentTieringConfigurationCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
9
|
+
|
|
48
10
|
export declare class DeleteBucketIntelligentTieringConfigurationCommand extends $Command<DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
49
11
|
readonly input: DeleteBucketIntelligentTieringConfigurationCommandInput;
|
|
50
12
|
constructor(input: DeleteBucketIntelligentTieringConfigurationCommandInput);
|
|
51
|
-
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
13
|
+
|
|
54
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput>;
|
|
55
15
|
private serialize;
|
|
56
16
|
private deserialize;
|
|
@@ -6,54 +6,11 @@ export interface DeleteBucketInventoryConfigurationCommandInput extends DeleteBu
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketInventoryConfigurationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes an inventory configuration (identified by the inventory ID) from the
|
|
11
|
-
* bucket.</p>
|
|
12
|
-
* <p>To use this operation, you must have permissions to perform the
|
|
13
|
-
* <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission
|
|
14
|
-
* by default. The bucket owner can grant this permission to others. For more information
|
|
15
|
-
* 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
|
|
16
|
-
* Resources</a>.</p>
|
|
17
|
-
* <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>
|
|
18
|
-
* <p>Operations related to <code>DeleteBucketInventoryConfiguration</code> include: </p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html">GetBucketInventoryConfiguration</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html">PutBucketInventoryConfiguration</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html">ListBucketInventoryConfigurations</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { S3Client, DeleteBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
40
|
-
* // const { S3Client, DeleteBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
41
|
-
* const client = new S3Client(config);
|
|
42
|
-
* const command = new DeleteBucketInventoryConfigurationCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DeleteBucketInventoryConfigurationCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DeleteBucketInventoryConfigurationCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
9
|
+
|
|
51
10
|
export declare class DeleteBucketInventoryConfigurationCommand extends $Command<DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
52
11
|
readonly input: DeleteBucketInventoryConfigurationCommandInput;
|
|
53
12
|
constructor(input: DeleteBucketInventoryConfigurationCommandInput);
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
13
|
+
|
|
57
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput>;
|
|
58
15
|
private serialize;
|
|
59
16
|
private deserialize;
|
|
@@ -6,54 +6,11 @@ export interface DeleteBucketLifecycleCommandInput extends DeleteBucketLifecycle
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the
|
|
11
|
-
* lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your
|
|
12
|
-
* objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of
|
|
13
|
-
* rules contained in the deleted lifecycle configuration.</p>
|
|
14
|
-
* <p>To use this operation, you must have permission to perform the
|
|
15
|
-
* <code>s3:PutLifecycleConfiguration</code> action. By default, the bucket owner has this
|
|
16
|
-
* permission and the bucket owner can grant this permission to others.</p>
|
|
17
|
-
*
|
|
18
|
-
* <p>There is usually some time lag before lifecycle configuration deletion is fully
|
|
19
|
-
* propagated to all the Amazon S3 systems.</p>
|
|
20
|
-
*
|
|
21
|
-
* <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
|
|
22
|
-
* Describe Lifecycle Actions</a>.</p>
|
|
23
|
-
* <p>Related actions include:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html">GetBucketLifecycleConfiguration</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { S3Client, DeleteBucketLifecycleCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
40
|
-
* // const { S3Client, DeleteBucketLifecycleCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
41
|
-
* const client = new S3Client(config);
|
|
42
|
-
* const command = new DeleteBucketLifecycleCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DeleteBucketLifecycleCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DeleteBucketLifecycleCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
9
|
+
|
|
51
10
|
export declare class DeleteBucketLifecycleCommand extends $Command<DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput, S3ClientResolvedConfig> {
|
|
52
11
|
readonly input: DeleteBucketLifecycleCommandInput;
|
|
53
12
|
constructor(input: DeleteBucketLifecycleCommandInput);
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
13
|
+
|
|
57
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput>;
|
|
58
15
|
private serialize;
|
|
59
16
|
private deserialize;
|
|
@@ -6,64 +6,11 @@ export interface DeleteBucketMetricsConfigurationCommandInput extends DeleteBuck
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketMetricsConfigurationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the
|
|
11
|
-
* metrics configuration ID) from the bucket. Note that this doesn't include the daily storage
|
|
12
|
-
* metrics.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p> To use this operation, you must have permissions to perform the
|
|
15
|
-
* <code>s3:PutMetricsConfiguration</code> action. The bucket owner has this permission by
|
|
16
|
-
* default. The bucket owner can grant this permission to others. For more information about
|
|
17
|
-
* 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
|
|
18
|
-
* Resources</a>.</p>
|
|
19
|
-
*
|
|
20
|
-
* <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>
|
|
21
|
-
* <p>The following operations are related to
|
|
22
|
-
* <code>DeleteBucketMetricsConfiguration</code>:</p>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html">GetBucketMetricsConfiguration</a>
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html">PutBucketMetricsConfiguration</a>
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html">ListBucketMetricsConfigurations</a>
|
|
37
|
-
* </p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring Metrics with Amazon
|
|
42
|
-
* CloudWatch</a>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { S3Client, DeleteBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
50
|
-
* // const { S3Client, DeleteBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
51
|
-
* const client = new S3Client(config);
|
|
52
|
-
* const command = new DeleteBucketMetricsConfigurationCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link DeleteBucketMetricsConfigurationCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link DeleteBucketMetricsConfigurationCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
9
|
+
|
|
61
10
|
export declare class DeleteBucketMetricsConfigurationCommand extends $Command<DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
62
11
|
readonly input: DeleteBucketMetricsConfigurationCommandInput;
|
|
63
12
|
constructor(input: DeleteBucketMetricsConfigurationCommandInput);
|
|
64
|
-
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
13
|
+
|
|
67
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput>;
|
|
68
15
|
private serialize;
|
|
69
16
|
private deserialize;
|
|
@@ -6,47 +6,11 @@ export interface DeleteBucketOwnershipControlsCommandInput extends DeleteBucketO
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you
|
|
11
|
-
* must have the <code>s3:PutBucketOwnershipControls</code> permission. For more information
|
|
12
|
-
* about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
13
|
-
* Permissions in a Policy</a>.</p>
|
|
14
|
-
* <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>
|
|
15
|
-
* <p>The following operations are related to
|
|
16
|
-
* <code>DeleteBucketOwnershipControls</code>:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>
|
|
20
|
-
* <a>GetBucketOwnershipControls</a>
|
|
21
|
-
* </p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>
|
|
25
|
-
* <a>PutBucketOwnershipControls</a>
|
|
26
|
-
* </p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { S3Client, DeleteBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
33
|
-
* // const { S3Client, DeleteBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
34
|
-
* const client = new S3Client(config);
|
|
35
|
-
* const command = new DeleteBucketOwnershipControlsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DeleteBucketOwnershipControlsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DeleteBucketOwnershipControlsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
9
|
+
|
|
44
10
|
export declare class DeleteBucketOwnershipControlsCommand extends $Command<DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig> {
|
|
45
11
|
readonly input: DeleteBucketOwnershipControlsCommandInput;
|
|
46
12
|
constructor(input: DeleteBucketOwnershipControlsCommandInput);
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
13
|
+
|
|
50
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput>;
|
|
51
15
|
private serialize;
|
|
52
16
|
private deserialize;
|
|
@@ -6,61 +6,11 @@ export interface DeleteBucketPolicyCommandInput extends DeleteBucketPolicyReques
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>This implementation of the DELETE action uses the policy subresource to delete the
|
|
11
|
-
* policy of a specified bucket. If you are using an identity other than the root user of the
|
|
12
|
-
* Amazon Web Services account that owns the bucket, the calling identity must have the
|
|
13
|
-
* <code>DeleteBucketPolicy</code> permissions on the specified bucket and belong to the
|
|
14
|
-
* bucket owner's account to use this operation. </p>
|
|
15
|
-
*
|
|
16
|
-
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
17
|
-
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
18
|
-
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
19
|
-
* Allowed</code> error. </p>
|
|
20
|
-
*
|
|
21
|
-
* <important>
|
|
22
|
-
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can
|
|
23
|
-
* always use this operation, even if the policy explicitly denies the root user the
|
|
24
|
-
* ability to perform this action.</p>
|
|
25
|
-
* </important>
|
|
26
|
-
*
|
|
27
|
-
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and
|
|
28
|
-
* UserPolicies</a>. </p>
|
|
29
|
-
* <p>The following operations are related to <code>DeleteBucketPolicy</code>
|
|
30
|
-
* </p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a>
|
|
35
|
-
* </p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
|
|
40
|
-
* </p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* @example
|
|
44
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
45
|
-
* ```javascript
|
|
46
|
-
* import { S3Client, DeleteBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
47
|
-
* // const { S3Client, DeleteBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
48
|
-
* const client = new S3Client(config);
|
|
49
|
-
* const command = new DeleteBucketPolicyCommand(input);
|
|
50
|
-
* const response = await client.send(command);
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @see {@link DeleteBucketPolicyCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link DeleteBucketPolicyCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
9
|
+
|
|
58
10
|
export declare class DeleteBucketPolicyCommand extends $Command<DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput, S3ClientResolvedConfig> {
|
|
59
11
|
readonly input: DeleteBucketPolicyCommandInput;
|
|
60
12
|
constructor(input: DeleteBucketPolicyCommandInput);
|
|
61
|
-
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
13
|
+
|
|
64
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput>;
|
|
65
15
|
private serialize;
|
|
66
16
|
private deserialize;
|
|
@@ -6,54 +6,11 @@ export interface DeleteBucketReplicationCommandInput extends DeleteBucketReplica
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p> Deletes the replication configuration from the bucket.</p>
|
|
11
|
-
* <p>To use this operation, you must have permissions to perform the
|
|
12
|
-
* <code>s3:PutReplicationConfiguration</code> action. The bucket owner has these
|
|
13
|
-
* permissions by default and can grant it to others. For more information about permissions,
|
|
14
|
-
* 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
|
|
15
|
-
* Resources</a>. </p>
|
|
16
|
-
* <note>
|
|
17
|
-
* <p>It can take a while for the deletion of a replication configuration to fully
|
|
18
|
-
* propagate.</p>
|
|
19
|
-
* </note>
|
|
20
|
-
*
|
|
21
|
-
* <p> For information about replication configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
22
|
-
*
|
|
23
|
-
* <p>The following operations are related to <code>DeleteBucketReplication</code>:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html">PutBucketReplication</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html">GetBucketReplication</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { S3Client, DeleteBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
40
|
-
* // const { S3Client, DeleteBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
41
|
-
* const client = new S3Client(config);
|
|
42
|
-
* const command = new DeleteBucketReplicationCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DeleteBucketReplicationCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DeleteBucketReplicationCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
9
|
+
|
|
51
10
|
export declare class DeleteBucketReplicationCommand extends $Command<DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput, S3ClientResolvedConfig> {
|
|
52
11
|
readonly input: DeleteBucketReplicationCommandInput;
|
|
53
12
|
constructor(input: DeleteBucketReplicationCommandInput);
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
13
|
+
|
|
57
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput>;
|
|
58
15
|
private serialize;
|
|
59
16
|
private deserialize;
|
|
@@ -6,46 +6,11 @@ export interface DeleteBucketTaggingCommandInput extends DeleteBucketTaggingRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes the tags from the bucket.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>To use this operation, you must have permission to perform the
|
|
13
|
-
* <code>s3:PutBucketTagging</code> action. By default, the bucket owner has this
|
|
14
|
-
* permission and can grant this permission to others. </p>
|
|
15
|
-
* <p>The following operations are related to <code>DeleteBucketTagging</code>:</p>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html">GetBucketTagging</a>
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>
|
|
24
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html">PutBucketTagging</a>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { S3Client, DeleteBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
32
|
-
* // const { S3Client, DeleteBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
33
|
-
* const client = new S3Client(config);
|
|
34
|
-
* const command = new DeleteBucketTaggingCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteBucketTaggingCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteBucketTaggingCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
9
|
+
|
|
43
10
|
export declare class DeleteBucketTaggingCommand extends $Command<DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput, S3ClientResolvedConfig> {
|
|
44
11
|
readonly input: DeleteBucketTaggingCommandInput;
|
|
45
12
|
constructor(input: DeleteBucketTaggingCommandInput);
|
|
46
|
-
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
13
|
+
|
|
49
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput>;
|
|
50
15
|
private serialize;
|
|
51
16
|
private deserialize;
|
|
@@ -6,55 +6,11 @@ export interface DeleteBucketWebsiteCommandInput extends DeleteBucketWebsiteRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>This action removes the website configuration for a bucket. Amazon S3 returns a <code>200
|
|
11
|
-
* OK</code> response upon successfully deleting a website configuration on the specified
|
|
12
|
-
* bucket. You will get a <code>200 OK</code> response if the website configuration you are
|
|
13
|
-
* trying to delete does not exist on the bucket. Amazon S3 returns a <code>404</code> response if
|
|
14
|
-
* the bucket specified in the request does not exist.</p>
|
|
15
|
-
*
|
|
16
|
-
* <p>This DELETE action requires the <code>S3:DeleteBucketWebsite</code> permission. By
|
|
17
|
-
* default, only the bucket owner can delete the website configuration attached to a bucket.
|
|
18
|
-
* However, bucket owners can grant other users permission to delete the website configuration
|
|
19
|
-
* by writing a bucket policy granting them the <code>S3:DeleteBucketWebsite</code>
|
|
20
|
-
* permission. </p>
|
|
21
|
-
*
|
|
22
|
-
* <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>
|
|
23
|
-
*
|
|
24
|
-
* <p>The following operations are related to <code>DeleteBucketWebsite</code>:</p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html">GetBucketWebsite</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html">PutBucketWebsite</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { S3Client, DeleteBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
41
|
-
* // const { S3Client, DeleteBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
42
|
-
* const client = new S3Client(config);
|
|
43
|
-
* const command = new DeleteBucketWebsiteCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeleteBucketWebsiteCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeleteBucketWebsiteCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
9
|
+
|
|
52
10
|
export declare class DeleteBucketWebsiteCommand extends $Command<DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput, S3ClientResolvedConfig> {
|
|
53
11
|
readonly input: DeleteBucketWebsiteCommandInput;
|
|
54
12
|
constructor(input: DeleteBucketWebsiteCommandInput);
|
|
55
|
-
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
13
|
+
|
|
58
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput>;
|
|
59
15
|
private serialize;
|
|
60
16
|
private deserialize;
|
|
@@ -6,59 +6,11 @@ export interface DeleteObjectCommandInput extends DeleteObjectRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Removes the null version (if there is one) of an object and inserts a delete marker,
|
|
11
|
-
* which becomes the latest version of the object. If there isn't a null version, Amazon S3 does
|
|
12
|
-
* not remove any objects but will still respond that the command was successful.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>To remove a specific version, you must be the bucket owner and you must use the version
|
|
15
|
-
* Id subresource. Using this subresource permanently deletes the version. If the object
|
|
16
|
-
* deleted is a delete marker, Amazon S3 sets the response header,
|
|
17
|
-
* <code>x-amz-delete-marker</code>, to true. </p>
|
|
18
|
-
*
|
|
19
|
-
* <p>If the object you want to delete is in a bucket where the bucket versioning
|
|
20
|
-
* configuration is MFA Delete enabled, you must include the <code>x-amz-mfa</code> request
|
|
21
|
-
* header in the DELETE <code>versionId</code> request. Requests that include
|
|
22
|
-
* <code>x-amz-mfa</code> must use HTTPS. </p>
|
|
23
|
-
*
|
|
24
|
-
* <p> For more information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html">Using MFA Delete</a>. 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>
|
|
25
|
-
*
|
|
26
|
-
* <p>You can delete objects by explicitly calling DELETE Object or configure its
|
|
27
|
-
* lifecycle (<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>) to
|
|
28
|
-
* enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or
|
|
29
|
-
* deleting objects from your bucket, you must deny them the <code>s3:DeleteObject</code>,
|
|
30
|
-
* <code>s3:DeleteObjectVersion</code>, and <code>s3:PutLifeCycleConfiguration</code>
|
|
31
|
-
* actions. </p>
|
|
32
|
-
*
|
|
33
|
-
* <p>The following action is related to <code>DeleteObject</code>:</p>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
* @example
|
|
42
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
-
* ```javascript
|
|
44
|
-
* import { S3Client, DeleteObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
45
|
-
* // const { S3Client, DeleteObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
46
|
-
* const client = new S3Client(config);
|
|
47
|
-
* const command = new DeleteObjectCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link DeleteObjectCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link DeleteObjectCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link S3ClientResolvedConfig | config} for command's `input` shape.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
9
|
+
|
|
56
10
|
export declare class DeleteObjectCommand extends $Command<DeleteObjectCommandInput, DeleteObjectCommandOutput, S3ClientResolvedConfig> {
|
|
57
11
|
readonly input: DeleteObjectCommandInput;
|
|
58
12
|
constructor(input: DeleteObjectCommandInput);
|
|
59
|
-
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
13
|
+
|
|
62
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteObjectCommandInput, DeleteObjectCommandOutput>;
|
|
63
15
|
private serialize;
|
|
64
16
|
private deserialize;
|