@aws-sdk/client-s3tables 3.787.0 → 3.790.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 (45) hide show
  1. package/README.md +33 -1
  2. package/dist-cjs/S3Tables.js +8 -0
  3. package/dist-cjs/commands/DeleteTableBucketEncryptionCommand.js +26 -0
  4. package/dist-cjs/commands/GetTableBucketEncryptionCommand.js +26 -0
  5. package/dist-cjs/commands/GetTableEncryptionCommand.js +26 -0
  6. package/dist-cjs/commands/PutTableBucketEncryptionCommand.js +26 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +5 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +113 -2
  10. package/dist-es/S3Tables.js +8 -0
  11. package/dist-es/commands/DeleteTableBucketEncryptionCommand.js +22 -0
  12. package/dist-es/commands/GetTableBucketEncryptionCommand.js +22 -0
  13. package/dist-es/commands/GetTableEncryptionCommand.js +22 -0
  14. package/dist-es/commands/PutTableBucketEncryptionCommand.js +22 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/models/models_0.js +4 -0
  17. package/dist-es/protocols/Aws_restJson1.js +103 -0
  18. package/dist-types/S3Tables.d.ts +29 -1
  19. package/dist-types/S3TablesClient.d.ts +7 -3
  20. package/dist-types/commands/CreateTableBucketCommand.d.ts +12 -1
  21. package/dist-types/commands/CreateTableCommand.d.ts +16 -2
  22. package/dist-types/commands/DeleteTableBucketEncryptionCommand.d.ts +95 -0
  23. package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
  24. package/dist-types/commands/GetTableBucketCommand.d.ts +1 -0
  25. package/dist-types/commands/GetTableBucketEncryptionCommand.d.ts +99 -0
  26. package/dist-types/commands/GetTableCommand.d.ts +2 -0
  27. package/dist-types/commands/GetTableEncryptionCommand.d.ts +101 -0
  28. package/dist-types/commands/ListNamespacesCommand.d.ts +2 -0
  29. package/dist-types/commands/ListTableBucketsCommand.d.ts +1 -0
  30. package/dist-types/commands/ListTablesCommand.d.ts +2 -0
  31. package/dist-types/commands/PutTableBucketEncryptionCommand.d.ts +103 -0
  32. package/dist-types/commands/index.d.ts +4 -0
  33. package/dist-types/index.d.ts +1 -1
  34. package/dist-types/models/models_0.d.ts +171 -12
  35. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  36. package/dist-types/ts3.4/S3Tables.d.ts +68 -0
  37. package/dist-types/ts3.4/S3TablesClient.d.ts +24 -0
  38. package/dist-types/ts3.4/commands/DeleteTableBucketEncryptionCommand.d.ts +47 -0
  39. package/dist-types/ts3.4/commands/GetTableBucketEncryptionCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/GetTableEncryptionCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/PutTableBucketEncryptionCommand.d.ts +47 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +42 -0
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  45. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript S3Tables Client for Node.js, Browser and React Native.
8
8
 
9
- <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">AWS Glue Data Catalog</a> you can interact with your tables using AWS analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
9
+ <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">Amazon Web Services Glue Data Catalog</a> you can interact with your tables using Amazon Web Services analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
10
10
 
11
11
  ## Installing
12
12
 
@@ -250,6 +250,14 @@ DeleteTableBucket
250
250
 
251
251
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/DeleteTableBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/DeleteTableBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/DeleteTableBucketCommandOutput/)
252
252
 
253
+ </details>
254
+ <details>
255
+ <summary>
256
+ DeleteTableBucketEncryption
257
+ </summary>
258
+
259
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/DeleteTableBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/DeleteTableBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/DeleteTableBucketEncryptionCommandOutput/)
260
+
253
261
  </details>
254
262
  <details>
255
263
  <summary>
@@ -290,6 +298,14 @@ GetTableBucket
290
298
 
291
299
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/GetTableBucketCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketCommandOutput/)
292
300
 
301
+ </details>
302
+ <details>
303
+ <summary>
304
+ GetTableBucketEncryption
305
+ </summary>
306
+
307
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/GetTableBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketEncryptionCommandOutput/)
308
+
293
309
  </details>
294
310
  <details>
295
311
  <summary>
@@ -306,6 +322,14 @@ GetTableBucketPolicy
306
322
 
307
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/GetTableBucketPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableBucketPolicyCommandOutput/)
308
324
 
325
+ </details>
326
+ <details>
327
+ <summary>
328
+ GetTableEncryption
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/GetTableEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/GetTableEncryptionCommandOutput/)
332
+
309
333
  </details>
310
334
  <details>
311
335
  <summary>
@@ -362,6 +386,14 @@ ListTables
362
386
 
363
387
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/ListTablesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/ListTablesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/ListTablesCommandOutput/)
364
388
 
