@aws-sdk/client-s3 3.721.0 → 3.723.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +489 -369
  2. package/dist-es/S3Client.js +1 -0
  3. package/dist-es/models/models_0.js +18 -16
  4. package/dist-es/models/models_1.js +10 -10
  5. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
  6. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -2
  7. package/dist-types/commands/CopyObjectCommand.d.ts +2 -2
  8. package/dist-types/commands/CreateBucketCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -2
  10. package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
  11. package/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
  12. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
  13. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteObjectCommand.d.ts +12 -12
  15. package/dist-types/commands/DeleteObjectsCommand.d.ts +24 -24
  16. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
  17. package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
  18. package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -2
  19. package/dist-types/commands/GetObjectCommand.d.ts +2 -2
  20. package/dist-types/commands/HeadBucketCommand.d.ts +2 -2
  21. package/dist-types/commands/HeadObjectCommand.d.ts +2 -2
  22. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
  23. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +34 -34
  24. package/dist-types/commands/ListObjectsV2Command.d.ts +2 -2
  25. package/dist-types/commands/ListPartsCommand.d.ts +2 -2
  26. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -2
  27. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -2
  28. package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -2
  29. package/dist-types/commands/PutObjectCommand.d.ts +46 -46
  30. package/dist-types/commands/UploadPartCommand.d.ts +2 -2
  31. package/dist-types/commands/UploadPartCopyCommand.d.ts +15 -15
  32. package/dist-types/models/models_0.d.ts +6 -5
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/runtimeConfig.d.ts +1 -1
  35. package/dist-types/runtimeConfig.native.d.ts +5 -5
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +29 -11
  39. package/package.json +60 -60
@@ -19,6 +19,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
19
19
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
20
20
  export { __Client };
