@aws-sdk/client-s3 3.701.0 → 3.705.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +334 -104
  4. package/dist-es/S3.js +6 -0
  5. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +32 -0
  6. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  7. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  8. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  9. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/endpoint/ruleset.js +3 -3
  12. package/dist-es/models/models_0.js +2 -12
  13. package/dist-es/models/models_1.js +13 -0
  14. package/dist-es/protocols/Aws_restXml.js +157 -0
  15. package/dist-types/S3.d.ts +21 -0
  16. package/dist-types/S3Client.d.ts +5 -2
  17. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
  18. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
  19. package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
  20. package/dist-types/commands/CreateBucketCommand.d.ts +19 -18
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
  23. package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
  24. package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
  25. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
  27. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
  29. package/dist-types/commands/DeleteObjectCommand.d.ts +53 -43
  30. package/dist-types/commands/DeleteObjectsCommand.d.ts +26 -25
  31. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  32. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
  33. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  34. package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
  35. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
  36. package/dist-types/commands/GetObjectCommand.d.ts +4 -3
  37. package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
  38. package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
  39. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
  40. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  41. package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  42. package/dist-types/commands/ListPartsCommand.d.ts +4 -3
  43. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  44. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -4
  45. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  46. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  47. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -3
  48. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  49. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  50. package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
  51. package/dist-types/commands/PutObjectCommand.d.ts +53 -52
  52. package/dist-types/commands/UploadPartCommand.d.ts +4 -3
  53. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
  54. package/dist-types/commands/index.d.ts +3 -0
  55. package/dist-types/models/models_0.d.ts +443 -411
  56. package/dist-types/models/models_1.d.ts +394 -18
  57. package/dist-types/protocols/Aws_restXml.d.ts +27 -0
  58. package/dist-types/ts3.4/S3.d.ts +69 -0
  59. package/dist-types/ts3.4/S3Client.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  62. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +49 -66
  72. package/dist-types/ts3.4/models/models_1.d.ts +74 -0
  73. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  74. package/package.json +1 -1
