@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.
Files changed (61) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/index.js +26 -2
  3. package/dist-es/commands/DeleteObjectsCommand.js +1 -0
  4. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -0
  5. package/dist-es/commands/PutBucketAclCommand.js +1 -0
  6. package/dist-es/commands/PutBucketCorsCommand.js +1 -0
  7. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -0
  8. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -0
  9. package/dist-es/commands/PutBucketLoggingCommand.js +1 -0
  10. package/dist-es/commands/PutBucketPolicyCommand.js +1 -0
  11. package/dist-es/commands/PutBucketReplicationCommand.js +1 -0
  12. package/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -0
  13. package/dist-es/commands/PutBucketTaggingCommand.js +1 -0
  14. package/dist-es/commands/PutBucketVersioningCommand.js +1 -0
  15. package/dist-es/commands/PutBucketWebsiteCommand.js +1 -0
  16. package/dist-es/commands/PutObjectAclCommand.js +1 -0
  17. package/dist-es/commands/PutObjectCommand.js +1 -0
  18. package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
  19. package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
  20. package/dist-es/commands/PutObjectRetentionCommand.js +1 -0
  21. package/dist-es/commands/PutObjectTaggingCommand.js +1 -0
  22. package/dist-es/commands/PutPublicAccessBlockCommand.js +1 -0
  23. package/dist-es/commands/RestoreObjectCommand.js +1 -0
  24. package/dist-es/commands/UploadPartCommand.js +1 -0
  25. package/dist-es/endpoint/ruleset.js +3 -3
  26. package/dist-es/models/models_0.js +2 -0
  27. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
  28. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
  29. package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
  30. package/dist-types/commands/CreateBucketCommand.d.ts +6 -5
  31. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
  32. package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
  33. package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
  34. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
  36. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
  37. package/dist-types/commands/DeleteObjectCommand.d.ts +63 -53
  38. package/dist-types/commands/DeleteObjectsCommand.d.ts +4 -3
  39. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  40. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
  41. package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
  42. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
  43. package/dist-types/commands/GetObjectCommand.d.ts +23 -22
  44. package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
  45. package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
  46. package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
  47. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
  48. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  49. package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  50. package/dist-types/commands/ListPartsCommand.d.ts +4 -3
  51. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +4 -3
  52. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -2
  53. package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
  54. package/dist-types/commands/PutObjectCommand.d.ts +36 -35
  55. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  56. package/dist-types/commands/UploadPartCommand.d.ts +4 -3
  57. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
  58. package/dist-types/models/models_0.d.ts +69 -62
  59. package/dist-types/models/models_1.d.ts +42 -17
  60. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  61. package/package.json +2 -2
