@aws-sdk/client-s3tables 3.928.0 → 3.930.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 (73) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +1301 -1351
  3. package/dist-cjs/runtimeConfig.shared.js +2 -0
  4. package/dist-es/S3Tables.js +6 -0
  5. package/dist-es/S3TablesClient.js +2 -0
  6. package/dist-es/commands/CreateNamespaceCommand.js +3 -9
  7. package/dist-es/commands/CreateTableBucketCommand.js +3 -9
  8. package/dist-es/commands/CreateTableCommand.js +3 -9
  9. package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
  10. package/dist-es/commands/DeleteTableBucketCommand.js +3 -9
  11. package/dist-es/commands/DeleteTableBucketEncryptionCommand.js +3 -9
  12. package/dist-es/commands/DeleteTableBucketMetricsConfigurationCommand.js +16 -0
  13. package/dist-es/commands/DeleteTableBucketPolicyCommand.js +3 -9
  14. package/dist-es/commands/DeleteTableCommand.js +3 -9
  15. package/dist-es/commands/DeleteTablePolicyCommand.js +3 -9
  16. package/dist-es/commands/GetNamespaceCommand.js +3 -9
  17. package/dist-es/commands/GetTableBucketCommand.js +3 -9
  18. package/dist-es/commands/GetTableBucketEncryptionCommand.js +3 -9
  19. package/dist-es/commands/GetTableBucketMaintenanceConfigurationCommand.js +3 -9
  20. package/dist-es/commands/GetTableBucketMetricsConfigurationCommand.js +16 -0
  21. package/dist-es/commands/GetTableBucketPolicyCommand.js +3 -9
  22. package/dist-es/commands/GetTableCommand.js +3 -9
  23. package/dist-es/commands/GetTableEncryptionCommand.js +3 -9
  24. package/dist-es/commands/GetTableMaintenanceConfigurationCommand.js +3 -9
  25. package/dist-es/commands/GetTableMaintenanceJobStatusCommand.js +3 -9
  26. package/dist-es/commands/GetTableMetadataLocationCommand.js +3 -9
  27. package/dist-es/commands/GetTablePolicyCommand.js +3 -9
  28. package/dist-es/commands/ListNamespacesCommand.js +3 -9
  29. package/dist-es/commands/ListTableBucketsCommand.js +3 -9
  30. package/dist-es/commands/ListTablesCommand.js +3 -9
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  32. package/dist-es/commands/PutTableBucketEncryptionCommand.js +3 -9
  33. package/dist-es/commands/PutTableBucketMaintenanceConfigurationCommand.js +3 -9
  34. package/dist-es/commands/PutTableBucketMetricsConfigurationCommand.js +16 -0
  35. package/dist-es/commands/PutTableBucketPolicyCommand.js +3 -9
  36. package/dist-es/commands/PutTableMaintenanceConfigurationCommand.js +3 -9
  37. package/dist-es/commands/PutTablePolicyCommand.js +3 -9
  38. package/dist-es/commands/RenameTableCommand.js +3 -9
  39. package/dist-es/commands/TagResourceCommand.js +3 -9
  40. package/dist-es/commands/UntagResourceCommand.js +3 -9
  41. package/dist-es/commands/UpdateTableMetadataLocationCommand.js +3 -9
  42. package/dist-es/commands/index.js +3 -0
  43. package/dist-es/models/models_0.js +0 -26
  44. package/dist-es/runtimeConfig.shared.js +2 -0
  45. package/dist-es/schemas/schemas_0.js +1183 -0
  46. package/dist-types/S3Tables.d.ts +21 -0
  47. package/dist-types/S3TablesClient.d.ts +15 -3
  48. package/dist-types/commands/DeleteTableBucketMetricsConfigurationCommand.d.ts +90 -0
  49. package/dist-types/commands/GetTableBucketMetricsConfigurationCommand.d.ts +93 -0
  50. package/dist-types/commands/PutTableBucketMetricsConfigurationCommand.d.ts +90 -0
  51. package/dist-types/commands/index.d.ts +3 -0
  52. package/dist-types/models/models_0.d.ts +57 -3
  53. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  54. package/dist-types/runtimeConfig.d.ts +1 -0
  55. package/dist-types/runtimeConfig.native.d.ts +1 -0
  56. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  57. package/dist-types/schemas/schemas_0.d.ts +130 -0
  58. package/dist-types/ts3.4/S3Tables.d.ts +69 -0
  59. package/dist-types/ts3.4/S3TablesClient.d.ts +22 -0
  60. package/dist-types/ts3.4/commands/DeleteTableBucketMetricsConfigurationCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/GetTableBucketMetricsConfigurationCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/PutTableBucketMetricsConfigurationCommand.d.ts +47 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +13 -6
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  69. package/dist-types/ts3.4/schemas/schemas_0.d.ts +136 -0
  70. package/package.json +33 -33
  71. package/dist-es/protocols/Aws_restJson1.js +0 -1084
  72. package/dist-types/protocols/Aws_restJson1.d.ts +0 -299
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -401
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3tables" }),
28
30
  serviceId: config?.serviceId ?? "S3Tables",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -5,6 +5,7 @@ import { CreateTableCommand } from "./commands/CreateTableCommand";
