@aws-sdk/client-s3 3.700.0 → 3.703.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-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +26 -2
- package/dist-es/commands/DeleteObjectsCommand.js +1 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -0
- package/dist-es/commands/PutBucketAclCommand.js +1 -0
- package/dist-es/commands/PutBucketCorsCommand.js +1 -0
- package/dist-es/commands/PutBucketEncryptionCommand.js +1 -0
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -0
- package/dist-es/commands/PutBucketLoggingCommand.js +1 -0
- package/dist-es/commands/PutBucketPolicyCommand.js +1 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +1 -0
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -0
- package/dist-es/commands/PutBucketTaggingCommand.js +1 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +1 -0
- package/dist-es/commands/PutBucketWebsiteCommand.js +1 -0
- package/dist-es/commands/PutObjectAclCommand.js +1 -0
- package/dist-es/commands/PutObjectCommand.js +1 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
- package/dist-es/commands/PutObjectRetentionCommand.js +1 -0
- package/dist-es/commands/PutObjectTaggingCommand.js +1 -0
- package/dist-es/commands/PutPublicAccessBlockCommand.js +1 -0
- package/dist-es/commands/RestoreObjectCommand.js +1 -0
- package/dist-es/commands/UploadPartCommand.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +2 -0
- 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 +6 -5
- 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/DeleteBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +63 -53
- package/dist-types/commands/DeleteObjectsCommand.d.ts +4 -3
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
- 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 +23 -22
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
- 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/PutBucketEncryptionCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
- package/dist-types/commands/PutObjectCommand.d.ts +36 -35
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +4 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +69 -62
- package/dist-types/models/models_1.d.ts +42 -17
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +2 -2
|
@@ -47,8 +47,9 @@ declare const DeleteObjectsCommand_base: {
|
|
|
47
47
|
* <li>
|
|
48
48
|
* <p>
|
|
49
49
|
* <b>Directory buckets</b> -
|
|
50
|
-
* 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>
|
|
51
|
-
* </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
|
|
50
|
+
* 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>
|
|
51
|
+
* </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
|
|
52
|
+
* <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
|
|
52
53
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
53
54
|
* </li>
|
|
54
55
|
* </ul>
|
|
@@ -133,7 +134,7 @@ declare const DeleteObjectsCommand_base: {
|
|
|
133
134
|
* <dd>
|
|
134
135
|
* <p>
|
|
135
136
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
136
|
-
* <i>
|
|
137
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
137
138
|
* </dd>
|
|
138
139
|
* </dl>
|
|
139
140
|
* <p>The following operations are related to <code>DeleteObjects</code>:</p>
|
|
@@ -73,7 +73,7 @@ declare const GetBucketEncryptionCommand_base: {
|
|
|
73
73
|
* <dt>HTTP Host header syntax</dt>
|
|
74
74
|
* <dd>
|
|
75
75
|
* <p>
|
|
76
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
76
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
77
77
|
* </dd>
|
|
78
78
|
* </dl>
|
|
79
79
|
* <p>The following operations are related to <code>GetBucketEncryption</code>:</p>
|
|
@@ -74,9 +74,10 @@ declare const GetBucketLifecycleConfigurationCommand_base: {
|
|
|
74
74
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
75
75
|
* <note>
|
|
76
76
|
* <p>
|
|
77
|
-
* <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>
|
|
77
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
78
78
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
79
|
-
* 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
|
|
79
|
+
* 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
|
|
80
|
+
* <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
|
|
80
81
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
81
82
|
* </note>
|
|
82
83
|
* </li>
|
|
@@ -30,9 +30,10 @@ declare const GetBucketPolicyCommand_base: {
|
|
|
30
30
|
* <p>Returns the policy of a specified bucket.</p>
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>
|
|
33
|
-
* <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>
|
|
33
|
+
* <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>
|
|
34
34
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
35
|
-
* 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
|
|
35
|
+
* 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
|
|
36
|
+
* <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
|
|
36
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
37
38
|
* </note>
|
|
38
39
|
* <dl>
|
|
@@ -87,7 +88,7 @@ declare const GetBucketPolicyCommand_base: {
|
|
|
87
88
|
* <dt>HTTP Host header syntax</dt>
|
|
88
89
|
* <dd>
|
|
89
90
|
* <p>
|
|
90
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
91
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
91
92
|
* </dd>
|
|
92
93
|
* </dl>
|
|
93
94
|
* <p>The following action is related to <code>GetBucketPolicy</code>:</p>
|
|
@@ -36,8 +36,9 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
36
36
|
* <note>
|
|
37
37
|
* <p>
|
|
38
38
|
* <b>Directory buckets</b> -
|
|
39
|
-
* 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>
|
|
40
|
-
* </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
|
|
39
|
+
* 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>
|
|
40
|
+
* </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
|
|
41
|
+
* <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
|
|
41
42
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
42
43
|
* </note>
|
|
43
44
|
* <dl>
|
|
@@ -192,7 +193,7 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
192
193
|
* <dd>
|
|
193
194
|
* <p>
|
|
194
195
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
195
|
-
* <i>
|
|
196
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
196
197
|
* </dd>
|
|
197
198
|
* </dl>
|
|
198
199
|
* <p>The following actions are related to <code>GetObjectAttributes</code>:</p>
|
|
@@ -42,8 +42,9 @@ declare const GetObjectCommand_base: {
|
|
|
42
42
|
* Header Bucket Specification</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
43
43
|
* <p>
|
|
44
44
|
* <b>Directory buckets</b> -
|
|
45
|
-
* Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object <code>photos/2006/February/sample.jpg</code> in the bucket named <code>examplebucket--use1-az5--x-s3</code>, specify the object key name as <code>/photos/2006/February/sample.jpg</code>. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>
|
|
46
|
-
* </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
|
|
45
|
+
* Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object <code>photos/2006/February/sample.jpg</code> in the bucket named <code>examplebucket--use1-az5--x-s3</code>, specify the object key name as <code>/photos/2006/February/sample.jpg</code>. Also, when you make requests to this API operation, your requests are sent 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>
|
|
46
|
+
* </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
|
|
47
|
+
* <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
|
|
47
48
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
48
49
|
* <dl>
|
|
49
50
|
* <dt>Permissions</dt>
|
|
@@ -187,7 +188,7 @@ declare const GetObjectCommand_base: {
|
|
|
187
188
|
* <dd>
|
|
188
189
|
* <p>
|
|
189
190
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
190
|
-
* <i>
|
|
191
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
191
192
|
* </dd>
|
|
192
193
|
* </dl>
|
|
193
194
|
* <p>The following operations are related to <code>GetObject</code>:</p>
|
|
@@ -301,53 +302,53 @@ declare const GetObjectCommand_base: {
|
|
|
301
302
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
302
303
|
*
|
|
303
304
|
* @public
|
|
304
|
-
* @example To retrieve
|
|
305
|
+
* @example To retrieve an object
|
|
305
306
|
* ```javascript
|
|
306
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
307
|
+
* // The following example retrieves an object for an S3 bucket.
|
|
307
308
|
* const input = {
|
|
308
309
|
* "Bucket": "examplebucket",
|
|
309
|
-
* "Key": "
|
|
310
|
-
* "Range": "bytes=0-9"
|
|
310
|
+
* "Key": "HappyFace.jpg"
|
|
311
311
|
* };
|
|
312
312
|
* const command = new GetObjectCommand(input);
|
|
313
313
|
* const response = await client.send(command);
|
|
314
314
|
* /* response ==
|
|
315
315
|
* {
|
|
316
316
|
* "AcceptRanges": "bytes",
|
|
317
|
-
* "ContentLength": "
|
|
318
|
-
* "
|
|
319
|
-
* "
|
|
320
|
-
* "
|
|
321
|
-
* "LastModified": "2014-10-09T22:57:28.000Z",
|
|
317
|
+
* "ContentLength": "3191",
|
|
318
|
+
* "ContentType": "image/jpeg",
|
|
319
|
+
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
320
|
+
* "LastModified": "2016-12-15T01:19:41.000Z",
|
|
322
321
|
* "Metadata": {},
|
|
322
|
+
* "TagCount": 2,
|
|
323
323
|
* "VersionId": "null"
|
|
324
324
|
* }
|
|
325
325
|
* *\/
|
|
326
|
-
* // example id: to-retrieve-
|
|
326
|
+
* // example id: to-retrieve-an-object-1481827837012
|
|
327
327
|
* ```
|
|
328
328
|
*
|
|
329
|
-
* @example To retrieve an object
|
|
329
|
+
* @example To retrieve a byte range of an object
|
|
330
330
|
* ```javascript
|
|
331
|
-
* // The following example retrieves an object for an S3 bucket.
|
|
331
|
+
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
|
|
332
332
|
* const input = {
|
|
333
333
|
* "Bucket": "examplebucket",
|
|
334
|
-
* "Key": "
|
|
334
|
+
* "Key": "SampleFile.txt",
|
|
335
|
+
* "Range": "bytes=0-9"
|
|
335
336
|
* };
|
|
336
337
|
* const command = new GetObjectCommand(input);
|
|
337
338
|
* const response = await client.send(command);
|
|
338
339
|
* /* response ==
|
|
339
340
|
* {
|
|
340
341
|
* "AcceptRanges": "bytes",
|
|
341
|
-
* "ContentLength": "
|
|
342
|
-
* "
|
|
343
|
-
* "
|
|
344
|
-
* "
|
|
342
|
+
* "ContentLength": "10",
|
|
343
|
+
* "ContentRange": "bytes 0-9/43",
|
|
344
|
+
* "ContentType": "text/plain",
|
|
345
|
+
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
|
|
346
|
+
* "LastModified": "2014-10-09T22:57:28.000Z",
|
|
345
347
|
* "Metadata": {},
|
|
346
|
-
* "TagCount": 2,
|
|
347
348
|
* "VersionId": "null"
|
|
348
349
|
* }
|
|
349
350
|
* *\/
|
|
350
|
-
* // example id: to-retrieve-an-object
|
|
351
|
+
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
|
|
351
352
|
* ```
|
|
352
353
|
*
|
|
353
354
|
*/
|
|
@@ -96,12 +96,13 @@ declare const GetObjectTaggingCommand_base: {
|
|
|
96
96
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
97
97
|
*
|
|
98
98
|
* @public
|
|
99
|
-
* @example To retrieve tag set of
|
|
99
|
+
* @example To retrieve tag set of a specific object version
|
|
100
100
|
* ```javascript
|
|
101
|
-
* // The following example retrieves tag set of an object.
|
|
101
|
+
* // The following example retrieves tag set of an object. The request specifies object version.
|
|
102
102
|
* const input = {
|
|
103
103
|
* "Bucket": "examplebucket",
|
|
104
|
-
* "Key": "
|
|
104
|
+
* "Key": "exampleobject",
|
|
105
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
105
106
|
* };
|
|
106
107
|
* const command = new GetObjectTaggingCommand(input);
|
|
107
108
|
* const response = await client.send(command);
|
|
@@ -109,27 +110,22 @@ declare const GetObjectTaggingCommand_base: {
|
|
|
109
110
|
* {
|
|
110
111
|
* "TagSet": [
|
|
111
112
|
* {
|
|
112
|
-
* "Key": "
|
|
113
|
-
* "Value": "
|
|
114
|
-
* },
|
|
115
|
-
* {
|
|
116
|
-
* "Key": "Key3",
|
|
117
|
-
* "Value": "Value3"
|
|
113
|
+
* "Key": "Key1",
|
|
114
|
+
* "Value": "Value1"
|
|
118
115
|
* }
|
|
119
116
|
* ],
|
|
120
|
-
* "VersionId": "
|
|
117
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
121
118
|
* }
|
|
122
119
|
* *\/
|
|
123
|
-
* // example id: to-retrieve-tag-set-of-
|
|
120
|
+
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
|
|
124
121
|
* ```
|
|
125
122
|
*
|
|
126
|
-
* @example To retrieve tag set of
|
|
123
|
+
* @example To retrieve tag set of an object
|
|
127
124
|
* ```javascript
|
|
128
|
-
* // The following example retrieves tag set of an object.
|
|
125
|
+
* // The following example retrieves tag set of an object.
|
|
129
126
|
* const input = {
|
|
130
127
|
* "Bucket": "examplebucket",
|
|
131
|
-
* "Key": "
|
|
132
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
128
|
+
* "Key": "HappyFace.jpg"
|
|
133
129
|
* };
|
|
134
130
|
* const command = new GetObjectTaggingCommand(input);
|
|
135
131
|
* const response = await client.send(command);
|
|
@@ -137,14 +133,18 @@ declare const GetObjectTaggingCommand_base: {
|
|
|
137
133
|
* {
|
|
138
134
|
* "TagSet": [
|
|
139
135
|
* {
|
|
140
|
-
* "Key": "
|
|
141
|
-
* "Value": "
|
|
136
|
+
* "Key": "Key4",
|
|
137
|
+
* "Value": "Value4"
|
|
138
|
+
* },
|
|
139
|
+
* {
|
|
140
|
+
* "Key": "Key3",
|
|
141
|
+
* "Value": "Value3"
|
|
142
142
|
* }
|
|
143
143
|
* ],
|
|
144
|
-
* "VersionId": "
|
|
144
|
+
* "VersionId": "null"
|
|
145
145
|
* }
|
|
146
146
|
* *\/
|
|
147
|
-
* // example id: to-retrieve-tag-set-of-
|
|
147
|
+
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
|
|
148
148
|
* ```
|
|
149
149
|
*
|
|
150
150
|
*/
|
|
@@ -88,9 +88,10 @@ declare const HeadBucketCommand_base: {
|
|
|
88
88
|
* <dd>
|
|
89
89
|
* <p>
|
|
90
90
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
91
|
-
* <i>
|
|
91
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
92
92
|
* <note>
|
|
93
|
-
* <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>
|
|
93
|
+
* <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
|
|
94
|
+
* <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
|
|
94
95
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
95
96
|
* </note>
|
|
96
97
|
* </dd>
|
|
@@ -108,7 +109,7 @@ declare const HeadBucketCommand_base: {
|
|
|
108
109
|
* const command = new HeadBucketCommand(input);
|
|
109
110
|
* const response = await client.send(command);
|
|
110
111
|
* // { // HeadBucketOutput
|
|
111
|
-
* // BucketLocationType: "AvailabilityZone",
|
|
112
|
+
* // BucketLocationType: "AvailabilityZone" || "LocalZone",
|
|
112
113
|
* // BucketLocationName: "STRING_VALUE",
|
|
113
114
|
* // BucketRegion: "STRING_VALUE",
|
|
114
115
|
* // AccessPointAlias: true || false,
|
|
@@ -168,10 +168,11 @@ declare const HeadObjectCommand_base: {
|
|
|
168
168
|
* <dd>
|
|
169
169
|
* <p>
|
|
170
170
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
171
|
-
* <i>
|
|
171
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
172
172
|
* <note>
|
|
173
|
-
* <p>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>
|
|
174
|
-
* </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
|
|
173
|
+
* <p>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>
|
|
174
|
+
* </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
|
|
175
|
+
* <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
|
|
175
176
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
176
177
|
* </note>
|
|
177
178
|
* </dd>
|
|
@@ -31,9 +31,10 @@ declare const ListDirectoryBucketsCommand_base: {
|
|
|
31
31
|
* request. For more information about directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>
|
|
34
|
-
* <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>
|
|
34
|
+
* <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>
|
|
35
35
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
36
|
-
* 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
|
|
36
|
+
* 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
|
|
37
|
+
* <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
|
|
37
38
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
39
|
* </note>
|
|
39
40
|
* <dl>
|
|
@@ -67,8 +67,9 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
67
67
|
* <note>
|
|
68
68
|
* <p>
|
|
69
69
|
* <b>Directory buckets</b> -
|
|
70
|
-
* 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>
|
|
71
|
-
* </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
|
|
70
|
+
* 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>
|
|
71
|
+
* </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
|
|
72
|
+
* <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
|
|
72
73
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
73
74
|
* </note>
|
|
74
75
|
* <dl>
|
|
@@ -129,7 +130,7 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
129
130
|
* <dd>
|
|
130
131
|
* <p>
|
|
131
132
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
132
|
-
* <i>
|
|
133
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
133
134
|
* </dd>
|
|
134
135
|
* </dl>
|
|
135
136
|
* <p>The following operations are related to <code>ListMultipartUploads</code>:</p>
|
|
@@ -51,8 +51,9 @@ declare const ListObjectsV2Command_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>
|
|
@@ -103,7 +104,7 @@ declare const ListObjectsV2Command_base: {
|
|
|
103
104
|
* <dd>
|
|
104
105
|
* <p>
|
|
105
106
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
106
|
-
* <i>
|
|
107
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
107
108
|
* </dd>
|
|
108
109
|
* </dl>
|
|
109
110
|
* <important>
|
|
@@ -43,8 +43,9 @@ declare const ListPartsCommand_base: {
|
|
|
43
43
|
* <note>
|
|
44
44
|
* <p>
|
|
45
45
|
* <b>Directory buckets</b> -
|
|
46
|
-
* 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>
|
|
47
|
-
* </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
|
|
46
|
+
* 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>
|
|
47
|
+
* </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
|
|
48
|
+
* <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
|
|
48
49
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
49
50
|
* </note>
|
|
50
51
|
* <dl>
|
|
@@ -78,7 +79,7 @@ declare const ListPartsCommand_base: {
|
|
|
78
79
|
* <dd>
|
|
79
80
|
* <p>
|
|
80
81
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
81
|
-
* <i>
|
|
82
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
82
83
|
* </dd>
|
|
83
84
|
* </dl>
|
|
84
85
|
* <p>The following operations are related to <code>ListParts</code>:</p>
|
|
@@ -31,9 +31,10 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
31
31
|
* bucket.</p>
|
|
32
32
|
* <note>
|
|
33
33
|
* <p>
|
|
34
|
-
* <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>
|
|
34
|
+
* <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>
|
|
35
35
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
36
|
-
* 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
|
|
36
|
+
* 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
|
|
37
|
+
* <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
|
|
37
38
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
39
|
* </note>
|
|
39
40
|
* <p>By default, all buckets have a default encryption configuration that uses server-side
|
|
@@ -137,7 +138,7 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
137
138
|
* <dt>HTTP Host header syntax</dt>
|
|
138
139
|
* <dd>
|
|
139
140
|
* <p>
|
|
140
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
141
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
141
142
|
* </dd>
|
|
142
143
|
* </dl>
|
|
143
144
|
* <p>The following operations are related to <code>PutBucketEncryption</code>:</p>
|
|
@@ -32,6 +32,10 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
32
32
|
* so if you want to retain any configuration details, they must be included in the new
|
|
33
33
|
* lifecycle configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing
|
|
34
34
|
* your storage lifecycle</a>.</p>
|
|
35
|
+
* <note>
|
|
36
|
+
* <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.
|
|
37
|
+
* For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
|
|
38
|
+
* </note>
|
|
35
39
|
* <dl>
|
|
36
40
|
* <dt>Rules</dt>
|
|
37
41
|
* <dt>Permissions</dt>
|
|
@@ -127,9 +131,10 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
127
131
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
128
132
|
* <note>
|
|
129
133
|
* <p>
|
|
130
|
-
* <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>
|
|
134
|
+
* <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>
|
|
131
135
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
132
|
-
* 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
|
|
136
|
+
* 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
|
|
137
|
+
* <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
|
|
133
138
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
134
139
|
* </note>
|
|
135
140
|
* </li>
|
|
@@ -30,9 +30,10 @@ declare const PutBucketPolicyCommand_base: {
|
|
|
30
30
|
* <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket.</p>
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>
|
|
33
|
-
* <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>
|
|
33
|
+
* <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>
|
|
34
34
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
35
|
-
* 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
|
|
35
|
+
* 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
|
|
36
|
+
* <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
|
|
36
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
37
38
|
* </note>
|
|
38
39
|
* <dl>
|
|
@@ -87,7 +88,7 @@ declare const PutBucketPolicyCommand_base: {
|
|
|
87
88
|
* <dt>HTTP Host header syntax</dt>
|
|
88
89
|
* <dd>
|
|
89
90
|
* <p>
|
|
90
|
-
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
91
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
91
92
|
* </dd>
|
|
92
93
|
* </dl>
|
|
93
94
|
* <p>The following operations are related to <code>PutBucketPolicy</code>:</p>
|