@@ -45,8 +45,9 @@ declare const PutObjectCommand_base: {
45
45
  * <li>
46
46
  * <p>
47
47
  * <b>Directory buckets</b> -
48
- * 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>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
49
- * </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
48
+ * 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>
49
+ * </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
50
+ * <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
51
  * <i>Amazon S3 User Guide</i>.</p>
51
52
  * </li>
52
53
  * </ul>
@@ -156,7 +157,7 @@ declare const PutObjectCommand_base: {
156
157
  * <dd>
157
158
  * <p>
158
159
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
159
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
160
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
160
161
  * </dd>
161
162
  * </dl>
162
163
  * <p>For more information about related Amazon S3 APIs, see the following:</p>
@@ -287,13 +288,14 @@ declare const PutObjectCommand_base: {
287
288
  * <p>Base exception class for all service exceptions from S3 service.</p>
288
289
  *
289
290
  * @public
290
- * @example To upload an object and specify optional tags
291
+ * @example To upload an object and specify server-side encryption and object tags
291
292
  * ```javascript
292
- * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
293
+ * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
293
294
  * const input = {
294
- * "Body": "c:\\HappyFace.jpg",
295
+ * "Body": "filetoupload",
295
296
  * "Bucket": "examplebucket",
296
- * "Key": "HappyFace.jpg",
297
+ * "Key": "exampleobject",
298
+ * "ServerSideEncryption": "AES256",
297
299
  * "Tagging": "key1=value1&key2=value2"
298
300
  * };
299
301
  * const command = new PutObjectCommand(input);
@@ -301,49 +303,50 @@ declare const PutObjectCommand_base: {
301
303
  * /* response ==
302
304
  * {
303
305
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
304
- * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
306
+ * "ServerSideEncryption": "AES256",
307
+ * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
305
308
  * }
306
309
  * *\/
307
- * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
310
+ * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
308
311
  * ```
309
312
  *
310
- * @example To upload an object and specify canned ACL.
313
+ * @example To upload an object
311
314
  * ```javascript
312
- * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
315
+ * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
313
316
  * const input = {
314
- * "ACL": "authenticated-read",
315
- * "Body": "filetoupload",
317
+ * "Body": "HappyFace.jpg",
316
318
  * "Bucket": "examplebucket",
317
- * "Key": "exampleobject"
319
+ * "Key": "HappyFace.jpg"
318
320
  * };
319
321
  * const command = new PutObjectCommand(input);
320
322
  * const response = await client.send(command);
321
323
  * /* response ==
322
324
  * {
323
325
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
324
- * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
326
+ * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
325
327
  * }
326
328
  * *\/
327
- * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
329
+ * // example id: to-upload-an-object-1481760101010
328
330
  * ```
329
331
  *
330
- * @example To upload an object
332
+ * @example To upload an object and specify optional tags
331
333
  * ```javascript
332
- * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
334
+ * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
333
335
  * const input = {
334
- * "Body": "HappyFace.jpg",
336
+ * "Body": "c:\\HappyFace.jpg",
335
337
  * "Bucket": "examplebucket",
336
- * "Key": "HappyFace.jpg"
338
+ * "Key": "HappyFace.jpg",
339
+ * "Tagging": "key1=value1&key2=value2"
337
340
  * };
338
341
  * const command = new PutObjectCommand(input);
339
342
  * const response = await client.send(command);
340
343
  * /* response ==
341
344
  * {
342
345
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
343
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
346
+ * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
344
347
  * }
345
348
  * *\/
346
- * // example id: to-upload-an-object-1481760101010
349
+ * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
347
350
  * ```
348
351
  *
349
352
  * @example To upload object and specify user-defined metadata
@@ -369,23 +372,24 @@ declare const PutObjectCommand_base: {
369
372
  * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
370
373
  * ```
371
374
  *
372
- * @example To create an object.
375
+ * @example To upload an object and specify canned ACL.
373
376
  * ```javascript
374
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
377
+ * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
375
378
  * const input = {
379
+ * "ACL": "authenticated-read",
376
380
  * "Body": "filetoupload",
377
381
  * "Bucket": "examplebucket",
378
- * "Key": "objectkey"
382
+ * "Key": "exampleobject"
379
383
  * };
380
384
  * const command = new PutObjectCommand(input);
381
385
  * const response = await client.send(command);
382
386
  * /* response ==
383
387
  * {
384
388
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
385
- * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
389
+ * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
386
390
  * }
387
391
  * *\/
388
- * // example id: to-create-an-object-1483147613675
392
+ * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
389
393
  * ```
390
394
  *
391
395
  * @example To upload an object (specify optional headers)
@@ -410,26 +414,23 @@ declare const PutObjectCommand_base: {
410
414
  * // example id: to-upload-an-object-(specify-optional-headers)
411
415
  * ```
412
416
  *
413
- * @example To upload an object and specify server-side encryption and object tags
417
+ * @example To create an object.
414
418
  * ```javascript
415
- * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
419
+ * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
416
420
  * const input = {
417
421
  * "Body": "filetoupload",
418
422
  * "Bucket": "examplebucket",
419
- * "Key": "exampleobject",
420
- * "ServerSideEncryption": "AES256",
421
- * "Tagging": "key1=value1&key2=value2"
423
+ * "Key": "objectkey"
422
424
  * };
423
425
  * const command = new PutObjectCommand(input);
424
426
  * const response = await client.send(command);
425
427
  * /* response ==
426
428
  * {
427
429
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
428
- * "ServerSideEncryption": "AES256",
429
- * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
430
+ * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
430
431
  * }
431
432
  * *\/
432
- * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
433
+ * // example id: to-create-an-object-1483147613675
433
434
  * ```
434
435
  *
435
436
  */
@@ -24,7 +24,7 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
24
24
  declare const PutObjectRetentionCommand_base: {
25
25
  new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; /** @internal type navigation helper, not in runtime. */
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
30
  * <note>
@@ -54,8 +54,9 @@ declare const UploadPartCommand_base: {
54
54
  * <note>
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_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
58
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
57
+ * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
58
+ * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
59
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
59
60
  * <i>Amazon S3 User Guide</i>.</p>
60
61
  * </note>
61
62
  * <dl>
@@ -186,7 +187,7 @@ declare const UploadPartCommand_base: {
186
187
  * <dd>
187
188
  * <p>
188
189
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
189
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
190
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
190
191
  * </dd>
191
192
  * </dl>
192
193
  * <p>The following operations are related to <code>UploadPart</code>:</p>
@@ -48,8 +48,9 @@ declare const UploadPartCopyCommand_base: {
48
48
  * <note>
49
49
  * <p>
50
50
  * <b>Directory buckets</b> -
51
- * 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>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
52
- * </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
51
+ * 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
53
54
  * <i>Amazon S3 User Guide</i>.</p>
54
55
  * </note>
55
56
  * <dl>
@@ -216,7 +217,7 @@ declare const UploadPartCopyCommand_base: {
216
217
  * <dd>
217
218
  * <p>
218
219
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
219
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
220
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
220
221
  * </dd>
221
222
  * </dl>
222
223
  * <p>The following operations are related to <code>UploadPartCopy</code>:</p>
@@ -61,8 +61,8 @@ export interface AbortMultipartUploadRequest {
61
61
  * <p>
62
62
  * <b>Directory buckets</b> -
63
63
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
64
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
65
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
64
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
65
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
66
66
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
67
67
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
68
68
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -563,8 +563,8 @@ export interface CompleteMultipartUploadRequest {
563
563
  * <p>
564
564
  * <b>Directory buckets</b> -
565
565
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
566
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
567
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
566
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
567
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
568
568
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
569
569
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
570
570
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -760,7 +760,7 @@ export interface CopyObjectOutput {
760
760
  /**
761
761
  * <p>If the object expiration is configured, the response includes this header.</p>
762
762
  * <note>
763
- * <p>This functionality is not supported for directory buckets.</p>
763
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
764
764
  * </note>
765
765
  * @public
766
766
  */
@@ -972,13 +972,16 @@ export interface CopyObjectRequest {
972
972
  /**
973
973
  * <p>The name of the destination bucket.</p>
974
974
  * <p>
975
- * <b>Directory buckets</b> -
976
- * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
977
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
978
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
975
+ * <b>Directory buckets</b> - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
976
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
977
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
979
978
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
980
979
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
981
980
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
981
+ * <note>
982
+ * <p>Copying objects across different Amazon Web Services Regions isn't supported when the source or destination bucket is in Amazon Web Services Local Zones. The source and destination buckets must have the same parent Amazon Web Services Region. Otherwise,
983
+ * you get an HTTP <code>400 Bad Request</code> error with the error code <code>InvalidRequest</code>.</p>
984
+ * </note>
982
985
  * <p>
983
986
  * <b>Access points</b> - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
984
987
  * <note>
@@ -1718,6 +1721,7 @@ export type BucketCannedACL = (typeof BucketCannedACL)[keyof typeof BucketCanned
1718
1721
  */
1719
1722
  export declare const DataRedundancy: {
1720
1723
  readonly SingleAvailabilityZone: "SingleAvailabilityZone";
1724
+ readonly SingleLocalZone: "SingleLocalZone";
1721
1725
  };
1722
1726
  /**
1723
1727
  * @public
@@ -1744,7 +1748,7 @@ export type BucketType = (typeof BucketType)[keyof typeof BucketType];
1744
1748
  */
1745
1749
  export interface BucketInfo {
1746
1750
  /**
1747
- * <p>The number of Availability Zone that's used for redundancy for the bucket.</p>
1751
+ * <p>The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.</p>
1748
1752
  * @public
1749
1753
  */
1750
1754
  DataRedundancy?: DataRedundancy | undefined;
@@ -1760,6 +1764,7 @@ export interface BucketInfo {
1760
1764
  */
1761
1765
  export declare const LocationType: {
1762
1766
  readonly AvailabilityZone: "AvailabilityZone";
1767
+ readonly LocalZone: "LocalZone";
1763
1768
  };
1764
1769
  /**
1765
1770
  * @public
@@ -1767,8 +1772,8 @@ export declare const LocationType: {
1767
1772
  export type LocationType = (typeof LocationType)[keyof typeof LocationType];
1768
1773
  /**
1769
1774
  * <p>Specifies the location where the bucket will be created.</p>
1770
- * <p>For directory buckets, the location type is Availability Zone. For more information about
1771
- * 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>
1775
+ * <p>For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see
1776
+ * <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>
1772
1777
  * <note>
1773
1778
  * <p>This functionality is only supported by directory buckets.</p>
1774
1779
  * </note>
@@ -1782,8 +1787,7 @@ export interface LocationInfo {
1782
1787
  Type?: LocationType | undefined;
1783
1788
  /**
1784
1789
  * <p>The name of the location where the bucket will be created.</p>
1785
- * <p>For directory buckets, the name of the location is the AZ ID of the Availability Zone where the
1786
- * bucket will be created. An example AZ ID value is <code>usw2-az1</code>.</p>
1790
+ * <p>For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is <code>usw2-az1</code>.</p>
1787
1791
  * @public
1788
1792
  */
1789
1793
  Name?: string | undefined;
@@ -1847,7 +1851,11 @@ export interface CreateBucketConfiguration {
1847
1851
  LocationConstraint?: BucketLocationConstraint | undefined;
1848
1852
  /**
1849
1853
  * <p>Specifies the location where the bucket will be created.</p>
1850
- * <p>For directory buckets, the location type is Availability Zone.</p>
1854
+ * <p>
1855
+ * <b>Directory buckets </b> - The location type is Availability Zone or Local Zone.
1856
+ * When the location type is Local Zone, your Local Zone must be in opt-in status. Otherwise, you get an HTTP <code>400 Bad Request</code> error with the
1857
+ * error code <code>Access denied</code>. To learn more about opt-in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html">Opt-in Dedicated Local Zones</a>in the <i>Amazon S3 User Guide</i>.
1858
+ * </p>
1851
1859
  * <note>
1852
1860
  * <p>This functionality is only supported by directory buckets.</p>
1853
1861
  * </note>
@@ -1895,9 +1903,9 @@ export interface CreateBucketRequest {
1895
1903
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html">Bucket naming
1896
1904
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
1897
1905
  * <p>
1898
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
1899
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
1900
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
1906
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
1907
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
1908
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
1901
1909
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
1902
1910
  * </p>
1903
1911
  * @public
@@ -2127,8 +2135,8 @@ export interface CreateMultipartUploadRequest {
2127
2135
  * <p>
2128
2136
  * <b>Directory buckets</b> -
2129
2137
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
2130
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
2131
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
2138
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
2139
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2132
2140
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
2133
2141
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
2134
2142
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -2844,9 +2852,9 @@ export interface DeleteBucketRequest {
2844
2852
  /**
2845
2853
  * <p>Specifies the bucket being deleted.</p>
2846
2854
  * <p>
2847
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
2848
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
2849
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
2855
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
2856
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
2857
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2850
2858
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
2851
2859
  * </p>
2852
2860
  * @public
@@ -2909,9 +2917,9 @@ export interface DeleteBucketEncryptionRequest {
2909
2917
  * <p>The name of the bucket containing the server-side encryption configuration to
2910
2918
  * delete.</p>
2911
2919
  * <p>
2912
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
2913
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
2914
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
2920
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
2921
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
2922
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
2915
2923
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
2916
2924
  * </p>
2917
2925
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
@@ -3036,9 +3044,9 @@ export interface DeleteBucketPolicyRequest {
3036
3044
  /**
3037
3045
  * <p>The bucket name.</p>
3038
3046
  * <p>
3039
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
3040
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
3041
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
3047
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
3048
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
3049
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
3042
3050
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
3043
3051
  * </p>
3044
3052
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
@@ -3150,8 +3158,8 @@ export interface DeleteObjectRequest {
3150
3158
  * <p>
3151
3159
  * <b>Directory buckets</b> -
3152
3160
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
3153
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
3154
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
3161
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
3162
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
3155
3163
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
3156
3164
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
3157
3165
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -5301,8 +5309,8 @@ export interface DeleteObjectsRequest {
5301
5309
  * <p>
5302
5310
  * <b>Directory buckets</b> -
5303
5311
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
5304
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
5305
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
5312
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
5313
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
5306
5314
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
5307
5315
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
5308
5316
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -6069,9 +6077,9 @@ export interface GetBucketEncryptionRequest {
6069
6077
  * <p>The name of the bucket from which the server-side encryption configuration is
6070
6078
  * retrieved.</p>
6071
6079
  * <p>
6072
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
6073
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
6074
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
6080
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
6081
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
6082
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
6075
6083
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
6076
6084
  * </p>
6077
6085
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
@@ -7593,9 +7601,9 @@ export interface GetBucketPolicyRequest {
7593
7601
  /**
7594
7602
  * <p>The bucket name to get the bucket policy for.</p>
7595
7603
  * <p>
7596
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
7597
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
7598
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
7604
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
7605
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
7606
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
7599
7607
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
7600
7608
  * </p>
7601
7609
  * <p>
@@ -8588,7 +8596,7 @@ export interface GetObjectOutput {
8588
8596
  * providing object expiration information. The value of the <code>rule-id</code> is
8589
8597
  * URL-encoded.</p>
8590
8598
  * <note>
8591
- * <p>This functionality is not supported for directory buckets.</p>
8599
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
8592
8600
  * </note>
8593
8601
  * @public
8594
8602
  */
@@ -8858,8 +8866,8 @@ export interface GetObjectRequest {
8858
8866
  * <p>
8859
8867
  * <b>Directory buckets</b> -
8860
8868
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
8861
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
8862
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
8869
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
8870
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
8863
8871
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
8864
8872
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
8865
8873
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -9479,8 +9487,8 @@ export interface GetObjectAttributesRequest {
9479
9487
  * <p>
9480
9488
  * <b>Directory buckets</b> -
9481
9489
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
9482
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
9483
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
9490
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
9491
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
9484
9492
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
9485
9493
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
9486
9494
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -10045,8 +10053,7 @@ export interface HeadBucketOutput {
10045
10053
  BucketLocationType?: LocationType | undefined;
10046
10054
  /**
10047
10055
  * <p>The name of the location where the bucket will be created.</p>
10048
- * <p>For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example
10049
- * AZ ID value is <code>usw2-az1</code>.</p>
10056
+ * <p>For directory buckets, the Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone is <code>usw2-az1</code>.</p>
10050
10057
  * <note>
10051
10058
  * <p>This functionality is only supported by directory buckets.</p>
10052
10059
  * </note>
@@ -10076,8 +10083,8 @@ export interface HeadBucketRequest {
10076
10083
  * <p>
10077
10084
  * <b>Directory buckets</b> -
10078
10085
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
10079
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
10080
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
10086
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
10087
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
10081
10088
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
10082
10089
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
10083
10090
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -10155,7 +10162,7 @@ export interface HeadObjectOutput {
10155
10162
  * providing object expiration information. The value of the <code>rule-id</code> is
10156
10163
  * URL-encoded.</p>
10157
10164
  * <note>
10158
- * <p>This functionality is not supported for directory buckets.</p>
10165
+ * <p>Object expiration information is not returned in directory buckets and this header returns the value "<code>NotImplemented</code>" in all responses for directory buckets.</p>
10159
10166
  * </note>
10160
10167
  * @public
10161
10168
  */
@@ -10458,8 +10465,8 @@ export interface HeadObjectRequest {
10458
10465
  * <p>
10459
10466
  * <b>Directory buckets</b> -
10460
10467
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
10461
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
10462
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
10468
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
10469
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
10463
10470
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
10464
10471
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
10465
10472
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11255,8 +11262,8 @@ export interface ListMultipartUploadsRequest {
11255
11262
  * <p>
11256
11263
  * <b>Directory buckets</b> -
11257
11264
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11258
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11259
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
11265
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
11266
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11260
11267
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11261
11268
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11262
11269
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11665,8 +11672,8 @@ export interface ListObjectsRequest {
11665
11672
  * <p>
11666
11673
  * <b>Directory buckets</b> -
11667
11674
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11668
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11669
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
11675
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
11676
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11670
11677
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11671
11678
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11672
11679
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -11890,8 +11897,8 @@ export interface ListObjectsV2Request {
11890
11897
  * <p>
11891
11898
  * <b>Directory buckets</b> -
11892
11899
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
11893
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
11894
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
11900
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
11901
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
11895
11902
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
11896
11903
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
11897
11904
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -12499,8 +12506,8 @@ export interface ListPartsRequest {
12499
12506
  * <p>
12500
12507
  * <b>Directory buckets</b> -
12501
12508
  * When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format <code>
12502
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must follow the format <code>
12503
- * <i>bucket_base_name</i>--<i>az-id</i>--x-s3</code> (for example, <code>
12509
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format <code>
12510
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
12504
12511
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming
12505
12512
  * restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming
12506
12513
  * rules</a> in the <i>Amazon S3 User Guide</i>.</p>
@@ -12795,9 +12802,9 @@ export interface PutBucketEncryptionRequest {
12795
12802
  * <p>Specifies default encryption for a bucket using server-side encryption with different
12796
12803
  * key options.</p>
12797
12804
  * <p>
12798
- * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
12799
- * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format <code>
12800
- * <i>bucket_base_name</i>--<i>az_id</i>--x-s3</code> (for example, <code>
12805
+ * <b>Directory buckets </b> - When you use this operation with a directory bucket, you must use path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
12806
+ * </code>. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must also follow the format <code>
12807
+ * <i>bucket-base-name</i>--<i>zone-id</i>--x-s3</code> (for example, <code>
12801
12808
  * <i>DOC-EXAMPLE-BUCKET</i>--<i>usw2-az1</i>--x-s3</code>). For information about bucket naming restrictions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html">Directory bucket naming rules</a> in the <i>Amazon S3 User Guide</i>
12802
12809
  * </p>
12803
12810
  * <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.