@aws-sdk/client-s3 3.701.0 → 3.705.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +334 -104
- package/dist-es/S3.js +6 -0
- package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +32 -0
- package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
- package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
- package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +2 -12
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_restXml.js +157 -0
- package/dist-types/S3.d.ts +21 -0
- package/dist-types/S3Client.d.ts +5 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
- package/dist-types/commands/CreateBucketCommand.d.ts +19 -18
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +53 -43
- package/dist-types/commands/DeleteObjectsCommand.d.ts +26 -25
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
- package/dist-types/commands/GetObjectCommand.d.ts +4 -3
- package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
- package/dist-types/commands/ListPartsCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -4
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -3
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/PutObjectCommand.d.ts +53 -52
- package/dist-types/commands/UploadPartCommand.d.ts +4 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +443 -411
- package/dist-types/models/models_1.d.ts +394 -18
- package/dist-types/protocols/Aws_restXml.d.ts +27 -0
- package/dist-types/ts3.4/S3.d.ts +69 -0
- package/dist-types/ts3.4/S3Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -66
- package/dist-types/ts3.4/models/models_1.d.ts +74 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/package.json +1 -1
package/dist-types/S3.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } f
|
|
|
3
3
|
import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand";
|
|
4
4
|
import { CopyObjectCommandInput, CopyObjectCommandOutput } from "./commands/CopyObjectCommand";
|
|
5
5
|
import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
|
|
6
|
+
import { CreateBucketMetadataTableConfigurationCommandInput, CreateBucketMetadataTableConfigurationCommandOutput } from "./commands/CreateBucketMetadataTableConfigurationCommand";
|
|
6
7
|
import { CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput } from "./commands/CreateMultipartUploadCommand";
|
|
7
8
|
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
8
9
|
import { DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput } from "./commands/DeleteBucketAnalyticsConfigurationCommand";
|
|
@@ -12,6 +13,7 @@ import { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput
|
|
|
12
13
|
import { DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
|
|
13
14
|
import { DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput } from "./commands/DeleteBucketInventoryConfigurationCommand";
|
|
14
15
|
import { DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput } from "./commands/DeleteBucketLifecycleCommand";
|
|
16
|
+
import { DeleteBucketMetadataTableConfigurationCommandInput, DeleteBucketMetadataTableConfigurationCommandOutput } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
|
|
15
17
|
import { DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput } from "./commands/DeleteBucketMetricsConfigurationCommand";
|
|
16
18
|
import { DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput } from "./commands/DeleteBucketOwnershipControlsCommand";
|
|
17
19
|
import { DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput } from "./commands/DeleteBucketPolicyCommand";
|
|
@@ -32,6 +34,7 @@ import { GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigur
|
|
|
32
34
|
import { GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput } from "./commands/GetBucketLifecycleConfigurationCommand";
|
|
33
35
|
import { GetBucketLocationCommandInput, GetBucketLocationCommandOutput } from "./commands/GetBucketLocationCommand";
|
|
34
36
|
import { GetBucketLoggingCommandInput, GetBucketLoggingCommandOutput } from "./commands/GetBucketLoggingCommand";
|
|
37
|
+
import { GetBucketMetadataTableConfigurationCommandInput, GetBucketMetadataTableConfigurationCommandOutput } from "./commands/GetBucketMetadataTableConfigurationCommand";
|
|
35
38
|
import { GetBucketMetricsConfigurationCommandInput, GetBucketMetricsConfigurationCommandOutput } from "./commands/GetBucketMetricsConfigurationCommand";
|
|
36
39
|
import { GetBucketNotificationConfigurationCommandInput, GetBucketNotificationConfigurationCommandOutput } from "./commands/GetBucketNotificationConfigurationCommand";
|
|
37
40
|
import { GetBucketOwnershipControlsCommandInput, GetBucketOwnershipControlsCommandOutput } from "./commands/GetBucketOwnershipControlsCommand";
|
|
@@ -120,6 +123,12 @@ export interface S3 {
|
|
|
120
123
|
createBucket(args: CreateBucketCommandInput, options?: __HttpHandlerOptions): Promise<CreateBucketCommandOutput>;
|
|
121
124
|
createBucket(args: CreateBucketCommandInput, cb: (err: any, data?: CreateBucketCommandOutput) => void): void;
|
|
122
125
|
createBucket(args: CreateBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBucketCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link CreateBucketMetadataTableConfigurationCommand}
|
|
128
|
+
*/
|
|
129
|
+
createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateBucketMetadataTableConfigurationCommandOutput>;
|
|
130
|
+
createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: CreateBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
131
|
+
createBucketMetadataTableConfiguration(args: CreateBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
123
132
|
/**
|
|
124
133
|
* @see {@link CreateMultipartUploadCommand}
|
|
125
134
|
*/
|
|
@@ -174,6 +183,12 @@ export interface S3 {
|
|
|
174
183
|
deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBucketLifecycleCommandOutput>;
|
|
175
184
|
deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void): void;
|
|
176
185
|
deleteBucketLifecycle(args: DeleteBucketLifecycleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void): void;
|
|
186
|
+
/**
|
|
187
|
+
* @see {@link DeleteBucketMetadataTableConfigurationCommand}
|
|
188
|
+
*/
|
|
189
|
+
deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBucketMetadataTableConfigurationCommandOutput>;
|
|
190
|
+
deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: DeleteBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
191
|
+
deleteBucketMetadataTableConfiguration(args: DeleteBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
177
192
|
/**
|
|
178
193
|
* @see {@link DeleteBucketMetricsConfigurationCommand}
|
|
179
194
|
*/
|
|
@@ -294,6 +309,12 @@ export interface S3 {
|
|
|
294
309
|
getBucketLogging(args: GetBucketLoggingCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketLoggingCommandOutput>;
|
|
295
310
|
getBucketLogging(args: GetBucketLoggingCommandInput, cb: (err: any, data?: GetBucketLoggingCommandOutput) => void): void;
|
|
296
311
|
getBucketLogging(args: GetBucketLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketLoggingCommandOutput) => void): void;
|
|
312
|
+
/**
|
|
313
|
+
* @see {@link GetBucketMetadataTableConfigurationCommand}
|
|
314
|
+
*/
|
|
315
|
+
getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetBucketMetadataTableConfigurationCommandOutput>;
|
|
316
|
+
getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, cb: (err: any, data?: GetBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
317
|
+
getBucketMetadataTableConfiguration(args: GetBucketMetadataTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetadataTableConfigurationCommandOutput) => void): void;
|
|
297
318
|
/**
|
|
298
319
|
* @see {@link GetBucketMetricsConfigurationCommand}
|
|
299
320
|
*/
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } f
|
|
|
17
17
|
import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand";
|
|
18
18
|
import { CopyObjectCommandInput, CopyObjectCommandOutput } from "./commands/CopyObjectCommand";
|
|
19
19
|
import { CreateBucketCommandInput, CreateBucketCommandOutput } from "./commands/CreateBucketCommand";
|
|
20
|
+
import { CreateBucketMetadataTableConfigurationCommandInput, CreateBucketMetadataTableConfigurationCommandOutput } from "./commands/CreateBucketMetadataTableConfigurationCommand";
|
|
20
21
|
import { CreateMultipartUploadCommandInput, CreateMultipartUploadCommandOutput } from "./commands/CreateMultipartUploadCommand";
|
|
21
22
|
import { CreateSessionCommandInput, CreateSessionCommandOutput } from "./commands/CreateSessionCommand";
|
|
22
23
|
import { DeleteBucketAnalyticsConfigurationCommandInput, DeleteBucketAnalyticsConfigurationCommandOutput } from "./commands/DeleteBucketAnalyticsConfigurationCommand";
|
|
@@ -26,6 +27,7 @@ import { DeleteBucketEncryptionCommandInput, DeleteBucketEncryptionCommandOutput
|
|
|
26
27
|
import { DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
|
|
27
28
|
import { DeleteBucketInventoryConfigurationCommandInput, DeleteBucketInventoryConfigurationCommandOutput } from "./commands/DeleteBucketInventoryConfigurationCommand";
|
|
28
29
|
import { DeleteBucketLifecycleCommandInput, DeleteBucketLifecycleCommandOutput } from "./commands/DeleteBucketLifecycleCommand";
|
|
30
|
+
import { DeleteBucketMetadataTableConfigurationCommandInput, DeleteBucketMetadataTableConfigurationCommandOutput } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
|
|
29
31
|
import { DeleteBucketMetricsConfigurationCommandInput, DeleteBucketMetricsConfigurationCommandOutput } from "./commands/DeleteBucketMetricsConfigurationCommand";
|
|
30
32
|
import { DeleteBucketOwnershipControlsCommandInput, DeleteBucketOwnershipControlsCommandOutput } from "./commands/DeleteBucketOwnershipControlsCommand";
|
|
31
33
|
import { DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput } from "./commands/DeleteBucketPolicyCommand";
|
|
@@ -46,6 +48,7 @@ import { GetBucketInventoryConfigurationCommandInput, GetBucketInventoryConfigur
|
|
|
46
48
|
import { GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput } from "./commands/GetBucketLifecycleConfigurationCommand";
|
|
47
49
|
import { GetBucketLocationCommandInput, GetBucketLocationCommandOutput } from "./commands/GetBucketLocationCommand";
|
|
48
50
|
import { GetBucketLoggingCommandInput, GetBucketLoggingCommandOutput } from "./commands/GetBucketLoggingCommand";
|
|
51
|
+
import { GetBucketMetadataTableConfigurationCommandInput, GetBucketMetadataTableConfigurationCommandOutput } from "./commands/GetBucketMetadataTableConfigurationCommand";
|
|
49
52
|
import { GetBucketMetricsConfigurationCommandInput, GetBucketMetricsConfigurationCommandOutput } from "./commands/GetBucketMetricsConfigurationCommand";
|
|
50
53
|
import { GetBucketNotificationConfigurationCommandInput, GetBucketNotificationConfigurationCommandOutput } from "./commands/GetBucketNotificationConfigurationCommand";
|
|
51
54
|
import { GetBucketOwnershipControlsCommandInput, GetBucketOwnershipControlsCommandOutput } from "./commands/GetBucketOwnershipControlsCommand";
|
|
@@ -114,11 +117,11 @@ export { __Client };
|
|
|
114
117
|
/**
|
|
115
118
|
* @public
|
|
116
119
|
*/
|
|
117
|
-
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
120
|
+
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
118
121
|
/**
|
|
119
122
|
* @public
|
|
120
123
|
*/
|
|
121
|
-
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
124
|
+
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
122
125
|
/**
|
|
123
126
|
* @public
|
|
124
127
|
*/
|
|
@@ -51,8 +51,9 @@ declare const AbortMultipartUploadCommand_base: {
|
|
|
51
51
|
* <li>
|
|
52
52
|
* <p>
|
|
53
53
|
* <b>Directory buckets</b> -
|
|
54
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
55
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
54
|
+
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
55
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
56
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
56
57
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
57
58
|
* </li>
|
|
58
59
|
* </ul>
|
|
@@ -83,7 +84,7 @@ declare const AbortMultipartUploadCommand_base: {
|
|
|
83
84
|
* <dd>
|
|
84
85
|
* <p>
|
|
85
86
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
86
|
-
* <i>
|
|
87
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
87
88
|
* </dd>
|
|
88
89
|
* </dl>
|
|
89
90
|
* <p>The following operations are related to <code>AbortMultipartUpload</code>:</p>
|
|
@@ -66,8 +66,9 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
66
66
|
* <note>
|
|
67
67
|
* <p>
|
|
68
68
|
* <b>Directory buckets</b> -
|
|
69
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
70
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
69
|
+
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
70
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
71
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
71
72
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
72
73
|
* </note>
|
|
73
74
|
* <dl>
|
|
@@ -165,7 +166,7 @@ declare const CompleteMultipartUploadCommand_base: {
|
|
|
165
166
|
* <dd>
|
|
166
167
|
* <p>
|
|
167
168
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
168
|
-
* <i>
|
|
169
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
169
170
|
* </dd>
|
|
170
171
|
* </dl>
|
|
171
172
|
* <p>The following operations are related to <code>CompleteMultipartUpload</code>:</p>
|
|
@@ -46,8 +46,9 @@ declare const CopyObjectCommand_base: {
|
|
|
46
46
|
* <li>
|
|
47
47
|
* <p>
|
|
48
48
|
* <b>Directory buckets </b> -
|
|
49
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
50
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
49
|
+
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
50
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
51
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
51
52
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
52
53
|
* </li>
|
|
53
54
|
* <li>
|
|
@@ -204,7 +205,7 @@ declare const CopyObjectCommand_base: {
|
|
|
204
205
|
* <dd>
|
|
205
206
|
* <p>
|
|
206
207
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
207
|
-
* <i>
|
|
208
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
208
209
|
* </dd>
|
|
209
210
|
* </dl>
|
|
210
211
|
* <p>The following operations are related to <code>CopyObject</code>:</p>
|
|
@@ -54,9 +54,10 @@ declare const CreateBucketCommand_base: {
|
|
|
54
54
|
* </li>
|
|
55
55
|
* <li>
|
|
56
56
|
* <p>
|
|
57
|
-
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>
|
|
57
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
58
58
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
59
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
59
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
60
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
60
61
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
61
62
|
* </li>
|
|
62
63
|
* </ul>
|
|
@@ -159,7 +160,7 @@ declare const CreateBucketCommand_base: {
|
|
|
159
160
|
* <dt>HTTP Host header syntax</dt>
|
|
160
161
|
* <dd>
|
|
161
162
|
* <p>
|
|
162
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
163
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
163
164
|
* </dd>
|
|
164
165
|
* </dl>
|
|
165
166
|
* <p>The following operations are related to <code>CreateBucket</code>:</p>
|
|
@@ -187,11 +188,11 @@ declare const CreateBucketCommand_base: {
|
|
|
187
188
|
* CreateBucketConfiguration: { // CreateBucketConfiguration
|
|
188
189
|
* LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
|
|
189
190
|
* Location: { // LocationInfo
|
|
190
|
-
* Type: "AvailabilityZone",
|
|
191
|
+
* Type: "AvailabilityZone" || "LocalZone",
|
|
191
192
|
* Name: "STRING_VALUE",
|
|
192
193
|
* },
|
|
193
194
|
* Bucket: { // BucketInfo
|
|
194
|
-
* DataRedundancy: "SingleAvailabilityZone",
|
|
195
|
+
* DataRedundancy: "SingleAvailabilityZone" || "SingleLocalZone",
|
|
195
196
|
* Type: "Directory",
|
|
196
197
|
* },
|
|
197
198
|
* },
|
|
@@ -231,39 +232,39 @@ declare const CreateBucketCommand_base: {
|
|
|
231
232
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
232
233
|
*
|
|
233
234
|
* @public
|
|
234
|
-
* @example To create a bucket
|
|
235
|
+
* @example To create a bucket in a specific region
|
|
235
236
|
* ```javascript
|
|
236
|
-
* // The following example creates a bucket.
|
|
237
|
+
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
|
237
238
|
* const input = {
|
|
238
|
-
* "Bucket": "examplebucket"
|
|
239
|
+
* "Bucket": "examplebucket",
|
|
240
|
+
* "CreateBucketConfiguration": {
|
|
241
|
+
* "LocationConstraint": "eu-west-1"
|
|
242
|
+
* }
|
|
239
243
|
* };
|
|
240
244
|
* const command = new CreateBucketCommand(input);
|
|
241
245
|
* const response = await client.send(command);
|
|
242
246
|
* /* response ==
|
|
243
247
|
* {
|
|
244
|
-
* "Location": "/
|
|
248
|
+
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
|
|
245
249
|
* }
|
|
246
250
|
* *\/
|
|
247
|
-
* // example id: to-create-a-bucket
|
|
251
|
+
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
|
|
248
252
|
* ```
|
|
249
253
|
*
|
|
250
|
-
* @example To create a bucket
|
|
254
|
+
* @example To create a bucket
|
|
251
255
|
* ```javascript
|
|
252
|
-
* // The following example creates a bucket.
|
|
256
|
+
* // The following example creates a bucket.
|
|
253
257
|
* const input = {
|
|
254
|
-
* "Bucket": "examplebucket"
|
|
255
|
-
* "CreateBucketConfiguration": {
|
|
256
|
-
* "LocationConstraint": "eu-west-1"
|
|
257
|
-
* }
|
|
258
|
+
* "Bucket": "examplebucket"
|
|
258
259
|
* };
|
|
259
260
|
* const command = new CreateBucketCommand(input);
|
|
260
261
|
* const response = await client.send(command);
|
|
261
262
|
* /* response ==
|
|
262
263
|
* {
|
|
263
|
-
* "Location": "
|
|
264
|
+
* "Location": "/examplebucket"
|
|
264
265
|
* }
|
|
265
266
|
* *\/
|
|
266
|
-
* // example id: to-create-a-bucket
|
|
267
|
+
* // example id: to-create-a-bucket--1472851826060
|
|
267
268
|
* ```
|
|
268
269
|
*
|
|
269
270
|
*/
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateBucketMetadataTableConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBucketMetadataTableConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBucketMetadataTableConfigurationCommandInput extends CreateBucketMetadataTableConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBucketMetadataTableConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBucketMetadataTableConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBucketMetadataTableConfigurationCommand_base: {
|
|
25
|
+
new (input: CreateBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBucketMetadataTableConfigurationCommandInput, CreateBucketMetadataTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBucketMetadataTableConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBucketMetadataTableConfigurationCommandInput, CreateBucketMetadataTableConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a metadata table configuration for a general purpose bucket. For more
|
|
31
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating data
|
|
32
|
+
* discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
33
|
+
* <dl>
|
|
34
|
+
* <dt>Permissions</dt>
|
|
35
|
+
* <dd>
|
|
36
|
+
* <p>To use this operation, you must have the following permissions. For more
|
|
37
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up
|
|
38
|
+
* permissions for configuring metadata tables</a> in the
|
|
39
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
40
|
+
* <p>If you also want to integrate your table bucket with Amazon Web Services analytics services so that you
|
|
41
|
+
* can query your metadata table, you need additional permissions. For more information, see
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-integrating-aws.html">
|
|
43
|
+
* Integrating Amazon S3 Tables with Amazon Web Services analytics services</a> in the
|
|
44
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
45
|
+
* <ul>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>s3:CreateBucketMetadataTableConfiguration</code>
|
|
49
|
+
* </p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>s3tables:CreateNamespace</code>
|
|
54
|
+
* </p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>s3tables:GetTable</code>
|
|
59
|
+
* </p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <code>s3tables:CreateTable</code>
|
|
64
|
+
* </p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>
|
|
68
|
+
* <code>s3tables:PutTablePolicy</code>
|
|
69
|
+
* </p>
|
|
70
|
+
* </li>
|
|
71
|
+
* </ul>
|
|
72
|
+
* </dd>
|
|
73
|
+
* </dl>
|
|
74
|
+
* <p>The following operations are related to <code>CreateBucketMetadataTableConfiguration</code>:</p>
|
|
75
|
+
* <ul>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>
|
|
78
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html">DeleteBucketMetadataTableConfiguration</a>
|
|
79
|
+
* </p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>
|
|
83
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html">GetBucketMetadataTableConfiguration</a>
|
|
84
|
+
* </p>
|
|
85
|
+
* </li>
|
|
86
|
+
* </ul>
|
|
87
|
+
* @example
|
|
88
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
89
|
+
* ```javascript
|
|
90
|
+
* import { S3Client, CreateBucketMetadataTableConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
91
|
+
* // const { S3Client, CreateBucketMetadataTableConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
92
|
+
* const client = new S3Client(config);
|
|
93
|
+
* const input = { // CreateBucketMetadataTableConfigurationRequest
|
|
94
|
+
* Bucket: "STRING_VALUE", // required
|
|
95
|
+
* ContentMD5: "STRING_VALUE",
|
|
96
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
97
|
+
* MetadataTableConfiguration: { // MetadataTableConfiguration
|
|
98
|
+
* S3TablesDestination: { // S3TablesDestination
|
|
99
|
+
* TableBucketArn: "STRING_VALUE", // required
|
|
100
|
+
* TableName: "STRING_VALUE", // required
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
104
|
+
* };
|
|
105
|
+
* const command = new CreateBucketMetadataTableConfigurationCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* // {};
|
|
108
|
+
*
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @param CreateBucketMetadataTableConfigurationCommandInput - {@link CreateBucketMetadataTableConfigurationCommandInput}
|
|
112
|
+
* @returns {@link CreateBucketMetadataTableConfigurationCommandOutput}
|
|
113
|
+
* @see {@link CreateBucketMetadataTableConfigurationCommandInput} for command's `input` shape.
|
|
114
|
+
* @see {@link CreateBucketMetadataTableConfigurationCommandOutput} for command's `response` shape.
|
|
115
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link S3ServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class CreateBucketMetadataTableConfigurationCommand extends CreateBucketMetadataTableConfigurationCommand_base {
|
|
123
|
+
/** @internal type navigation helper, not in runtime. */
|
|
124
|
+
protected static __types: {
|
|
125
|
+
api: {
|
|
126
|
+
input: CreateBucketMetadataTableConfigurationRequest;
|
|
127
|
+
output: {};
|
|
128
|
+
};
|
|
129
|
+
sdk: {
|
|
130
|
+
input: CreateBucketMetadataTableConfigurationCommandInput;
|
|
131
|
+
output: CreateBucketMetadataTableConfigurationCommandOutput;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
}
|
|
@@ -54,8 +54,9 @@ declare const CreateMultipartUploadCommand_base: {
|
|
|
54
54
|
* <li>
|
|
55
55
|
* <p>
|
|
56
56
|
* <b>Directory buckets </b> -
|
|
57
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
58
|
-
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
57
|
+
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
58
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
59
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
59
60
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
60
61
|
* </li>
|
|
61
62
|
* </ul>
|
|
@@ -262,7 +263,7 @@ declare const CreateMultipartUploadCommand_base: {
|
|
|
262
263
|
* <dd>
|
|
263
264
|
* <p>
|
|
264
265
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
265
|
-
* <i>
|
|
266
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
266
267
|
* </dd>
|
|
267
268
|
* </dl>
|
|
268
269
|
* <p>The following operations are related to <code>CreateMultipartUpload</code>:</p>
|
|
@@ -54,7 +54,8 @@ declare const CreateSessionCommand_base: {
|
|
|
54
54
|
* <note>
|
|
55
55
|
* <ul>
|
|
56
56
|
* <li>
|
|
57
|
-
* <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
57
|
+
* <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
58
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
58
59
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
59
60
|
* </li>
|
|
60
61
|
* <li>
|
|
@@ -132,7 +133,7 @@ declare const CreateSessionCommand_base: {
|
|
|
132
133
|
* <dd>
|
|
133
134
|
* <p>
|
|
134
135
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
135
|
-
* <i>
|
|
136
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
136
137
|
* </dd>
|
|
137
138
|
* </dl>
|
|
138
139
|
* @example
|
|
@@ -39,9 +39,10 @@ declare const DeleteBucketCommand_base: {
|
|
|
39
39
|
* </li>
|
|
40
40
|
* <li>
|
|
41
41
|
* <p>
|
|
42
|
-
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>
|
|
42
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
43
43
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
44
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
44
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
45
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
45
46
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
46
47
|
* </li>
|
|
47
48
|
* </ul>
|
|
@@ -68,7 +69,7 @@ declare const DeleteBucketCommand_base: {
|
|
|
68
69
|
* <dt>HTTP Host header syntax</dt>
|
|
69
70
|
* <dd>
|
|
70
71
|
* <p>
|
|
71
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
72
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
72
73
|
* </dd>
|
|
73
74
|
* </dl>
|
|
74
75
|
* <p>The following operations are related to <code>DeleteBucket</code>:</p>
|
|
@@ -72,7 +72,7 @@ declare const DeleteBucketEncryptionCommand_base: {
|
|
|
72
72
|
* <dt>HTTP Host header syntax</dt>
|
|
73
73
|
* <dd>
|
|
74
74
|
* <p>
|
|
75
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
75
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
76
76
|
* </dd>
|
|
77
77
|
* </dl>
|
|
78
78
|
* <p>The following operations are related to <code>DeleteBucketEncryption</code>:</p>
|
|
@@ -64,9 +64,10 @@ declare const DeleteBucketLifecycleCommand_base: {
|
|
|
64
64
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
65
65
|
* <note>
|
|
66
66
|
* <p>
|
|
67
|
-
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>
|
|
67
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
68
68
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
69
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
69
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
70
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
|
|
70
71
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
71
72
|
* </note>
|
|
72
73
|
* </li>
|