5
5
  import { DeleteNamespaceCommand, } from "./commands/DeleteNamespaceCommand";
6
6
  import { DeleteTableBucketCommand, } from "./commands/DeleteTableBucketCommand";
7
7
  import { DeleteTableBucketEncryptionCommand, } from "./commands/DeleteTableBucketEncryptionCommand";
8
+ import { DeleteTableBucketMetricsConfigurationCommand, } from "./commands/DeleteTableBucketMetricsConfigurationCommand";
8
9
  import { DeleteTableBucketPolicyCommand, } from "./commands/DeleteTableBucketPolicyCommand";
9
10
  import { DeleteTableCommand } from "./commands/DeleteTableCommand";
10
11
  import { DeleteTablePolicyCommand, } from "./commands/DeleteTablePolicyCommand";
@@ -12,6 +13,7 @@ import { GetNamespaceCommand, } from "./commands/GetNamespaceCommand";
12
13
  import { GetTableBucketCommand, } from "./commands/GetTableBucketCommand";
13
14
  import { GetTableBucketEncryptionCommand, } from "./commands/GetTableBucketEncryptionCommand";
14
15
  import { GetTableBucketMaintenanceConfigurationCommand, } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
16
+ import { GetTableBucketMetricsConfigurationCommand, } from "./commands/GetTableBucketMetricsConfigurationCommand";
15
17
  import { GetTableBucketPolicyCommand, } from "./commands/GetTableBucketPolicyCommand";
16
18
  import { GetTableCommand } from "./commands/GetTableCommand";
17
19
  import { GetTableEncryptionCommand, } from "./commands/GetTableEncryptionCommand";
@@ -25,6 +27,7 @@ import { ListTablesCommand } from "./commands/ListTablesCommand";
25
27
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
26
28
  import { PutTableBucketEncryptionCommand, } from "./commands/PutTableBucketEncryptionCommand";
27
29
  import { PutTableBucketMaintenanceConfigurationCommand, } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
30
+ import { PutTableBucketMetricsConfigurationCommand, } from "./commands/PutTableBucketMetricsConfigurationCommand";
28
31
  import { PutTableBucketPolicyCommand, } from "./commands/PutTableBucketPolicyCommand";
29
32
  import { PutTableMaintenanceConfigurationCommand, } from "./commands/PutTableMaintenanceConfigurationCommand";
30
33
  import { PutTablePolicyCommand, } from "./commands/PutTablePolicyCommand";
