@aws-sdk/client-s3tables 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 (203) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +413 -0
  3. package/dist-cjs/S3Tables.js +63 -0
  4. package/dist-cjs/S3TablesClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateNamespaceCommand.js +26 -0
  8. package/dist-cjs/commands/CreateTableBucketCommand.js +26 -0
  9. package/dist-cjs/commands/CreateTableCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteNamespaceCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteTableBucketCommand.js +26 -0
  12. package/dist-cjs/commands/DeleteTableBucketPolicyCommand.js +26 -0
  13. package/dist-cjs/commands/DeleteTableCommand.js +26 -0
  14. package/dist-cjs/commands/DeleteTablePolicyCommand.js +26 -0
  15. package/dist-cjs/commands/GetNamespaceCommand.js +26 -0
  16. package/dist-cjs/commands/GetTableBucketCommand.js +26 -0
  17. package/dist-cjs/commands/GetTableBucketMaintenanceConfigurationCommand.js +26 -0
  18. package/dist-cjs/commands/GetTableBucketPolicyCommand.js +26 -0
  19. package/dist-cjs/commands/GetTableCommand.js +26 -0
  20. package/dist-cjs/commands/GetTableMaintenanceConfigurationCommand.js +26 -0
  21. package/dist-cjs/commands/GetTableMaintenanceJobStatusCommand.js +26 -0
  22. package/dist-cjs/commands/GetTableMetadataLocationCommand.js +26 -0
  23. package/dist-cjs/commands/GetTablePolicyCommand.js +26 -0
  24. package/dist-cjs/commands/ListNamespacesCommand.js +26 -0
  25. package/dist-cjs/commands/ListTableBucketsCommand.js +26 -0
  26. package/dist-cjs/commands/ListTablesCommand.js +26 -0
  27. package/dist-cjs/commands/PutTableBucketMaintenanceConfigurationCommand.js +26 -0
  28. package/dist-cjs/commands/PutTableBucketPolicyCommand.js +26 -0
  29. package/dist-cjs/commands/PutTableMaintenanceConfigurationCommand.js +26 -0
  30. package/dist-cjs/commands/PutTablePolicyCommand.js +26 -0
  31. package/dist-cjs/commands/RenameTableCommand.js +26 -0
  32. package/dist-cjs/commands/UpdateTableMetadataLocationCommand.js +26 -0
  33. package/dist-cjs/commands/index.js +29 -0
  34. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  35. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  36. package/dist-cjs/endpoint/ruleset.js +7 -0
  37. package/dist-cjs/extensionConfiguration.js +2 -0
  38. package/dist-cjs/index.js +11 -0
  39. package/dist-cjs/models/S3TablesServiceException.js +12 -0
  40. package/dist-cjs/models/index.js +4 -0
  41. package/dist-cjs/models/models_0.js +142 -0
  42. package/dist-cjs/pagination/Interfaces.js +2 -0
  43. package/dist-cjs/pagination/ListNamespacesPaginator.js +7 -0
  44. package/dist-cjs/pagination/ListTableBucketsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListTablesPaginator.js +7 -0
  46. package/dist-cjs/pagination/index.js +7 -0
  47. package/dist-cjs/protocols/Aws_restJson1.js +954 -0
  48. package/dist-cjs/runtimeConfig.browser.js +39 -0
  49. package/dist-cjs/runtimeConfig.js +50 -0
  50. package/dist-cjs/runtimeConfig.native.js +15 -0
  51. package/dist-cjs/runtimeConfig.shared.js +34 -0
  52. package/dist-cjs/runtimeExtensions.js +25 -0
  53. package/dist-es/S3Tables.js +59 -0
  54. package/dist-es/S3TablesClient.js +46 -0
  55. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  56. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  57. package/dist-es/commands/CreateNamespaceCommand.js +22 -0
  58. package/dist-es/commands/CreateTableBucketCommand.js +22 -0
  59. package/dist-es/commands/CreateTableCommand.js +22 -0
  60. package/dist-es/commands/DeleteNamespaceCommand.js +22 -0
  61. package/dist-es/commands/DeleteTableBucketCommand.js +22 -0
  62. package/dist-es/commands/DeleteTableBucketPolicyCommand.js +22 -0
  63. package/dist-es/commands/DeleteTableCommand.js +22 -0
  64. package/dist-es/commands/DeleteTablePolicyCommand.js +22 -0
  65. package/dist-es/commands/GetNamespaceCommand.js +22 -0
  66. package/dist-es/commands/GetTableBucketCommand.js +22 -0
  67. package/dist-es/commands/GetTableBucketMaintenanceConfigurationCommand.js +22 -0
  68. package/dist-es/commands/GetTableBucketPolicyCommand.js +22 -0
  69. package/dist-es/commands/GetTableCommand.js +22 -0
  70. package/dist-es/commands/GetTableMaintenanceConfigurationCommand.js +22 -0
  71. package/dist-es/commands/GetTableMaintenanceJobStatusCommand.js +22 -0
  72. package/dist-es/commands/GetTableMetadataLocationCommand.js +22 -0
  73. package/dist-es/commands/GetTablePolicyCommand.js +22 -0
  74. package/dist-es/commands/ListNamespacesCommand.js +22 -0
  75. package/dist-es/commands/ListTableBucketsCommand.js +22 -0
  76. package/dist-es/commands/ListTablesCommand.js +22 -0
  77. package/dist-es/commands/PutTableBucketMaintenanceConfigurationCommand.js +22 -0
  78. package/dist-es/commands/PutTableBucketPolicyCommand.js +22 -0
  79. package/dist-es/commands/PutTableMaintenanceConfigurationCommand.js +22 -0
  80. package/dist-es/commands/PutTablePolicyCommand.js +22 -0
  81. package/dist-es/commands/RenameTableCommand.js +22 -0
  82. package/dist-es/commands/UpdateTableMetadataLocationCommand.js +22 -0
  83. package/dist-es/commands/index.js +26 -0
  84. package/dist-es/endpoint/EndpointParameters.js +14 -0
  85. package/dist-es/endpoint/endpointResolver.js +14 -0
  86. package/dist-es/endpoint/ruleset.js +4 -0
  87. package/dist-es/extensionConfiguration.js +1 -0
  88. package/dist-es/index.js +6 -0
  89. package/dist-es/models/S3TablesServiceException.js +8 -0
  90. package/dist-es/models/index.js +1 -0
  91. package/dist-es/models/models_0.js +132 -0
  92. package/dist-es/pagination/Interfaces.js +1 -0
  93. package/dist-es/pagination/ListNamespacesPaginator.js +4 -0
  94. package/dist-es/pagination/ListTableBucketsPaginator.js +4 -0
  95. package/dist-es/pagination/ListTablesPaginator.js +4 -0
  96. package/dist-es/pagination/index.js +4 -0
  97. package/dist-es/protocols/Aws_restJson1.js +898 -0
  98. package/dist-es/runtimeConfig.browser.js +34 -0
  99. package/dist-es/runtimeConfig.js +45 -0
  100. package/dist-es/runtimeConfig.native.js +11 -0
  101. package/dist-es/runtimeConfig.shared.js +30 -0
  102. package/dist-es/runtimeExtensions.js +21 -0
  103. package/dist-types/S3Tables.d.ts +193 -0
  104. package/dist-types/S3TablesClient.d.ts +195 -0
  105. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  106. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  107. package/dist-types/commands/CreateNamespaceCommand.d.ts +96 -0
  108. package/dist-types/commands/CreateTableBucketCommand.d.ts +90 -0
  109. package/dist-types/commands/CreateTableCommand.d.ts +94 -0
  110. package/dist-types/commands/DeleteNamespaceCommand.d.ts +89 -0
  111. package/dist-types/commands/DeleteTableBucketCommand.d.ts +88 -0
  112. package/dist-types/commands/DeleteTableBucketPolicyCommand.d.ts +88 -0
  113. package/dist-types/commands/DeleteTableCommand.d.ts +91 -0
  114. package/dist-types/commands/DeleteTablePolicyCommand.d.ts +90 -0
  115. package/dist-types/commands/GetNamespaceCommand.d.ts +99 -0
  116. package/dist-types/commands/GetTableBucketCommand.d.ts +96 -0
  117. package/dist-types/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +101 -0
  118. package/dist-types/commands/GetTableBucketPolicyCommand.d.ts +90 -0
  119. package/dist-types/commands/GetTableCommand.d.ts +110 -0
  120. package/dist-types/commands/GetTableMaintenanceConfigurationCommand.d.ts +106 -0
  121. package/dist-types/commands/GetTableMaintenanceJobStatusCommand.d.ts +99 -0
  122. package/dist-types/commands/GetTableMetadataLocationCommand.d.ts +94 -0
  123. package/dist-types/commands/GetTablePolicyCommand.d.ts +92 -0
  124. package/dist-types/commands/ListNamespacesCommand.d.ts +106 -0
  125. package/dist-types/commands/ListTableBucketsCommand.d.ts +103 -0
  126. package/dist-types/commands/ListTablesCommand.d.ts +106 -0
  127. package/dist-types/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +99 -0
  128. package/dist-types/commands/PutTableBucketPolicyCommand.d.ts +90 -0
  129. package/dist-types/commands/PutTableMaintenanceConfigurationCommand.d.ts +104 -0
  130. package/dist-types/commands/PutTablePolicyCommand.d.ts +92 -0
  131. package/dist-types/commands/RenameTableCommand.d.ts +93 -0
  132. package/dist-types/commands/UpdateTableMetadataLocationCommand.d.ts +100 -0
  133. package/dist-types/commands/index.d.ts +26 -0
  134. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  135. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  136. package/dist-types/endpoint/ruleset.d.ts +2 -0
  137. package/dist-types/extensionConfiguration.d.ts +9 -0
  138. package/dist-types/index.d.ts +14 -0
  139. package/dist-types/models/S3TablesServiceException.d.ts +14 -0
  140. package/dist-types/models/index.d.ts +1 -0
  141. package/dist-types/models/models_0.d.ts +1280 -0
  142. package/dist-types/pagination/Interfaces.d.ts +8 -0
  143. package/dist-types/pagination/ListNamespacesPaginator.d.ts +7 -0
  144. package/dist-types/pagination/ListTableBucketsPaginator.d.ts +7 -0
  145. package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
  146. package/dist-types/pagination/index.d.ts +4 -0
  147. package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
  148. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  149. package/dist-types/runtimeConfig.d.ts +48 -0
  150. package/dist-types/runtimeConfig.native.d.ts +47 -0
  151. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  152. package/dist-types/runtimeExtensions.d.ts +17 -0
  153. package/dist-types/ts3.4/S3Tables.d.ts +460 -0
  154. package/dist-types/ts3.4/S3TablesClient.d.ts +274 -0
  155. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  156. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  157. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +50 -0
  158. package/dist-types/ts3.4/commands/CreateTableBucketCommand.d.ts +51 -0
  159. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
  160. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +45 -0
  161. package/dist-types/ts3.4/commands/DeleteTableBucketCommand.d.ts +46 -0
  162. package/dist-types/ts3.4/commands/DeleteTableBucketPolicyCommand.d.ts +47 -0
  163. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +45 -0
  164. package/dist-types/ts3.4/commands/DeleteTablePolicyCommand.d.ts +46 -0
  165. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +47 -0
  166. package/dist-types/ts3.4/commands/GetTableBucketCommand.d.ts +50 -0
  167. package/dist-types/ts3.4/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/GetTableBucketPolicyCommand.d.ts +51 -0
  169. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +47 -0
  170. package/dist-types/ts3.4/commands/GetTableMaintenanceConfigurationCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/GetTableMaintenanceJobStatusCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/GetTableMetadataLocationCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/GetTablePolicyCommand.d.ts +50 -0
  174. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +50 -0
  175. package/dist-types/ts3.4/commands/ListTableBucketsCommand.d.ts +50 -0
  176. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
  177. package/dist-types/ts3.4/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +47 -0
  178. package/dist-types/ts3.4/commands/PutTableBucketPolicyCommand.d.ts +46 -0
  179. package/dist-types/ts3.4/commands/PutTableMaintenanceConfigurationCommand.d.ts +47 -0
  180. package/dist-types/ts3.4/commands/PutTablePolicyCommand.d.ts +45 -0
  181. package/dist-types/ts3.4/commands/RenameTableCommand.d.ts +45 -0
  182. package/dist-types/ts3.4/commands/UpdateTableMetadataLocationCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  184. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  185. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  186. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  187. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  188. package/dist-types/ts3.4/index.d.ts +9 -0
  189. package/dist-types/ts3.4/models/S3TablesServiceException.d.ts +9 -0
  190. package/dist-types/ts3.4/models/index.d.ts +1 -0
  191. package/dist-types/ts3.4/models/models_0.d.ts +399 -0
  192. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  193. package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/ListTableBucketsPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  197. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
  198. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  199. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  200. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  201. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  202. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  203. package/package.json +101 -0
