@aws-sdk/client-s3 3.533.0 → 3.535.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/dist-types/S3.d.ts +3 -1
- package/dist-types/S3Client.d.ts +1 -1
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -1
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +8 -5
- package/dist-types/commands/CreateBucketCommand.d.ts +31 -21
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +8 -6
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +13 -12
- package/dist-types/commands/DeleteObjectsCommand.d.ts +24 -23
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAclCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +5 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +21 -20
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +3 -2
- package/dist-types/commands/HeadObjectCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +2 -1
- package/dist-types/commands/ListPartsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +5 -9
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectCommand.d.ts +53 -52
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -1
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +2 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +3 -61
- package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist-types/commands/UploadPartCommand.d.ts +2 -1
- package/dist-types/commands/UploadPartCopyCommand.d.ts +16 -15
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1105 -1099
- package/dist-types/models/models_1.d.ts +362 -362
- package/dist-types/ts3.4/S3.d.ts +2 -0
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +9 -0
- package/package.json +57 -57
package/dist-types/S3.d.ts
CHANGED
|
@@ -447,12 +447,14 @@ export interface S3 {
|
|
|
447
447
|
/**
|
|
448
448
|
* @see {@link ListBucketsCommand}
|
|
449
449
|
*/
|
|
450
|
+
listBuckets(): Promise<ListBucketsCommandOutput>;
|
|
450
451
|
listBuckets(args: ListBucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListBucketsCommandOutput>;
|
|
451
452
|
listBuckets(args: ListBucketsCommandInput, cb: (err: any, data?: ListBucketsCommandOutput) => void): void;
|
|
452
453
|
listBuckets(args: ListBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBucketsCommandOutput) => void): void;
|
|
453
454
|
/**
|
|
454
455
|
* @see {@link ListDirectoryBucketsCommand}
|
|
455
456
|
*/
|
|
457
|
+
listDirectoryBuckets(): Promise<ListDirectoryBucketsCommandOutput>;
|
|
456
458
|
listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListDirectoryBucketsCommandOutput>;
|
|
457
459
|
listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void): void;
|
|
458
460
|
listDirectoryBuckets(args: ListDirectoryBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDirectoryBucketsCommandOutput) => void): void;
|
|
@@ -668,8 +670,8 @@ export interface S3 {
|
|
|
668
670
|
writeGetObjectResponse(args: WriteGetObjectResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: WriteGetObjectResponseCommandOutput) => void): void;
|
|
669
671
|
}
|
|
670
672
|
/**
|
|
671
|
-
* @public
|
|
672
673
|
* <p></p>
|
|
674
|
+
* @public
|
|
673
675
|
*/
|
|
674
676
|
export declare class S3 extends S3Client implements S3 {
|
|
675
677
|
}
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -290,8 +290,8 @@ export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHan
|
|
|
290
290
|
export interface S3ClientResolvedConfig extends S3ClientResolvedConfigType {
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <p></p>
|
|
294
|
+
* @public
|
|
295
295
|
*/
|
|
296
296
|
export declare class S3Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3ClientResolvedConfig> {
|
|
297
297
|
/**
|
|
@@ -22,10 +22,10 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
|
|
|
22
22
|
}
|
|
23
23
|
declare const AbortMultipartUploadCommand_base: {
|
|
24
24
|
new (input: AbortMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: AbortMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>This operation aborts a multipart upload. After a multipart upload is aborted, no
|
|
30
30
|
* additional parts can be uploaded using that upload ID. The storage consumed by any
|
|
31
31
|
* previously uploaded parts will be freed. However, if any part uploads are currently in
|
|
@@ -130,6 +130,7 @@ declare const AbortMultipartUploadCommand_base: {
|
|
|
130
130
|
* @throws {@link S3ServiceException}
|
|
131
131
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
132
132
|
*
|
|
133
|
+
* @public
|
|
133
134
|
* @example To abort a multipart upload
|
|
134
135
|
* ```javascript
|
|
135
136
|
* // The following example aborts a multipart upload.
|
|
@@ -22,10 +22,10 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
|
|
|
22
22
|
}
|
|
23
23
|
declare const CompleteMultipartUploadCommand_base: {
|
|
24
24
|
new (input: CompleteMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CompleteMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Completes a multipart upload by assembling previously uploaded parts.</p>
|
|
30
30
|
* <p>You first initiate the multipart upload and then upload all parts using the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>
|
|
31
31
|
* operation or the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html">UploadPartCopy</a>
|
|
@@ -49,7 +49,7 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
49
49
|
* request as appropriate). If the condition persists, the SDKs throw an exception (or, for
|
|
50
50
|
* the SDKs that don't use exceptions, they return an error). </p>
|
|
51
51
|
* <p>Note that if <code>CompleteMultipartUpload</code> fails, applications should be prepared
|
|
52
|
-
* to retry
|
|
52
|
+
* to retry any failed requests (including 500 error responses). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html">Amazon S3 Error Best
|
|
53
53
|
* Practices</a>.</p>
|
|
54
54
|
* <important>
|
|
55
55
|
* <p>You can't use <code>Content-Type: application/x-www-form-urlencoded</code> for the
|
|
@@ -243,6 +243,7 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
243
243
|
* @throws {@link S3ServiceException}
|
|
244
244
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
245
245
|
*
|
|
246
|
+
* @public
|
|
246
247
|
* @example To complete multipart upload
|
|
247
248
|
* ```javascript
|
|
248
249
|
* // The following example completes a multipart upload.
|
|
@@ -22,10 +22,10 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const CopyObjectCommand_base: {
|
|
24
24
|
new (input: CopyObjectCommandInput): import("@smithy/smithy-client").CommandImpl<CopyObjectCommandInput, CopyObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CopyObjectCommandInput): import("@smithy/smithy-client").CommandImpl<CopyObjectCommandInput, CopyObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a copy of an object that is already stored in Amazon S3.</p>
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your
|
|
@@ -44,7 +44,9 @@ declare const CopyObjectCommand_base: {
|
|
|
44
44
|
* </note>
|
|
45
45
|
* <p>Both the
|
|
46
46
|
* Region that you want to copy the object from and the Region that you want to copy the
|
|
47
|
-
* object to must be enabled for your account
|
|
47
|
+
* object to must be enabled for your account. For more information about how to enable a Region for your account, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#manage-acct-regions-enable-standalone">Enable
|
|
48
|
+
* or disable a Region for standalone accounts</a> in the
|
|
49
|
+
* <i>Amazon Web Services Account Management Guide</i>.</p>
|
|
48
50
|
* <important>
|
|
49
51
|
* <p>Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
|
|
50
52
|
* cross-Region copy using a transfer acceleration endpoint, you get a <code>400 Bad
|
|
@@ -83,7 +85,7 @@ declare const CopyObjectCommand_base: {
|
|
|
83
85
|
* <li>
|
|
84
86
|
* <p>If the destination bucket is a general purpose bucket, you must have
|
|
85
87
|
* <b>
|
|
86
|
-
* <code>s3:
|
|
88
|
+
* <code>s3:PutObject</code>
|
|
87
89
|
* </b>
|
|
88
90
|
* permission to write the object copy to the destination bucket. </p>
|
|
89
91
|
* </li>
|
|
@@ -139,7 +141,7 @@ declare const CopyObjectCommand_base: {
|
|
|
139
141
|
* <p>If the error occurs during the copy operation, the error response is
|
|
140
142
|
* embedded in the <code>200 OK</code> response. For example, in a cross-region copy, you
|
|
141
143
|
* may encounter throttling and receive a <code>200 OK</code> response.
|
|
142
|
-
* For more information, see <a href="repost.aws/knowledge-center/s3-resolve-200-internalerror">Resolve
|
|
144
|
+
* For more information, see <a href="https://repost.aws/knowledge-center/s3-resolve-200-internalerror">Resolve
|
|
143
145
|
* the Error 200 response when copying objects to Amazon S3</a>.
|
|
144
146
|
* The <code>200 OK</code> status code means the copy was accepted, but
|
|
145
147
|
* it doesn't mean the copy is complete. Another example is
|
|
@@ -161,7 +163,7 @@ declare const CopyObjectCommand_base: {
|
|
|
161
163
|
* <dd>
|
|
162
164
|
* <p>The copy request charge is based on the storage class and Region that you specify for
|
|
163
165
|
* the destination object. The request can also result in a data retrieval charge for the
|
|
164
|
-
* source if the source storage class bills for data retrieval. For pricing information, see
|
|
166
|
+
* source if the source storage class bills for data retrieval. If the copy source is in a different region, the data transfer is billed to the copy source account. For pricing information, see
|
|
165
167
|
* <a href="http://aws.amazon.com/s3/pricing/">Amazon S3 pricing</a>.</p>
|
|
166
168
|
* </dd>
|
|
167
169
|
* <dt>HTTP Host header syntax</dt>
|
|
@@ -273,6 +275,7 @@ declare const CopyObjectCommand_base: {
|
|
|
273
275
|
* @throws {@link S3ServiceException}
|
|
274
276
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
275
277
|
*
|
|
278
|
+
* @public
|
|
276
279
|
* @example To copy an object
|
|
277
280
|
* ```javascript
|
|
278
281
|
* // The following example copies an object from one bucket to another.
|
|
@@ -22,10 +22,10 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateBucketCommand_base: {
|
|
24
24
|
new (input: CreateBucketCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateBucketCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBucketCommandInput, CreateBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">
|
|
31
31
|
* <code>CreateBucket</code>
|
|
@@ -92,13 +92,22 @@ declare const CreateBucketCommand_base: {
|
|
|
92
92
|
* <code>x-amz-object-ownership</code> header, then the
|
|
93
93
|
* <code>s3:PutBucketOwnershipControls</code> permission is required.</p>
|
|
94
94
|
* <important>
|
|
95
|
-
* <p>
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* <code>
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
95
|
+
* <p> To set an ACL on a bucket as part of a
|
|
96
|
+
* <code>CreateBucket</code> request, you must explicitly set S3
|
|
97
|
+
* Object Ownership for the bucket to a different value than the
|
|
98
|
+
* default, <code>BucketOwnerEnforced</code>. Additionally, if your
|
|
99
|
+
* desired bucket ACL grants public access, you must first create the
|
|
100
|
+
* bucket (without the bucket ACL) and then explicitly disable Block
|
|
101
|
+
* Public Access on the bucket before using <code>PutBucketAcl</code>
|
|
102
|
+
* to set the ACL. If you try to create a bucket with a public ACL,
|
|
103
|
+
* the request will fail. </p>
|
|
104
|
+
* <p> For the majority of modern use cases in S3, we recommend
|
|
105
|
+
* that you keep all Block Public Access settings enabled and keep
|
|
106
|
+
* ACLs disabled. If you would like to share data with users outside
|
|
107
|
+
* of your account, you can use bucket policies as needed. For more
|
|
108
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling ownership of objects and disabling ACLs for your
|
|
109
|
+
* bucket </a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html">Blocking public access to your Amazon S3 storage </a> in
|
|
110
|
+
* the <i>Amazon S3 User Guide</i>. </p>
|
|
102
111
|
* </important>
|
|
103
112
|
* </li>
|
|
104
113
|
* <li>
|
|
@@ -205,39 +214,40 @@ declare const CreateBucketCommand_base: {
|
|
|
205
214
|
* @throws {@link S3ServiceException}
|
|
206
215
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
207
216
|
*
|
|
208
|
-
* @
|
|
217
|
+
* @public
|
|
218
|
+
* @example To create a bucket in a specific region
|
|
209
219
|
* ```javascript
|
|
210
|
-
* // The following example creates a bucket.
|
|
220
|
+
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
|
211
221
|
* const input = {
|
|
212
|
-
* "Bucket": "examplebucket"
|
|
222
|
+
* "Bucket": "examplebucket",
|
|
223
|
+
* "CreateBucketConfiguration": {
|
|
224
|
+
* "LocationConstraint": "eu-west-1"
|
|
225
|
+
* }
|
|
213
226
|
* };
|
|
214
227
|
* const command = new CreateBucketCommand(input);
|
|
215
228
|
* const response = await client.send(command);
|
|
216
229
|
* /* response ==
|
|
217
230
|
* {
|
|
218
|
-
* "Location": "/
|
|
231
|
+
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
|
|
219
232
|
* }
|
|
220
233
|
* *\/
|
|
221
|
-
* // example id: to-create-a-bucket
|
|
234
|
+
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
|
|
222
235
|
* ```
|
|
223
236
|
*
|
|
224
|
-
* @example To create a bucket
|
|
237
|
+
* @example To create a bucket
|
|
225
238
|
* ```javascript
|
|
226
|
-
* // The following example creates a bucket.
|
|
239
|
+
* // The following example creates a bucket.
|
|
227
240
|
* const input = {
|
|
228
|
-
* "Bucket": "examplebucket"
|
|
229
|
-
* "CreateBucketConfiguration": {
|
|
230
|
-
* "LocationConstraint": "eu-west-1"
|
|
231
|
-
* }
|
|
241
|
+
* "Bucket": "examplebucket"
|
|
232
242
|
* };
|
|
233
243
|
* const command = new CreateBucketCommand(input);
|
|
234
244
|
* const response = await client.send(command);
|
|
235
245
|
* /* response ==
|
|
236
246
|
* {
|
|
237
|
-
* "Location": "
|
|
247
|
+
* "Location": "/examplebucket"
|
|
238
248
|
* }
|
|
239
249
|
* *\/
|
|
240
|
-
* // example id: to-create-a-bucket
|
|
250
|
+
* // example id: to-create-a-bucket--1472851826060
|
|
241
251
|
* ```
|
|
242
252
|
*
|
|
243
253
|
*/
|
|
@@ -22,10 +22,10 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateMultipartUploadCommand_base: {
|
|
24
24
|
new (input: CreateMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateMultipartUploadCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>This action initiates a multipart upload and returns an upload ID. This upload ID is
|
|
30
30
|
* used to associate all of the parts in the specific multipart upload. You specify this
|
|
31
31
|
* upload ID in each of your subsequent upload part requests (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html">UploadPart</a>). You also include this
|
|
@@ -312,6 +312,7 @@ declare const CreateMultipartUploadCommand_base: {
|
|
|
312
312
|
* @throws {@link S3ServiceException}
|
|
313
313
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
314
314
|
*
|
|
315
|
+
* @public
|
|
315
316
|
* @example To initiate a multipart upload
|
|
316
317
|
* ```javascript
|
|
317
318
|
* // The following example initiates a multipart upload.
|
|
@@ -22,10 +22,10 @@ export interface CreateSessionCommandOutput extends CreateSessionOutput, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateSessionCommand_base: {
|
|
24
24
|
new (input: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets.
|
|
30
30
|
* For more information about Zonal endpoint APIs that include the Availability Zone in the request endpoint, see
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html">S3 Express One Zone APIs</a> in the <i>Amazon S3 User Guide</i>.
|
|
@@ -125,6 +125,7 @@ declare const CreateSessionCommand_base: {
|
|
|
125
125
|
* @throws {@link S3ServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
127
127
|
*
|
|
128
|
+
* @public
|
|
128
129
|
*/
|
|
129
130
|
export declare class CreateSessionCommand extends CreateSessionCommand_base {
|
|
130
131
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketAnalyticsConfigurationCommand_base: {
|
|
24
24
|
new (input: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketAnalyticsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -83,6 +83,7 @@ declare const DeleteBucketAnalyticsConfigurationCommand_base: {
|
|
|
83
83
|
* @throws {@link S3ServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
85
85
|
*
|
|
86
|
+
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class DeleteBucketAnalyticsConfigurationCommand extends DeleteBucketAnalyticsConfigurationCommand_base {
|
|
88
89
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketCommand_base: {
|
|
24
24
|
new (input: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCommandInput, DeleteBucketCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
|
|
30
30
|
* the bucket must be deleted before the bucket itself can be deleted.</p>
|
|
31
31
|
* <note>
|
|
@@ -101,6 +101,7 @@ declare const DeleteBucketCommand_base: {
|
|
|
101
101
|
* @throws {@link S3ServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
103
103
|
*
|
|
104
|
+
* @public
|
|
104
105
|
* @example To delete a bucket
|
|
105
106
|
* ```javascript
|
|
106
107
|
* // The following example deletes the specified bucket.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketCorsCommand_base: {
|
|
24
24
|
new (input: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketCorsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketCorsCommandInput, DeleteBucketCorsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -75,6 +75,7 @@ declare const DeleteBucketCorsCommand_base: {
|
|
|
75
75
|
* @throws {@link S3ServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
77
77
|
*
|
|
78
|
+
* @public
|
|
78
79
|
* @example To delete cors configuration on a bucket.
|
|
79
80
|
* ```javascript
|
|
80
81
|
* // The following example deletes CORS configuration on a bucket.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketEncryptionCommand_base: {
|
|
24
24
|
new (input: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -77,6 +77,7 @@ declare const DeleteBucketEncryptionCommand_base: {
|
|
|
77
77
|
* @throws {@link S3ServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
79
79
|
*
|
|
80
|
+
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class DeleteBucketEncryptionCommand extends DeleteBucketEncryptionCommand_base {
|
|
82
83
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketIntelligentTieringConfigurationCommand_base: {
|
|
24
24
|
new (input: DeleteBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketIntelligentTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -76,6 +76,7 @@ declare const DeleteBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
76
76
|
* @throws {@link S3ServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class DeleteBucketIntelligentTieringConfigurationCommand extends DeleteBucketIntelligentTieringConfigurationCommand_base {
|
|
81
82
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketInventoryConfigurationCommand_base: {
|
|
24
24
|
new (input: DeleteBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketInventoryConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -81,6 +81,7 @@ declare const DeleteBucketInventoryConfigurationCommand_base: {
|
|
|
81
81
|
* @throws {@link S3ServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
83
83
|
*
|
|
84
|
+
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class DeleteBucketInventoryConfigurationCommand extends DeleteBucketInventoryConfigurationCommand_base {
|
|
86
87
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketLifecycleCommand_base: {
|
|
24
24
|
new (input: DeleteBucketLifecycleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketLifecycleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -77,6 +77,7 @@ declare const DeleteBucketLifecycleCommand_base: {
|
|
|
77
77
|
* @throws {@link S3ServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
79
79
|
*
|
|
80
|
+
* @public
|
|
80
81
|
* @example To delete lifecycle configuration on a bucket.
|
|
81
82
|
* ```javascript
|
|
82
83
|
* // The following example deletes lifecycle configuration on a bucket.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketMetricsConfigurationCommandOutput extends __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketMetricsConfigurationCommand_base: {
|
|
24
24
|
new (input: DeleteBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketMetricsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -89,6 +89,7 @@ declare const DeleteBucketMetricsConfigurationCommand_base: {
|
|
|
89
89
|
* @throws {@link S3ServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
91
91
|
*
|
|
92
|
+
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class DeleteBucketMetricsConfigurationCommand extends DeleteBucketMetricsConfigurationCommand_base {
|
|
94
95
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBe
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketOwnershipControlsCommand_base: {
|
|
24
24
|
new (input: DeleteBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketOwnershipControlsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -73,6 +73,7 @@ declare const DeleteBucketOwnershipControlsCommand_base: {
|
|
|
73
73
|
* @throws {@link S3ServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DeleteBucketOwnershipControlsCommand extends DeleteBucketOwnershipControlsCommand_base {
|
|
78
79
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketPolicyCommand_base: {
|
|
24
24
|
new (input: DeleteBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the
|
|
30
30
|
* policy of a specified bucket.</p>
|
|
31
31
|
* <note>
|
|
@@ -113,6 +113,7 @@ declare const DeleteBucketPolicyCommand_base: {
|
|
|
113
113
|
* @throws {@link S3ServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
115
115
|
*
|
|
116
|
+
* @public
|
|
116
117
|
* @example To delete bucket policy
|
|
117
118
|
* ```javascript
|
|
118
119
|
* // The following example deletes bucket policy on the specified bucket.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketReplicationCommand_base: {
|
|
24
24
|
new (input: DeleteBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -79,6 +79,7 @@ declare const DeleteBucketReplicationCommand_base: {
|
|
|
79
79
|
* @throws {@link S3ServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @public
|
|
82
83
|
* @example To delete bucket replication configuration
|
|
83
84
|
* ```javascript
|
|
84
85
|
* // The following example deletes replication configuration set on bucket.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketTaggingCommand_base: {
|
|
24
24
|
new (input: DeleteBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -71,6 +71,7 @@ declare const DeleteBucketTaggingCommand_base: {
|
|
|
71
71
|
* @throws {@link S3ServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
73
73
|
*
|
|
74
|
+
* @public
|
|
74
75
|
* @example To delete bucket tags
|
|
75
76
|
* ```javascript
|
|
76
77
|
* // The following example deletes bucket tags.
|
|
@@ -22,10 +22,10 @@ export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteBucketWebsiteCommand_base: {
|
|
24
24
|
new (input: DeleteBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteBucketWebsiteCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <note>
|
|
30
30
|
* <p>This operation is not supported by directory buckets.</p>
|
|
31
31
|
* </note>
|
|
@@ -78,6 +78,7 @@ declare const DeleteBucketWebsiteCommand_base: {
|
|
|
78
78
|
* @throws {@link S3ServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
* @example To delete bucket website configuration
|
|
82
83
|
* ```javascript
|
|
83
84
|
* // The following example deletes bucket website configuration.
|
|
@@ -22,19 +22,20 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteObjectCommand_base: {
|
|
24
24
|
new (input: DeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteObjectCommandInput, DeleteObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteObjectCommandInput, DeleteObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Removes an object from a bucket. The behavior depends on the bucket's versioning state: </p>
|
|
30
30
|
* <ul>
|
|
31
31
|
* <li>
|
|
32
|
-
* <p>If versioning is enabled, the operation
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* <p>If bucket versioning is not enabled, the operation permanently deletes the object.</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>If bucket versioning is enabled, the operation inserts a delete marker, which becomes the current version of the object. To permanently delete an object in a versioned bucket, you must include the object’s <code>versionId</code> in the request. For more information about versioning-enabled buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html">Deleting object versions from a versioning-enabled bucket</a>.</p>
|
|
35
36
|
* </li>
|
|
36
37
|
* <li>
|
|
37
|
-
* <p>If versioning is suspended
|
|
38
|
+
* <p>If bucket versioning is suspended, the operation removes the object that has a null <code>versionId</code>, if there is one, and inserts a delete marker that becomes the current version of the object. If there isn't an object with a null <code>versionId</code>, and all versions of the object have a <code>versionId</code>, Amazon S3 does not remove the object and only inserts a delete marker. To permanently delete an object that has a <code>versionId</code>, you must include the object’s <code>versionId</code> in the request. For more information about versioning-suspended buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html">Deleting objects from versioning-suspended buckets</a>.</p>
|
|
38
39
|
* </li>
|
|
39
40
|
* </ul>
|
|
40
41
|
* <note>
|
|
@@ -94,7 +95,7 @@ declare const DeleteObjectCommand_base: {
|
|
|
94
95
|
* <p>
|
|
95
96
|
* <b>
|
|
96
97
|
* <code>s3:DeleteObjectVersion</code>
|
|
97
|
-
* </b> - To delete a specific version of an object from a
|
|
98
|
+
* </b> - To delete a specific version of an object from a versioning-enabled bucket, you must have the <code>s3:DeleteObjectVersion</code> permission.</p>
|
|
98
99
|
* </li>
|
|
99
100
|
* </ul>
|
|
100
101
|
* </li>
|
|
@@ -158,6 +159,7 @@ declare const DeleteObjectCommand_base: {
|
|
|
158
159
|
* @throws {@link S3ServiceException}
|
|
159
160
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
160
161
|
*
|
|
162
|
+
* @public
|
|
161
163
|
* @example To delete an object (from a non-versioned bucket)
|
|
162
164
|
* ```javascript
|
|
163
165
|
* // The following example deletes an object from a non-versioned bucket.
|