@@ -41,6 +44,7 @@ const commands = {
41
44
  DeleteTableCommand,
42
45
  DeleteTableBucketCommand,
43
46
  DeleteTableBucketEncryptionCommand,
47
+ DeleteTableBucketMetricsConfigurationCommand,
44
48
  DeleteTableBucketPolicyCommand,
45
49
  DeleteTablePolicyCommand,
46
50
  GetNamespaceCommand,
@@ -48,6 +52,7 @@ const commands = {
48
52
  GetTableBucketCommand,
49
53
  GetTableBucketEncryptionCommand,
50
54
  GetTableBucketMaintenanceConfigurationCommand,
55
+ GetTableBucketMetricsConfigurationCommand,
51
56
  GetTableBucketPolicyCommand,
52
57
  GetTableEncryptionCommand,
53
58
  GetTableMaintenanceConfigurationCommand,
@@ -60,6 +65,7 @@ const commands = {
60
65
  ListTagsForResourceCommand,
61
66
  PutTableBucketEncryptionCommand,
62
67
  PutTableBucketMaintenanceConfigurationCommand,
68
+ PutTableBucketMetricsConfigurationCommand,
63
69
  PutTableBucketPolicyCommand,
64
70
  PutTableMaintenanceConfigurationCommand,
65
71
  PutTablePolicyCommand,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class S3TablesClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateNamespaceCommand, se_CreateNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateNamespaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "CreateNamespace", {})
17
13
  .n("S3TablesClient", "CreateNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateNamespaceCommand)
20
- .de(de_CreateNamespaceCommand)
14
+ .sc(CreateNamespace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTableBucketCommand, se_CreateTableBucketCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTableBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTableBucketCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "CreateTableBucket", {})
17
13
  .n("S3TablesClient", "CreateTableBucketCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTableBucketCommand)
20
- .de(de_CreateTableBucketCommand)
14
+ .sc(CreateTableBucket)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "CreateTable", {})
17
13
  .n("S3TablesClient", "CreateTableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTableCommand)
20
- .de(de_CreateTableCommand)
14
+ .sc(CreateTable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteNamespaceCommand, se_DeleteNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteNamespaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteNamespace", {})
17
13
  .n("S3TablesClient", "DeleteNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteNamespaceCommand)
20
- .de(de_DeleteNamespaceCommand)
14
+ .sc(DeleteNamespace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTableBucketCommand, se_DeleteTableBucketCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTableBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTableBucketCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteTableBucket", {})
17
13
  .n("S3TablesClient", "DeleteTableBucketCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTableBucketCommand)
20
- .de(de_DeleteTableBucketCommand)
14
+ .sc(DeleteTableBucket)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTableBucketEncryptionCommand, se_DeleteTableBucketEncryptionCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteTableBucketEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTableBucketEncryptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteTableBucketEncryption", {})
17
13
  .n("S3TablesClient", "DeleteTableBucketEncryptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTableBucketEncryptionCommand)
20
- .de(de_DeleteTableBucketEncryptionCommand)
14
+ .sc(DeleteTableBucketEncryption)
21
15
  .build() {
22
16
  }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteTableBucketMetricsConfiguration } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteTableBucketMetricsConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("S3TableBuckets", "DeleteTableBucketMetricsConfiguration", {})
13
+ .n("S3TablesClient", "DeleteTableBucketMetricsConfigurationCommand")
14
+ .sc(DeleteTableBucketMetricsConfiguration)
15
+ .build() {
16
+ }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTableBucketPolicyCommand, se_DeleteTableBucketPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTableBucketPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTableBucketPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteTableBucketPolicy", {})
17
13
  .n("S3TablesClient", "DeleteTableBucketPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTableBucketPolicyCommand)
20
- .de(de_DeleteTableBucketPolicyCommand)
14
+ .sc(DeleteTableBucketPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteTable", {})
17
13
  .n("S3TablesClient", "DeleteTableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTableCommand)
20
- .de(de_DeleteTableCommand)
14
+ .sc(DeleteTable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTablePolicyCommand, se_DeleteTablePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteTablePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTablePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "DeleteTablePolicy", {})
17
13
  .n("S3TablesClient", "DeleteTablePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTablePolicyCommand)
20
- .de(de_DeleteTablePolicyCommand)
14
+ .sc(DeleteTablePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetNamespaceCommand, se_GetNamespaceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetNamespace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetNamespaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetNamespace", {})
17
13
  .n("S3TablesClient", "GetNamespaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetNamespaceCommand)
20
- .de(de_GetNamespaceCommand)
14
+ .sc(GetNamespace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableBucketCommand, se_GetTableBucketCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTableBucket } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableBucketCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableBucket", {})
17
13
  .n("S3TablesClient", "GetTableBucketCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableBucketCommand)
20
- .de(de_GetTableBucketCommand)
14
+ .sc(GetTableBucket)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableBucketEncryptionCommand, se_GetTableBucketEncryptionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTableBucketEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableBucketEncryptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableBucketEncryption", {})
17
13
  .n("S3TablesClient", "GetTableBucketEncryptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableBucketEncryptionCommand)
20
- .de(de_GetTableBucketEncryptionCommand)
14
+ .sc(GetTableBucketEncryption)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableBucketMaintenanceConfigurationCommand, se_GetTableBucketMaintenanceConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetTableBucketMaintenanceConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableBucketMaintenanceConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableBucketMaintenanceConfiguration", {})
17
13
  .n("S3TablesClient", "GetTableBucketMaintenanceConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableBucketMaintenanceConfigurationCommand)
20
- .de(de_GetTableBucketMaintenanceConfigurationCommand)
14
+ .sc(GetTableBucketMaintenanceConfiguration)
21
15
  .build() {
22
16
  }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetTableBucketMetricsConfiguration } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetTableBucketMetricsConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("S3TableBuckets", "GetTableBucketMetricsConfiguration", {})
13
+ .n("S3TablesClient", "GetTableBucketMetricsConfigurationCommand")
14
+ .sc(GetTableBucketMetricsConfiguration)
15
+ .build() {
16
+ }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableBucketPolicyCommand, se_GetTableBucketPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTableBucketPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableBucketPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableBucketPolicy", {})
17
13
  .n("S3TablesClient", "GetTableBucketPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableBucketPolicyCommand)
20
- .de(de_GetTableBucketPolicyCommand)
14
+ .sc(GetTableBucketPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableCommand, se_GetTableCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTable", {})
17
13
  .n("S3TablesClient", "GetTableCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableCommand)
20
- .de(de_GetTableCommand)
14
+ .sc(GetTable)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableEncryptionCommand, se_GetTableEncryptionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTableEncryption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableEncryptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableEncryption", {})
17
13
  .n("S3TablesClient", "GetTableEncryptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableEncryptionCommand)
20
- .de(de_GetTableEncryptionCommand)
14
+ .sc(GetTableEncryption)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableMaintenanceConfigurationCommand, se_GetTableMaintenanceConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetTableMaintenanceConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableMaintenanceConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableMaintenanceConfiguration", {})
17
13
  .n("S3TablesClient", "GetTableMaintenanceConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableMaintenanceConfigurationCommand)
20
- .de(de_GetTableMaintenanceConfigurationCommand)
14
+ .sc(GetTableMaintenanceConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableMaintenanceJobStatusCommand, se_GetTableMaintenanceJobStatusCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetTableMaintenanceJobStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableMaintenanceJobStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableMaintenanceJobStatus", {})
17
13
  .n("S3TablesClient", "GetTableMaintenanceJobStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableMaintenanceJobStatusCommand)
20
- .de(de_GetTableMaintenanceJobStatusCommand)
14
+ .sc(GetTableMaintenanceJobStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTableMetadataLocationCommand, se_GetTableMetadataLocationCommand } from "../protocols/Aws_restJson1";
4
+ import { GetTableMetadataLocation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTableMetadataLocationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("S3TableBuckets", "GetTableMetadataLocation", {})
17
13
  .n("S3TablesClient", "GetTableMetadataLocationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTableMetadataLocationCommand)
20
- .de(de_GetTableMetadataLocationCommand)
14
+ .sc(GetTableMetadataLocation)
21
15
  .build() {
22
16
  }