@@ -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_GetTableCommand, se_GetTableCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableCommand 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", "GetTable", {})
17
+ .n("S3TablesClient", "GetTableCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableCommand)
20
+ .de(de_GetTableCommand)
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_GetTableMaintenanceConfigurationCommand, se_GetTableMaintenanceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableMaintenanceConfigurationCommand 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", "GetTableMaintenanceConfiguration", {})
17
+ .n("S3TablesClient", "GetTableMaintenanceConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableMaintenanceConfigurationCommand)
20
+ .de(de_GetTableMaintenanceConfigurationCommand)
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_GetTableMaintenanceJobStatusCommand, se_GetTableMaintenanceJobStatusCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableMaintenanceJobStatusCommand 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", "GetTableMaintenanceJobStatus", {})
17
+ .n("S3TablesClient", "GetTableMaintenanceJobStatusCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableMaintenanceJobStatusCommand)
20
+ .de(de_GetTableMaintenanceJobStatusCommand)
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_GetTableMetadataLocationCommand, se_GetTableMetadataLocationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTableMetadataLocationCommand 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", "GetTableMetadataLocation", {})
17
+ .n("S3TablesClient", "GetTableMetadataLocationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTableMetadataLocationCommand)
20
+ .de(de_GetTableMetadataLocationCommand)
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_GetTablePolicyCommand, se_GetTablePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetTablePolicyCommand 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", "GetTablePolicy", {})
17
+ .n("S3TablesClient", "GetTablePolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTablePolicyCommand)
20
+ .de(de_GetTablePolicyCommand)
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_ListNamespacesCommand, se_ListNamespacesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListNamespacesCommand 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", "ListNamespaces", {})
17
+ .n("S3TablesClient", "ListNamespacesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListNamespacesCommand)
20
+ .de(de_ListNamespacesCommand)
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_ListTableBucketsCommand, se_ListTableBucketsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTableBucketsCommand 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", "ListTableBuckets", {})
17
+ .n("S3TablesClient", "ListTableBucketsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTableBucketsCommand)
20
+ .de(de_ListTableBucketsCommand)
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_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTablesCommand 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", "ListTables", {})
17
+ .n("S3TablesClient", "ListTablesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTablesCommand)
20
+ .de(de_ListTablesCommand)
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_PutTableBucketMaintenanceConfigurationCommand, se_PutTableBucketMaintenanceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutTableBucketMaintenanceConfigurationCommand 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", "PutTableBucketMaintenanceConfiguration", {})
17
+ .n("S3TablesClient", "PutTableBucketMaintenanceConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutTableBucketMaintenanceConfigurationCommand)
20
+ .de(de_PutTableBucketMaintenanceConfigurationCommand)
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_PutTableBucketPolicyCommand, se_PutTableBucketPolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutTableBucketPolicyCommand 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", "PutTableBucketPolicy", {})
17
+ .n("S3TablesClient", "PutTableBucketPolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutTableBucketPolicyCommand)
20
+ .de(de_PutTableBucketPolicyCommand)
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_PutTableMaintenanceConfigurationCommand, se_PutTableMaintenanceConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutTableMaintenanceConfigurationCommand 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", "PutTableMaintenanceConfiguration", {})
17
+ .n("S3TablesClient", "PutTableMaintenanceConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutTableMaintenanceConfigurationCommand)
20
+ .de(de_PutTableMaintenanceConfigurationCommand)
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_PutTablePolicyCommand, se_PutTablePolicyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutTablePolicyCommand 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", "PutTablePolicy", {})
17
+ .n("S3TablesClient", "PutTablePolicyCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutTablePolicyCommand)
20
+ .de(de_PutTablePolicyCommand)
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_RenameTableCommand, se_RenameTableCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class RenameTableCommand 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", "RenameTable", {})
17
+ .n("S3TablesClient", "RenameTableCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_RenameTableCommand)
20
+ .de(de_RenameTableCommand)
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_UpdateTableMetadataLocationCommand, se_UpdateTableMetadataLocationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateTableMetadataLocationCommand 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", "UpdateTableMetadataLocation", {})
17
+ .n("S3TablesClient", "UpdateTableMetadataLocationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateTableMetadataLocationCommand)
20
+ .de(de_UpdateTableMetadataLocationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,26 @@
1
+ export * from "./CreateNamespaceCommand";
2
+ export * from "./CreateTableBucketCommand";
3
+ export * from "./CreateTableCommand";
4
+ export * from "./DeleteNamespaceCommand";
5
+ export * from "./DeleteTableBucketCommand";
6
+ export * from "./DeleteTableBucketPolicyCommand";
7
+ export * from "./DeleteTableCommand";
8
+ export * from "./DeleteTablePolicyCommand";
9
+ export * from "./GetNamespaceCommand";
10
+ export * from "./GetTableBucketCommand";
11
+ export * from "./GetTableBucketMaintenanceConfigurationCommand";
12
+ export * from "./GetTableBucketPolicyCommand";
13
+ export * from "./GetTableCommand";
14
+ export * from "./GetTableMaintenanceConfigurationCommand";
15
+ export * from "./GetTableMaintenanceJobStatusCommand";
16
+ export * from "./GetTableMetadataLocationCommand";
17
+ export * from "./GetTablePolicyCommand";
18
+ export * from "./ListNamespacesCommand";
19
+ export * from "./ListTableBucketsCommand";
20
+ export * from "./ListTablesCommand";
21
+ export * from "./PutTableBucketMaintenanceConfigurationCommand";
22
+ export * from "./PutTableBucketPolicyCommand";
23
+ export * from "./PutTableMaintenanceConfigurationCommand";
24
+ export * from "./PutTablePolicyCommand";
25
+ export * from "./RenameTableCommand";
26
+ export * from "./UpdateTableMetadataLocationCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "s3tables",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://s3tables-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://s3tables-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://s3tables.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://s3tables.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./S3TablesClient";
2
+ export * from "./S3Tables";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { S3TablesServiceException } from "./models/S3TablesServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class S3TablesServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, S3TablesServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,132 @@
1
+ import { S3TablesServiceException as __BaseException } from "./S3TablesServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "AccessDeniedException",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "AccessDeniedException";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class BadRequestException extends __BaseException {
15
+ constructor(opts) {
16
+ super({
17
+ name: "BadRequestException",
18
+ $fault: "client",
19
+ ...opts,
20
+ });
21
+ this.name = "BadRequestException";
22
+ this.$fault = "client";
23
+ Object.setPrototypeOf(this, BadRequestException.prototype);
24
+ }
25
+ }
26
+ export class ConflictException extends __BaseException {
27
+ constructor(opts) {
28
+ super({
29
+ name: "ConflictException",
30
+ $fault: "client",
31
+ ...opts,
32
+ });
33
+ this.name = "ConflictException";
34
+ this.$fault = "client";
35
+ Object.setPrototypeOf(this, ConflictException.prototype);
36
+ }
37
+ }
38
+ export class ForbiddenException extends __BaseException {
39
+ constructor(opts) {
40
+ super({
41
+ name: "ForbiddenException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ this.name = "ForbiddenException";
46
+ this.$fault = "client";
47
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
48
+ }
49
+ }
50
+ export class InternalServerErrorException extends __BaseException {
51
+ constructor(opts) {
52
+ super({
53
+ name: "InternalServerErrorException",
54
+ $fault: "server",
55
+ ...opts,
56
+ });
57
+ this.name = "InternalServerErrorException";
58
+ this.$fault = "server";
59
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
60
+ }
61
+ }
62
+ export class NotFoundException extends __BaseException {
63
+ constructor(opts) {
64
+ super({
65
+ name: "NotFoundException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ this.name = "NotFoundException";
70
+ this.$fault = "client";
71
+ Object.setPrototypeOf(this, NotFoundException.prototype);
72
+ }
73
+ }
74
+ export class TooManyRequestsException extends __BaseException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "TooManyRequestsException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ this.name = "TooManyRequestsException";
82
+ this.$fault = "client";
83
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
84
+ }
85
+ }
86
+ export const OpenTableFormat = {
87
+ ICEBERG: "ICEBERG",
88
+ };
89
+ export const TableType = {
90
+ AWS: "aws",
91
+ CUSTOMER: "customer",
92
+ };
93
+ export const TableBucketMaintenanceType = {
94
+ ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
95
+ };
96
+ export var TableBucketMaintenanceSettings;
97
+ (function (TableBucketMaintenanceSettings) {
98
+ TableBucketMaintenanceSettings.visit = (value, visitor) => {
99
+ if (value.icebergUnreferencedFileRemoval !== undefined)
100
+ return visitor.icebergUnreferencedFileRemoval(value.icebergUnreferencedFileRemoval);
101
+ return visitor._(value.$unknown[0], value.$unknown[1]);
102
+ };
103
+ })(TableBucketMaintenanceSettings || (TableBucketMaintenanceSettings = {}));
104
+ export const MaintenanceStatus = {
105
+ DISABLED: "disabled",
106
+ ENABLED: "enabled",
107
+ };
108
+ export const TableMaintenanceType = {
109
+ ICEBERG_COMPACTION: "icebergCompaction",
110
+ ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
111
+ };
112
+ export var TableMaintenanceSettings;
113
+ (function (TableMaintenanceSettings) {
114
+ TableMaintenanceSettings.visit = (value, visitor) => {
115
+ if (value.icebergCompaction !== undefined)
116
+ return visitor.icebergCompaction(value.icebergCompaction);
117
+ if (value.icebergSnapshotManagement !== undefined)
118
+ return visitor.icebergSnapshotManagement(value.icebergSnapshotManagement);
119
+ return visitor._(value.$unknown[0], value.$unknown[1]);
120
+ };
121
+ })(TableMaintenanceSettings || (TableMaintenanceSettings = {}));
122
+ export const TableMaintenanceJobType = {
123
+ ICEBERG_COMPACTION: "icebergCompaction",
124
+ ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
125
+ ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
126
+ };
127
+ export const JobStatus = {
128
+ DISABLED: "Disabled",
129
+ FAILED: "Failed",
130
+ NOT_YET_RUN: "Not_Yet_Run",
131
+ SUCCESSFUL: "Successful",
132
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListNamespacesCommand, } from "../commands/ListNamespacesCommand";
3
+ import { S3TablesClient } from "../S3TablesClient";
4
+ export const paginateListNamespaces = createPaginator(S3TablesClient, ListNamespacesCommand, "continuationToken", "continuationToken", "maxNamespaces");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTableBucketsCommand, } from "../commands/ListTableBucketsCommand";
3
+ import { S3TablesClient } from "../S3TablesClient";
4
+ export const paginateListTableBuckets = createPaginator(S3TablesClient, ListTableBucketsCommand, "continuationToken", "continuationToken", "maxBuckets");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTablesCommand } from "../commands/ListTablesCommand";
3
+ import { S3TablesClient } from "../S3TablesClient";
4
+ export const paginateListTables = createPaginator(S3TablesClient, ListTablesCommand, "continuationToken", "continuationToken", "maxTables");
@@ -0,0 +1,4 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListNamespacesPaginator";
3
+ export * from "./ListTableBucketsPaginator";
4
+ export * from "./ListTablesPaginator";