@@ -88,9 +88,10 @@ declare const HeadBucketCommand_base: {
88
88
  * <dd>
89
89
  * <p>
90
90
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
91
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
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>az_id</i>.<i>region</i>.amazonaws.com</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
93
+ * <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
94
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
94
95
  * <i>Amazon S3 User Guide</i>.</p>
95
96
  * </note>
96
97
  * </dd>
@@ -108,7 +109,7 @@ declare const HeadBucketCommand_base: {
108
109
  * const command = new HeadBucketCommand(input);
109
110
  * const response = await client.send(command);
110
111
  * // { // HeadBucketOutput
111
- * // BucketLocationType: "AvailabilityZone",
112
+ * // BucketLocationType: "AvailabilityZone" || "LocalZone",
112
113
  * // BucketLocationName: "STRING_VALUE",
113
114
  * // BucketRegion: "STRING_VALUE",
114
115
  * // AccessPointAlias: true || false,
@@ -168,10 +168,11 @@ declare const HeadObjectCommand_base: {
168
168
  * <dd>
169
169
  * <p>
170
170
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
171
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
171
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
172
172
  * <note>
173
- * <p>For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
174
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
173
+ * <p>For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
174
+ * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
175
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
175
176
  * <i>Amazon S3 User Guide</i>.</p>
176
177
  * </note>
177
178
  * </dd>
@@ -31,9 +31,10 @@ declare const ListDirectoryBucketsCommand_base: {
31
31
  * request. For more information about directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
32
32
  * <note>
33
33
  * <p>
34
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
34
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
35
35
  * </code>. Virtual-hosted-style requests aren't supported.
36
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
36
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
37
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
37
38
  * <i>Amazon S3 User Guide</i>.</p>
38
39
  * </note>
39
40
  * <dl>
@@ -67,8 +67,9 @@ declare const ListMultipartUploadsCommand_base: {
67
67
  * <note>
68
68
  * <p>
69
69
  * <b>Directory buckets</b> -
70
- * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
71
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
70
+ * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
71
+ * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
72
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
72
73
  * <i>Amazon S3 User Guide</i>.</p>
73
74
  * </note>
74
75
  * <dl>
@@ -129,7 +130,7 @@ declare const ListMultipartUploadsCommand_base: {
129
130
  * <dd>
130
131
  * <p>
131
132
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
132
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
133
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
133
134
  * </dd>
134
135
  * </dl>
135
136
  * <p>The following operations are related to <code>ListMultipartUploads</code>:</p>
@@ -51,8 +51,9 @@ declare const ListObjectsV2Command_base: {
51
51
  * <li>
52
52
  * <p>
53
53
  * <b>Directory buckets</b> -
54
- * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
55
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
54
+ * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
55
+ * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
56
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
56
57
  * <i>Amazon S3 User Guide</i>.</p>
57
58
  * </li>
58
59
  * </ul>
@@ -103,7 +104,7 @@ declare const ListObjectsV2Command_base: {
103
104
  * <dd>
104
105
  * <p>
105
106
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
106
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
107
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
107
108
  * </dd>
108
109
  * </dl>
109
110
  * <important>
@@ -43,8 +43,9 @@ declare const ListPartsCommand_base: {
43
43
  * <note>
44
44
  * <p>
45
45
  * <b>Directory buckets</b> -
46
- * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
47
- * </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
46
+ * For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
47
+ * </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
48
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
48
49
  * <i>Amazon S3 User Guide</i>.</p>
49
50
  * </note>
50
51
  * <dl>
@@ -78,7 +79,7 @@ declare const ListPartsCommand_base: {
78
79
  * <dd>
79
80
  * <p>
80
81
  * <b>Directory buckets </b> - The HTTP Host header syntax is <code>
81
- * <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
82
+ * <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
82
83
  * </dd>
83
84
  * </dl>
84
85
  * <p>The following operations are related to <code>ListParts</code>:</p>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketCorsRequest } from "../models/models_0";
3
+ import { PutBucketCorsRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketEncryptionRequest } from "../models/models_0";
3
+ import { PutBucketEncryptionRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -31,9 +31,10 @@ declare const PutBucketEncryptionCommand_base: {
31
31
  * bucket.</p>
32
32
  * <note>
33
33
  * <p>
34
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
34
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
35
35
  * </code>. Virtual-hosted-style requests aren't supported.
36
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
36
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
37
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
37
38
  * <i>Amazon S3 User Guide</i>.</p>
38
39
  * </note>
39
40
  * <p>By default, all buckets have a default encryption configuration that uses server-side
@@ -137,7 +138,7 @@ declare const PutBucketEncryptionCommand_base: {
137
138
  * <dt>HTTP Host header syntax</dt>
138
139
  * <dd>
139
140
  * <p>
140
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
141
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
141
142
  * </dd>
142
143
  * </dl>
143
144
  * <p>The following operations are related to <code>PutBucketEncryption</code>:</p>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketInventoryConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketInventoryConfigurationRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -32,6 +32,10 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
32
32
  * so if you want to retain any configuration details, they must be included in the new
33
33
  * lifecycle configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing
34
34
  * your storage lifecycle</a>.</p>
35
+ * <note>
36
+ * <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.
37
+ * For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
38
+ * </note>
35
39
  * <dl>
36
40
  * <dt>Rules</dt>
37
41
  * <dt>Permissions</dt>
@@ -127,9 +131,10 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
127
131
  * <i>Amazon S3 User Guide</i>.</p>
128
132
  * <note>
129
133
  * <p>
130
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
134
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
131
135
  * </code>. Virtual-hosted-style requests aren't supported.
132
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
136
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
137
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
133
138
  * <i>Amazon S3 User Guide</i>.</p>
134
139
  * </note>
135
140
  * </li>
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLoggingRequest } from "../models/models_0";
3
+ import { PutBucketLoggingRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketMetricsConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketMetricsConfigurationRequest } from "../models/models_1";
4
4
  import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
5
5
  /**
6
6
  * @public
@@ -30,9 +30,10 @@ declare const PutBucketPolicyCommand_base: {
30
30
  * <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket.</p>
31
31
  * <note>
32
32
  * <p>
33
- * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
33
+ * <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
34
34
  * </code>. Virtual-hosted-style requests aren't supported.
35
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
35
+ * For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
36
+ * <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Available Local Zone for directory buckets</a> in the
36
37
  * <i>Amazon S3 User Guide</i>.</p>
37
38
  * </note>
38
39
  * <dl>
@@ -87,7 +88,7 @@ declare const PutBucketPolicyCommand_base: {
87
88
  * <dt>HTTP Host header syntax</dt>
88
89
  * <dd>
89
90
  * <p>
90
- * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
91
+ * <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
91
92
  * </dd>
92
93
  * </dl>
93
94
  * <p>The following operations are related to <code>PutBucketPolicy</code>:</p>
@@ -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,116 +288,119 @@ 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 object and specify user-defined metadata
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 creates an object. The request also specifies optional metadata. 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
- * "Tagging": "key1=value1&key2=value2"
297
+ * "Key": "exampleobject",
298
+ * "Metadata": {
299
+ * "metadata1": "value1",
300
+ * "metadata2": "value2"
301
+ * }
298
302
  * };
299
303
  * const command = new PutObjectCommand(input);
300
304
  * const response = await client.send(command);
301
305
  * /* response ==
302
306
  * {
303
307
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
304
- * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
308
+ * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
305
309
  * }
306
310
  * *\/
307
- * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
311
+ * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
308
312
  * ```
309
313
  *
310
- * @example To upload an object and specify canned ACL.
314
+ * @example To upload an object and specify optional tags
311
315
  * ```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.
316
+ * // 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.
313
317
  * const input = {
314
- * "ACL": "authenticated-read",
315
- * "Body": "filetoupload",
318
+ * "Body": "c:\\HappyFace.jpg",
316
319
  * "Bucket": "examplebucket",
317
- * "Key": "exampleobject"
320
+ * "Key": "HappyFace.jpg",
321
+ * "Tagging": "key1=value1&key2=value2"
318
322
  * };
319
323
  * const command = new PutObjectCommand(input);
320
324
  * const response = await client.send(command);
321
325
  * /* response ==
322
326
  * {
323
327
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
324
- * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
328
+ * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
325
329
  * }
326
330
  * *\/
327
- * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
331
+ * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
328
332
  * ```
329
333
  *
330
- * @example To upload an object
334
+ * @example To upload an object (specify optional headers)
331
335
  * ```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.
336
+ * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
333
337
  * const input = {
334
338
  * "Body": "HappyFace.jpg",
335
339
  * "Bucket": "examplebucket",
336
- * "Key": "HappyFace.jpg"
340
+ * "Key": "HappyFace.jpg",
341
+ * "ServerSideEncryption": "AES256",
342
+ * "StorageClass": "STANDARD_IA"
337
343
  * };
338
344
  * const command = new PutObjectCommand(input);
339
345
  * const response = await client.send(command);
340
346
  * /* response ==
341
347
  * {
342
348
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
343
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
349
+ * "ServerSideEncryption": "AES256",
350
+ * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
344
351
  * }
345
352
  * *\/
346
- * // example id: to-upload-an-object-1481760101010
353
+ * // example id: to-upload-an-object-(specify-optional-headers)
347
354
  * ```
348
355
  *
349
- * @example To upload object and specify user-defined metadata
356
+ * @example To upload an object and specify canned ACL.
350
357
  * ```javascript
351
- * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
358
+ * // 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.
352
359
  * const input = {
360
+ * "ACL": "authenticated-read",
353
361
  * "Body": "filetoupload",
354
362
  * "Bucket": "examplebucket",
355
- * "Key": "exampleobject",
356
- * "Metadata": {
357
- * "metadata1": "value1",
358
- * "metadata2": "value2"
359
- * }
363
+ * "Key": "exampleobject"
360
364
  * };
361
365
  * const command = new PutObjectCommand(input);
362
366
  * const response = await client.send(command);
363
367
  * /* response ==
364
368
  * {
365
369
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
366
- * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
370
+ * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
367
371
  * }
368
372
  * *\/
369
- * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
373
+ * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
370
374
  * ```
371
375
  *
372
- * @example To create an object.
376
+ * @example To upload an object
373
377
  * ```javascript
374
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
378
+ * // 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.
375
379
  * const input = {
376
- * "Body": "filetoupload",
380
+ * "Body": "HappyFace.jpg",
377
381
  * "Bucket": "examplebucket",
378
- * "Key": "objectkey"
382
+ * "Key": "HappyFace.jpg"
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": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
386
390
  * }
387
391
  * *\/
388
- * // example id: to-create-an-object-1483147613675
392
+ * // example id: to-upload-an-object-1481760101010
389
393
  * ```
390
394
  *
391
- * @example To upload an object (specify optional headers)
395
+ * @example To upload an object and specify server-side encryption and object tags
392
396
  * ```javascript
393
- * // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
397
+ * // 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.
394
398
  * const input = {
395
- * "Body": "HappyFace.jpg",
399
+ * "Body": "filetoupload",
396
400
  * "Bucket": "examplebucket",
397
- * "Key": "HappyFace.jpg",
401
+ * "Key": "exampleobject",
398
402
  * "ServerSideEncryption": "AES256",
399
- * "StorageClass": "STANDARD_IA"
403
+ * "Tagging": "key1=value1&key2=value2"
400
404
  * };
401
405
  * const command = new PutObjectCommand(input);
402
406
  * const response = await client.send(command);
@@ -404,32 +408,29 @@ declare const PutObjectCommand_base: {
404
408
  * {
405
409
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
406
410
  * "ServerSideEncryption": "AES256",
407
- * "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
411
+ * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
408
412
  * }
409
413
  * *\/
410
- * // example id: to-upload-an-object-(specify-optional-headers)
414
+ * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
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
  */
@@ -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>
@@ -2,6 +2,7 @@ export * from "./AbortMultipartUploadCommand";
2
2
  export * from "./CompleteMultipartUploadCommand";
3
3
  export * from "./CopyObjectCommand";
4
4
  export * from "./CreateBucketCommand";
5
+ export * from "./CreateBucketMetadataTableConfigurationCommand";
5
6
  export * from "./CreateMultipartUploadCommand";
6
7
  export * from "./CreateSessionCommand";
7
8
  export * from "./DeleteBucketAnalyticsConfigurationCommand";
@@ -11,6 +12,7 @@ export * from "./DeleteBucketEncryptionCommand";
11
12
  export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
12
13
  export * from "./DeleteBucketInventoryConfigurationCommand";
13
14
  export * from "./DeleteBucketLifecycleCommand";
15
+ export * from "./DeleteBucketMetadataTableConfigurationCommand";
14
16
  export * from "./DeleteBucketMetricsConfigurationCommand";
15
17
  export * from "./DeleteBucketOwnershipControlsCommand";
16
18
  export * from "./DeleteBucketPolicyCommand";
@@ -31,6 +33,7 @@ export * from "./GetBucketInventoryConfigurationCommand";
31
33
  export * from "./GetBucketLifecycleConfigurationCommand";
32
34
  export * from "./GetBucketLocationCommand";
33
35
  export * from "./GetBucketLoggingCommand";
36
+ export * from "./GetBucketMetadataTableConfigurationCommand";
34
37
  export * from "./GetBucketMetricsConfigurationCommand";
35
38
  export * from "./GetBucketNotificationConfigurationCommand";
36
39
  export * from "./GetBucketOwnershipControlsCommand";