@aws-sdk/client-s3 3.741.0 → 3.744.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/index.js +5 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CopyObjectCommand.d.ts +16 -6
- package/dist-types/commands/CreateBucketCommand.d.ts +3 -3
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectCommand.d.ts +3 -3
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
- package/dist-types/commands/DeleteObjectsCommand.d.ts +8 -9
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectCommand.d.ts +3 -3
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -2
- package/dist-types/commands/HeadObjectCommand.d.ts +3 -3
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +35 -35
- package/dist-types/commands/ListObjectsV2Command.d.ts +3 -3
- package/dist-types/commands/ListPartsCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutObjectCommand.d.ts +56 -46
- package/dist-types/commands/UploadPartCommand.d.ts +3 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +123 -94
- package/dist-types/models/models_1.d.ts +38 -33
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -512,16 +512,21 @@ var BucketLocationConstraint = {
|
|
|
512
512
|
ap_southeast_1: "ap-southeast-1",
|
|
513
513
|
ap_southeast_2: "ap-southeast-2",
|
|
514
514
|
ap_southeast_3: "ap-southeast-3",
|
|
515
|
+
ap_southeast_4: "ap-southeast-4",
|
|
516
|
+
ap_southeast_5: "ap-southeast-5",
|
|
515
517
|
ca_central_1: "ca-central-1",
|
|
516
518
|
cn_north_1: "cn-north-1",
|
|
517
519
|
cn_northwest_1: "cn-northwest-1",
|
|
518
520
|
eu_central_1: "eu-central-1",
|
|
521
|
+
eu_central_2: "eu-central-2",
|
|
519
522
|
eu_north_1: "eu-north-1",
|
|
520
523
|
eu_south_1: "eu-south-1",
|
|
521
524
|
eu_south_2: "eu-south-2",
|
|
522
525
|
eu_west_1: "eu-west-1",
|
|
523
526
|
eu_west_2: "eu-west-2",
|
|
524
527
|
eu_west_3: "eu-west-3",
|
|
528
|
+
il_central_1: "il-central-1",
|
|
529
|
+
me_central_1: "me-central-1",
|
|
525
530
|
me_south_1: "me-south-1",
|
|
526
531
|
sa_east_1: "sa-east-1",
|
|
527
532
|
us_east_2: "us-east-2",
|
|
@@ -156,16 +156,21 @@ export const BucketLocationConstraint = {
|
|
|
156
156
|
ap_southeast_1: "ap-southeast-1",
|
|
157
157
|
ap_southeast_2: "ap-southeast-2",
|
|
158
158
|
ap_southeast_3: "ap-southeast-3",
|
|
159
|
+
ap_southeast_4: "ap-southeast-4",
|
|
160
|
+
ap_southeast_5: "ap-southeast-5",
|
|
159
161
|
ca_central_1: "ca-central-1",
|
|
160
162
|
cn_north_1: "cn-north-1",
|
|
161
163
|
cn_northwest_1: "cn-northwest-1",
|
|
162
164
|
eu_central_1: "eu-central-1",
|
|
165
|
+
eu_central_2: "eu-central-2",
|
|
163
166
|
eu_north_1: "eu-north-1",
|
|
164
167
|
eu_south_1: "eu-south-1",
|
|
165
168
|
eu_south_2: "eu-south-2",
|
|
166
169
|
eu_west_1: "eu-west-1",
|
|
167
170
|
eu_west_2: "eu-west-2",
|
|
168
171
|
eu_west_3: "eu-west-3",
|
|
172
|
+
il_central_1: "il-central-1",
|
|
173
|
+
me_central_1: "me-central-1",
|
|
169
174
|
me_south_1: "me-south-1",
|
|
170
175
|
sa_east_1: "sa-east-1",
|
|
171
176
|
us_east_2: "us-east-2",
|
|
@@ -51,9 +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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
57
57
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
58
58
|
* </li>
|
|
59
59
|
* </ul>
|
|
@@ -66,9 +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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
72
72
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
73
73
|
* </note>
|
|
74
74
|
* <dl>
|
|
@@ -46,9 +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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
52
52
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
53
53
|
* </li>
|
|
54
54
|
* <li>
|
|
@@ -203,9 +203,19 @@ declare const CopyObjectCommand_base: {
|
|
|
203
203
|
* </dd>
|
|
204
204
|
* <dt>HTTP Host header syntax</dt>
|
|
205
205
|
* <dd>
|
|
206
|
-
* <
|
|
207
|
-
* <
|
|
208
|
-
* <
|
|
206
|
+
* <ul>
|
|
207
|
+
* <li>
|
|
208
|
+
* <p>
|
|
209
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
210
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
211
|
+
* </li>
|
|
212
|
+
* <li>
|
|
213
|
+
* <p>
|
|
214
|
+
* <b>Amazon S3 on Outposts</b> - When you use this action with S3 on Outposts through the REST API, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the
|
|
215
|
+
* form <code>
|
|
216
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. The hostname isn't required when you use the Amazon Web Services CLI or SDKs.</p>
|
|
217
|
+
* </li>
|
|
218
|
+
* </ul>
|
|
209
219
|
* </dd>
|
|
210
220
|
* </dl>
|
|
211
221
|
* <p>The following operations are related to <code>CopyObject</code>:</p>
|
|
@@ -56,8 +56,8 @@ declare const CreateBucketCommand_base: {
|
|
|
56
56
|
* <p>
|
|
57
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
59
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
61
61
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
62
62
|
* </li>
|
|
63
63
|
* </ul>
|
|
@@ -186,7 +186,7 @@ declare const CreateBucketCommand_base: {
|
|
|
186
186
|
* ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
|
|
187
187
|
* Bucket: "STRING_VALUE", // required
|
|
188
188
|
* CreateBucketConfiguration: { // CreateBucketConfiguration
|
|
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
|
+
* 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" || "ap-southeast-4" || "ap-southeast-5" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-central-2" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "il-central-1" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
|
|
190
190
|
* Location: { // LocationInfo
|
|
191
191
|
* Type: "AvailabilityZone" || "LocalZone",
|
|
192
192
|
* Name: "STRING_VALUE",
|
|
@@ -54,9 +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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
60
60
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
61
61
|
* </li>
|
|
62
62
|
* </ul>
|
|
@@ -54,8 +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>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/
|
|
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">
|
|
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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
59
59
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
60
60
|
* </li>
|
|
61
61
|
* <li>
|
|
@@ -41,8 +41,8 @@ declare const DeleteBucketCommand_base: {
|
|
|
41
41
|
* <p>
|
|
42
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
44
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
46
46
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
47
47
|
* </li>
|
|
48
48
|
* </ul>
|
|
@@ -66,8 +66,8 @@ declare const DeleteBucketLifecycleCommand_base: {
|
|
|
66
66
|
* <p>
|
|
67
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
69
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
71
71
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
72
72
|
* </note>
|
|
73
73
|
* </li>
|
|
@@ -32,8 +32,8 @@ declare const DeleteBucketPolicyCommand_base: {
|
|
|
32
32
|
* <p>
|
|
33
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
35
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
37
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
38
|
* </note>
|
|
39
39
|
* <dl>
|
|
@@ -48,9 +48,9 @@ declare const DeleteObjectCommand_base: {
|
|
|
48
48
|
* </li>
|
|
49
49
|
* <li>
|
|
50
50
|
* <p>
|
|
51
|
-
* <b>Directory buckets</b> - 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
|
|
52
|
-
* </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/
|
|
53
|
-
* <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">
|
|
51
|
+
* <b>Directory buckets</b> - 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>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
52
|
+
* </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/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
53
|
+
* <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">Concepts for directory buckets in Local Zones</a> in the
|
|
54
54
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
55
55
|
* </li>
|
|
56
56
|
* </ul>
|
|
@@ -80,39 +80,39 @@ declare const DeleteObjectTaggingCommand_base: {
|
|
|
80
80
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
81
81
|
*
|
|
82
82
|
* @public
|
|
83
|
-
* @example To remove tag set from an object
|
|
83
|
+
* @example To remove tag set from an object version
|
|
84
84
|
* ```javascript
|
|
85
|
-
* // The following example removes tag set associated with the specified object.
|
|
85
|
+
* // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
|
|
86
86
|
* const input = {
|
|
87
87
|
* "Bucket": "examplebucket",
|
|
88
|
-
* "Key": "HappyFace.jpg"
|
|
88
|
+
* "Key": "HappyFace.jpg",
|
|
89
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
89
90
|
* };
|
|
90
91
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
91
92
|
* const response = await client.send(command);
|
|
92
93
|
* /* response ==
|
|
93
94
|
* {
|
|
94
|
-
* "VersionId": "
|
|
95
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
95
96
|
* }
|
|
96
97
|
* *\/
|
|
97
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
98
|
+
* // example id: to-remove-tag-set-from-an-object-version-1483145285913
|
|
98
99
|
* ```
|
|
99
100
|
*
|
|
100
|
-
* @example To remove tag set from an object
|
|
101
|
+
* @example To remove tag set from an object
|
|
101
102
|
* ```javascript
|
|
102
|
-
* // The following example removes tag set associated with the specified object
|
|
103
|
+
* // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
|
|
103
104
|
* const input = {
|
|
104
105
|
* "Bucket": "examplebucket",
|
|
105
|
-
* "Key": "HappyFace.jpg"
|
|
106
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
106
|
+
* "Key": "HappyFace.jpg"
|
|
107
107
|
* };
|
|
108
108
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
109
109
|
* const response = await client.send(command);
|
|
110
110
|
* /* response ==
|
|
111
111
|
* {
|
|
112
|
-
* "VersionId": "
|
|
112
|
+
* "VersionId": "null"
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
115
|
+
* // example id: to-remove-tag-set-from-an-object-1483145342862
|
|
116
116
|
* ```
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
@@ -31,12 +31,11 @@ declare const DeleteObjectsCommand_base: {
|
|
|
31
31
|
* request. If you know the object keys that you want to delete, then this operation provides
|
|
32
32
|
* a suitable alternative to sending individual delete requests, reducing per-request
|
|
33
33
|
* overhead.</p>
|
|
34
|
-
* <p>The request can contain a list of up to
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* the result as deleted.</p>
|
|
34
|
+
* <p>The request can contain a list of up to 1,000 keys that you want to delete. In the XML, you
|
|
35
|
+
* provide the object key names, and optionally, version IDs if you want to delete a specific
|
|
36
|
+
* version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a
|
|
37
|
+
* delete operation and returns the result of that delete, success or failure, in the response.
|
|
38
|
+
* If the object specified in the request isn't found, Amazon S3 confirms the deletion by returning the result as deleted.</p>
|
|
40
39
|
* <note>
|
|
41
40
|
* <ul>
|
|
42
41
|
* <li>
|
|
@@ -47,9 +46,9 @@ declare const DeleteObjectsCommand_base: {
|
|
|
47
46
|
* <li>
|
|
48
47
|
* <p>
|
|
49
48
|
* <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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
53
52
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
54
53
|
* </li>
|
|
55
54
|
* </ul>
|
|
@@ -76,8 +76,8 @@ declare const GetBucketLifecycleConfigurationCommand_base: {
|
|
|
76
76
|
* <p>
|
|
77
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
79
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
81
81
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
82
82
|
* </note>
|
|
83
83
|
* </li>
|
|
@@ -69,7 +69,7 @@ declare const GetBucketLocationCommand_base: {
|
|
|
69
69
|
* const command = new GetBucketLocationCommand(input);
|
|
70
70
|
* const response = await client.send(command);
|
|
71
71
|
* // { // GetBucketLocationOutput
|
|
72
|
-
* // 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",
|
|
72
|
+
* // 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" || "ap-southeast-4" || "ap-southeast-5" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-central-2" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "il-central-1" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
|
|
73
73
|
* // };
|
|
74
74
|
*
|
|
75
75
|
* ```
|
|
@@ -32,8 +32,8 @@ declare const GetBucketPolicyCommand_base: {
|
|
|
32
32
|
* <p>
|
|
33
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
35
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
37
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
38
|
* </note>
|
|
39
39
|
* <dl>
|
|
@@ -36,9 +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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
42
42
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
43
43
|
* </note>
|
|
44
44
|
* <dl>
|
|
@@ -42,9 +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>
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket--usw2-az1--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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
48
48
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
49
49
|
* <dl>
|
|
50
50
|
* <dt>Permissions</dt>
|
|
@@ -90,8 +90,8 @@ declare const HeadBucketCommand_base: {
|
|
|
90
90
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
91
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>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/
|
|
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">
|
|
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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
95
95
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
96
96
|
* </note>
|
|
97
97
|
* </dd>
|
|
@@ -170,9 +170,9 @@ declare const HeadObjectCommand_base: {
|
|
|
170
170
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
171
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>bucket
|
|
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/
|
|
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">
|
|
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>amzn-s3-demo-bucket</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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
176
176
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
177
177
|
* </note>
|
|
178
178
|
* </dd>
|
|
@@ -33,8 +33,8 @@ declare const ListDirectoryBucketsCommand_base: {
|
|
|
33
33
|
* <p>
|
|
34
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 about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
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">
|
|
36
|
+
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
|
|
38
38
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
39
39
|
* </note>
|
|
40
40
|
* <dl>
|