21
21
  export class S3Client extends __Client {
22
+ config;
22
23
  constructor(...[configuration]) {
23
24
  const _config_0 = __getRuntimeConfig(configuration || {});
24
25
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -7,14 +7,14 @@ export const RequestPayer = {
7
7
  requester: "requester",
8
8
  };
9
9
  export class NoSuchUpload extends __BaseException {
10
+ name = "NoSuchUpload";
11
+ $fault = "client";
10
12
  constructor(opts) {
11
13
  super({
12
14
  name: "NoSuchUpload",
13
15
  $fault: "client",
14
16
  ...opts,
15
17
  });
16
- this.name = "NoSuchUpload";
17
- this.$fault = "client";
18
18
  Object.setPrototypeOf(this, NoSuchUpload.prototype);
19
19
  }
20
20
  }
@@ -87,38 +87,38 @@ export const TaggingDirective = {
87
87
  REPLACE: "REPLACE",
88
88
  };
89
89
  export class ObjectNotInActiveTierError extends __BaseException {
90
+ name = "ObjectNotInActiveTierError";
91
+ $fault = "client";
90
92
  constructor(opts) {
91
93
  super({
92
94
  name: "ObjectNotInActiveTierError",
93
95
  $fault: "client",
94
96
  ...opts,
95
97
  });
96
- this.name = "ObjectNotInActiveTierError";
97
- this.$fault = "client";
98
98
  Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);
99
99
  }
100
100
  }
101
101
  export class BucketAlreadyExists extends __BaseException {
102
+ name = "BucketAlreadyExists";
103
+ $fault = "client";
102
104
  constructor(opts) {
103
105
  super({
104
106
  name: "BucketAlreadyExists",
105
107
  $fault: "client",
106
108
  ...opts,
107
109
  });
108
- this.name = "BucketAlreadyExists";
109
- this.$fault = "client";
110
110
  Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
111
111
  }
112
112
  }
113
113
  export class BucketAlreadyOwnedByYou extends __BaseException {
114
+ name = "BucketAlreadyOwnedByYou";
115
+ $fault = "client";
114
116
  constructor(opts) {
115
117
  super({
116
118
  name: "BucketAlreadyOwnedByYou",
117
119
  $fault: "client",
118
120
  ...opts,
119
121
  });
120
- this.name = "BucketAlreadyOwnedByYou";
121
- this.$fault = "client";
122
122
  Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
123
123
  }
124
124
  }
@@ -179,14 +179,14 @@ export const SessionMode = {
179
179
  ReadWrite: "ReadWrite",
180
180
  };
181
181
  export class NoSuchBucket extends __BaseException {
182
+ name = "NoSuchBucket";
183
+ $fault = "client";
182
184
  constructor(opts) {
183
185
  super({
184
186
  name: "NoSuchBucket",
185
187
  $fault: "client",
186
188
  ...opts,
187
189
  });
188
- this.name = "NoSuchBucket";
189
- this.$fault = "client";
190
190
  Object.setPrototypeOf(this, NoSuchBucket.prototype);
191
191
  }
192
192
  }
@@ -373,28 +373,30 @@ export const ChecksumMode = {
373
373
  ENABLED: "ENABLED",
374
374
  };
375
375
  export class InvalidObjectState extends __BaseException {
376
+ name = "InvalidObjectState";
377
+ $fault = "client";
378
+ StorageClass;
379
+ AccessTier;
376
380
  constructor(opts) {
377
381
  super({
378
382
  name: "InvalidObjectState",
379
383
  $fault: "client",
380
384
  ...opts,
381
385
  });
382
- this.name = "InvalidObjectState";
383
- this.$fault = "client";
384
386
  Object.setPrototypeOf(this, InvalidObjectState.prototype);
385
387
  this.StorageClass = opts.StorageClass;
386
388
  this.AccessTier = opts.AccessTier;
387
389
  }
388
390
  }
389
391
  export class NoSuchKey extends __BaseException {
392
+ name = "NoSuchKey";
393
+ $fault = "client";
390
394
  constructor(opts) {
391
395
  super({
392
396
  name: "NoSuchKey",
393
397
  $fault: "client",
394
398
  ...opts,
395
399
  });
396
- this.name = "NoSuchKey";
397
- this.$fault = "client";
398
400
  Object.setPrototypeOf(this, NoSuchKey.prototype);
399
401
  }
400
402
  }
@@ -413,14 +415,14 @@ export const ObjectLockRetentionMode = {
413
415
  GOVERNANCE: "GOVERNANCE",
414
416
  };
415
417
  export class NotFound extends __BaseException {
418
+ name = "NotFound";
419
+ $fault = "client";
416
420
  constructor(opts) {
417
421
  super({
418
422
  name: "NotFound",
419
423
  $fault: "client",
420
424
  ...opts,
421
425
  });
422
- this.name = "NotFound";
423
- this.$fault = "client";
424
426
  Object.setPrototypeOf(this, NotFound.prototype);
425
427
  }
426
428
  }
@@ -6,62 +6,62 @@ export const MFADelete = {
6
6
  Enabled: "Enabled",
7
7
  };
8
8
  export class EncryptionTypeMismatch extends __BaseException {
9
+ name = "EncryptionTypeMismatch";
10
+ $fault = "client";
9
11
  constructor(opts) {
10
12
  super({
11
13
  name: "EncryptionTypeMismatch",
12
14
  $fault: "client",
13
15
  ...opts,
14
16
  });
15
- this.name = "EncryptionTypeMismatch";
16
- this.$fault = "client";
17
17
  Object.setPrototypeOf(this, EncryptionTypeMismatch.prototype);
18
18
  }
19
19
  }
20
20
  export class InvalidRequest extends __BaseException {
21
+ name = "InvalidRequest";
22
+ $fault = "client";
21
23
  constructor(opts) {
22
24
  super({
23
25
  name: "InvalidRequest",
24
26
  $fault: "client",
25
27
  ...opts,
26
28
  });
27
- this.name = "InvalidRequest";
28
- this.$fault = "client";
29
29
  Object.setPrototypeOf(this, InvalidRequest.prototype);
30
30
  }
31
31
  }
32
32
  export class InvalidWriteOffset extends __BaseException {
33
+ name = "InvalidWriteOffset";
34
+ $fault = "client";
33
35
  constructor(opts) {
34
36
  super({
35
37
  name: "InvalidWriteOffset",
36
38
  $fault: "client",
37
39
  ...opts,
38
40
  });
39
- this.name = "InvalidWriteOffset";
40
- this.$fault = "client";
41
41
  Object.setPrototypeOf(this, InvalidWriteOffset.prototype);
42
42
  }
43
43
  }
44
44
  export class TooManyParts extends __BaseException {
45
+ name = "TooManyParts";
46
+ $fault = "client";
45
47
  constructor(opts) {
46
48
  super({
47
49
  name: "TooManyParts",
48
50
  $fault: "client",
49
51
  ...opts,
50
52
  });
51
- this.name = "TooManyParts";
52
- this.$fault = "client";
53
53
  Object.setPrototypeOf(this, TooManyParts.prototype);
54
54
  }
55
55
  }
56
56
  export class ObjectAlreadyInActiveTierError extends __BaseException {
57
+ name = "ObjectAlreadyInActiveTierError";
58
+ $fault = "client";
57
59
  constructor(opts) {
58
60
  super({
59
61
  name: "ObjectAlreadyInActiveTierError",
60
62
  $fault: "client",
61
63
  ...opts,
62
64
  });
63
- this.name = "ObjectAlreadyInActiveTierError";
64
- this.$fault = "client";
65
65
  Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype);
66
66
  }
67
67
  }
