@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,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTableMaintenanceConfigurationRequest, GetTableMaintenanceConfigurationResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTableMaintenanceConfigurationCommand}.
14
+ */
15
+ export interface GetTableMaintenanceConfigurationCommandInput extends GetTableMaintenanceConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTableMaintenanceConfigurationCommand}.
21
+ */
22
+ export interface GetTableMaintenanceConfigurationCommandOutput extends GetTableMaintenanceConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTableMaintenanceConfigurationCommand_base: {
25
+ new (input: GetTableMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTableMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets details about the maintenance configuration of a table.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, GetTableMaintenanceConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, GetTableMaintenanceConfigurationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // GetTableMaintenanceConfigurationRequest
38
+ * tableBucketARN: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTableMaintenanceConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTableMaintenanceConfigurationResponse
45
+ * // tableARN: "STRING_VALUE", // required
46
+ * // configuration: { // TableMaintenanceConfiguration // required
47
+ * // "<keys>": { // TableMaintenanceConfigurationValue
48
+ * // status: "enabled" || "disabled",
49
+ * // settings: { // TableMaintenanceSettings Union: only one key present
50
+ * // icebergCompaction: { // IcebergCompactionSettings
51
+ * // targetFileSizeMB: Number("int"),
52
+ * // },
53
+ * // icebergSnapshotManagement: { // IcebergSnapshotManagementSettings
54
+ * // minSnapshotsToKeep: Number("int"),
55
+ * // maxSnapshotAgeHours: Number("int"),
56
+ * // },
57
+ * // },
58
+ * // },
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetTableMaintenanceConfigurationCommandInput - {@link GetTableMaintenanceConfigurationCommandInput}
65
+ * @returns {@link GetTableMaintenanceConfigurationCommandOutput}
66
+ * @see {@link GetTableMaintenanceConfigurationCommandInput} for command's `input` shape.
67
+ * @see {@link GetTableMaintenanceConfigurationCommandOutput} for command's `response` shape.
68
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
69
+ *
70
+ * @throws {@link BadRequestException} (client fault)
71
+ * <p>The request is invalid or malformed.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
75
+ * request.</p>
76
+ *
77
+ * @throws {@link ForbiddenException} (client fault)
78
+ * <p>The caller isn't authorized to make the request.</p>
79
+ *
80
+ * @throws {@link InternalServerErrorException} (server fault)
81
+ * <p>The request failed due to an internal server error.</p>
82
+ *
83
+ * @throws {@link NotFoundException} (client fault)
84
+ * <p>The request was rejected because the specified resource could not be found.</p>
85
+ *
86
+ * @throws {@link TooManyRequestsException} (client fault)
87
+ * <p>The limit on the number of requests per second was exceeded.</p>
88
+ *
89
+ * @throws {@link S3TablesServiceException}
90
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class GetTableMaintenanceConfigurationCommand extends GetTableMaintenanceConfigurationCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: GetTableMaintenanceConfigurationRequest;
99
+ output: GetTableMaintenanceConfigurationResponse;
100
+ };
101
+ sdk: {
102
+ input: GetTableMaintenanceConfigurationCommandInput;
103
+ output: GetTableMaintenanceConfigurationCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTableMaintenanceJobStatusRequest, GetTableMaintenanceJobStatusResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTableMaintenanceJobStatusCommand}.
14
+ */
15
+ export interface GetTableMaintenanceJobStatusCommandInput extends GetTableMaintenanceJobStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTableMaintenanceJobStatusCommand}.
21
+ */
22
+ export interface GetTableMaintenanceJobStatusCommandOutput extends GetTableMaintenanceJobStatusResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTableMaintenanceJobStatusCommand_base: {
25
+ new (input: GetTableMaintenanceJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTableMaintenanceJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the status of a maintenance job for a table.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, GetTableMaintenanceJobStatusCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, GetTableMaintenanceJobStatusCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // GetTableMaintenanceJobStatusRequest
38
+ * tableBucketARN: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTableMaintenanceJobStatusCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTableMaintenanceJobStatusResponse
45
+ * // tableARN: "STRING_VALUE", // required
46
+ * // status: { // TableMaintenanceJobStatus // required
47
+ * // "<keys>": { // TableMaintenanceJobStatusValue
48
+ * // status: "Not_Yet_Run" || "Successful" || "Failed" || "Disabled", // required
49
+ * // lastRunTimestamp: new Date("TIMESTAMP"),
50
+ * // failureMessage: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetTableMaintenanceJobStatusCommandInput - {@link GetTableMaintenanceJobStatusCommandInput}
58
+ * @returns {@link GetTableMaintenanceJobStatusCommandOutput}
59
+ * @see {@link GetTableMaintenanceJobStatusCommandInput} for command's `input` shape.
60
+ * @see {@link GetTableMaintenanceJobStatusCommandOutput} for command's `response` shape.
61
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
62
+ *
63
+ * @throws {@link BadRequestException} (client fault)
64
+ * <p>The request is invalid or malformed.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
68
+ * request.</p>
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ * <p>The caller isn't authorized to make the request.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>The request failed due to an internal server error.</p>
75
+ *
76
+ * @throws {@link NotFoundException} (client fault)
77
+ * <p>The request was rejected because the specified resource could not be found.</p>
78
+ *
79
+ * @throws {@link TooManyRequestsException} (client fault)
80
+ * <p>The limit on the number of requests per second was exceeded.</p>
81
+ *
82
+ * @throws {@link S3TablesServiceException}
83
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetTableMaintenanceJobStatusCommand extends GetTableMaintenanceJobStatusCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetTableMaintenanceJobStatusRequest;
92
+ output: GetTableMaintenanceJobStatusResponse;
93
+ };
94
+ sdk: {
95
+ input: GetTableMaintenanceJobStatusCommandInput;
96
+ output: GetTableMaintenanceJobStatusCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTableMetadataLocationRequest, GetTableMetadataLocationResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTableMetadataLocationCommand}.
14
+ */
15
+ export interface GetTableMetadataLocationCommandInput extends GetTableMetadataLocationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTableMetadataLocationCommand}.
21
+ */
22
+ export interface GetTableMetadataLocationCommandOutput extends GetTableMetadataLocationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTableMetadataLocationCommand_base: {
25
+ new (input: GetTableMetadataLocationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTableMetadataLocationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the location of the table metadata.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, GetTableMetadataLocationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, GetTableMetadataLocationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // GetTableMetadataLocationRequest
38
+ * tableBucketARN: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTableMetadataLocationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTableMetadataLocationResponse
45
+ * // versionToken: "STRING_VALUE", // required
46
+ * // metadataLocation: "STRING_VALUE",
47
+ * // warehouseLocation: "STRING_VALUE", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetTableMetadataLocationCommandInput - {@link GetTableMetadataLocationCommandInput}
53
+ * @returns {@link GetTableMetadataLocationCommandOutput}
54
+ * @see {@link GetTableMetadataLocationCommandInput} for command's `input` shape.
55
+ * @see {@link GetTableMetadataLocationCommandOutput} for command's `response` shape.
56
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
57
+ *
58
+ * @throws {@link BadRequestException} (client fault)
59
+ * <p>The request is invalid or malformed.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
63
+ * request.</p>
64
+ *
65
+ * @throws {@link ForbiddenException} (client fault)
66
+ * <p>The caller isn't authorized to make the request.</p>
67
+ *
68
+ * @throws {@link InternalServerErrorException} (server fault)
69
+ * <p>The request failed due to an internal server error.</p>
70
+ *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ * <p>The request was rejected because the specified resource could not be found.</p>
73
+ *
74
+ * @throws {@link TooManyRequestsException} (client fault)
75
+ * <p>The limit on the number of requests per second was exceeded.</p>
76
+ *
77
+ * @throws {@link S3TablesServiceException}
78
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class GetTableMetadataLocationCommand extends GetTableMetadataLocationCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetTableMetadataLocationRequest;
87
+ output: GetTableMetadataLocationResponse;
88
+ };
89
+ sdk: {
90
+ input: GetTableMetadataLocationCommandInput;
91
+ output: GetTableMetadataLocationCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetTablePolicyRequest, GetTablePolicyResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTablePolicyCommand}.
14
+ */
15
+ export interface GetTablePolicyCommandInput extends GetTablePolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTablePolicyCommand}.
21
+ */
22
+ export interface GetTablePolicyCommandOutput extends GetTablePolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTablePolicyCommand_base: {
25
+ new (input: GetTablePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTablePolicyCommandInput, GetTablePolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTablePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetTablePolicyCommandInput, GetTablePolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets details about a table policy.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, GetTablePolicyCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, GetTablePolicyCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // GetTablePolicyRequest
38
+ * tableBucketARN: "STRING_VALUE", // required
39
+ * namespace: "STRING_VALUE", // required
40
+ * name: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetTablePolicyCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetTablePolicyResponse
45
+ * // resourcePolicy: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param GetTablePolicyCommandInput - {@link GetTablePolicyCommandInput}
51
+ * @returns {@link GetTablePolicyCommandOutput}
52
+ * @see {@link GetTablePolicyCommandInput} for command's `input` shape.
53
+ * @see {@link GetTablePolicyCommandOutput} for command's `response` shape.
54
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The request is invalid or malformed.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
61
+ * request.</p>
62
+ *
63
+ * @throws {@link ForbiddenException} (client fault)
64
+ * <p>The caller isn't authorized to make the request.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <p>The request failed due to an internal server error.</p>
68
+ *
69
+ * @throws {@link NotFoundException} (client fault)
70
+ * <p>The request was rejected because the specified resource could not be found.</p>
71
+ *
72
+ * @throws {@link TooManyRequestsException} (client fault)
73
+ * <p>The limit on the number of requests per second was exceeded.</p>
74
+ *
75
+ * @throws {@link S3TablesServiceException}
76
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class GetTablePolicyCommand extends GetTablePolicyCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: GetTablePolicyRequest;
85
+ output: GetTablePolicyResponse;
86
+ };
87
+ sdk: {
88
+ input: GetTablePolicyCommandInput;
89
+ output: GetTablePolicyCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListNamespacesRequest, ListNamespacesResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListNamespacesCommand}.
14
+ */
15
+ export interface ListNamespacesCommandInput extends ListNamespacesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListNamespacesCommand}.
21
+ */
22
+ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListNamespacesCommand_base: {
25
+ new (input: ListNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNamespacesCommandInput, ListNamespacesCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListNamespacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNamespacesCommandInput, ListNamespacesCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the namespaces within a table bucket.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, ListNamespacesCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, ListNamespacesCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // ListNamespacesRequest
38
+ * tableBucketARN: "STRING_VALUE", // required
39
+ * prefix: "STRING_VALUE",
40
+ * continuationToken: "STRING_VALUE",
41
+ * maxNamespaces: Number("int"),
42
+ * };
43
+ * const command = new ListNamespacesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListNamespacesResponse
46
+ * // namespaces: [ // NamespaceSummaryList // required
47
+ * // { // NamespaceSummary
48
+ * // namespace: [ // NamespaceList // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // createdBy: "STRING_VALUE", // required
53
+ * // ownerAccountId: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // continuationToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListNamespacesCommandInput - {@link ListNamespacesCommandInput}
62
+ * @returns {@link ListNamespacesCommandOutput}
63
+ * @see {@link ListNamespacesCommandInput} for command's `input` shape.
64
+ * @see {@link ListNamespacesCommandOutput} for command's `response` shape.
65
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The action cannot be performed because you do not have the required permission.</p>
69
+ *
70
+ * @throws {@link BadRequestException} (client fault)
71
+ * <p>The request is invalid or malformed.</p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
75
+ * request.</p>
76
+ *
77
+ * @throws {@link ForbiddenException} (client fault)
78
+ * <p>The caller isn't authorized to make the request.</p>
79
+ *
80
+ * @throws {@link InternalServerErrorException} (server fault)
81
+ * <p>The request failed due to an internal server error.</p>
82
+ *
83
+ * @throws {@link NotFoundException} (client fault)
84
+ * <p>The request was rejected because the specified resource could not be found.</p>
85
+ *
86
+ * @throws {@link TooManyRequestsException} (client fault)
87
+ * <p>The limit on the number of requests per second was exceeded.</p>
88
+ *
89
+ * @throws {@link S3TablesServiceException}
90
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListNamespacesCommand extends ListNamespacesCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListNamespacesRequest;
99
+ output: ListNamespacesResponse;
100
+ };
101
+ sdk: {
102
+ input: ListNamespacesCommandInput;
103
+ output: ListNamespacesCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListTableBucketsRequest, ListTableBucketsResponse } from "../models/models_0";
4
+ import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTableBucketsCommand}.
14
+ */
15
+ export interface ListTableBucketsCommandInput extends ListTableBucketsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTableBucketsCommand}.
21
+ */
22
+ export interface ListTableBucketsCommandOutput extends ListTableBucketsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTableBucketsCommand_base: {
25
+ new (input: ListTableBucketsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTableBucketsCommandInput, ListTableBucketsCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTableBucketsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTableBucketsCommandInput, ListTableBucketsCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists table buckets for your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { S3TablesClient, ListTableBucketsCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
35
+ * // const { S3TablesClient, ListTableBucketsCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
36
+ * const client = new S3TablesClient(config);
37
+ * const input = { // ListTableBucketsRequest
38
+ * prefix: "STRING_VALUE",
39
+ * continuationToken: "STRING_VALUE",
40
+ * maxBuckets: Number("int"),
41
+ * };
42
+ * const command = new ListTableBucketsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListTableBucketsResponse
45
+ * // tableBuckets: [ // TableBucketSummaryList // required
46
+ * // { // TableBucketSummary
47
+ * // arn: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // ownerAccountId: "STRING_VALUE", // required
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // },
52
+ * // ],
53
+ * // continuationToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListTableBucketsCommandInput - {@link ListTableBucketsCommandInput}
59
+ * @returns {@link ListTableBucketsCommandOutput}
60
+ * @see {@link ListTableBucketsCommandInput} for command's `input` shape.
61
+ * @see {@link ListTableBucketsCommandOutput} for command's `response` shape.
62
+ * @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The action cannot be performed because you do not have the required permission.</p>
66
+ *
67
+ * @throws {@link BadRequestException} (client fault)
68
+ * <p>The request is invalid or malformed.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>The request failed because there is a conflict with a previous write. You can retry the
72
+ * request.</p>
73
+ *
74
+ * @throws {@link ForbiddenException} (client fault)
75
+ * <p>The caller isn't authorized to make the request.</p>
76
+ *
77
+ * @throws {@link InternalServerErrorException} (server fault)
78
+ * <p>The request failed due to an internal server error.</p>
79
+ *
80
+ * @throws {@link NotFoundException} (client fault)
81
+ * <p>The request was rejected because the specified resource could not be found.</p>
82
+ *
83
+ * @throws {@link TooManyRequestsException} (client fault)
84
+ * <p>The limit on the number of requests per second was exceeded.</p>
85
+ *
86
+ * @throws {@link S3TablesServiceException}
87
+ * <p>Base exception class for all service exceptions from S3Tables service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListTableBucketsCommand extends ListTableBucketsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListTableBucketsRequest;
96
+ output: ListTableBucketsResponse;
97
+ };
98
+ sdk: {
99
+ input: ListTableBucketsCommandInput;
100
+ output: ListTableBucketsCommandOutput;
101
+ };
102
+ };
103
+ }