389
+ </details>
390
+ <details>
391
+ <summary>
392
+ PutTableBucketEncryption
393
+ </summary>
394
+
395
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3tables/command/PutTableBucketEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/PutTableBucketEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3tables/Interface/PutTableBucketEncryptionCommandOutput/)
396
+
365
397
  </details>
366
398
  <details>
367
399
  <summary>
@@ -7,14 +7,17 @@ const CreateTableBucketCommand_1 = require("./commands/CreateTableBucketCommand"
7
7
  const CreateTableCommand_1 = require("./commands/CreateTableCommand");
8
8
  const DeleteNamespaceCommand_1 = require("./commands/DeleteNamespaceCommand");
9
9
  const DeleteTableBucketCommand_1 = require("./commands/DeleteTableBucketCommand");
10
+ const DeleteTableBucketEncryptionCommand_1 = require("./commands/DeleteTableBucketEncryptionCommand");
10
11
  const DeleteTableBucketPolicyCommand_1 = require("./commands/DeleteTableBucketPolicyCommand");
11
12
  const DeleteTableCommand_1 = require("./commands/DeleteTableCommand");
12
13
  const DeleteTablePolicyCommand_1 = require("./commands/DeleteTablePolicyCommand");
13
14
  const GetNamespaceCommand_1 = require("./commands/GetNamespaceCommand");
14
15
  const GetTableBucketCommand_1 = require("./commands/GetTableBucketCommand");
16
+ const GetTableBucketEncryptionCommand_1 = require("./commands/GetTableBucketEncryptionCommand");
15
17
  const GetTableBucketMaintenanceConfigurationCommand_1 = require("./commands/GetTableBucketMaintenanceConfigurationCommand");
16
18
  const GetTableBucketPolicyCommand_1 = require("./commands/GetTableBucketPolicyCommand");
17
19
  const GetTableCommand_1 = require("./commands/GetTableCommand");
20
+ const GetTableEncryptionCommand_1 = require("./commands/GetTableEncryptionCommand");
18
21
  const GetTableMaintenanceConfigurationCommand_1 = require("./commands/GetTableMaintenanceConfigurationCommand");
19
22
  const GetTableMaintenanceJobStatusCommand_1 = require("./commands/GetTableMaintenanceJobStatusCommand");
20
23
  const GetTableMetadataLocationCommand_1 = require("./commands/GetTableMetadataLocationCommand");
@@ -22,6 +25,7 @@ const GetTablePolicyCommand_1 = require("./commands/GetTablePolicyCommand");
22
25
  const ListNamespacesCommand_1 = require("./commands/ListNamespacesCommand");
23
26
  const ListTableBucketsCommand_1 = require("./commands/ListTableBucketsCommand");
24
27
  const ListTablesCommand_1 = require("./commands/ListTablesCommand");
28
+ const PutTableBucketEncryptionCommand_1 = require("./commands/PutTableBucketEncryptionCommand");
25
29
  const PutTableBucketMaintenanceConfigurationCommand_1 = require("./commands/PutTableBucketMaintenanceConfigurationCommand");
26
30
  const PutTableBucketPolicyCommand_1 = require("./commands/PutTableBucketPolicyCommand");
27
31
  const PutTableMaintenanceConfigurationCommand_1 = require("./commands/PutTableMaintenanceConfigurationCommand");
@@ -36,13 +40,16 @@ const commands = {
36
40
  DeleteNamespaceCommand: DeleteNamespaceCommand_1.DeleteNamespaceCommand,
37
41
  DeleteTableCommand: DeleteTableCommand_1.DeleteTableCommand,
38
42
  DeleteTableBucketCommand: DeleteTableBucketCommand_1.DeleteTableBucketCommand,
43
+ DeleteTableBucketEncryptionCommand: DeleteTableBucketEncryptionCommand_1.DeleteTableBucketEncryptionCommand,
39
44
  DeleteTableBucketPolicyCommand: DeleteTableBucketPolicyCommand_1.DeleteTableBucketPolicyCommand,
40
45
  DeleteTablePolicyCommand: DeleteTablePolicyCommand_1.DeleteTablePolicyCommand,
41
46
  GetNamespaceCommand: GetNamespaceCommand_1.GetNamespaceCommand,
42
47
  GetTableCommand: GetTableCommand_1.GetTableCommand,
43
48
  GetTableBucketCommand: GetTableBucketCommand_1.GetTableBucketCommand,
49
+ GetTableBucketEncryptionCommand: GetTableBucketEncryptionCommand_1.GetTableBucketEncryptionCommand,
44
50
  GetTableBucketMaintenanceConfigurationCommand: GetTableBucketMaintenanceConfigurationCommand_1.GetTableBucketMaintenanceConfigurationCommand,
45
51
  GetTableBucketPolicyCommand: GetTableBucketPolicyCommand_1.GetTableBucketPolicyCommand,
52
+ GetTableEncryptionCommand: GetTableEncryptionCommand_1.GetTableEncryptionCommand,
46
53
  GetTableMaintenanceConfigurationCommand: GetTableMaintenanceConfigurationCommand_1.GetTableMaintenanceConfigurationCommand,
47
54
  GetTableMaintenanceJobStatusCommand: GetTableMaintenanceJobStatusCommand_1.GetTableMaintenanceJobStatusCommand,
48
55
  GetTableMetadataLocationCommand: GetTableMetadataLocationCommand_1.GetTableMetadataLocationCommand,
@@ -50,6 +57,7 @@ const commands = {
50
57
  ListNamespacesCommand: ListNamespacesCommand_1.ListNamespacesCommand,
51
58
  ListTableBucketsCommand: ListTableBucketsCommand_1.ListTableBucketsCommand,
52
59
  ListTablesCommand: ListTablesCommand_1.ListTablesCommand,
60
+ PutTableBucketEncryptionCommand: PutTableBucketEncryptionCommand_1.PutTableBucketEncryptionCommand,
53
61
  PutTableBucketMaintenanceConfigurationCommand: PutTableBucketMaintenanceConfigurationCommand_1.PutTableBucketMaintenanceConfigurationCommand,
54
62
  PutTableBucketPolicyCommand: PutTableBucketPolicyCommand_1.PutTableBucketPolicyCommand,
55
63
  PutTableMaintenanceConfigurationCommand: PutTableMaintenanceConfigurationCommand_1.PutTableMaintenanceConfigurationCommand,
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteTableBucketEncryptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteTableBucketEncryptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("S3TableBuckets", "DeleteTableBucketEncryption", {})
20
+ .n("S3TablesClient", "DeleteTableBucketEncryptionCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_DeleteTableBucketEncryptionCommand)
23
+ .de(Aws_restJson1_1.de_DeleteTableBucketEncryptionCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteTableBucketEncryptionCommand = DeleteTableBucketEncryptionCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTableBucketEncryptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetTableBucketEncryptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("S3TableBuckets", "GetTableBucketEncryption", {})
20
+ .n("S3TablesClient", "GetTableBucketEncryptionCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetTableBucketEncryptionCommand)
23
+ .de(Aws_restJson1_1.de_GetTableBucketEncryptionCommand)
24
+ .build() {
25
+ }
26
+ exports.GetTableBucketEncryptionCommand = GetTableBucketEncryptionCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTableEncryptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetTableEncryptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("S3TableBuckets", "GetTableEncryption", {})
20
+ .n("S3TablesClient", "GetTableEncryptionCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetTableEncryptionCommand)
23
+ .de(Aws_restJson1_1.de_GetTableEncryptionCommand)
24
+ .build() {
25
+ }
26
+ exports.GetTableEncryptionCommand = GetTableEncryptionCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutTableBucketEncryptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class PutTableBucketEncryptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("S3TableBuckets", "PutTableBucketEncryption", {})
20
+ .n("S3TablesClient", "PutTableBucketEncryptionCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_PutTableBucketEncryptionCommand)
23
+ .de(Aws_restJson1_1.de_PutTableBucketEncryptionCommand)
24
+ .build() {
25
+ }
26
+ exports.PutTableBucketEncryptionCommand = PutTableBucketEncryptionCommand;
@@ -6,14 +6,17 @@ tslib_1.__exportStar(require("./CreateTableBucketCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateTableCommand"), exports);
7
7
  tslib_1.__exportStar(require("./DeleteNamespaceCommand"), exports);
8
8
  tslib_1.__exportStar(require("./DeleteTableBucketCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeleteTableBucketEncryptionCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteTableBucketPolicyCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DeleteTableCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DeleteTablePolicyCommand"), exports);
12
13
  tslib_1.__exportStar(require("./GetNamespaceCommand"), exports);
13
14
  tslib_1.__exportStar(require("./GetTableBucketCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetTableBucketEncryptionCommand"), exports);
14
16
  tslib_1.__exportStar(require("./GetTableBucketMaintenanceConfigurationCommand"), exports);
15
17
  tslib_1.__exportStar(require("./GetTableBucketPolicyCommand"), exports);
16
18
  tslib_1.__exportStar(require("./GetTableCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetTableEncryptionCommand"), exports);
17
20
  tslib_1.__exportStar(require("./GetTableMaintenanceConfigurationCommand"), exports);
18
21
  tslib_1.__exportStar(require("./GetTableMaintenanceJobStatusCommand"), exports);
19
22
  tslib_1.__exportStar(require("./GetTableMetadataLocationCommand"), exports);
@@ -21,6 +24,7 @@ tslib_1.__exportStar(require("./GetTablePolicyCommand"), exports);
21
24
  tslib_1.__exportStar(require("./ListNamespacesCommand"), exports);
22
25
  tslib_1.__exportStar(require("./ListTableBucketsCommand"), exports);
23
26
  tslib_1.__exportStar(require("./ListTablesCommand"), exports);
27
+ tslib_1.__exportStar(require("./PutTableBucketEncryptionCommand"), exports);
24
28
  tslib_1.__exportStar(require("./PutTableBucketMaintenanceConfigurationCommand"), exports);
25
29
  tslib_1.__exportStar(require("./PutTableBucketPolicyCommand"), exports);
26
30
  tslib_1.__exportStar(require("./PutTableMaintenanceConfigurationCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JobStatus = exports.TableMaintenanceJobType = exports.TableMaintenanceSettings = exports.TableMaintenanceType = exports.MaintenanceStatus = exports.TableBucketMaintenanceSettings = exports.TableBucketMaintenanceType = exports.TableType = exports.TableMetadata = exports.OpenTableFormat = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
3
+ exports.JobStatus = exports.TableMaintenanceJobType = exports.TableMaintenanceSettings = exports.TableMaintenanceType = exports.MaintenanceStatus = exports.TableBucketMaintenanceSettings = exports.TableBucketMaintenanceType = exports.TableType = exports.TableMetadata = exports.OpenTableFormat = exports.SSEAlgorithm = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
4
4
  const S3TablesServiceException_1 = require("./S3TablesServiceException");
5
5
  class AccessDeniedException extends S3TablesServiceException_1.S3TablesServiceException {
6
6
  name = "AccessDeniedException";
@@ -93,6 +93,10 @@ class TooManyRequestsException extends S3TablesServiceException_1.S3TablesServic
93
93
  }
94
94
  }
95
95
  exports.TooManyRequestsException = TooManyRequestsException;
96
+ exports.SSEAlgorithm = {
97
+ AES256: "AES256",
98
+ AWS_KMS: "aws:kms",
99
+ };
96
100
  exports.OpenTableFormat = {
97
101
  ICEBERG: "ICEBERG",
98
102
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_PutTablePolicyCommand = exports.de_PutTableMaintenanceConfigurationCommand = exports.de_PutTableBucketPolicyCommand = exports.de_PutTableBucketMaintenanceConfigurationCommand = exports.de_ListTablesCommand = exports.de_ListTableBucketsCommand = exports.de_ListNamespacesCommand = exports.de_GetTablePolicyCommand = exports.de_GetTableMetadataLocationCommand = exports.de_GetTableMaintenanceJobStatusCommand = exports.de_GetTableMaintenanceConfigurationCommand = exports.de_GetTableBucketPolicyCommand = exports.de_GetTableBucketMaintenanceConfigurationCommand = exports.de_GetTableBucketCommand = exports.de_GetTableCommand = exports.de_GetNamespaceCommand = exports.de_DeleteTablePolicyCommand = exports.de_DeleteTableBucketPolicyCommand = exports.de_DeleteTableBucketCommand = exports.de_DeleteTableCommand = exports.de_DeleteNamespaceCommand = exports.de_CreateTableBucketCommand = exports.de_CreateTableCommand = exports.de_CreateNamespaceCommand = exports.se_UpdateTableMetadataLocationCommand = exports.se_RenameTableCommand = exports.se_PutTablePolicyCommand = exports.se_PutTableMaintenanceConfigurationCommand = exports.se_PutTableBucketPolicyCommand = exports.se_PutTableBucketMaintenanceConfigurationCommand = exports.se_ListTablesCommand = exports.se_ListTableBucketsCommand = exports.se_ListNamespacesCommand = exports.se_GetTablePolicyCommand = exports.se_GetTableMetadataLocationCommand = exports.se_GetTableMaintenanceJobStatusCommand = exports.se_GetTableMaintenanceConfigurationCommand = exports.se_GetTableBucketPolicyCommand = exports.se_GetTableBucketMaintenanceConfigurationCommand = exports.se_GetTableBucketCommand = exports.se_GetTableCommand = exports.se_GetNamespaceCommand = exports.se_DeleteTablePolicyCommand = exports.se_DeleteTableBucketPolicyCommand = exports.se_DeleteTableBucketCommand = exports.se_DeleteTableCommand = exports.se_DeleteNamespaceCommand = exports.se_CreateTableBucketCommand = exports.se_CreateTableCommand = exports.se_CreateNamespaceCommand = void 0;
4
- exports.de_UpdateTableMetadataLocationCommand = exports.de_RenameTableCommand = void 0;
3
+ exports.de_GetTablePolicyCommand = exports.de_GetTableMetadataLocationCommand = exports.de_GetTableMaintenanceJobStatusCommand = exports.de_GetTableMaintenanceConfigurationCommand = exports.de_GetTableEncryptionCommand = exports.de_GetTableBucketPolicyCommand = exports.de_GetTableBucketMaintenanceConfigurationCommand = exports.de_GetTableBucketEncryptionCommand = exports.de_GetTableBucketCommand = exports.de_GetTableCommand = exports.de_GetNamespaceCommand = exports.de_DeleteTablePolicyCommand = exports.de_DeleteTableBucketPolicyCommand = exports.de_DeleteTableBucketEncryptionCommand = exports.de_DeleteTableBucketCommand = exports.de_DeleteTableCommand = exports.de_DeleteNamespaceCommand = exports.de_CreateTableBucketCommand = exports.de_CreateTableCommand = exports.de_CreateNamespaceCommand = exports.se_UpdateTableMetadataLocationCommand = exports.se_RenameTableCommand = exports.se_PutTablePolicyCommand = exports.se_PutTableMaintenanceConfigurationCommand = exports.se_PutTableBucketPolicyCommand = exports.se_PutTableBucketMaintenanceConfigurationCommand = exports.se_PutTableBucketEncryptionCommand = exports.se_ListTablesCommand = exports.se_ListTableBucketsCommand = exports.se_ListNamespacesCommand = exports.se_GetTablePolicyCommand = exports.se_GetTableMetadataLocationCommand = exports.se_GetTableMaintenanceJobStatusCommand = exports.se_GetTableMaintenanceConfigurationCommand = exports.se_GetTableEncryptionCommand = exports.se_GetTableBucketPolicyCommand = exports.se_GetTableBucketMaintenanceConfigurationCommand = exports.se_GetTableBucketEncryptionCommand = exports.se_GetTableBucketCommand = exports.se_GetTableCommand = exports.se_GetNamespaceCommand = exports.se_DeleteTablePolicyCommand = exports.se_DeleteTableBucketPolicyCommand = exports.se_DeleteTableBucketEncryptionCommand = exports.se_DeleteTableBucketCommand = exports.se_DeleteTableCommand = exports.se_DeleteNamespaceCommand = exports.se_CreateTableBucketCommand = exports.se_CreateTableCommand = exports.se_CreateNamespaceCommand = void 0;
4
+ exports.de_UpdateTableMetadataLocationCommand = exports.de_RenameTableCommand = exports.de_PutTablePolicyCommand = exports.de_PutTableMaintenanceConfigurationCommand = exports.de_PutTableBucketPolicyCommand = exports.de_PutTableBucketMaintenanceConfigurationCommand = exports.de_PutTableBucketEncryptionCommand = exports.de_ListTablesCommand = exports.de_ListTableBucketsCommand = exports.de_ListNamespacesCommand = void 0;
5
5
  const core_1 = require("@aws-sdk/core");
6
6
  const core_2 = require("@smithy/core");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
@@ -32,6 +32,7 @@ const se_CreateTableCommand = async (input, context) => {
32
32
  b.p("namespace", () => input.namespace, "{namespace}", false);
33
33
  let body;
34
34
  body = JSON.stringify((0, smithy_client_1.take)(input, {
35
+ encryptionConfiguration: (_) => (0, smithy_client_1._json)(_),
35
36
  format: [],
36
37
  metadata: (_) => (0, smithy_client_1._json)(_),
37
38
  name: [],
@@ -48,6 +49,7 @@ const se_CreateTableBucketCommand = async (input, context) => {
48
49
  b.bp("/buckets");
49
50
  let body;
50
51
  body = JSON.stringify((0, smithy_client_1.take)(input, {
52
+ encryptionConfiguration: (_) => (0, smithy_client_1._json)(_),
51
53
  name: [],
52
54
  }));
53
55
  b.m("PUT").h(headers).b(body);
@@ -90,6 +92,16 @@ const se_DeleteTableBucketCommand = async (input, context) => {
90
92
  return b.build();
91
93
  };
92
94
  exports.se_DeleteTableBucketCommand = se_DeleteTableBucketCommand;
95
+ const se_DeleteTableBucketEncryptionCommand = async (input, context) => {
96
+ const b = (0, core_2.requestBuilder)(input, context);
97
+ const headers = {};
98
+ b.bp("/buckets/{tableBucketARN}/encryption");
99
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
100
+ let body;
101
+ b.m("DELETE").h(headers).b(body);
102
+ return b.build();
103
+ };
104
+ exports.se_DeleteTableBucketEncryptionCommand = se_DeleteTableBucketEncryptionCommand;
93
105
  const se_DeleteTableBucketPolicyCommand = async (input, context) => {
94
106
  const b = (0, core_2.requestBuilder)(input, context);
95
107
  const headers = {};
@@ -145,6 +157,16 @@ const se_GetTableBucketCommand = async (input, context) => {
145
157
  return b.build();
146
158
  };
147
159
  exports.se_GetTableBucketCommand = se_GetTableBucketCommand;
160
+ const se_GetTableBucketEncryptionCommand = async (input, context) => {
161
+ const b = (0, core_2.requestBuilder)(input, context);
162
+ const headers = {};
163
+ b.bp("/buckets/{tableBucketARN}/encryption");
164
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
165
+ let body;
166
+ b.m("GET").h(headers).b(body);
167
+ return b.build();
168
+ };
169
+ exports.se_GetTableBucketEncryptionCommand = se_GetTableBucketEncryptionCommand;
148
170
  const se_GetTableBucketMaintenanceConfigurationCommand = async (input, context) => {
149
171
  const b = (0, core_2.requestBuilder)(input, context);
150
172
  const headers = {};
@@ -165,6 +187,18 @@ const se_GetTableBucketPolicyCommand = async (input, context) => {
165
187
  return b.build();
166
188
  };
167
189
  exports.se_GetTableBucketPolicyCommand = se_GetTableBucketPolicyCommand;
190
+ const se_GetTableEncryptionCommand = async (input, context) => {
191
+ const b = (0, core_2.requestBuilder)(input, context);
192
+ const headers = {};
193
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/encryption");
194
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
195
+ b.p("namespace", () => input.namespace, "{namespace}", false);
196
+ b.p("name", () => input.name, "{name}", false);
197
+ let body;
198
+ b.m("GET").h(headers).b(body);
199
+ return b.build();
200
+ };
201
+ exports.se_GetTableEncryptionCommand = se_GetTableEncryptionCommand;
168
202
  const se_GetTableMaintenanceConfigurationCommand = async (input, context) => {
169
203
  const b = (0, core_2.requestBuilder)(input, context);
170
204
  const headers = {};
@@ -258,6 +292,21 @@ const se_ListTablesCommand = async (input, context) => {
258
292
  return b.build();
259
293
  };
260
294
  exports.se_ListTablesCommand = se_ListTablesCommand;
295
+ const se_PutTableBucketEncryptionCommand = async (input, context) => {
296
+ const b = (0, core_2.requestBuilder)(input, context);
297
+ const headers = {
298
+ "content-type": "application/json",
299
+ };
300
+ b.bp("/buckets/{tableBucketARN}/encryption");
301
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
302
+ let body;
303
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
304
+ encryptionConfiguration: (_) => (0, smithy_client_1._json)(_),
305
+ }));
306
+ b.m("PUT").h(headers).b(body);
307
+ return b.build();
308
+ };
309
+ exports.se_PutTableBucketEncryptionCommand = se_PutTableBucketEncryptionCommand;
261
310
  const se_PutTableBucketMaintenanceConfigurationCommand = async (input, context) => {
262
311
  const b = (0, core_2.requestBuilder)(input, context);
263
312
  const headers = {
@@ -441,6 +490,17 @@ const de_DeleteTableBucketCommand = async (output, context) => {
441
490
  return contents;
442
491
  };
443
492
  exports.de_DeleteTableBucketCommand = de_DeleteTableBucketCommand;
493
+ const de_DeleteTableBucketEncryptionCommand = async (output, context) => {
494
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
495
+ return de_CommandError(output, context);
496
+ }
497
+ const contents = (0, smithy_client_1.map)({
498
+ $metadata: deserializeMetadata(output),
499
+ });
500
+ await (0, smithy_client_1.collectBody)(output.body, context);
501
+ return contents;
502
+ };
503
+ exports.de_DeleteTableBucketEncryptionCommand = de_DeleteTableBucketEncryptionCommand;
444
504
  const de_DeleteTableBucketPolicyCommand = async (output, context) => {
445
505
  if (output.statusCode !== 204 && output.statusCode >= 300) {
446
506
  return de_CommandError(output, context);
@@ -475,7 +535,9 @@ const de_GetNamespaceCommand = async (output, context) => {
475
535
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
476
536
  createdBy: smithy_client_1.expectString,
477
537
  namespace: smithy_client_1._json,
538
+ namespaceId: smithy_client_1.expectString,
478
539
  ownerAccountId: smithy_client_1.expectString,
540
+ tableBucketId: smithy_client_1.expectString,
479
541
  });
480
542
  Object.assign(contents, doc);
481
543
  return contents;
@@ -499,8 +561,10 @@ const de_GetTableCommand = async (output, context) => {
499
561
  modifiedBy: smithy_client_1.expectString,
500
562
  name: smithy_client_1.expectString,
501
563
  namespace: smithy_client_1._json,
564
+ namespaceId: smithy_client_1.expectString,
502
565
  ownerAccountId: smithy_client_1.expectString,
503
566
  tableARN: smithy_client_1.expectString,
567
+ tableBucketId: smithy_client_1.expectString,
504
568
  type: smithy_client_1.expectString,
505
569
  versionToken: smithy_client_1.expectString,
506
570
  warehouseLocation: smithy_client_1.expectString,
@@ -522,11 +586,27 @@ const de_GetTableBucketCommand = async (output, context) => {
522
586
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
523
587
  name: smithy_client_1.expectString,
524
588
  ownerAccountId: smithy_client_1.expectString,
589
+ tableBucketId: smithy_client_1.expectString,
525
590
  });
526
591
  Object.assign(contents, doc);
527
592
  return contents;
528
593
  };
529
594
  exports.de_GetTableBucketCommand = de_GetTableBucketCommand;
595
+ const de_GetTableBucketEncryptionCommand = async (output, context) => {
596
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
597
+ return de_CommandError(output, context);
598
+ }
599
+ const contents = (0, smithy_client_1.map)({
600
+ $metadata: deserializeMetadata(output),
601
+ });
602
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
603
+ const doc = (0, smithy_client_1.take)(data, {
604
+ encryptionConfiguration: smithy_client_1._json,
605
+ });
606
+ Object.assign(contents, doc);
607
+ return contents;
608
+ };
609
+ exports.de_GetTableBucketEncryptionCommand = de_GetTableBucketEncryptionCommand;
530
610
  const de_GetTableBucketMaintenanceConfigurationCommand = async (output, context) => {
531
611
  if (output.statusCode !== 200 && output.statusCode >= 300) {
532
612
  return de_CommandError(output, context);
@@ -558,6 +638,21 @@ const de_GetTableBucketPolicyCommand = async (output, context) => {
558
638
  return contents;
559
639
  };
560
640
  exports.de_GetTableBucketPolicyCommand = de_GetTableBucketPolicyCommand;
641
+ const de_GetTableEncryptionCommand = async (output, context) => {
642
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
643
+ return de_CommandError(output, context);
644
+ }
645
+ const contents = (0, smithy_client_1.map)({
646
+ $metadata: deserializeMetadata(output),
647
+ });
648
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
649
+ const doc = (0, smithy_client_1.take)(data, {
650
+ encryptionConfiguration: smithy_client_1._json,
651
+ });
652
+ Object.assign(contents, doc);
653
+ return contents;
654
+ };
655
+ exports.de_GetTableEncryptionCommand = de_GetTableEncryptionCommand;
561
656
  const de_GetTableMaintenanceConfigurationCommand = async (output, context) => {
562
657
  if (output.statusCode !== 200 && output.statusCode >= 300) {
563
658
  return de_CommandError(output, context);
@@ -670,6 +765,17 @@ const de_ListTablesCommand = async (output, context) => {
670
765
  return contents;
671
766
  };
672
767
  exports.de_ListTablesCommand = de_ListTablesCommand;
768
+ const de_PutTableBucketEncryptionCommand = async (output, context) => {
769
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
770
+ return de_CommandError(output, context);
771
+ }
772
+ const contents = (0, smithy_client_1.map)({
773
+ $metadata: deserializeMetadata(output),
774
+ });
775
+ await (0, smithy_client_1.collectBody)(output.body, context);
776
+ return contents;
777
+ };
778
+ exports.de_PutTableBucketEncryptionCommand = de_PutTableBucketEncryptionCommand;
673
779
  const de_PutTableBucketMaintenanceConfigurationCommand = async (output, context) => {
674
780
  if (output.statusCode !== 204 && output.statusCode >= 300) {
675
781
  return de_CommandError(output, context);
@@ -878,7 +984,9 @@ const de_NamespaceSummary = (output, context) => {
878
984
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
879
985
  createdBy: smithy_client_1.expectString,
880
986
  namespace: smithy_client_1._json,
987
+ namespaceId: smithy_client_1.expectString,
881
988
  ownerAccountId: smithy_client_1.expectString,
989
+ tableBucketId: smithy_client_1.expectString,
882
990
  });
883
991
  };
884
992
  const de_NamespaceSummaryList = (output, context) => {
@@ -895,6 +1003,7 @@ const de_TableBucketSummary = (output, context) => {
895
1003
  createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
896
1004
  name: smithy_client_1.expectString,
897
1005
  ownerAccountId: smithy_client_1.expectString,
1006
+ tableBucketId: smithy_client_1.expectString,
898
1007
  });
899
1008
  };
900
1009
  const de_TableBucketSummaryList = (output, context) => {
@@ -927,7 +1036,9 @@ const de_TableSummary = (output, context) => {
927
1036
  modifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
928
1037
  name: smithy_client_1.expectString,
929
1038
  namespace: smithy_client_1._json,
1039
+ namespaceId: smithy_client_1.expectString,
930
1040
  tableARN: smithy_client_1.expectString,
1041
+ tableBucketId: smithy_client_1.expectString,
931
1042
  type: smithy_client_1.expectString,
932
1043
  });
933
1044
  };
@@ -4,14 +4,17 @@ import { CreateTableBucketCommand, } from "./commands/CreateTableBucketCommand";
4
4
  import { CreateTableCommand } from "./commands/CreateTableCommand";
5
5
  import { DeleteNamespaceCommand, } from "./commands/DeleteNamespaceCommand";
6
6
  import { DeleteTableBucketCommand, } from "./commands/DeleteTableBucketCommand";
7
+ import { DeleteTableBucketEncryptionCommand, } from "./commands/DeleteTableBucketEncryptionCommand";
7
8
  import { DeleteTableBucketPolicyCommand, } from "./commands/DeleteTableBucketPolicyCommand";
8
9
  import { DeleteTableCommand } from "./commands/DeleteTableCommand";
9
10
  import { DeleteTablePolicyCommand, } from "./commands/DeleteTablePolicyCommand";
10
11
  import { GetNamespaceCommand, } from "./commands/GetNamespaceCommand";
11
12
  import { GetTableBucketCommand, } from "./commands/GetTableBucketCommand";
13
+ import { GetTableBucketEncryptionCommand, } from "./commands/GetTableBucketEncryptionCommand";
12
14
  import { GetTableBucketMaintenanceConfigurationCommand, } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
13
15
  import { GetTableBucketPolicyCommand, } from "./commands/GetTableBucketPolicyCommand";
14
16
  import { GetTableCommand } from "./commands/GetTableCommand";
17
+ import { GetTableEncryptionCommand, } from "./commands/GetTableEncryptionCommand";
15
18
  import { GetTableMaintenanceConfigurationCommand, } from "./commands/GetTableMaintenanceConfigurationCommand";
16
19
  import { GetTableMaintenanceJobStatusCommand, } from "./commands/GetTableMaintenanceJobStatusCommand";
17
20
  import { GetTableMetadataLocationCommand, } from "./commands/GetTableMetadataLocationCommand";
@@ -19,6 +22,7 @@ import { GetTablePolicyCommand, } from "./commands/GetTablePolicyCommand";
19
22
  import { ListNamespacesCommand, } from "./commands/ListNamespacesCommand";
20
23
  import { ListTableBucketsCommand, } from "./commands/ListTableBucketsCommand";
21
24
  import { ListTablesCommand } from "./commands/ListTablesCommand";
25
+ import { PutTableBucketEncryptionCommand, } from "./commands/PutTableBucketEncryptionCommand";
22
26
  import { PutTableBucketMaintenanceConfigurationCommand, } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
23
27
  import { PutTableBucketPolicyCommand, } from "./commands/PutTableBucketPolicyCommand";
24
28
  import { PutTableMaintenanceConfigurationCommand, } from "./commands/PutTableMaintenanceConfigurationCommand";
@@ -33,13 +37,16 @@ const commands = {
33
37
  DeleteNamespaceCommand,
34
38
  DeleteTableCommand,
35
39
  DeleteTableBucketCommand,
40
+ DeleteTableBucketEncryptionCommand,
36
41
  DeleteTableBucketPolicyCommand,
37
42
  DeleteTablePolicyCommand,
38
43
  GetNamespaceCommand,
39
44
  GetTableCommand,
40
45
  GetTableBucketCommand,
46
+ GetTableBucketEncryptionCommand,
41
47
  GetTableBucketMaintenanceConfigurationCommand,
42
48
  GetTableBucketPolicyCommand,
49
+ GetTableEncryptionCommand,
43
50
  GetTableMaintenanceConfigurationCommand,
44
51
  GetTableMaintenanceJobStatusCommand,
45
52
  GetTableMetadataLocationCommand,
@@ -47,6 +54,7 @@ const commands = {
47
54
  ListNamespacesCommand,
48
55
  ListTableBucketsCommand,
49
56
  ListTablesCommand,
57
+ PutTableBucketEncryptionCommand,
50
58
  PutTableBucketMaintenanceConfigurationCommand,
51
59
  PutTableBucketPolicyCommand,
52
60
  PutTableMaintenanceConfigurationCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteTableBucketEncryptionCommand, se_DeleteTableBucketEncryptionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteTableBucketEncryptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("S3TableBuckets", "DeleteTableBucketEncryption", {})
17
+ .n("S3TablesClient", "DeleteTableBucketEncryptionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteTableBucketEncryptionCommand)
20
+ .de(de_DeleteTableBucketEncryptionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTableBucketEncryptionCommand, se_GetTableBucketEncryptionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableBucketEncryptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("S3TableBuckets", "GetTableBucketEncryption", {})
17
+ .n("S3TablesClient", "GetTableBucketEncryptionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableBucketEncryptionCommand)
20
+ .de(de_GetTableBucketEncryptionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTableEncryptionCommand, se_GetTableEncryptionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableEncryptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("S3TableBuckets", "GetTableEncryption", {})
17
+ .n("S3TablesClient", "GetTableEncryptionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableEncryptionCommand)
20
+ .de(de_GetTableEncryptionCommand)
21
+ .build() {
22
+ }