@@ -52,8 +52,8 @@ declare const AbortMultipartUploadCommand_base: {
52
52
  * <p>
53
53
  * <b>Directory buckets</b> -
54
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
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>
@@ -67,8 +67,8 @@ declare const CompleteMultipartUploadCommand_base: {
67
67
  * <p>
68
68
  * <b>Directory buckets</b> -
69
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
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>
@@ -47,8 +47,8 @@ declare const CopyObjectCommand_base: {
47
47
  * <p>
48
48
  * <b>Directory buckets </b> -
49
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
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>
@@ -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/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
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>
@@ -55,8 +55,8 @@ declare const CreateMultipartUploadCommand_base: {
55
55
  * <p>
56
56
  * <b>Directory buckets </b> -
57
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
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/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
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/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
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/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
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/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
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>
@@ -49,8 +49,8 @@ declare const DeleteObjectCommand_base: {
49
49
  * <li>
50
50
  * <p>
51
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-name</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/s3-express-Regions-and-Zones.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">Available Local Zone for directory buckets</a> in the
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>
@@ -165,28 +165,28 @@ declare const DeleteObjectCommand_base: {
165
165
  * <p>Base exception class for all service exceptions from S3 service.</p>
166
166
  *
167
167
  * @public
168
- * @example To delete an object
168
+ * @example To delete an object (from a non-versioned bucket)
169
169
  * ```javascript
170
- * // The following example deletes an object from an S3 bucket.
170
+ * // The following example deletes an object from a non-versioned bucket.
171
171
  * const input = {
172
- * "Bucket": "examplebucket",
173
- * "Key": "objectkey.jpg"
172
+ * "Bucket": "ExampleBucket",
173
+ * "Key": "HappyFace.jpg"
174
174
  * };
175
175
  * const command = new DeleteObjectCommand(input);
176
176
  * await client.send(command);
177
- * // example id: to-delete-an-object-1472850136595
177
+ * // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
178
178
  * ```
179
179
  *
180
- * @example To delete an object (from a non-versioned bucket)
180
+ * @example To delete an object
181
181
  * ```javascript
182
- * // The following example deletes an object from a non-versioned bucket.
182
+ * // The following example deletes an object from an S3 bucket.
183
183
  * const input = {
184
- * "Bucket": "ExampleBucket",
185
- * "Key": "HappyFace.jpg"
184
+ * "Bucket": "examplebucket",
185
+ * "Key": "objectkey.jpg"
186
186
  * };
187
187
  * const command = new DeleteObjectCommand(input);
188
188
  * await client.send(command);
189
- * // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
189
+ * // example id: to-delete-an-object-1472850136595
190
190
  * ```
191
191
  *
192
192
  */
@@ -48,8 +48,8 @@ declare const DeleteObjectsCommand_base: {
48
48
  * <p>
49
49
  * <b>Directory buckets</b> -
50
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
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/endpoint-directory-buckets-AZ.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">Concepts for directory buckets in Local Zones</a> in the
53
53
  * <i>Amazon S3 User Guide</i>.</p>
54
54
  * </li>
55
55
  * </ul>
@@ -225,18 +225,20 @@ declare const DeleteObjectsCommand_base: {
225
225
  * <p>Base exception class for all service exceptions from S3 service.</p>
226
226
  *
227
227
  * @public
228
- * @example To delete multiple objects from a versioned bucket
228
+ * @example To delete multiple object versions from a versioned bucket
229
229
  * ```javascript
230
- * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
230
+ * // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.
231
231
  * const input = {
232
232
  * "Bucket": "examplebucket",
233
233
  * "Delete": {
234
234
  * "Objects": [
235
235
  * {
236
- * "Key": "objectkey1"
236
+ * "Key": "HappyFace.jpg",
237
+ * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
237
238
  * },
238
239
  * {
239
- * "Key": "objectkey2"
240
+ * "Key": "HappyFace.jpg",
241
+ * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
240
242
  * }
241
243
  * ],
242
244
  * "Quiet": false
@@ -248,35 +250,31 @@ declare const DeleteObjectsCommand_base: {
248
250
  * {
249
251
  * "Deleted": [
250
252
  * {
251
- * "DeleteMarker": "true",
252
- * "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
253
- * "Key": "objectkey1"
253
+ * "Key": "HappyFace.jpg",
254
+ * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
254
255
  * },
255
256
  * {
256
- * "DeleteMarker": "true",
257
- * "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
258
- * "Key": "objectkey2"
257
+ * "Key": "HappyFace.jpg",
258
+ * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
259
259
  * }
260
260
  * ]
261
261
  * }
262
262
  * *\/
263
- * // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
263
+ * // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
264
264
  * ```
265
265
  *
266
- * @example To delete multiple object versions from a versioned bucket
266
+ * @example To delete multiple objects from a versioned bucket
267
267
  * ```javascript
268
- * // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.
268
+ * // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
269
269
  * const input = {
270
270
  * "Bucket": "examplebucket",
271
271
  * "Delete": {
272
272
  * "Objects": [
273
273
  * {
274
- * "Key": "HappyFace.jpg",
275
- * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
274
+ * "Key": "objectkey1"
276
275
  * },
277
276
  * {
278
- * "Key": "HappyFace.jpg",
279
- * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
277
+ * "Key": "objectkey2"
280
278
  * }
281
279
  * ],
282
280
  * "Quiet": false
@@ -288,17 +286,19 @@ declare const DeleteObjectsCommand_base: {
288
286
  * {
289
287
  * "Deleted": [
290
288
  * {
291
- * "Key": "HappyFace.jpg",
292
- * "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
289
+ * "DeleteMarker": "true",
290
+ * "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
291
+ * "Key": "objectkey1"
293
292
  * },
294
293
  * {
295
- * "Key": "HappyFace.jpg",
296
- * "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
294
+ * "DeleteMarker": "true",
295
+ * "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
296
+ * "Key": "objectkey2"
297
297
  * }
298
298
  * ]
299
299
  * }
300
300
  * *\/
301
- * // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
301
+ * // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
302
302
  * ```
303
303
  *
304
304
  */
@@ -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/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
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>
@@ -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/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
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>
@@ -37,8 +37,8 @@ declare const GetObjectAttributesCommand_base: {
37
37
  * <p>
38
38
  * <b>Directory buckets</b> -
39
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
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>
@@ -43,8 +43,8 @@ declare const GetObjectCommand_base: {
43
43
  * <p>
44
44
  * <b>Directory buckets</b> -
45
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
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/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
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>
@@ -171,8 +171,8 @@ declare const HeadObjectCommand_base: {
171
171
  * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
172
172
  * <note>
173
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
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/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
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>