@aws-sdk/client-s3tables 3.899.0 → 3.906.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 (2) hide show
  1. package/dist-cjs/index.js +1848 -1988
  2. package/package.json +37 -37
package/dist-cjs/index.js CHANGED
@@ -1,2033 +1,1893 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AccessDeniedException: () => AccessDeniedException,
25
- BadRequestException: () => BadRequestException,
26
- ConflictException: () => ConflictException,
27
- CreateNamespaceCommand: () => CreateNamespaceCommand,
28
- CreateTableBucketCommand: () => CreateTableBucketCommand,
29
- CreateTableCommand: () => CreateTableCommand,
30
- DeleteNamespaceCommand: () => DeleteNamespaceCommand,
31
- DeleteTableBucketCommand: () => DeleteTableBucketCommand,
32
- DeleteTableBucketEncryptionCommand: () => DeleteTableBucketEncryptionCommand,
33
- DeleteTableBucketPolicyCommand: () => DeleteTableBucketPolicyCommand,
34
- DeleteTableCommand: () => DeleteTableCommand,
35
- DeleteTablePolicyCommand: () => DeleteTablePolicyCommand,
36
- ForbiddenException: () => ForbiddenException,
37
- GetNamespaceCommand: () => GetNamespaceCommand,
38
- GetTableBucketCommand: () => GetTableBucketCommand,
39
- GetTableBucketEncryptionCommand: () => GetTableBucketEncryptionCommand,
40
- GetTableBucketMaintenanceConfigurationCommand: () => GetTableBucketMaintenanceConfigurationCommand,
41
- GetTableBucketPolicyCommand: () => GetTableBucketPolicyCommand,
42
- GetTableCommand: () => GetTableCommand,
43
- GetTableEncryptionCommand: () => GetTableEncryptionCommand,
44
- GetTableMaintenanceConfigurationCommand: () => GetTableMaintenanceConfigurationCommand,
45
- GetTableMaintenanceJobStatusCommand: () => GetTableMaintenanceJobStatusCommand,
46
- GetTableMetadataLocationCommand: () => GetTableMetadataLocationCommand,
47
- GetTablePolicyCommand: () => GetTablePolicyCommand,
48
- IcebergCompactionStrategy: () => IcebergCompactionStrategy,
49
- InternalServerErrorException: () => InternalServerErrorException,
50
- JobStatus: () => JobStatus,
51
- ListNamespacesCommand: () => ListNamespacesCommand,
52
- ListTableBucketsCommand: () => ListTableBucketsCommand,
53
- ListTablesCommand: () => ListTablesCommand,
54
- MaintenanceStatus: () => MaintenanceStatus,
55
- NotFoundException: () => NotFoundException,
56
- OpenTableFormat: () => OpenTableFormat,
57
- PutTableBucketEncryptionCommand: () => PutTableBucketEncryptionCommand,
58
- PutTableBucketMaintenanceConfigurationCommand: () => PutTableBucketMaintenanceConfigurationCommand,
59
- PutTableBucketPolicyCommand: () => PutTableBucketPolicyCommand,
60
- PutTableMaintenanceConfigurationCommand: () => PutTableMaintenanceConfigurationCommand,
61
- PutTablePolicyCommand: () => PutTablePolicyCommand,
62
- RenameTableCommand: () => RenameTableCommand,
63
- S3Tables: () => S3Tables,
64
- S3TablesClient: () => S3TablesClient,
65
- S3TablesServiceException: () => S3TablesServiceException,
66
- SSEAlgorithm: () => SSEAlgorithm,
67
- TableBucketMaintenanceSettings: () => TableBucketMaintenanceSettings,
68
- TableBucketMaintenanceType: () => TableBucketMaintenanceType,
69
- TableBucketType: () => TableBucketType,
70
- TableMaintenanceJobType: () => TableMaintenanceJobType,
71
- TableMaintenanceSettings: () => TableMaintenanceSettings,
72
- TableMaintenanceType: () => TableMaintenanceType,
73
- TableMetadata: () => TableMetadata,
74
- TableType: () => TableType,
75
- TooManyRequestsException: () => TooManyRequestsException,
76
- UpdateTableMetadataLocationCommand: () => UpdateTableMetadataLocationCommand,
77
- __Client: () => import_smithy_client.Client,
78
- paginateListNamespaces: () => paginateListNamespaces,
79
- paginateListTableBuckets: () => paginateListTableBuckets,
80
- paginateListTables: () => paginateListTables
81
- });
82
- module.exports = __toCommonJS(index_exports);
83
-
84
- // src/S3TablesClient.ts
85
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
86
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
87
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
88
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
89
- var import_config_resolver = require("@smithy/config-resolver");
90
- var import_core = require("@smithy/core");
91
- var import_middleware_content_length = require("@smithy/middleware-content-length");
92
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
93
- var import_middleware_retry = require("@smithy/middleware-retry");
94
-
95
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
96
-
97
- // src/endpoint/EndpointParameters.ts
98
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
99
- return Object.assign(options, {
100
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
101
- useFipsEndpoint: options.useFipsEndpoint ?? false,
102
- defaultSigningName: "s3tables"
103
- });
104
- }, "resolveClientEndpointParameters");
105
- var commonParams = {
106
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
107
- Endpoint: { type: "builtInParams", name: "endpoint" },
108
- Region: { type: "builtInParams", name: "region" },
109
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "s3tables",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
110
32
  };
111
33
 
112
- // src/S3TablesClient.ts
113
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
114
72
 
115
- // src/runtimeExtensions.ts
116
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
117
- var import_protocol_http = require("@smithy/protocol-http");
118
- var import_smithy_client = require("@smithy/smithy-client");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
119
78
 
120
- // src/auth/httpAuthExtensionConfiguration.ts
121
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
122
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
123
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
124
- let _credentials = runtimeConfig.credentials;
125
- return {
126
- setHttpAuthScheme(httpAuthScheme) {
127
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
128
- if (index === -1) {
129
- _httpAuthSchemes.push(httpAuthScheme);
130
- } else {
131
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
132
- }
133
- },
134
- httpAuthSchemes() {
135
- return _httpAuthSchemes;
136
- },
137
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
138
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
139
- },
140
- httpAuthSchemeProvider() {
141
- return _httpAuthSchemeProvider;
142
- },
143
- setCredentials(credentials) {
144
- _credentials = credentials;
145
- },
146
- credentials() {
147
- return _credentials;
79
+ class S3TablesClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultS3TablesHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
148
107
  }
149
- };
150
- }, "getHttpAuthExtensionConfiguration");
151
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
152
- return {
153
- httpAuthSchemes: config.httpAuthSchemes(),
154
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
155
- credentials: config.credentials()
156
- };
157
- }, "resolveHttpAuthRuntimeConfig");
158
-
159
- // src/runtimeExtensions.ts
160
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
161
- const extensionConfiguration = Object.assign(
162
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
163
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
164
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
165
- getHttpAuthExtensionConfiguration(runtimeConfig)
166
- );
167
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
168
- return Object.assign(
169
- runtimeConfig,
170
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
171
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
172
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
173
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
174
- );
175
- }, "resolveRuntimeExtensions");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
176
112
 
177
- // src/S3TablesClient.ts
178
- var S3TablesClient = class extends import_smithy_client.Client {
179
- static {
180
- __name(this, "S3TablesClient");
181
- }
182
- /**
183
- * The resolved configuration of S3TablesClient class. This is resolved and normalized from the {@link S3TablesClientConfig | constructor configuration interface}.
184
- */
185
- config;
186
- constructor(...[configuration]) {
187
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
188
- super(_config_0);
189
- this.initConfig = _config_0;
190
- const _config_1 = resolveClientEndpointParameters(_config_0);
191
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
192
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
193
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
194
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
195
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
196
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
197
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
198
- this.config = _config_8;
199
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
200
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
201
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
202
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
203
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
204
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
205
- this.middlewareStack.use(
206
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
207
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultS3TablesHttpAuthSchemeParametersProvider,
208
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
209
- "aws.auth#sigv4": config.credentials
210
- }), "identityProviderConfigProvider")
211
- })
212
- );
213
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
214
- }
215
- /**
216
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
217
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
218
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
219
- */
220
- destroy() {
221
- super.destroy();
222
- }
113
+ class S3TablesServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, S3TablesServiceException.prototype);
117
+ }
118
+ }
119
+
120
+ class AccessDeniedException extends S3TablesServiceException {
121
+ name = "AccessDeniedException";
122
+ $fault = "client";
123
+ constructor(opts) {
124
+ super({
125
+ name: "AccessDeniedException",
126
+ $fault: "client",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
+ }
131
+ }
132
+ class BadRequestException extends S3TablesServiceException {
133
+ name = "BadRequestException";
134
+ $fault = "client";
135
+ constructor(opts) {
136
+ super({
137
+ name: "BadRequestException",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, BadRequestException.prototype);
142
+ }
143
+ }
144
+ class ConflictException extends S3TablesServiceException {
145
+ name = "ConflictException";
146
+ $fault = "client";
147
+ constructor(opts) {
148
+ super({
149
+ name: "ConflictException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, ConflictException.prototype);
154
+ }
155
+ }
156
+ class ForbiddenException extends S3TablesServiceException {
157
+ name = "ForbiddenException";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "ForbiddenException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
166
+ }
167
+ }
168
+ class InternalServerErrorException extends S3TablesServiceException {
169
+ name = "InternalServerErrorException";
170
+ $fault = "server";
171
+ constructor(opts) {
172
+ super({
173
+ name: "InternalServerErrorException",
174
+ $fault: "server",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
178
+ }
179
+ }
180
+ class NotFoundException extends S3TablesServiceException {
181
+ name = "NotFoundException";
182
+ $fault = "client";
183
+ constructor(opts) {
184
+ super({
185
+ name: "NotFoundException",
186
+ $fault: "client",
187
+ ...opts,
188
+ });
189
+ Object.setPrototypeOf(this, NotFoundException.prototype);
190
+ }
191
+ }
192
+ class TooManyRequestsException extends S3TablesServiceException {
193
+ name = "TooManyRequestsException";
194
+ $fault = "client";
195
+ constructor(opts) {
196
+ super({
197
+ name: "TooManyRequestsException",
198
+ $fault: "client",
199
+ ...opts,
200
+ });
201
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
202
+ }
203
+ }
204
+ const SSEAlgorithm = {
205
+ AES256: "AES256",
206
+ AWS_KMS: "aws:kms",
223
207
  };
224
-
225
- // src/S3Tables.ts
226
-
227
-
228
- // src/commands/CreateNamespaceCommand.ts
229
-
230
- var import_middleware_serde = require("@smithy/middleware-serde");
231
-
232
-
233
- // src/protocols/Aws_restJson1.ts
234
- var import_core2 = require("@aws-sdk/core");
235
-
236
-
237
-
238
- // src/models/S3TablesServiceException.ts
239
-
240
- var S3TablesServiceException = class _S3TablesServiceException extends import_smithy_client.ServiceException {
241
- static {
242
- __name(this, "S3TablesServiceException");
243
- }
244
- /**
245
- * @internal
246
- */
247
- constructor(options) {
248
- super(options);
249
- Object.setPrototypeOf(this, _S3TablesServiceException.prototype);
250
- }
208
+ const OpenTableFormat = {
209
+ ICEBERG: "ICEBERG",
251
210
  };
252
-
253
- // src/models/models_0.ts
254
- var AccessDeniedException = class _AccessDeniedException extends S3TablesServiceException {
255
- static {
256
- __name(this, "AccessDeniedException");
257
- }
258
- name = "AccessDeniedException";
259
- $fault = "client";
260
- /**
261
- * @internal
262
- */
263
- constructor(opts) {
264
- super({
265
- name: "AccessDeniedException",
266
- $fault: "client",
267
- ...opts
268
- });
269
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
270
- }
271
- };
272
- var BadRequestException = class _BadRequestException extends S3TablesServiceException {
273
- static {
274
- __name(this, "BadRequestException");
275
- }
276
- name = "BadRequestException";
277
- $fault = "client";
278
- /**
279
- * @internal
280
- */
281
- constructor(opts) {
282
- super({
283
- name: "BadRequestException",
284
- $fault: "client",
285
- ...opts
286
- });
287
- Object.setPrototypeOf(this, _BadRequestException.prototype);
288
- }
289
- };
290
- var ConflictException = class _ConflictException extends S3TablesServiceException {
291
- static {
292
- __name(this, "ConflictException");
293
- }
294
- name = "ConflictException";
295
- $fault = "client";
296
- /**
297
- * @internal
298
- */
299
- constructor(opts) {
300
- super({
301
- name: "ConflictException",
302
- $fault: "client",
303
- ...opts
304
- });
305
- Object.setPrototypeOf(this, _ConflictException.prototype);
306
- }
307
- };
308
- var ForbiddenException = class _ForbiddenException extends S3TablesServiceException {
309
- static {
310
- __name(this, "ForbiddenException");
311
- }
312
- name = "ForbiddenException";
313
- $fault = "client";
314
- /**
315
- * @internal
316
- */
317
- constructor(opts) {
318
- super({
319
- name: "ForbiddenException",
320
- $fault: "client",
321
- ...opts
322
- });
323
- Object.setPrototypeOf(this, _ForbiddenException.prototype);
324
- }
325
- };
326
- var InternalServerErrorException = class _InternalServerErrorException extends S3TablesServiceException {
327
- static {
328
- __name(this, "InternalServerErrorException");
329
- }
330
- name = "InternalServerErrorException";
331
- $fault = "server";
332
- /**
333
- * @internal
334
- */
335
- constructor(opts) {
336
- super({
337
- name: "InternalServerErrorException",
338
- $fault: "server",
339
- ...opts
340
- });
341
- Object.setPrototypeOf(this, _InternalServerErrorException.prototype);
342
- }
343
- };
344
- var NotFoundException = class _NotFoundException extends S3TablesServiceException {
345
- static {
346
- __name(this, "NotFoundException");
347
- }
348
- name = "NotFoundException";
349
- $fault = "client";
350
- /**
351
- * @internal
352
- */
353
- constructor(opts) {
354
- super({
355
- name: "NotFoundException",
356
- $fault: "client",
357
- ...opts
358
- });
359
- Object.setPrototypeOf(this, _NotFoundException.prototype);
360
- }
361
- };
362
- var TooManyRequestsException = class _TooManyRequestsException extends S3TablesServiceException {
363
- static {
364
- __name(this, "TooManyRequestsException");
365
- }
366
- name = "TooManyRequestsException";
367
- $fault = "client";
368
- /**
369
- * @internal
370
- */
371
- constructor(opts) {
372
- super({
373
- name: "TooManyRequestsException",
374
- $fault: "client",
375
- ...opts
376
- });
377
- Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
378
- }
379
- };
380
- var SSEAlgorithm = {
381
- AES256: "AES256",
382
- AWS_KMS: "aws:kms"
383
- };
384
- var OpenTableFormat = {
385
- ICEBERG: "ICEBERG"
386
- };
387
- var TableMetadata;
388
- ((TableMetadata3) => {
389
- TableMetadata3.visit = /* @__PURE__ */ __name((value, visitor) => {
390
- if (value.iceberg !== void 0) return visitor.iceberg(value.iceberg);
391
- return visitor._(value.$unknown[0], value.$unknown[1]);
392
- }, "visit");
393
- })(TableMetadata || (TableMetadata = {}));
394
- var TableType = {
395
- AWS: "aws",
396
- CUSTOMER: "customer"
397
- };
398
- var TableBucketType = {
399
- AWS: "aws",
400
- CUSTOMER: "customer"
401
- };
402
- var TableBucketMaintenanceType = {
403
- ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval"
404
- };
405
- var TableBucketMaintenanceSettings;
406
- ((TableBucketMaintenanceSettings3) => {
407
- TableBucketMaintenanceSettings3.visit = /* @__PURE__ */ __name((value, visitor) => {
408
- if (value.icebergUnreferencedFileRemoval !== void 0)
409
- return visitor.icebergUnreferencedFileRemoval(value.icebergUnreferencedFileRemoval);
410
- return visitor._(value.$unknown[0], value.$unknown[1]);
411
- }, "visit");
412
- })(TableBucketMaintenanceSettings || (TableBucketMaintenanceSettings = {}));
413
- var MaintenanceStatus = {
414
- DISABLED: "disabled",
415
- ENABLED: "enabled"
416
- };
417
- var TableMaintenanceType = {
418
- ICEBERG_COMPACTION: "icebergCompaction",
419
- ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement"
420
- };
421
- var IcebergCompactionStrategy = {
422
- AUTO: "auto",
423
- BINPACK: "binpack",
424
- SORT: "sort",
425
- ZORDER: "z-order"
426
- };
427
- var TableMaintenanceSettings;
428
- ((TableMaintenanceSettings3) => {
429
- TableMaintenanceSettings3.visit = /* @__PURE__ */ __name((value, visitor) => {
430
- if (value.icebergCompaction !== void 0) return visitor.icebergCompaction(value.icebergCompaction);
431
- if (value.icebergSnapshotManagement !== void 0)
432
- return visitor.icebergSnapshotManagement(value.icebergSnapshotManagement);
433
- return visitor._(value.$unknown[0], value.$unknown[1]);
434
- }, "visit");
435
- })(TableMaintenanceSettings || (TableMaintenanceSettings = {}));
436
- var TableMaintenanceJobType = {
437
- ICEBERG_COMPACTION: "icebergCompaction",
438
- ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
439
- ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval"
440
- };
441
- var JobStatus = {
442
- DISABLED: "Disabled",
443
- FAILED: "Failed",
444
- NOT_YET_RUN: "Not_Yet_Run",
445
- SUCCESSFUL: "Successful"
211
+ exports.TableMetadata = void 0;
212
+ (function (TableMetadata) {
213
+ TableMetadata.visit = (value, visitor) => {
214
+ if (value.iceberg !== undefined)
215
+ return visitor.iceberg(value.iceberg);
216
+ return visitor._(value.$unknown[0], value.$unknown[1]);
217
+ };
218
+ })(exports.TableMetadata || (exports.TableMetadata = {}));
219
+ const TableType = {
220
+ AWS: "aws",
221
+ CUSTOMER: "customer",
446
222
  };
447
-
448
- // src/protocols/Aws_restJson1.ts
449
- var se_CreateNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
450
- const b = (0, import_core.requestBuilder)(input, context);
451
- const headers = {
452
- "content-type": "application/json"
453
- };
454
- b.bp("/namespaces/{tableBucketARN}");
455
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
456
- let body;
457
- body = JSON.stringify(
458
- (0, import_smithy_client.take)(input, {
459
- namespace: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "namespace")
460
- })
461
- );
462
- b.m("PUT").h(headers).b(body);
463
- return b.build();
464
- }, "se_CreateNamespaceCommand");
465
- var se_CreateTableCommand = /* @__PURE__ */ __name(async (input, context) => {
466
- const b = (0, import_core.requestBuilder)(input, context);
467
- const headers = {
468
- "content-type": "application/json"
469
- };
470
- b.bp("/tables/{tableBucketARN}/{namespace}");
471
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
472
- b.p("namespace", () => input.namespace, "{namespace}", false);
473
- let body;
474
- body = JSON.stringify(
475
- (0, import_smithy_client.take)(input, {
476
- encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
477
- format: [],
478
- metadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "metadata"),
479
- name: []
480
- })
481
- );
482
- b.m("PUT").h(headers).b(body);
483
- return b.build();
484
- }, "se_CreateTableCommand");
485
- var se_CreateTableBucketCommand = /* @__PURE__ */ __name(async (input, context) => {
486
- const b = (0, import_core.requestBuilder)(input, context);
487
- const headers = {
488
- "content-type": "application/json"
489
- };
490
- b.bp("/buckets");
491
- let body;
492
- body = JSON.stringify(
493
- (0, import_smithy_client.take)(input, {
494
- encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
495
- name: []
496
- })
497
- );
498
- b.m("PUT").h(headers).b(body);
499
- return b.build();
500
- }, "se_CreateTableBucketCommand");
501
- var se_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
502
- const b = (0, import_core.requestBuilder)(input, context);
503
- const headers = {};
504
- b.bp("/namespaces/{tableBucketARN}/{namespace}");
505
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
506
- b.p("namespace", () => input.namespace, "{namespace}", false);
507
- let body;
508
- b.m("DELETE").h(headers).b(body);
509
- return b.build();
510
- }, "se_DeleteNamespaceCommand");
511
- var se_DeleteTableCommand = /* @__PURE__ */ __name(async (input, context) => {
512
- const b = (0, import_core.requestBuilder)(input, context);
513
- const headers = {};
514
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}");
515
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
516
- b.p("namespace", () => input.namespace, "{namespace}", false);
517
- b.p("name", () => input.name, "{name}", false);
518
- const query = (0, import_smithy_client.map)({
519
- [_vT]: [, input[_vT]]
520
- });
521
- let body;
522
- b.m("DELETE").h(headers).q(query).b(body);
523
- return b.build();
524
- }, "se_DeleteTableCommand");
525
- var se_DeleteTableBucketCommand = /* @__PURE__ */ __name(async (input, context) => {
526
- const b = (0, import_core.requestBuilder)(input, context);
527
- const headers = {};
528
- b.bp("/buckets/{tableBucketARN}");
529
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
530
- let body;
531
- b.m("DELETE").h(headers).b(body);
532
- return b.build();
533
- }, "se_DeleteTableBucketCommand");
534
- var se_DeleteTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
535
- const b = (0, import_core.requestBuilder)(input, context);
536
- const headers = {};
537
- b.bp("/buckets/{tableBucketARN}/encryption");
538
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
539
- let body;
540
- b.m("DELETE").h(headers).b(body);
541
- return b.build();
542
- }, "se_DeleteTableBucketEncryptionCommand");
543
- var se_DeleteTableBucketPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
544
- const b = (0, import_core.requestBuilder)(input, context);
545
- const headers = {};
546
- b.bp("/buckets/{tableBucketARN}/policy");
547
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
548
- let body;
549
- b.m("DELETE").h(headers).b(body);
550
- return b.build();
551
- }, "se_DeleteTableBucketPolicyCommand");
552
- var se_DeleteTablePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
553
- const b = (0, import_core.requestBuilder)(input, context);
554
- const headers = {};
555
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
556
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
557
- b.p("namespace", () => input.namespace, "{namespace}", false);
558
- b.p("name", () => input.name, "{name}", false);
559
- let body;
560
- b.m("DELETE").h(headers).b(body);
561
- return b.build();
562
- }, "se_DeleteTablePolicyCommand");
563
- var se_GetNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
564
- const b = (0, import_core.requestBuilder)(input, context);
565
- const headers = {};
566
- b.bp("/namespaces/{tableBucketARN}/{namespace}");
567
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
568
- b.p("namespace", () => input.namespace, "{namespace}", false);
569
- let body;
570
- b.m("GET").h(headers).b(body);
571
- return b.build();
572
- }, "se_GetNamespaceCommand");
573
- var se_GetTableCommand = /* @__PURE__ */ __name(async (input, context) => {
574
- const b = (0, import_core.requestBuilder)(input, context);
575
- const headers = {};
576
- b.bp("/get-table");
577
- const query = (0, import_smithy_client.map)({
578
- [_tBARN]: [, input[_tBARN]],
579
- [_n]: [, input[_n]],
580
- [_na]: [, input[_na]],
581
- [_tA]: [, input[_tA]]
582
- });
583
- let body;
584
- b.m("GET").h(headers).q(query).b(body);
585
- return b.build();
586
- }, "se_GetTableCommand");
587
- var se_GetTableBucketCommand = /* @__PURE__ */ __name(async (input, context) => {
588
- const b = (0, import_core.requestBuilder)(input, context);
589
- const headers = {};
590
- b.bp("/buckets/{tableBucketARN}");
591
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
592
- let body;
593
- b.m("GET").h(headers).b(body);
594
- return b.build();
595
- }, "se_GetTableBucketCommand");
596
- var se_GetTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
597
- const b = (0, import_core.requestBuilder)(input, context);
598
- const headers = {};
599
- b.bp("/buckets/{tableBucketARN}/encryption");
600
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
601
- let body;
602
- b.m("GET").h(headers).b(body);
603
- return b.build();
604
- }, "se_GetTableBucketEncryptionCommand");
605
- var se_GetTableBucketMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
606
- const b = (0, import_core.requestBuilder)(input, context);
607
- const headers = {};
608
- b.bp("/buckets/{tableBucketARN}/maintenance");
609
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
610
- let body;
611
- b.m("GET").h(headers).b(body);
612
- return b.build();
613
- }, "se_GetTableBucketMaintenanceConfigurationCommand");
614
- var se_GetTableBucketPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
615
- const b = (0, import_core.requestBuilder)(input, context);
616
- const headers = {};
617
- b.bp("/buckets/{tableBucketARN}/policy");
618
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
619
- let body;
620
- b.m("GET").h(headers).b(body);
621
- return b.build();
622
- }, "se_GetTableBucketPolicyCommand");
623
- var se_GetTableEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
624
- const b = (0, import_core.requestBuilder)(input, context);
625
- const headers = {};
626
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/encryption");
627
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
628
- b.p("namespace", () => input.namespace, "{namespace}", false);
629
- b.p("name", () => input.name, "{name}", false);
630
- let body;
631
- b.m("GET").h(headers).b(body);
632
- return b.build();
633
- }, "se_GetTableEncryptionCommand");
634
- var se_GetTableMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
635
- const b = (0, import_core.requestBuilder)(input, context);
636
- const headers = {};
637
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance");
638
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
639
- b.p("namespace", () => input.namespace, "{namespace}", false);
640
- b.p("name", () => input.name, "{name}", false);
641
- let body;
642
- b.m("GET").h(headers).b(body);
643
- return b.build();
644
- }, "se_GetTableMaintenanceConfigurationCommand");
645
- var se_GetTableMaintenanceJobStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
646
- const b = (0, import_core.requestBuilder)(input, context);
647
- const headers = {};
648
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status");
649
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
650
- b.p("namespace", () => input.namespace, "{namespace}", false);
651
- b.p("name", () => input.name, "{name}", false);
652
- let body;
653
- b.m("GET").h(headers).b(body);
654
- return b.build();
655
- }, "se_GetTableMaintenanceJobStatusCommand");
656
- var se_GetTableMetadataLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
657
- const b = (0, import_core.requestBuilder)(input, context);
658
- const headers = {};
659
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
660
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
661
- b.p("namespace", () => input.namespace, "{namespace}", false);
662
- b.p("name", () => input.name, "{name}", false);
663
- let body;
664
- b.m("GET").h(headers).b(body);
665
- return b.build();
666
- }, "se_GetTableMetadataLocationCommand");
667
- var se_GetTablePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
668
- const b = (0, import_core.requestBuilder)(input, context);
669
- const headers = {};
670
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
671
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
672
- b.p("namespace", () => input.namespace, "{namespace}", false);
673
- b.p("name", () => input.name, "{name}", false);
674
- let body;
675
- b.m("GET").h(headers).b(body);
676
- return b.build();
677
- }, "se_GetTablePolicyCommand");
678
- var se_ListNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => {
679
- const b = (0, import_core.requestBuilder)(input, context);
680
- const headers = {};
681
- b.bp("/namespaces/{tableBucketARN}");
682
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
683
- const query = (0, import_smithy_client.map)({
684
- [_p]: [, input[_p]],
685
- [_cT]: [, input[_cT]],
686
- [_mN]: [() => input.maxNamespaces !== void 0, () => input[_mN].toString()]
687
- });
688
- let body;
689
- b.m("GET").h(headers).q(query).b(body);
690
- return b.build();
691
- }, "se_ListNamespacesCommand");
692
- var se_ListTableBucketsCommand = /* @__PURE__ */ __name(async (input, context) => {
693
- const b = (0, import_core.requestBuilder)(input, context);
694
- const headers = {};
695
- b.bp("/buckets");
696
- const query = (0, import_smithy_client.map)({
697
- [_p]: [, input[_p]],
698
- [_cT]: [, input[_cT]],
699
- [_mB]: [() => input.maxBuckets !== void 0, () => input[_mB].toString()],
700
- [_t]: [, input[_t]]
701
- });
702
- let body;
703
- b.m("GET").h(headers).q(query).b(body);
704
- return b.build();
705
- }, "se_ListTableBucketsCommand");
706
- var se_ListTablesCommand = /* @__PURE__ */ __name(async (input, context) => {
707
- const b = (0, import_core.requestBuilder)(input, context);
708
- const headers = {};
709
- b.bp("/tables/{tableBucketARN}");
710
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
711
- const query = (0, import_smithy_client.map)({
712
- [_n]: [, input[_n]],
713
- [_p]: [, input[_p]],
714
- [_cT]: [, input[_cT]],
715
- [_mT]: [() => input.maxTables !== void 0, () => input[_mT].toString()]
716
- });
717
- let body;
718
- b.m("GET").h(headers).q(query).b(body);
719
- return b.build();
720
- }, "se_ListTablesCommand");
721
- var se_PutTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, context) => {
722
- const b = (0, import_core.requestBuilder)(input, context);
723
- const headers = {
724
- "content-type": "application/json"
725
- };
726
- b.bp("/buckets/{tableBucketARN}/encryption");
727
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
728
- let body;
729
- body = JSON.stringify(
730
- (0, import_smithy_client.take)(input, {
731
- encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration")
732
- })
733
- );
734
- b.m("PUT").h(headers).b(body);
735
- return b.build();
736
- }, "se_PutTableBucketEncryptionCommand");
737
- var se_PutTableBucketMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
738
- const b = (0, import_core.requestBuilder)(input, context);
739
- const headers = {
740
- "content-type": "application/json"
741
- };
742
- b.bp("/buckets/{tableBucketARN}/maintenance/{type}");
743
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
744
- b.p("type", () => input.type, "{type}", false);
745
- let body;
746
- body = JSON.stringify(
747
- (0, import_smithy_client.take)(input, {
748
- value: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "value")
749
- })
750
- );
751
- b.m("PUT").h(headers).b(body);
752
- return b.build();
753
- }, "se_PutTableBucketMaintenanceConfigurationCommand");
754
- var se_PutTableBucketPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
755
- const b = (0, import_core.requestBuilder)(input, context);
756
- const headers = {
757
- "content-type": "application/json"
758
- };
759
- b.bp("/buckets/{tableBucketARN}/policy");
760
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
761
- let body;
762
- body = JSON.stringify(
763
- (0, import_smithy_client.take)(input, {
764
- resourcePolicy: []
765
- })
766
- );
767
- b.m("PUT").h(headers).b(body);
768
- return b.build();
769
- }, "se_PutTableBucketPolicyCommand");
770
- var se_PutTableMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
771
- const b = (0, import_core.requestBuilder)(input, context);
772
- const headers = {
773
- "content-type": "application/json"
774
- };
775
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}");
776
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
777
- b.p("namespace", () => input.namespace, "{namespace}", false);
778
- b.p("name", () => input.name, "{name}", false);
779
- b.p("type", () => input.type, "{type}", false);
780
- let body;
781
- body = JSON.stringify(
782
- (0, import_smithy_client.take)(input, {
783
- value: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "value")
784
- })
785
- );
786
- b.m("PUT").h(headers).b(body);
787
- return b.build();
788
- }, "se_PutTableMaintenanceConfigurationCommand");
789
- var se_PutTablePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
790
- const b = (0, import_core.requestBuilder)(input, context);
791
- const headers = {
792
- "content-type": "application/json"
793
- };
794
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
795
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
796
- b.p("namespace", () => input.namespace, "{namespace}", false);
797
- b.p("name", () => input.name, "{name}", false);
798
- let body;
799
- body = JSON.stringify(
800
- (0, import_smithy_client.take)(input, {
801
- resourcePolicy: []
802
- })
803
- );
804
- b.m("PUT").h(headers).b(body);
805
- return b.build();
806
- }, "se_PutTablePolicyCommand");
807
- var se_RenameTableCommand = /* @__PURE__ */ __name(async (input, context) => {
808
- const b = (0, import_core.requestBuilder)(input, context);
809
- const headers = {
810
- "content-type": "application/json"
811
- };
812
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/rename");
813
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
814
- b.p("namespace", () => input.namespace, "{namespace}", false);
815
- b.p("name", () => input.name, "{name}", false);
816
- let body;
817
- body = JSON.stringify(
818
- (0, import_smithy_client.take)(input, {
819
- newName: [],
820
- newNamespaceName: [],
821
- versionToken: []
822
- })
823
- );
824
- b.m("PUT").h(headers).b(body);
825
- return b.build();
826
- }, "se_RenameTableCommand");
827
- var se_UpdateTableMetadataLocationCommand = /* @__PURE__ */ __name(async (input, context) => {
828
- const b = (0, import_core.requestBuilder)(input, context);
829
- const headers = {
830
- "content-type": "application/json"
831
- };
832
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
833
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
834
- b.p("namespace", () => input.namespace, "{namespace}", false);
835
- b.p("name", () => input.name, "{name}", false);
836
- let body;
837
- body = JSON.stringify(
838
- (0, import_smithy_client.take)(input, {
839
- metadataLocation: [],
840
- versionToken: []
841
- })
842
- );
843
- b.m("PUT").h(headers).b(body);
844
- return b.build();
845
- }, "se_UpdateTableMetadataLocationCommand");
846
- var de_CreateNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
847
- if (output.statusCode !== 200 && output.statusCode >= 300) {
848
- return de_CommandError(output, context);
849
- }
850
- const contents = (0, import_smithy_client.map)({
851
- $metadata: deserializeMetadata(output)
852
- });
853
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
854
- const doc = (0, import_smithy_client.take)(data, {
855
- namespace: import_smithy_client._json,
856
- tableBucketARN: import_smithy_client.expectString
857
- });
858
- Object.assign(contents, doc);
859
- return contents;
860
- }, "de_CreateNamespaceCommand");
861
- var de_CreateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
862
- if (output.statusCode !== 200 && output.statusCode >= 300) {
863
- return de_CommandError(output, context);
864
- }
865
- const contents = (0, import_smithy_client.map)({
866
- $metadata: deserializeMetadata(output)
867
- });
868
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
869
- const doc = (0, import_smithy_client.take)(data, {
870
- tableARN: import_smithy_client.expectString,
871
- versionToken: import_smithy_client.expectString
872
- });
873
- Object.assign(contents, doc);
874
- return contents;
875
- }, "de_CreateTableCommand");
876
- var de_CreateTableBucketCommand = /* @__PURE__ */ __name(async (output, context) => {
877
- if (output.statusCode !== 200 && output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const contents = (0, import_smithy_client.map)({
881
- $metadata: deserializeMetadata(output)
882
- });
883
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
884
- const doc = (0, import_smithy_client.take)(data, {
885
- arn: import_smithy_client.expectString
886
- });
887
- Object.assign(contents, doc);
888
- return contents;
889
- }, "de_CreateTableBucketCommand");
890
- var de_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
891
- if (output.statusCode !== 204 && output.statusCode >= 300) {
892
- return de_CommandError(output, context);
893
- }
894
- const contents = (0, import_smithy_client.map)({
895
- $metadata: deserializeMetadata(output)
896
- });
897
- await (0, import_smithy_client.collectBody)(output.body, context);
898
- return contents;
899
- }, "de_DeleteNamespaceCommand");
900
- var de_DeleteTableCommand = /* @__PURE__ */ __name(async (output, context) => {
901
- if (output.statusCode !== 204 && output.statusCode >= 300) {
902
- return de_CommandError(output, context);
903
- }
904
- const contents = (0, import_smithy_client.map)({
905
- $metadata: deserializeMetadata(output)
906
- });
907
- await (0, import_smithy_client.collectBody)(output.body, context);
908
- return contents;
909
- }, "de_DeleteTableCommand");
910
- var de_DeleteTableBucketCommand = /* @__PURE__ */ __name(async (output, context) => {
911
- if (output.statusCode !== 204 && output.statusCode >= 300) {
912
- return de_CommandError(output, context);
913
- }
914
- const contents = (0, import_smithy_client.map)({
915
- $metadata: deserializeMetadata(output)
916
- });
917
- await (0, import_smithy_client.collectBody)(output.body, context);
918
- return contents;
919
- }, "de_DeleteTableBucketCommand");
920
- var de_DeleteTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
921
- if (output.statusCode !== 204 && output.statusCode >= 300) {
922
- return de_CommandError(output, context);
923
- }
924
- const contents = (0, import_smithy_client.map)({
925
- $metadata: deserializeMetadata(output)
926
- });
927
- await (0, import_smithy_client.collectBody)(output.body, context);
928
- return contents;
929
- }, "de_DeleteTableBucketEncryptionCommand");
930
- var de_DeleteTableBucketPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
931
- if (output.statusCode !== 204 && output.statusCode >= 300) {
932
- return de_CommandError(output, context);
933
- }
934
- const contents = (0, import_smithy_client.map)({
935
- $metadata: deserializeMetadata(output)
936
- });
937
- await (0, import_smithy_client.collectBody)(output.body, context);
938
- return contents;
939
- }, "de_DeleteTableBucketPolicyCommand");
940
- var de_DeleteTablePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
941
- if (output.statusCode !== 204 && output.statusCode >= 300) {
942
- return de_CommandError(output, context);
943
- }
944
- const contents = (0, import_smithy_client.map)({
945
- $metadata: deserializeMetadata(output)
946
- });
947
- await (0, import_smithy_client.collectBody)(output.body, context);
948
- return contents;
949
- }, "de_DeleteTablePolicyCommand");
950
- var de_GetNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
951
- if (output.statusCode !== 200 && output.statusCode >= 300) {
952
- return de_CommandError(output, context);
953
- }
954
- const contents = (0, import_smithy_client.map)({
955
- $metadata: deserializeMetadata(output)
956
- });
957
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
958
- const doc = (0, import_smithy_client.take)(data, {
959
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
960
- createdBy: import_smithy_client.expectString,
961
- namespace: import_smithy_client._json,
962
- namespaceId: import_smithy_client.expectString,
963
- ownerAccountId: import_smithy_client.expectString,
964
- tableBucketId: import_smithy_client.expectString
965
- });
966
- Object.assign(contents, doc);
967
- return contents;
968
- }, "de_GetNamespaceCommand");
969
- var de_GetTableCommand = /* @__PURE__ */ __name(async (output, context) => {
970
- if (output.statusCode !== 200 && output.statusCode >= 300) {
971
- return de_CommandError(output, context);
972
- }
973
- const contents = (0, import_smithy_client.map)({
974
- $metadata: deserializeMetadata(output)
975
- });
976
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
977
- const doc = (0, import_smithy_client.take)(data, {
978
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
979
- createdBy: import_smithy_client.expectString,
980
- format: import_smithy_client.expectString,
981
- managedByService: import_smithy_client.expectString,
982
- metadataLocation: import_smithy_client.expectString,
983
- modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
984
- modifiedBy: import_smithy_client.expectString,
985
- name: import_smithy_client.expectString,
986
- namespace: import_smithy_client._json,
987
- namespaceId: import_smithy_client.expectString,
988
- ownerAccountId: import_smithy_client.expectString,
989
- tableARN: import_smithy_client.expectString,
990
- tableBucketId: import_smithy_client.expectString,
991
- type: import_smithy_client.expectString,
992
- versionToken: import_smithy_client.expectString,
993
- warehouseLocation: import_smithy_client.expectString
994
- });
995
- Object.assign(contents, doc);
996
- return contents;
997
- }, "de_GetTableCommand");
998
- var de_GetTableBucketCommand = /* @__PURE__ */ __name(async (output, context) => {
999
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1000
- return de_CommandError(output, context);
1001
- }
1002
- const contents = (0, import_smithy_client.map)({
1003
- $metadata: deserializeMetadata(output)
1004
- });
1005
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1006
- const doc = (0, import_smithy_client.take)(data, {
1007
- arn: import_smithy_client.expectString,
1008
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1009
- name: import_smithy_client.expectString,
1010
- ownerAccountId: import_smithy_client.expectString,
1011
- tableBucketId: import_smithy_client.expectString,
1012
- type: import_smithy_client.expectString
1013
- });
1014
- Object.assign(contents, doc);
1015
- return contents;
1016
- }, "de_GetTableBucketCommand");
1017
- var de_GetTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1018
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1019
- return de_CommandError(output, context);
1020
- }
1021
- const contents = (0, import_smithy_client.map)({
1022
- $metadata: deserializeMetadata(output)
1023
- });
1024
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1025
- const doc = (0, import_smithy_client.take)(data, {
1026
- encryptionConfiguration: import_smithy_client._json
1027
- });
1028
- Object.assign(contents, doc);
1029
- return contents;
1030
- }, "de_GetTableBucketEncryptionCommand");
1031
- var de_GetTableBucketMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1032
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1033
- return de_CommandError(output, context);
1034
- }
1035
- const contents = (0, import_smithy_client.map)({
1036
- $metadata: deserializeMetadata(output)
1037
- });
1038
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1039
- const doc = (0, import_smithy_client.take)(data, {
1040
- configuration: import_smithy_client._json,
1041
- tableBucketARN: import_smithy_client.expectString
1042
- });
1043
- Object.assign(contents, doc);
1044
- return contents;
1045
- }, "de_GetTableBucketMaintenanceConfigurationCommand");
1046
- var de_GetTableBucketPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1047
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1048
- return de_CommandError(output, context);
1049
- }
1050
- const contents = (0, import_smithy_client.map)({
1051
- $metadata: deserializeMetadata(output)
1052
- });
1053
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1054
- const doc = (0, import_smithy_client.take)(data, {
1055
- resourcePolicy: import_smithy_client.expectString
1056
- });
1057
- Object.assign(contents, doc);
1058
- return contents;
1059
- }, "de_GetTableBucketPolicyCommand");
1060
- var de_GetTableEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1061
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1062
- return de_CommandError(output, context);
1063
- }
1064
- const contents = (0, import_smithy_client.map)({
1065
- $metadata: deserializeMetadata(output)
1066
- });
1067
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1068
- const doc = (0, import_smithy_client.take)(data, {
1069
- encryptionConfiguration: import_smithy_client._json
1070
- });
1071
- Object.assign(contents, doc);
1072
- return contents;
1073
- }, "de_GetTableEncryptionCommand");
1074
- var de_GetTableMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1075
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1076
- return de_CommandError(output, context);
1077
- }
1078
- const contents = (0, import_smithy_client.map)({
1079
- $metadata: deserializeMetadata(output)
1080
- });
1081
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1082
- const doc = (0, import_smithy_client.take)(data, {
1083
- configuration: import_smithy_client._json,
1084
- tableARN: import_smithy_client.expectString
1085
- });
1086
- Object.assign(contents, doc);
1087
- return contents;
1088
- }, "de_GetTableMaintenanceConfigurationCommand");
1089
- var de_GetTableMaintenanceJobStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1090
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1091
- return de_CommandError(output, context);
1092
- }
1093
- const contents = (0, import_smithy_client.map)({
1094
- $metadata: deserializeMetadata(output)
1095
- });
1096
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1097
- const doc = (0, import_smithy_client.take)(data, {
1098
- status: /* @__PURE__ */ __name((_) => de_TableMaintenanceJobStatus(_, context), "status"),
1099
- tableARN: import_smithy_client.expectString
1100
- });
1101
- Object.assign(contents, doc);
1102
- return contents;
1103
- }, "de_GetTableMaintenanceJobStatusCommand");
1104
- var de_GetTableMetadataLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
1105
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1106
- return de_CommandError(output, context);
1107
- }
1108
- const contents = (0, import_smithy_client.map)({
1109
- $metadata: deserializeMetadata(output)
1110
- });
1111
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1112
- const doc = (0, import_smithy_client.take)(data, {
1113
- metadataLocation: import_smithy_client.expectString,
1114
- versionToken: import_smithy_client.expectString,
1115
- warehouseLocation: import_smithy_client.expectString
1116
- });
1117
- Object.assign(contents, doc);
1118
- return contents;
1119
- }, "de_GetTableMetadataLocationCommand");
1120
- var de_GetTablePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1121
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1122
- return de_CommandError(output, context);
1123
- }
1124
- const contents = (0, import_smithy_client.map)({
1125
- $metadata: deserializeMetadata(output)
1126
- });
1127
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1128
- const doc = (0, import_smithy_client.take)(data, {
1129
- resourcePolicy: import_smithy_client.expectString
1130
- });
1131
- Object.assign(contents, doc);
1132
- return contents;
1133
- }, "de_GetTablePolicyCommand");
1134
- var de_ListNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => {
1135
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1136
- return de_CommandError(output, context);
1137
- }
1138
- const contents = (0, import_smithy_client.map)({
1139
- $metadata: deserializeMetadata(output)
1140
- });
1141
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1142
- const doc = (0, import_smithy_client.take)(data, {
1143
- continuationToken: import_smithy_client.expectString,
1144
- namespaces: /* @__PURE__ */ __name((_) => de_NamespaceSummaryList(_, context), "namespaces")
1145
- });
1146
- Object.assign(contents, doc);
1147
- return contents;
1148
- }, "de_ListNamespacesCommand");
1149
- var de_ListTableBucketsCommand = /* @__PURE__ */ __name(async (output, context) => {
1150
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1151
- return de_CommandError(output, context);
1152
- }
1153
- const contents = (0, import_smithy_client.map)({
1154
- $metadata: deserializeMetadata(output)
1155
- });
1156
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1157
- const doc = (0, import_smithy_client.take)(data, {
1158
- continuationToken: import_smithy_client.expectString,
1159
- tableBuckets: /* @__PURE__ */ __name((_) => de_TableBucketSummaryList(_, context), "tableBuckets")
1160
- });
1161
- Object.assign(contents, doc);
1162
- return contents;
1163
- }, "de_ListTableBucketsCommand");
1164
- var de_ListTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
1165
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1166
- return de_CommandError(output, context);
1167
- }
1168
- const contents = (0, import_smithy_client.map)({
1169
- $metadata: deserializeMetadata(output)
1170
- });
1171
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1172
- const doc = (0, import_smithy_client.take)(data, {
1173
- continuationToken: import_smithy_client.expectString,
1174
- tables: /* @__PURE__ */ __name((_) => de_TableSummaryList(_, context), "tables")
1175
- });
1176
- Object.assign(contents, doc);
1177
- return contents;
1178
- }, "de_ListTablesCommand");
1179
- var de_PutTableBucketEncryptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1180
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
- return de_CommandError(output, context);
1182
- }
1183
- const contents = (0, import_smithy_client.map)({
1184
- $metadata: deserializeMetadata(output)
1185
- });
1186
- await (0, import_smithy_client.collectBody)(output.body, context);
1187
- return contents;
1188
- }, "de_PutTableBucketEncryptionCommand");
1189
- var de_PutTableBucketMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1190
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1191
- return de_CommandError(output, context);
1192
- }
1193
- const contents = (0, import_smithy_client.map)({
1194
- $metadata: deserializeMetadata(output)
1195
- });
1196
- await (0, import_smithy_client.collectBody)(output.body, context);
1197
- return contents;
1198
- }, "de_PutTableBucketMaintenanceConfigurationCommand");
1199
- var de_PutTableBucketPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1200
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1201
- return de_CommandError(output, context);
1202
- }
1203
- const contents = (0, import_smithy_client.map)({
1204
- $metadata: deserializeMetadata(output)
1205
- });
1206
- await (0, import_smithy_client.collectBody)(output.body, context);
1207
- return contents;
1208
- }, "de_PutTableBucketPolicyCommand");
1209
- var de_PutTableMaintenanceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1210
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1211
- return de_CommandError(output, context);
1212
- }
1213
- const contents = (0, import_smithy_client.map)({
1214
- $metadata: deserializeMetadata(output)
1215
- });
1216
- await (0, import_smithy_client.collectBody)(output.body, context);
1217
- return contents;
1218
- }, "de_PutTableMaintenanceConfigurationCommand");
1219
- var de_PutTablePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1220
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1221
- return de_CommandError(output, context);
1222
- }
1223
- const contents = (0, import_smithy_client.map)({
1224
- $metadata: deserializeMetadata(output)
1225
- });
1226
- await (0, import_smithy_client.collectBody)(output.body, context);
1227
- return contents;
1228
- }, "de_PutTablePolicyCommand");
1229
- var de_RenameTableCommand = /* @__PURE__ */ __name(async (output, context) => {
1230
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1231
- return de_CommandError(output, context);
1232
- }
1233
- const contents = (0, import_smithy_client.map)({
1234
- $metadata: deserializeMetadata(output)
1235
- });
1236
- await (0, import_smithy_client.collectBody)(output.body, context);
1237
- return contents;
1238
- }, "de_RenameTableCommand");
1239
- var de_UpdateTableMetadataLocationCommand = /* @__PURE__ */ __name(async (output, context) => {
1240
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1241
- return de_CommandError(output, context);
1242
- }
1243
- const contents = (0, import_smithy_client.map)({
1244
- $metadata: deserializeMetadata(output)
1245
- });
1246
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1247
- const doc = (0, import_smithy_client.take)(data, {
1248
- metadataLocation: import_smithy_client.expectString,
1249
- name: import_smithy_client.expectString,
1250
- namespace: import_smithy_client._json,
1251
- tableARN: import_smithy_client.expectString,
1252
- versionToken: import_smithy_client.expectString
1253
- });
1254
- Object.assign(contents, doc);
1255
- return contents;
1256
- }, "de_UpdateTableMetadataLocationCommand");
1257
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1258
- const parsedOutput = {
1259
- ...output,
1260
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1261
- };
1262
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1263
- switch (errorCode) {
1264
- case "BadRequestException":
1265
- case "com.amazonaws.s3tables#BadRequestException":
1266
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1267
- case "ConflictException":
1268
- case "com.amazonaws.s3tables#ConflictException":
1269
- throw await de_ConflictExceptionRes(parsedOutput, context);
1270
- case "ForbiddenException":
1271
- case "com.amazonaws.s3tables#ForbiddenException":
1272
- throw await de_ForbiddenExceptionRes(parsedOutput, context);
1273
- case "InternalServerErrorException":
1274
- case "com.amazonaws.s3tables#InternalServerErrorException":
1275
- throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1276
- case "NotFoundException":
1277
- case "com.amazonaws.s3tables#NotFoundException":
1278
- throw await de_NotFoundExceptionRes(parsedOutput, context);
1279
- case "TooManyRequestsException":
1280
- case "com.amazonaws.s3tables#TooManyRequestsException":
1281
- throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1282
- case "AccessDeniedException":
1283
- case "com.amazonaws.s3tables#AccessDeniedException":
1284
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1285
- default:
1286
- const parsedBody = parsedOutput.body;
1287
- return throwDefaultError({
1288
- output,
1289
- parsedBody,
1290
- errorCode
1291
- });
1292
- }
1293
- }, "de_CommandError");
1294
- var throwDefaultError = (0, import_smithy_client.withBaseException)(S3TablesServiceException);
1295
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1296
- const contents = (0, import_smithy_client.map)({});
1297
- const data = parsedOutput.body;
1298
- const doc = (0, import_smithy_client.take)(data, {
1299
- message: import_smithy_client.expectString
1300
- });
1301
- Object.assign(contents, doc);
1302
- const exception = new AccessDeniedException({
1303
- $metadata: deserializeMetadata(parsedOutput),
1304
- ...contents
1305
- });
1306
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1307
- }, "de_AccessDeniedExceptionRes");
1308
- var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1309
- const contents = (0, import_smithy_client.map)({});
1310
- const data = parsedOutput.body;
1311
- const doc = (0, import_smithy_client.take)(data, {
1312
- message: import_smithy_client.expectString
1313
- });
1314
- Object.assign(contents, doc);
1315
- const exception = new BadRequestException({
1316
- $metadata: deserializeMetadata(parsedOutput),
1317
- ...contents
1318
- });
1319
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1320
- }, "de_BadRequestExceptionRes");
1321
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1322
- const contents = (0, import_smithy_client.map)({});
1323
- const data = parsedOutput.body;
1324
- const doc = (0, import_smithy_client.take)(data, {
1325
- message: import_smithy_client.expectString
1326
- });
1327
- Object.assign(contents, doc);
1328
- const exception = new ConflictException({
1329
- $metadata: deserializeMetadata(parsedOutput),
1330
- ...contents
1331
- });
1332
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1333
- }, "de_ConflictExceptionRes");
1334
- var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1335
- const contents = (0, import_smithy_client.map)({});
1336
- const data = parsedOutput.body;
1337
- const doc = (0, import_smithy_client.take)(data, {
1338
- message: import_smithy_client.expectString
1339
- });
1340
- Object.assign(contents, doc);
1341
- const exception = new ForbiddenException({
1342
- $metadata: deserializeMetadata(parsedOutput),
1343
- ...contents
1344
- });
1345
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1346
- }, "de_ForbiddenExceptionRes");
1347
- var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1348
- const contents = (0, import_smithy_client.map)({});
1349
- const data = parsedOutput.body;
1350
- const doc = (0, import_smithy_client.take)(data, {
1351
- message: import_smithy_client.expectString
1352
- });
1353
- Object.assign(contents, doc);
1354
- const exception = new InternalServerErrorException({
1355
- $metadata: deserializeMetadata(parsedOutput),
1356
- ...contents
1357
- });
1358
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1359
- }, "de_InternalServerErrorExceptionRes");
1360
- var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1361
- const contents = (0, import_smithy_client.map)({});
1362
- const data = parsedOutput.body;
1363
- const doc = (0, import_smithy_client.take)(data, {
1364
- message: import_smithy_client.expectString
1365
- });
1366
- Object.assign(contents, doc);
1367
- const exception = new NotFoundException({
1368
- $metadata: deserializeMetadata(parsedOutput),
1369
- ...contents
1370
- });
1371
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1372
- }, "de_NotFoundExceptionRes");
1373
- var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1374
- const contents = (0, import_smithy_client.map)({});
1375
- const data = parsedOutput.body;
1376
- const doc = (0, import_smithy_client.take)(data, {
1377
- message: import_smithy_client.expectString
1378
- });
1379
- Object.assign(contents, doc);
1380
- const exception = new TooManyRequestsException({
1381
- $metadata: deserializeMetadata(parsedOutput),
1382
- ...contents
1383
- });
1384
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1385
- }, "de_TooManyRequestsExceptionRes");
1386
- var de_NamespaceSummary = /* @__PURE__ */ __name((output, context) => {
1387
- return (0, import_smithy_client.take)(output, {
1388
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1389
- createdBy: import_smithy_client.expectString,
1390
- namespace: import_smithy_client._json,
1391
- namespaceId: import_smithy_client.expectString,
1392
- ownerAccountId: import_smithy_client.expectString,
1393
- tableBucketId: import_smithy_client.expectString
1394
- });
1395
- }, "de_NamespaceSummary");
1396
- var de_NamespaceSummaryList = /* @__PURE__ */ __name((output, context) => {
1397
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1398
- return de_NamespaceSummary(entry, context);
1399
- });
1400
- return retVal;
1401
- }, "de_NamespaceSummaryList");
1402
- var de_TableBucketSummary = /* @__PURE__ */ __name((output, context) => {
1403
- return (0, import_smithy_client.take)(output, {
1404
- arn: import_smithy_client.expectString,
1405
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1406
- name: import_smithy_client.expectString,
1407
- ownerAccountId: import_smithy_client.expectString,
1408
- tableBucketId: import_smithy_client.expectString,
1409
- type: import_smithy_client.expectString
1410
- });
1411
- }, "de_TableBucketSummary");
1412
- var de_TableBucketSummaryList = /* @__PURE__ */ __name((output, context) => {
1413
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1414
- return de_TableBucketSummary(entry, context);
1415
- });
1416
- return retVal;
1417
- }, "de_TableBucketSummaryList");
1418
- var de_TableMaintenanceJobStatus = /* @__PURE__ */ __name((output, context) => {
1419
- return Object.entries(output).reduce(
1420
- (acc, [key, value]) => {
1421
- if (value === null) {
1422
- return acc;
1423
- }
1424
- acc[key] = de_TableMaintenanceJobStatusValue(value, context);
1425
- return acc;
1426
- },
1427
- {}
1428
- );
1429
- }, "de_TableMaintenanceJobStatus");
1430
- var de_TableMaintenanceJobStatusValue = /* @__PURE__ */ __name((output, context) => {
1431
- return (0, import_smithy_client.take)(output, {
1432
- failureMessage: import_smithy_client.expectString,
1433
- lastRunTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastRunTimestamp"),
1434
- status: import_smithy_client.expectString
1435
- });
1436
- }, "de_TableMaintenanceJobStatusValue");
1437
- var de_TableSummary = /* @__PURE__ */ __name((output, context) => {
1438
- return (0, import_smithy_client.take)(output, {
1439
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1440
- modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
1441
- name: import_smithy_client.expectString,
1442
- namespace: import_smithy_client._json,
1443
- namespaceId: import_smithy_client.expectString,
1444
- tableARN: import_smithy_client.expectString,
1445
- tableBucketId: import_smithy_client.expectString,
1446
- type: import_smithy_client.expectString
1447
- });
1448
- }, "de_TableSummary");
1449
- var de_TableSummaryList = /* @__PURE__ */ __name((output, context) => {
1450
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1451
- return de_TableSummary(entry, context);
1452
- });
1453
- return retVal;
1454
- }, "de_TableSummaryList");
1455
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1456
- httpStatusCode: output.statusCode,
1457
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1458
- extendedRequestId: output.headers["x-amz-id-2"],
1459
- cfId: output.headers["x-amz-cf-id"]
1460
- }), "deserializeMetadata");
1461
- var _cT = "continuationToken";
1462
- var _mB = "maxBuckets";
1463
- var _mN = "maxNamespaces";
1464
- var _mT = "maxTables";
1465
- var _n = "namespace";
1466
- var _na = "name";
1467
- var _p = "prefix";
1468
- var _t = "type";
1469
- var _tA = "tableArn";
1470
- var _tBARN = "tableBucketARN";
1471
- var _vT = "versionToken";
1472
-
1473
- // src/commands/CreateNamespaceCommand.ts
1474
- var CreateNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1475
- return [
1476
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1477
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1478
- ];
1479
- }).s("S3TableBuckets", "CreateNamespace", {}).n("S3TablesClient", "CreateNamespaceCommand").f(void 0, void 0).ser(se_CreateNamespaceCommand).de(de_CreateNamespaceCommand).build() {
1480
- static {
1481
- __name(this, "CreateNamespaceCommand");
1482
- }
223
+ const TableBucketType = {
224
+ AWS: "aws",
225
+ CUSTOMER: "customer",
1483
226
  };
1484
-
1485
- // src/commands/CreateTableBucketCommand.ts
1486
-
1487
-
1488
-
1489
- var CreateTableBucketCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1490
- return [
1491
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1492
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1493
- ];
1494
- }).s("S3TableBuckets", "CreateTableBucket", {}).n("S3TablesClient", "CreateTableBucketCommand").f(void 0, void 0).ser(se_CreateTableBucketCommand).de(de_CreateTableBucketCommand).build() {
1495
- static {
1496
- __name(this, "CreateTableBucketCommand");
1497
- }
227
+ const TableBucketMaintenanceType = {
228
+ ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
1498
229
  };
1499
-
1500
- // src/commands/CreateTableCommand.ts
1501
-
1502
-
1503
-
1504
- var CreateTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1505
- return [
1506
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1507
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1508
- ];
1509
- }).s("S3TableBuckets", "CreateTable", {}).n("S3TablesClient", "CreateTableCommand").f(void 0, void 0).ser(se_CreateTableCommand).de(de_CreateTableCommand).build() {
1510
- static {
1511
- __name(this, "CreateTableCommand");
1512
- }
230
+ exports.TableBucketMaintenanceSettings = void 0;
231
+ (function (TableBucketMaintenanceSettings) {
232
+ TableBucketMaintenanceSettings.visit = (value, visitor) => {
233
+ if (value.icebergUnreferencedFileRemoval !== undefined)
234
+ return visitor.icebergUnreferencedFileRemoval(value.icebergUnreferencedFileRemoval);
235
+ return visitor._(value.$unknown[0], value.$unknown[1]);
236
+ };
237
+ })(exports.TableBucketMaintenanceSettings || (exports.TableBucketMaintenanceSettings = {}));
238
+ const MaintenanceStatus = {
239
+ DISABLED: "disabled",
240
+ ENABLED: "enabled",
1513
241
  };
1514
-
1515
- // src/commands/DeleteNamespaceCommand.ts
1516
-
1517
-
1518
-
1519
- var DeleteNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1520
- return [
1521
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1522
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1523
- ];
1524
- }).s("S3TableBuckets", "DeleteNamespace", {}).n("S3TablesClient", "DeleteNamespaceCommand").f(void 0, void 0).ser(se_DeleteNamespaceCommand).de(de_DeleteNamespaceCommand).build() {
1525
- static {
1526
- __name(this, "DeleteNamespaceCommand");
1527
- }
242
+ const TableMaintenanceType = {
243
+ ICEBERG_COMPACTION: "icebergCompaction",
244
+ ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
1528
245
  };
1529
-
1530
- // src/commands/DeleteTableBucketCommand.ts
1531
-
1532
-
1533
-
1534
- var DeleteTableBucketCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1535
- return [
1536
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1537
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1538
- ];
1539
- }).s("S3TableBuckets", "DeleteTableBucket", {}).n("S3TablesClient", "DeleteTableBucketCommand").f(void 0, void 0).ser(se_DeleteTableBucketCommand).de(de_DeleteTableBucketCommand).build() {
1540
- static {
1541
- __name(this, "DeleteTableBucketCommand");
1542
- }
246
+ const IcebergCompactionStrategy = {
247
+ AUTO: "auto",
248
+ BINPACK: "binpack",
249
+ SORT: "sort",
250
+ ZORDER: "z-order",
1543
251
  };
1544
-
1545
- // src/commands/DeleteTableBucketEncryptionCommand.ts
1546
-
1547
-
1548
-
1549
- var DeleteTableBucketEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1550
- return [
1551
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1552
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1553
- ];
1554
- }).s("S3TableBuckets", "DeleteTableBucketEncryption", {}).n("S3TablesClient", "DeleteTableBucketEncryptionCommand").f(void 0, void 0).ser(se_DeleteTableBucketEncryptionCommand).de(de_DeleteTableBucketEncryptionCommand).build() {
1555
- static {
1556
- __name(this, "DeleteTableBucketEncryptionCommand");
1557
- }
252
+ exports.TableMaintenanceSettings = void 0;
253
+ (function (TableMaintenanceSettings) {
254
+ TableMaintenanceSettings.visit = (value, visitor) => {
255
+ if (value.icebergCompaction !== undefined)
256
+ return visitor.icebergCompaction(value.icebergCompaction);
257
+ if (value.icebergSnapshotManagement !== undefined)
258
+ return visitor.icebergSnapshotManagement(value.icebergSnapshotManagement);
259
+ return visitor._(value.$unknown[0], value.$unknown[1]);
260
+ };
261
+ })(exports.TableMaintenanceSettings || (exports.TableMaintenanceSettings = {}));
262
+ const TableMaintenanceJobType = {
263
+ ICEBERG_COMPACTION: "icebergCompaction",
264
+ ICEBERG_SNAPSHOT_MANAGEMENT: "icebergSnapshotManagement",
265
+ ICEBERG_UNREFERENCED_FILE_REMOVAL: "icebergUnreferencedFileRemoval",
1558
266
  };
1559
-
1560
- // src/commands/DeleteTableBucketPolicyCommand.ts
1561
-
1562
-
1563
-
1564
- var DeleteTableBucketPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1565
- return [
1566
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1567
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1568
- ];
1569
- }).s("S3TableBuckets", "DeleteTableBucketPolicy", {}).n("S3TablesClient", "DeleteTableBucketPolicyCommand").f(void 0, void 0).ser(se_DeleteTableBucketPolicyCommand).de(de_DeleteTableBucketPolicyCommand).build() {
1570
- static {
1571
- __name(this, "DeleteTableBucketPolicyCommand");
1572
- }
267
+ const JobStatus = {
268
+ DISABLED: "Disabled",
269
+ FAILED: "Failed",
270
+ NOT_YET_RUN: "Not_Yet_Run",
271
+ SUCCESSFUL: "Successful",
1573
272
  };
1574
273
 
1575
- // src/commands/DeleteTableCommand.ts
1576
-
1577
-
1578
-
1579
- var DeleteTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1580
- return [
1581
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1582
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1583
- ];
1584
- }).s("S3TableBuckets", "DeleteTable", {}).n("S3TablesClient", "DeleteTableCommand").f(void 0, void 0).ser(se_DeleteTableCommand).de(de_DeleteTableCommand).build() {
1585
- static {
1586
- __name(this, "DeleteTableCommand");
1587
- }
274
+ const se_CreateNamespaceCommand = async (input, context) => {
275
+ const b = core.requestBuilder(input, context);
276
+ const headers = {
277
+ "content-type": "application/json",
278
+ };
279
+ b.bp("/namespaces/{tableBucketARN}");
280
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
281
+ let body;
282
+ body = JSON.stringify(smithyClient.take(input, {
283
+ namespace: (_) => smithyClient._json(_),
284
+ }));
285
+ b.m("PUT").h(headers).b(body);
286
+ return b.build();
1588
287
  };
1589
-
1590
- // src/commands/DeleteTablePolicyCommand.ts
1591
-
1592
-
1593
-
1594
- var DeleteTablePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1595
- return [
1596
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1597
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1598
- ];
1599
- }).s("S3TableBuckets", "DeleteTablePolicy", {}).n("S3TablesClient", "DeleteTablePolicyCommand").f(void 0, void 0).ser(se_DeleteTablePolicyCommand).de(de_DeleteTablePolicyCommand).build() {
1600
- static {
1601
- __name(this, "DeleteTablePolicyCommand");
1602
- }
288
+ const se_CreateTableCommand = async (input, context) => {
289
+ const b = core.requestBuilder(input, context);
290
+ const headers = {
291
+ "content-type": "application/json",
292
+ };
293
+ b.bp("/tables/{tableBucketARN}/{namespace}");
294
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
295
+ b.p("namespace", () => input.namespace, "{namespace}", false);
296
+ let body;
297
+ body = JSON.stringify(smithyClient.take(input, {
298
+ encryptionConfiguration: (_) => smithyClient._json(_),
299
+ format: [],
300
+ metadata: (_) => smithyClient._json(_),
301
+ name: [],
302
+ }));
303
+ b.m("PUT").h(headers).b(body);
304
+ return b.build();
1603
305
  };
1604
-
1605
- // src/commands/GetNamespaceCommand.ts
1606
-
1607
-
1608
-
1609
- var GetNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1610
- return [
1611
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1612
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1613
- ];
1614
- }).s("S3TableBuckets", "GetNamespace", {}).n("S3TablesClient", "GetNamespaceCommand").f(void 0, void 0).ser(se_GetNamespaceCommand).de(de_GetNamespaceCommand).build() {
1615
- static {
1616
- __name(this, "GetNamespaceCommand");
1617
- }
306
+ const se_CreateTableBucketCommand = async (input, context) => {
307
+ const b = core.requestBuilder(input, context);
308
+ const headers = {
309
+ "content-type": "application/json",
310
+ };
311
+ b.bp("/buckets");
312
+ let body;
313
+ body = JSON.stringify(smithyClient.take(input, {
314
+ encryptionConfiguration: (_) => smithyClient._json(_),
315
+ name: [],
316
+ }));
317
+ b.m("PUT").h(headers).b(body);
318
+ return b.build();
1618
319
  };
1619
-
1620
- // src/commands/GetTableBucketCommand.ts
1621
-
1622
-
1623
-
1624
- var GetTableBucketCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1625
- return [
1626
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1627
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1628
- ];
1629
- }).s("S3TableBuckets", "GetTableBucket", {}).n("S3TablesClient", "GetTableBucketCommand").f(void 0, void 0).ser(se_GetTableBucketCommand).de(de_GetTableBucketCommand).build() {
1630
- static {
1631
- __name(this, "GetTableBucketCommand");
1632
- }
320
+ const se_DeleteNamespaceCommand = async (input, context) => {
321
+ const b = core.requestBuilder(input, context);
322
+ const headers = {};
323
+ b.bp("/namespaces/{tableBucketARN}/{namespace}");
324
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
325
+ b.p("namespace", () => input.namespace, "{namespace}", false);
326
+ let body;
327
+ b.m("DELETE").h(headers).b(body);
328
+ return b.build();
1633
329
  };
1634
-
1635
- // src/commands/GetTableBucketEncryptionCommand.ts
1636
-
1637
-
1638
-
1639
- var GetTableBucketEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1640
- return [
1641
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1642
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1643
- ];
1644
- }).s("S3TableBuckets", "GetTableBucketEncryption", {}).n("S3TablesClient", "GetTableBucketEncryptionCommand").f(void 0, void 0).ser(se_GetTableBucketEncryptionCommand).de(de_GetTableBucketEncryptionCommand).build() {
1645
- static {
1646
- __name(this, "GetTableBucketEncryptionCommand");
1647
- }
330
+ const se_DeleteTableCommand = async (input, context) => {
331
+ const b = core.requestBuilder(input, context);
332
+ const headers = {};
333
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}");
334
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
335
+ b.p("namespace", () => input.namespace, "{namespace}", false);
336
+ b.p("name", () => input.name, "{name}", false);
337
+ const query = smithyClient.map({
338
+ [_vT]: [, input[_vT]],
339
+ });
340
+ let body;
341
+ b.m("DELETE").h(headers).q(query).b(body);
342
+ return b.build();
1648
343
  };
1649
-
1650
- // src/commands/GetTableBucketMaintenanceConfigurationCommand.ts
1651
-
1652
-
1653
-
1654
- var GetTableBucketMaintenanceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1655
- return [
1656
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1657
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1658
- ];
1659
- }).s("S3TableBuckets", "GetTableBucketMaintenanceConfiguration", {}).n("S3TablesClient", "GetTableBucketMaintenanceConfigurationCommand").f(void 0, void 0).ser(se_GetTableBucketMaintenanceConfigurationCommand).de(de_GetTableBucketMaintenanceConfigurationCommand).build() {
1660
- static {
1661
- __name(this, "GetTableBucketMaintenanceConfigurationCommand");
1662
- }
344
+ const se_DeleteTableBucketCommand = async (input, context) => {
345
+ const b = core.requestBuilder(input, context);
346
+ const headers = {};
347
+ b.bp("/buckets/{tableBucketARN}");
348
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
349
+ let body;
350
+ b.m("DELETE").h(headers).b(body);
351
+ return b.build();
1663
352
  };
1664
-
1665
- // src/commands/GetTableBucketPolicyCommand.ts
1666
-
1667
-
1668
-
1669
- var GetTableBucketPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1670
- return [
1671
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1672
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1673
- ];
1674
- }).s("S3TableBuckets", "GetTableBucketPolicy", {}).n("S3TablesClient", "GetTableBucketPolicyCommand").f(void 0, void 0).ser(se_GetTableBucketPolicyCommand).de(de_GetTableBucketPolicyCommand).build() {
1675
- static {
1676
- __name(this, "GetTableBucketPolicyCommand");
1677
- }
353
+ const se_DeleteTableBucketEncryptionCommand = async (input, context) => {
354
+ const b = core.requestBuilder(input, context);
355
+ const headers = {};
356
+ b.bp("/buckets/{tableBucketARN}/encryption");
357
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
358
+ let body;
359
+ b.m("DELETE").h(headers).b(body);
360
+ return b.build();
1678
361
  };
1679
-
1680
- // src/commands/GetTableCommand.ts
1681
-
1682
-
1683
-
1684
- var GetTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1685
- return [
1686
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1687
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1688
- ];
1689
- }).s("S3TableBuckets", "GetTable", {}).n("S3TablesClient", "GetTableCommand").f(void 0, void 0).ser(se_GetTableCommand).de(de_GetTableCommand).build() {
1690
- static {
1691
- __name(this, "GetTableCommand");
1692
- }
362
+ const se_DeleteTableBucketPolicyCommand = async (input, context) => {
363
+ const b = core.requestBuilder(input, context);
364
+ const headers = {};
365
+ b.bp("/buckets/{tableBucketARN}/policy");
366
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
367
+ let body;
368
+ b.m("DELETE").h(headers).b(body);
369
+ return b.build();
1693
370
  };
1694
-
1695
- // src/commands/GetTableEncryptionCommand.ts
1696
-
1697
-
1698
-
1699
- var GetTableEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1700
- return [
1701
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1702
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1703
- ];
1704
- }).s("S3TableBuckets", "GetTableEncryption", {}).n("S3TablesClient", "GetTableEncryptionCommand").f(void 0, void 0).ser(se_GetTableEncryptionCommand).de(de_GetTableEncryptionCommand).build() {
1705
- static {
1706
- __name(this, "GetTableEncryptionCommand");
1707
- }
371
+ const se_DeleteTablePolicyCommand = async (input, context) => {
372
+ const b = core.requestBuilder(input, context);
373
+ const headers = {};
374
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
375
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
376
+ b.p("namespace", () => input.namespace, "{namespace}", false);
377
+ b.p("name", () => input.name, "{name}", false);
378
+ let body;
379
+ b.m("DELETE").h(headers).b(body);
380
+ return b.build();
1708
381
  };
1709
-
1710
- // src/commands/GetTableMaintenanceConfigurationCommand.ts
1711
-
1712
-
1713
-
1714
- var GetTableMaintenanceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1715
- return [
1716
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1717
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1718
- ];
1719
- }).s("S3TableBuckets", "GetTableMaintenanceConfiguration", {}).n("S3TablesClient", "GetTableMaintenanceConfigurationCommand").f(void 0, void 0).ser(se_GetTableMaintenanceConfigurationCommand).de(de_GetTableMaintenanceConfigurationCommand).build() {
1720
- static {
1721
- __name(this, "GetTableMaintenanceConfigurationCommand");
1722
- }
382
+ const se_GetNamespaceCommand = async (input, context) => {
383
+ const b = core.requestBuilder(input, context);
384
+ const headers = {};
385
+ b.bp("/namespaces/{tableBucketARN}/{namespace}");
386
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
387
+ b.p("namespace", () => input.namespace, "{namespace}", false);
388
+ let body;
389
+ b.m("GET").h(headers).b(body);
390
+ return b.build();
1723
391
  };
1724
-
1725
- // src/commands/GetTableMaintenanceJobStatusCommand.ts
1726
-
1727
-
1728
-
1729
- var GetTableMaintenanceJobStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1730
- return [
1731
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1732
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1733
- ];
1734
- }).s("S3TableBuckets", "GetTableMaintenanceJobStatus", {}).n("S3TablesClient", "GetTableMaintenanceJobStatusCommand").f(void 0, void 0).ser(se_GetTableMaintenanceJobStatusCommand).de(de_GetTableMaintenanceJobStatusCommand).build() {
1735
- static {
1736
- __name(this, "GetTableMaintenanceJobStatusCommand");
1737
- }
392
+ const se_GetTableCommand = async (input, context) => {
393
+ const b = core.requestBuilder(input, context);
394
+ const headers = {};
395
+ b.bp("/get-table");
396
+ const query = smithyClient.map({
397
+ [_tBARN]: [, input[_tBARN]],
398
+ [_n]: [, input[_n]],
399
+ [_na]: [, input[_na]],
400
+ [_tA]: [, input[_tA]],
401
+ });
402
+ let body;
403
+ b.m("GET").h(headers).q(query).b(body);
404
+ return b.build();
1738
405
  };
1739
-
1740
- // src/commands/GetTableMetadataLocationCommand.ts
1741
-
1742
-
1743
-
1744
- var GetTableMetadataLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1745
- return [
1746
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1747
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1748
- ];
1749
- }).s("S3TableBuckets", "GetTableMetadataLocation", {}).n("S3TablesClient", "GetTableMetadataLocationCommand").f(void 0, void 0).ser(se_GetTableMetadataLocationCommand).de(de_GetTableMetadataLocationCommand).build() {
1750
- static {
1751
- __name(this, "GetTableMetadataLocationCommand");
1752
- }
406
+ const se_GetTableBucketCommand = async (input, context) => {
407
+ const b = core.requestBuilder(input, context);
408
+ const headers = {};
409
+ b.bp("/buckets/{tableBucketARN}");
410
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
411
+ let body;
412
+ b.m("GET").h(headers).b(body);
413
+ return b.build();
1753
414
  };
1754
-
1755
- // src/commands/GetTablePolicyCommand.ts
1756
-
1757
-
1758
-
1759
- var GetTablePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1760
- return [
1761
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1762
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1763
- ];
1764
- }).s("S3TableBuckets", "GetTablePolicy", {}).n("S3TablesClient", "GetTablePolicyCommand").f(void 0, void 0).ser(se_GetTablePolicyCommand).de(de_GetTablePolicyCommand).build() {
1765
- static {
1766
- __name(this, "GetTablePolicyCommand");
1767
- }
415
+ const se_GetTableBucketEncryptionCommand = async (input, context) => {
416
+ const b = core.requestBuilder(input, context);
417
+ const headers = {};
418
+ b.bp("/buckets/{tableBucketARN}/encryption");
419
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
420
+ let body;
421
+ b.m("GET").h(headers).b(body);
422
+ return b.build();
1768
423
  };
1769
-
1770
- // src/commands/ListNamespacesCommand.ts
1771
-
1772
-
1773
-
1774
- var ListNamespacesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1775
- return [
1776
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1777
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1778
- ];
1779
- }).s("S3TableBuckets", "ListNamespaces", {}).n("S3TablesClient", "ListNamespacesCommand").f(void 0, void 0).ser(se_ListNamespacesCommand).de(de_ListNamespacesCommand).build() {
1780
- static {
1781
- __name(this, "ListNamespacesCommand");
1782
- }
424
+ const se_GetTableBucketMaintenanceConfigurationCommand = async (input, context) => {
425
+ const b = core.requestBuilder(input, context);
426
+ const headers = {};
427
+ b.bp("/buckets/{tableBucketARN}/maintenance");
428
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
429
+ let body;
430
+ b.m("GET").h(headers).b(body);
431
+ return b.build();
1783
432
  };
1784
-
1785
- // src/commands/ListTableBucketsCommand.ts
1786
-
1787
-
1788
-
1789
- var ListTableBucketsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1790
- return [
1791
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1792
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1793
- ];
1794
- }).s("S3TableBuckets", "ListTableBuckets", {}).n("S3TablesClient", "ListTableBucketsCommand").f(void 0, void 0).ser(se_ListTableBucketsCommand).de(de_ListTableBucketsCommand).build() {
1795
- static {
1796
- __name(this, "ListTableBucketsCommand");
1797
- }
433
+ const se_GetTableBucketPolicyCommand = async (input, context) => {
434
+ const b = core.requestBuilder(input, context);
435
+ const headers = {};
436
+ b.bp("/buckets/{tableBucketARN}/policy");
437
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
438
+ let body;
439
+ b.m("GET").h(headers).b(body);
440
+ return b.build();
1798
441
  };
1799
-
1800
- // src/commands/ListTablesCommand.ts
1801
-
1802
-
1803
-
1804
- var ListTablesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1805
- return [
1806
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1807
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1808
- ];
1809
- }).s("S3TableBuckets", "ListTables", {}).n("S3TablesClient", "ListTablesCommand").f(void 0, void 0).ser(se_ListTablesCommand).de(de_ListTablesCommand).build() {
1810
- static {
1811
- __name(this, "ListTablesCommand");
1812
- }
442
+ const se_GetTableEncryptionCommand = async (input, context) => {
443
+ const b = core.requestBuilder(input, context);
444
+ const headers = {};
445
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/encryption");
446
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
447
+ b.p("namespace", () => input.namespace, "{namespace}", false);
448
+ b.p("name", () => input.name, "{name}", false);
449
+ let body;
450
+ b.m("GET").h(headers).b(body);
451
+ return b.build();
1813
452
  };
1814
-
1815
- // src/commands/PutTableBucketEncryptionCommand.ts
1816
-
1817
-
1818
-
1819
- var PutTableBucketEncryptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
- return [
1821
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1822
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1823
- ];
1824
- }).s("S3TableBuckets", "PutTableBucketEncryption", {}).n("S3TablesClient", "PutTableBucketEncryptionCommand").f(void 0, void 0).ser(se_PutTableBucketEncryptionCommand).de(de_PutTableBucketEncryptionCommand).build() {
1825
- static {
1826
- __name(this, "PutTableBucketEncryptionCommand");
1827
- }
453
+ const se_GetTableMaintenanceConfigurationCommand = async (input, context) => {
454
+ const b = core.requestBuilder(input, context);
455
+ const headers = {};
456
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance");
457
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
458
+ b.p("namespace", () => input.namespace, "{namespace}", false);
459
+ b.p("name", () => input.name, "{name}", false);
460
+ let body;
461
+ b.m("GET").h(headers).b(body);
462
+ return b.build();
1828
463
  };
1829
-
1830
- // src/commands/PutTableBucketMaintenanceConfigurationCommand.ts
1831
-
1832
-
1833
-
1834
- var PutTableBucketMaintenanceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1835
- return [
1836
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1837
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1838
- ];
1839
- }).s("S3TableBuckets", "PutTableBucketMaintenanceConfiguration", {}).n("S3TablesClient", "PutTableBucketMaintenanceConfigurationCommand").f(void 0, void 0).ser(se_PutTableBucketMaintenanceConfigurationCommand).de(de_PutTableBucketMaintenanceConfigurationCommand).build() {
1840
- static {
1841
- __name(this, "PutTableBucketMaintenanceConfigurationCommand");
1842
- }
464
+ const se_GetTableMaintenanceJobStatusCommand = async (input, context) => {
465
+ const b = core.requestBuilder(input, context);
466
+ const headers = {};
467
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status");
468
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
469
+ b.p("namespace", () => input.namespace, "{namespace}", false);
470
+ b.p("name", () => input.name, "{name}", false);
471
+ let body;
472
+ b.m("GET").h(headers).b(body);
473
+ return b.build();
1843
474
  };
1844
-
1845
- // src/commands/PutTableBucketPolicyCommand.ts
1846
-
1847
-
1848
-
1849
- var PutTableBucketPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1850
- return [
1851
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1852
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1853
- ];
1854
- }).s("S3TableBuckets", "PutTableBucketPolicy", {}).n("S3TablesClient", "PutTableBucketPolicyCommand").f(void 0, void 0).ser(se_PutTableBucketPolicyCommand).de(de_PutTableBucketPolicyCommand).build() {
1855
- static {
1856
- __name(this, "PutTableBucketPolicyCommand");
1857
- }
475
+ const se_GetTableMetadataLocationCommand = async (input, context) => {
476
+ const b = core.requestBuilder(input, context);
477
+ const headers = {};
478
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
479
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
480
+ b.p("namespace", () => input.namespace, "{namespace}", false);
481
+ b.p("name", () => input.name, "{name}", false);
482
+ let body;
483
+ b.m("GET").h(headers).b(body);
484
+ return b.build();
1858
485
  };
1859
-
1860
- // src/commands/PutTableMaintenanceConfigurationCommand.ts
1861
-
1862
-
1863
-
1864
- var PutTableMaintenanceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1865
- return [
1866
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1867
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1868
- ];
1869
- }).s("S3TableBuckets", "PutTableMaintenanceConfiguration", {}).n("S3TablesClient", "PutTableMaintenanceConfigurationCommand").f(void 0, void 0).ser(se_PutTableMaintenanceConfigurationCommand).de(de_PutTableMaintenanceConfigurationCommand).build() {
1870
- static {
1871
- __name(this, "PutTableMaintenanceConfigurationCommand");
1872
- }
486
+ const se_GetTablePolicyCommand = async (input, context) => {
487
+ const b = core.requestBuilder(input, context);
488
+ const headers = {};
489
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
490
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
491
+ b.p("namespace", () => input.namespace, "{namespace}", false);
492
+ b.p("name", () => input.name, "{name}", false);
493
+ let body;
494
+ b.m("GET").h(headers).b(body);
495
+ return b.build();
1873
496
  };
1874
-
1875
- // src/commands/PutTablePolicyCommand.ts
1876
-
1877
-
1878
-
1879
- var PutTablePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1880
- return [
1881
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1882
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1883
- ];
1884
- }).s("S3TableBuckets", "PutTablePolicy", {}).n("S3TablesClient", "PutTablePolicyCommand").f(void 0, void 0).ser(se_PutTablePolicyCommand).de(de_PutTablePolicyCommand).build() {
1885
- static {
1886
- __name(this, "PutTablePolicyCommand");
1887
- }
497
+ const se_ListNamespacesCommand = async (input, context) => {
498
+ const b = core.requestBuilder(input, context);
499
+ const headers = {};
500
+ b.bp("/namespaces/{tableBucketARN}");
501
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
502
+ const query = smithyClient.map({
503
+ [_p]: [, input[_p]],
504
+ [_cT]: [, input[_cT]],
505
+ [_mN]: [() => input.maxNamespaces !== void 0, () => input[_mN].toString()],
506
+ });
507
+ let body;
508
+ b.m("GET").h(headers).q(query).b(body);
509
+ return b.build();
1888
510
  };
1889
-
1890
- // src/commands/RenameTableCommand.ts
1891
-
1892
-
1893
-
1894
- var RenameTableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1895
- return [
1896
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1897
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1898
- ];
1899
- }).s("S3TableBuckets", "RenameTable", {}).n("S3TablesClient", "RenameTableCommand").f(void 0, void 0).ser(se_RenameTableCommand).de(de_RenameTableCommand).build() {
1900
- static {
1901
- __name(this, "RenameTableCommand");
1902
- }
511
+ const se_ListTableBucketsCommand = async (input, context) => {
512
+ const b = core.requestBuilder(input, context);
513
+ const headers = {};
514
+ b.bp("/buckets");
515
+ const query = smithyClient.map({
516
+ [_p]: [, input[_p]],
517
+ [_cT]: [, input[_cT]],
518
+ [_mB]: [() => input.maxBuckets !== void 0, () => input[_mB].toString()],
519
+ [_t]: [, input[_t]],
520
+ });
521
+ let body;
522
+ b.m("GET").h(headers).q(query).b(body);
523
+ return b.build();
1903
524
  };
1904
-
1905
- // src/commands/UpdateTableMetadataLocationCommand.ts
1906
-
1907
-
1908
-
1909
- var UpdateTableMetadataLocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1910
- return [
1911
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1912
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1913
- ];
1914
- }).s("S3TableBuckets", "UpdateTableMetadataLocation", {}).n("S3TablesClient", "UpdateTableMetadataLocationCommand").f(void 0, void 0).ser(se_UpdateTableMetadataLocationCommand).de(de_UpdateTableMetadataLocationCommand).build() {
1915
- static {
1916
- __name(this, "UpdateTableMetadataLocationCommand");
1917
- }
525
+ const se_ListTablesCommand = async (input, context) => {
526
+ const b = core.requestBuilder(input, context);
527
+ const headers = {};
528
+ b.bp("/tables/{tableBucketARN}");
529
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
530
+ const query = smithyClient.map({
531
+ [_n]: [, input[_n]],
532
+ [_p]: [, input[_p]],
533
+ [_cT]: [, input[_cT]],
534
+ [_mT]: [() => input.maxTables !== void 0, () => input[_mT].toString()],
535
+ });
536
+ let body;
537
+ b.m("GET").h(headers).q(query).b(body);
538
+ return b.build();
1918
539
  };
540
+ const se_PutTableBucketEncryptionCommand = async (input, context) => {
541
+ const b = core.requestBuilder(input, context);
542
+ const headers = {
543
+ "content-type": "application/json",
544
+ };
545
+ b.bp("/buckets/{tableBucketARN}/encryption");
546
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
547
+ let body;
548
+ body = JSON.stringify(smithyClient.take(input, {
549
+ encryptionConfiguration: (_) => smithyClient._json(_),
550
+ }));
551
+ b.m("PUT").h(headers).b(body);
552
+ return b.build();
553
+ };
554
+ const se_PutTableBucketMaintenanceConfigurationCommand = async (input, context) => {
555
+ const b = core.requestBuilder(input, context);
556
+ const headers = {
557
+ "content-type": "application/json",
558
+ };
559
+ b.bp("/buckets/{tableBucketARN}/maintenance/{type}");
560
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
561
+ b.p("type", () => input.type, "{type}", false);
562
+ let body;
563
+ body = JSON.stringify(smithyClient.take(input, {
564
+ value: (_) => smithyClient._json(_),
565
+ }));
566
+ b.m("PUT").h(headers).b(body);
567
+ return b.build();
568
+ };
569
+ const se_PutTableBucketPolicyCommand = async (input, context) => {
570
+ const b = core.requestBuilder(input, context);
571
+ const headers = {
572
+ "content-type": "application/json",
573
+ };
574
+ b.bp("/buckets/{tableBucketARN}/policy");
575
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
576
+ let body;
577
+ body = JSON.stringify(smithyClient.take(input, {
578
+ resourcePolicy: [],
579
+ }));
580
+ b.m("PUT").h(headers).b(body);
581
+ return b.build();
582
+ };
583
+ const se_PutTableMaintenanceConfigurationCommand = async (input, context) => {
584
+ const b = core.requestBuilder(input, context);
585
+ const headers = {
586
+ "content-type": "application/json",
587
+ };
588
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}");
589
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
590
+ b.p("namespace", () => input.namespace, "{namespace}", false);
591
+ b.p("name", () => input.name, "{name}", false);
592
+ b.p("type", () => input.type, "{type}", false);
593
+ let body;
594
+ body = JSON.stringify(smithyClient.take(input, {
595
+ value: (_) => smithyClient._json(_),
596
+ }));
597
+ b.m("PUT").h(headers).b(body);
598
+ return b.build();
599
+ };
600
+ const se_PutTablePolicyCommand = async (input, context) => {
601
+ const b = core.requestBuilder(input, context);
602
+ const headers = {
603
+ "content-type": "application/json",
604
+ };
605
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
606
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
607
+ b.p("namespace", () => input.namespace, "{namespace}", false);
608
+ b.p("name", () => input.name, "{name}", false);
609
+ let body;
610
+ body = JSON.stringify(smithyClient.take(input, {
611
+ resourcePolicy: [],
612
+ }));
613
+ b.m("PUT").h(headers).b(body);
614
+ return b.build();
615
+ };
616
+ const se_RenameTableCommand = async (input, context) => {
617
+ const b = core.requestBuilder(input, context);
618
+ const headers = {
619
+ "content-type": "application/json",
620
+ };
621
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/rename");
622
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
623
+ b.p("namespace", () => input.namespace, "{namespace}", false);
624
+ b.p("name", () => input.name, "{name}", false);
625
+ let body;
626
+ body = JSON.stringify(smithyClient.take(input, {
627
+ newName: [],
628
+ newNamespaceName: [],
629
+ versionToken: [],
630
+ }));
631
+ b.m("PUT").h(headers).b(body);
632
+ return b.build();
633
+ };
634
+ const se_UpdateTableMetadataLocationCommand = async (input, context) => {
635
+ const b = core.requestBuilder(input, context);
636
+ const headers = {
637
+ "content-type": "application/json",
638
+ };
639
+ b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
640
+ b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
641
+ b.p("namespace", () => input.namespace, "{namespace}", false);
642
+ b.p("name", () => input.name, "{name}", false);
643
+ let body;
644
+ body = JSON.stringify(smithyClient.take(input, {
645
+ metadataLocation: [],
646
+ versionToken: [],
647
+ }));
648
+ b.m("PUT").h(headers).b(body);
649
+ return b.build();
650
+ };
651
+ const de_CreateNamespaceCommand = async (output, context) => {
652
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
653
+ return de_CommandError(output, context);
654
+ }
655
+ const contents = smithyClient.map({
656
+ $metadata: deserializeMetadata(output),
657
+ });
658
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
659
+ const doc = smithyClient.take(data, {
660
+ namespace: smithyClient._json,
661
+ tableBucketARN: smithyClient.expectString,
662
+ });
663
+ Object.assign(contents, doc);
664
+ return contents;
665
+ };
666
+ const de_CreateTableCommand = async (output, context) => {
667
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
668
+ return de_CommandError(output, context);
669
+ }
670
+ const contents = smithyClient.map({
671
+ $metadata: deserializeMetadata(output),
672
+ });
673
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
674
+ const doc = smithyClient.take(data, {
675
+ tableARN: smithyClient.expectString,
676
+ versionToken: smithyClient.expectString,
677
+ });
678
+ Object.assign(contents, doc);
679
+ return contents;
680
+ };
681
+ const de_CreateTableBucketCommand = async (output, context) => {
682
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
683
+ return de_CommandError(output, context);
684
+ }
685
+ const contents = smithyClient.map({
686
+ $metadata: deserializeMetadata(output),
687
+ });
688
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
689
+ const doc = smithyClient.take(data, {
690
+ arn: smithyClient.expectString,
691
+ });
692
+ Object.assign(contents, doc);
693
+ return contents;
694
+ };
695
+ const de_DeleteNamespaceCommand = async (output, context) => {
696
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
697
+ return de_CommandError(output, context);
698
+ }
699
+ const contents = smithyClient.map({
700
+ $metadata: deserializeMetadata(output),
701
+ });
702
+ await smithyClient.collectBody(output.body, context);
703
+ return contents;
704
+ };
705
+ const de_DeleteTableCommand = async (output, context) => {
706
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
707
+ return de_CommandError(output, context);
708
+ }
709
+ const contents = smithyClient.map({
710
+ $metadata: deserializeMetadata(output),
711
+ });
712
+ await smithyClient.collectBody(output.body, context);
713
+ return contents;
714
+ };
715
+ const de_DeleteTableBucketCommand = async (output, context) => {
716
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
717
+ return de_CommandError(output, context);
718
+ }
719
+ const contents = smithyClient.map({
720
+ $metadata: deserializeMetadata(output),
721
+ });
722
+ await smithyClient.collectBody(output.body, context);
723
+ return contents;
724
+ };
725
+ const de_DeleteTableBucketEncryptionCommand = async (output, context) => {
726
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
727
+ return de_CommandError(output, context);
728
+ }
729
+ const contents = smithyClient.map({
730
+ $metadata: deserializeMetadata(output),
731
+ });
732
+ await smithyClient.collectBody(output.body, context);
733
+ return contents;
734
+ };
735
+ const de_DeleteTableBucketPolicyCommand = async (output, context) => {
736
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
737
+ return de_CommandError(output, context);
738
+ }
739
+ const contents = smithyClient.map({
740
+ $metadata: deserializeMetadata(output),
741
+ });
742
+ await smithyClient.collectBody(output.body, context);
743
+ return contents;
744
+ };
745
+ const de_DeleteTablePolicyCommand = async (output, context) => {
746
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
747
+ return de_CommandError(output, context);
748
+ }
749
+ const contents = smithyClient.map({
750
+ $metadata: deserializeMetadata(output),
751
+ });
752
+ await smithyClient.collectBody(output.body, context);
753
+ return contents;
754
+ };
755
+ const de_GetNamespaceCommand = async (output, context) => {
756
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
757
+ return de_CommandError(output, context);
758
+ }
759
+ const contents = smithyClient.map({
760
+ $metadata: deserializeMetadata(output),
761
+ });
762
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
763
+ const doc = smithyClient.take(data, {
764
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
765
+ createdBy: smithyClient.expectString,
766
+ namespace: smithyClient._json,
767
+ namespaceId: smithyClient.expectString,
768
+ ownerAccountId: smithyClient.expectString,
769
+ tableBucketId: smithyClient.expectString,
770
+ });
771
+ Object.assign(contents, doc);
772
+ return contents;
773
+ };
774
+ const de_GetTableCommand = async (output, context) => {
775
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
776
+ return de_CommandError(output, context);
777
+ }
778
+ const contents = smithyClient.map({
779
+ $metadata: deserializeMetadata(output),
780
+ });
781
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
782
+ const doc = smithyClient.take(data, {
783
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
784
+ createdBy: smithyClient.expectString,
785
+ format: smithyClient.expectString,
786
+ managedByService: smithyClient.expectString,
787
+ metadataLocation: smithyClient.expectString,
788
+ modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
789
+ modifiedBy: smithyClient.expectString,
790
+ name: smithyClient.expectString,
791
+ namespace: smithyClient._json,
792
+ namespaceId: smithyClient.expectString,
793
+ ownerAccountId: smithyClient.expectString,
794
+ tableARN: smithyClient.expectString,
795
+ tableBucketId: smithyClient.expectString,
796
+ type: smithyClient.expectString,
797
+ versionToken: smithyClient.expectString,
798
+ warehouseLocation: smithyClient.expectString,
799
+ });
800
+ Object.assign(contents, doc);
801
+ return contents;
802
+ };
803
+ const de_GetTableBucketCommand = async (output, context) => {
804
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
805
+ return de_CommandError(output, context);
806
+ }
807
+ const contents = smithyClient.map({
808
+ $metadata: deserializeMetadata(output),
809
+ });
810
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
811
+ const doc = smithyClient.take(data, {
812
+ arn: smithyClient.expectString,
813
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
814
+ name: smithyClient.expectString,
815
+ ownerAccountId: smithyClient.expectString,
816
+ tableBucketId: smithyClient.expectString,
817
+ type: smithyClient.expectString,
818
+ });
819
+ Object.assign(contents, doc);
820
+ return contents;
821
+ };
822
+ const de_GetTableBucketEncryptionCommand = async (output, context) => {
823
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
824
+ return de_CommandError(output, context);
825
+ }
826
+ const contents = smithyClient.map({
827
+ $metadata: deserializeMetadata(output),
828
+ });
829
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
830
+ const doc = smithyClient.take(data, {
831
+ encryptionConfiguration: smithyClient._json,
832
+ });
833
+ Object.assign(contents, doc);
834
+ return contents;
835
+ };
836
+ const de_GetTableBucketMaintenanceConfigurationCommand = async (output, context) => {
837
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
838
+ return de_CommandError(output, context);
839
+ }
840
+ const contents = smithyClient.map({
841
+ $metadata: deserializeMetadata(output),
842
+ });
843
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
844
+ const doc = smithyClient.take(data, {
845
+ configuration: smithyClient._json,
846
+ tableBucketARN: smithyClient.expectString,
847
+ });
848
+ Object.assign(contents, doc);
849
+ return contents;
850
+ };
851
+ const de_GetTableBucketPolicyCommand = async (output, context) => {
852
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
853
+ return de_CommandError(output, context);
854
+ }
855
+ const contents = smithyClient.map({
856
+ $metadata: deserializeMetadata(output),
857
+ });
858
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
859
+ const doc = smithyClient.take(data, {
860
+ resourcePolicy: smithyClient.expectString,
861
+ });
862
+ Object.assign(contents, doc);
863
+ return contents;
864
+ };
865
+ const de_GetTableEncryptionCommand = async (output, context) => {
866
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
867
+ return de_CommandError(output, context);
868
+ }
869
+ const contents = smithyClient.map({
870
+ $metadata: deserializeMetadata(output),
871
+ });
872
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
873
+ const doc = smithyClient.take(data, {
874
+ encryptionConfiguration: smithyClient._json,
875
+ });
876
+ Object.assign(contents, doc);
877
+ return contents;
878
+ };
879
+ const de_GetTableMaintenanceConfigurationCommand = async (output, context) => {
880
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
881
+ return de_CommandError(output, context);
882
+ }
883
+ const contents = smithyClient.map({
884
+ $metadata: deserializeMetadata(output),
885
+ });
886
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
887
+ const doc = smithyClient.take(data, {
888
+ configuration: smithyClient._json,
889
+ tableARN: smithyClient.expectString,
890
+ });
891
+ Object.assign(contents, doc);
892
+ return contents;
893
+ };
894
+ const de_GetTableMaintenanceJobStatusCommand = async (output, context) => {
895
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
896
+ return de_CommandError(output, context);
897
+ }
898
+ const contents = smithyClient.map({
899
+ $metadata: deserializeMetadata(output),
900
+ });
901
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
902
+ const doc = smithyClient.take(data, {
903
+ status: (_) => de_TableMaintenanceJobStatus(_),
904
+ tableARN: smithyClient.expectString,
905
+ });
906
+ Object.assign(contents, doc);
907
+ return contents;
908
+ };
909
+ const de_GetTableMetadataLocationCommand = async (output, context) => {
910
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
911
+ return de_CommandError(output, context);
912
+ }
913
+ const contents = smithyClient.map({
914
+ $metadata: deserializeMetadata(output),
915
+ });
916
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
917
+ const doc = smithyClient.take(data, {
918
+ metadataLocation: smithyClient.expectString,
919
+ versionToken: smithyClient.expectString,
920
+ warehouseLocation: smithyClient.expectString,
921
+ });
922
+ Object.assign(contents, doc);
923
+ return contents;
924
+ };
925
+ const de_GetTablePolicyCommand = async (output, context) => {
926
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
927
+ return de_CommandError(output, context);
928
+ }
929
+ const contents = smithyClient.map({
930
+ $metadata: deserializeMetadata(output),
931
+ });
932
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
933
+ const doc = smithyClient.take(data, {
934
+ resourcePolicy: smithyClient.expectString,
935
+ });
936
+ Object.assign(contents, doc);
937
+ return contents;
938
+ };
939
+ const de_ListNamespacesCommand = async (output, context) => {
940
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
941
+ return de_CommandError(output, context);
942
+ }
943
+ const contents = smithyClient.map({
944
+ $metadata: deserializeMetadata(output),
945
+ });
946
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
947
+ const doc = smithyClient.take(data, {
948
+ continuationToken: smithyClient.expectString,
949
+ namespaces: (_) => de_NamespaceSummaryList(_),
950
+ });
951
+ Object.assign(contents, doc);
952
+ return contents;
953
+ };
954
+ const de_ListTableBucketsCommand = async (output, context) => {
955
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
956
+ return de_CommandError(output, context);
957
+ }
958
+ const contents = smithyClient.map({
959
+ $metadata: deserializeMetadata(output),
960
+ });
961
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
962
+ const doc = smithyClient.take(data, {
963
+ continuationToken: smithyClient.expectString,
964
+ tableBuckets: (_) => de_TableBucketSummaryList(_),
965
+ });
966
+ Object.assign(contents, doc);
967
+ return contents;
968
+ };
969
+ const de_ListTablesCommand = async (output, context) => {
970
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
971
+ return de_CommandError(output, context);
972
+ }
973
+ const contents = smithyClient.map({
974
+ $metadata: deserializeMetadata(output),
975
+ });
976
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
977
+ const doc = smithyClient.take(data, {
978
+ continuationToken: smithyClient.expectString,
979
+ tables: (_) => de_TableSummaryList(_),
980
+ });
981
+ Object.assign(contents, doc);
982
+ return contents;
983
+ };
984
+ const de_PutTableBucketEncryptionCommand = async (output, context) => {
985
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
986
+ return de_CommandError(output, context);
987
+ }
988
+ const contents = smithyClient.map({
989
+ $metadata: deserializeMetadata(output),
990
+ });
991
+ await smithyClient.collectBody(output.body, context);
992
+ return contents;
993
+ };
994
+ const de_PutTableBucketMaintenanceConfigurationCommand = async (output, context) => {
995
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
996
+ return de_CommandError(output, context);
997
+ }
998
+ const contents = smithyClient.map({
999
+ $metadata: deserializeMetadata(output),
1000
+ });
1001
+ await smithyClient.collectBody(output.body, context);
1002
+ return contents;
1003
+ };
1004
+ const de_PutTableBucketPolicyCommand = async (output, context) => {
1005
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1006
+ return de_CommandError(output, context);
1007
+ }
1008
+ const contents = smithyClient.map({
1009
+ $metadata: deserializeMetadata(output),
1010
+ });
1011
+ await smithyClient.collectBody(output.body, context);
1012
+ return contents;
1013
+ };
1014
+ const de_PutTableMaintenanceConfigurationCommand = async (output, context) => {
1015
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1016
+ return de_CommandError(output, context);
1017
+ }
1018
+ const contents = smithyClient.map({
1019
+ $metadata: deserializeMetadata(output),
1020
+ });
1021
+ await smithyClient.collectBody(output.body, context);
1022
+ return contents;
1023
+ };
1024
+ const de_PutTablePolicyCommand = async (output, context) => {
1025
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1026
+ return de_CommandError(output, context);
1027
+ }
1028
+ const contents = smithyClient.map({
1029
+ $metadata: deserializeMetadata(output),
1030
+ });
1031
+ await smithyClient.collectBody(output.body, context);
1032
+ return contents;
1033
+ };
1034
+ const de_RenameTableCommand = async (output, context) => {
1035
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
1036
+ return de_CommandError(output, context);
1037
+ }
1038
+ const contents = smithyClient.map({
1039
+ $metadata: deserializeMetadata(output),
1040
+ });
1041
+ await smithyClient.collectBody(output.body, context);
1042
+ return contents;
1043
+ };
1044
+ const de_UpdateTableMetadataLocationCommand = async (output, context) => {
1045
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1046
+ return de_CommandError(output, context);
1047
+ }
1048
+ const contents = smithyClient.map({
1049
+ $metadata: deserializeMetadata(output),
1050
+ });
1051
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1052
+ const doc = smithyClient.take(data, {
1053
+ metadataLocation: smithyClient.expectString,
1054
+ name: smithyClient.expectString,
1055
+ namespace: smithyClient._json,
1056
+ tableARN: smithyClient.expectString,
1057
+ versionToken: smithyClient.expectString,
1058
+ });
1059
+ Object.assign(contents, doc);
1060
+ return contents;
1061
+ };
1062
+ const de_CommandError = async (output, context) => {
1063
+ const parsedOutput = {
1064
+ ...output,
1065
+ body: await core$1.parseJsonErrorBody(output.body, context),
1066
+ };
1067
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1068
+ switch (errorCode) {
1069
+ case "BadRequestException":
1070
+ case "com.amazonaws.s3tables#BadRequestException":
1071
+ throw await de_BadRequestExceptionRes(parsedOutput);
1072
+ case "ConflictException":
1073
+ case "com.amazonaws.s3tables#ConflictException":
1074
+ throw await de_ConflictExceptionRes(parsedOutput);
1075
+ case "ForbiddenException":
1076
+ case "com.amazonaws.s3tables#ForbiddenException":
1077
+ throw await de_ForbiddenExceptionRes(parsedOutput);
1078
+ case "InternalServerErrorException":
1079
+ case "com.amazonaws.s3tables#InternalServerErrorException":
1080
+ throw await de_InternalServerErrorExceptionRes(parsedOutput);
1081
+ case "NotFoundException":
1082
+ case "com.amazonaws.s3tables#NotFoundException":
1083
+ throw await de_NotFoundExceptionRes(parsedOutput);
1084
+ case "TooManyRequestsException":
1085
+ case "com.amazonaws.s3tables#TooManyRequestsException":
1086
+ throw await de_TooManyRequestsExceptionRes(parsedOutput);
1087
+ case "AccessDeniedException":
1088
+ case "com.amazonaws.s3tables#AccessDeniedException":
1089
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1090
+ default:
1091
+ const parsedBody = parsedOutput.body;
1092
+ return throwDefaultError({
1093
+ output,
1094
+ parsedBody,
1095
+ errorCode,
1096
+ });
1097
+ }
1098
+ };
1099
+ const throwDefaultError = smithyClient.withBaseException(S3TablesServiceException);
1100
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1101
+ const contents = smithyClient.map({});
1102
+ const data = parsedOutput.body;
1103
+ const doc = smithyClient.take(data, {
1104
+ message: smithyClient.expectString,
1105
+ });
1106
+ Object.assign(contents, doc);
1107
+ const exception = new AccessDeniedException({
1108
+ $metadata: deserializeMetadata(parsedOutput),
1109
+ ...contents,
1110
+ });
1111
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1112
+ };
1113
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1114
+ const contents = smithyClient.map({});
1115
+ const data = parsedOutput.body;
1116
+ const doc = smithyClient.take(data, {
1117
+ message: smithyClient.expectString,
1118
+ });
1119
+ Object.assign(contents, doc);
1120
+ const exception = new BadRequestException({
1121
+ $metadata: deserializeMetadata(parsedOutput),
1122
+ ...contents,
1123
+ });
1124
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1125
+ };
1126
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1127
+ const contents = smithyClient.map({});
1128
+ const data = parsedOutput.body;
1129
+ const doc = smithyClient.take(data, {
1130
+ message: smithyClient.expectString,
1131
+ });
1132
+ Object.assign(contents, doc);
1133
+ const exception = new ConflictException({
1134
+ $metadata: deserializeMetadata(parsedOutput),
1135
+ ...contents,
1136
+ });
1137
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1138
+ };
1139
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1140
+ const contents = smithyClient.map({});
1141
+ const data = parsedOutput.body;
1142
+ const doc = smithyClient.take(data, {
1143
+ message: smithyClient.expectString,
1144
+ });
1145
+ Object.assign(contents, doc);
1146
+ const exception = new ForbiddenException({
1147
+ $metadata: deserializeMetadata(parsedOutput),
1148
+ ...contents,
1149
+ });
1150
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1151
+ };
1152
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
1153
+ const contents = smithyClient.map({});
1154
+ const data = parsedOutput.body;
1155
+ const doc = smithyClient.take(data, {
1156
+ message: smithyClient.expectString,
1157
+ });
1158
+ Object.assign(contents, doc);
1159
+ const exception = new InternalServerErrorException({
1160
+ $metadata: deserializeMetadata(parsedOutput),
1161
+ ...contents,
1162
+ });
1163
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1164
+ };
1165
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1166
+ const contents = smithyClient.map({});
1167
+ const data = parsedOutput.body;
1168
+ const doc = smithyClient.take(data, {
1169
+ message: smithyClient.expectString,
1170
+ });
1171
+ Object.assign(contents, doc);
1172
+ const exception = new NotFoundException({
1173
+ $metadata: deserializeMetadata(parsedOutput),
1174
+ ...contents,
1175
+ });
1176
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1177
+ };
1178
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1179
+ const contents = smithyClient.map({});
1180
+ const data = parsedOutput.body;
1181
+ const doc = smithyClient.take(data, {
1182
+ message: smithyClient.expectString,
1183
+ });
1184
+ Object.assign(contents, doc);
1185
+ const exception = new TooManyRequestsException({
1186
+ $metadata: deserializeMetadata(parsedOutput),
1187
+ ...contents,
1188
+ });
1189
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1190
+ };
1191
+ const de_NamespaceSummary = (output, context) => {
1192
+ return smithyClient.take(output, {
1193
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1194
+ createdBy: smithyClient.expectString,
1195
+ namespace: smithyClient._json,
1196
+ namespaceId: smithyClient.expectString,
1197
+ ownerAccountId: smithyClient.expectString,
1198
+ tableBucketId: smithyClient.expectString,
1199
+ });
1200
+ };
1201
+ const de_NamespaceSummaryList = (output, context) => {
1202
+ const retVal = (output || [])
1203
+ .filter((e) => e != null)
1204
+ .map((entry) => {
1205
+ return de_NamespaceSummary(entry);
1206
+ });
1207
+ return retVal;
1208
+ };
1209
+ const de_TableBucketSummary = (output, context) => {
1210
+ return smithyClient.take(output, {
1211
+ arn: smithyClient.expectString,
1212
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1213
+ name: smithyClient.expectString,
1214
+ ownerAccountId: smithyClient.expectString,
1215
+ tableBucketId: smithyClient.expectString,
1216
+ type: smithyClient.expectString,
1217
+ });
1218
+ };
1219
+ const de_TableBucketSummaryList = (output, context) => {
1220
+ const retVal = (output || [])
1221
+ .filter((e) => e != null)
1222
+ .map((entry) => {
1223
+ return de_TableBucketSummary(entry);
1224
+ });
1225
+ return retVal;
1226
+ };
1227
+ const de_TableMaintenanceJobStatus = (output, context) => {
1228
+ return Object.entries(output).reduce((acc, [key, value]) => {
1229
+ if (value === null) {
1230
+ return acc;
1231
+ }
1232
+ acc[key] = de_TableMaintenanceJobStatusValue(value);
1233
+ return acc;
1234
+ }, {});
1235
+ };
1236
+ const de_TableMaintenanceJobStatusValue = (output, context) => {
1237
+ return smithyClient.take(output, {
1238
+ failureMessage: smithyClient.expectString,
1239
+ lastRunTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1240
+ status: smithyClient.expectString,
1241
+ });
1242
+ };
1243
+ const de_TableSummary = (output, context) => {
1244
+ return smithyClient.take(output, {
1245
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1246
+ modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1247
+ name: smithyClient.expectString,
1248
+ namespace: smithyClient._json,
1249
+ namespaceId: smithyClient.expectString,
1250
+ tableARN: smithyClient.expectString,
1251
+ tableBucketId: smithyClient.expectString,
1252
+ type: smithyClient.expectString,
1253
+ });
1254
+ };
1255
+ const de_TableSummaryList = (output, context) => {
1256
+ const retVal = (output || [])
1257
+ .filter((e) => e != null)
1258
+ .map((entry) => {
1259
+ return de_TableSummary(entry);
1260
+ });
1261
+ return retVal;
1262
+ };
1263
+ const deserializeMetadata = (output) => ({
1264
+ httpStatusCode: output.statusCode,
1265
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1266
+ extendedRequestId: output.headers["x-amz-id-2"],
1267
+ cfId: output.headers["x-amz-cf-id"],
1268
+ });
1269
+ const _cT = "continuationToken";
1270
+ const _mB = "maxBuckets";
1271
+ const _mN = "maxNamespaces";
1272
+ const _mT = "maxTables";
1273
+ const _n = "namespace";
1274
+ const _na = "name";
1275
+ const _p = "prefix";
1276
+ const _t = "type";
1277
+ const _tA = "tableArn";
1278
+ const _tBARN = "tableBucketARN";
1279
+ const _vT = "versionToken";
1280
+
1281
+ class CreateNamespaceCommand extends smithyClient.Command
1282
+ .classBuilder()
1283
+ .ep(commonParams)
1284
+ .m(function (Command, cs, config, o) {
1285
+ return [
1286
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1287
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1288
+ ];
1289
+ })
1290
+ .s("S3TableBuckets", "CreateNamespace", {})
1291
+ .n("S3TablesClient", "CreateNamespaceCommand")
1292
+ .f(void 0, void 0)
1293
+ .ser(se_CreateNamespaceCommand)
1294
+ .de(de_CreateNamespaceCommand)
1295
+ .build() {
1296
+ }
1297
+
1298
+ class CreateTableBucketCommand extends smithyClient.Command
1299
+ .classBuilder()
1300
+ .ep(commonParams)
1301
+ .m(function (Command, cs, config, o) {
1302
+ return [
1303
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1304
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1305
+ ];
1306
+ })
1307
+ .s("S3TableBuckets", "CreateTableBucket", {})
1308
+ .n("S3TablesClient", "CreateTableBucketCommand")
1309
+ .f(void 0, void 0)
1310
+ .ser(se_CreateTableBucketCommand)
1311
+ .de(de_CreateTableBucketCommand)
1312
+ .build() {
1313
+ }
1314
+
1315
+ class CreateTableCommand extends smithyClient.Command
1316
+ .classBuilder()
1317
+ .ep(commonParams)
1318
+ .m(function (Command, cs, config, o) {
1319
+ return [
1320
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1321
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1322
+ ];
1323
+ })
1324
+ .s("S3TableBuckets", "CreateTable", {})
1325
+ .n("S3TablesClient", "CreateTableCommand")
1326
+ .f(void 0, void 0)
1327
+ .ser(se_CreateTableCommand)
1328
+ .de(de_CreateTableCommand)
1329
+ .build() {
1330
+ }
1331
+
1332
+ class DeleteNamespaceCommand extends smithyClient.Command
1333
+ .classBuilder()
1334
+ .ep(commonParams)
1335
+ .m(function (Command, cs, config, o) {
1336
+ return [
1337
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1338
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1339
+ ];
1340
+ })
1341
+ .s("S3TableBuckets", "DeleteNamespace", {})
1342
+ .n("S3TablesClient", "DeleteNamespaceCommand")
1343
+ .f(void 0, void 0)
1344
+ .ser(se_DeleteNamespaceCommand)
1345
+ .de(de_DeleteNamespaceCommand)
1346
+ .build() {
1347
+ }
1348
+
1349
+ class DeleteTableBucketCommand extends smithyClient.Command
1350
+ .classBuilder()
1351
+ .ep(commonParams)
1352
+ .m(function (Command, cs, config, o) {
1353
+ return [
1354
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1355
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1356
+ ];
1357
+ })
1358
+ .s("S3TableBuckets", "DeleteTableBucket", {})
1359
+ .n("S3TablesClient", "DeleteTableBucketCommand")
1360
+ .f(void 0, void 0)
1361
+ .ser(se_DeleteTableBucketCommand)
1362
+ .de(de_DeleteTableBucketCommand)
1363
+ .build() {
1364
+ }
1365
+
1366
+ class DeleteTableBucketEncryptionCommand extends smithyClient.Command
1367
+ .classBuilder()
1368
+ .ep(commonParams)
1369
+ .m(function (Command, cs, config, o) {
1370
+ return [
1371
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1372
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1373
+ ];
1374
+ })
1375
+ .s("S3TableBuckets", "DeleteTableBucketEncryption", {})
1376
+ .n("S3TablesClient", "DeleteTableBucketEncryptionCommand")
1377
+ .f(void 0, void 0)
1378
+ .ser(se_DeleteTableBucketEncryptionCommand)
1379
+ .de(de_DeleteTableBucketEncryptionCommand)
1380
+ .build() {
1381
+ }
1382
+
1383
+ class DeleteTableBucketPolicyCommand extends smithyClient.Command
1384
+ .classBuilder()
1385
+ .ep(commonParams)
1386
+ .m(function (Command, cs, config, o) {
1387
+ return [
1388
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1389
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1390
+ ];
1391
+ })
1392
+ .s("S3TableBuckets", "DeleteTableBucketPolicy", {})
1393
+ .n("S3TablesClient", "DeleteTableBucketPolicyCommand")
1394
+ .f(void 0, void 0)
1395
+ .ser(se_DeleteTableBucketPolicyCommand)
1396
+ .de(de_DeleteTableBucketPolicyCommand)
1397
+ .build() {
1398
+ }
1399
+
1400
+ class DeleteTableCommand extends smithyClient.Command
1401
+ .classBuilder()
1402
+ .ep(commonParams)
1403
+ .m(function (Command, cs, config, o) {
1404
+ return [
1405
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1406
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1407
+ ];
1408
+ })
1409
+ .s("S3TableBuckets", "DeleteTable", {})
1410
+ .n("S3TablesClient", "DeleteTableCommand")
1411
+ .f(void 0, void 0)
1412
+ .ser(se_DeleteTableCommand)
1413
+ .de(de_DeleteTableCommand)
1414
+ .build() {
1415
+ }
1416
+
1417
+ class DeleteTablePolicyCommand extends smithyClient.Command
1418
+ .classBuilder()
1419
+ .ep(commonParams)
1420
+ .m(function (Command, cs, config, o) {
1421
+ return [
1422
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1423
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1424
+ ];
1425
+ })
1426
+ .s("S3TableBuckets", "DeleteTablePolicy", {})
1427
+ .n("S3TablesClient", "DeleteTablePolicyCommand")
1428
+ .f(void 0, void 0)
1429
+ .ser(se_DeleteTablePolicyCommand)
1430
+ .de(de_DeleteTablePolicyCommand)
1431
+ .build() {
1432
+ }
1433
+
1434
+ class GetNamespaceCommand extends smithyClient.Command
1435
+ .classBuilder()
1436
+ .ep(commonParams)
1437
+ .m(function (Command, cs, config, o) {
1438
+ return [
1439
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1440
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1441
+ ];
1442
+ })
1443
+ .s("S3TableBuckets", "GetNamespace", {})
1444
+ .n("S3TablesClient", "GetNamespaceCommand")
1445
+ .f(void 0, void 0)
1446
+ .ser(se_GetNamespaceCommand)
1447
+ .de(de_GetNamespaceCommand)
1448
+ .build() {
1449
+ }
1450
+
1451
+ class GetTableBucketCommand extends smithyClient.Command
1452
+ .classBuilder()
1453
+ .ep(commonParams)
1454
+ .m(function (Command, cs, config, o) {
1455
+ return [
1456
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
+ ];
1459
+ })
1460
+ .s("S3TableBuckets", "GetTableBucket", {})
1461
+ .n("S3TablesClient", "GetTableBucketCommand")
1462
+ .f(void 0, void 0)
1463
+ .ser(se_GetTableBucketCommand)
1464
+ .de(de_GetTableBucketCommand)
1465
+ .build() {
1466
+ }
1467
+
1468
+ class GetTableBucketEncryptionCommand extends smithyClient.Command
1469
+ .classBuilder()
1470
+ .ep(commonParams)
1471
+ .m(function (Command, cs, config, o) {
1472
+ return [
1473
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
+ ];
1476
+ })
1477
+ .s("S3TableBuckets", "GetTableBucketEncryption", {})
1478
+ .n("S3TablesClient", "GetTableBucketEncryptionCommand")
1479
+ .f(void 0, void 0)
1480
+ .ser(se_GetTableBucketEncryptionCommand)
1481
+ .de(de_GetTableBucketEncryptionCommand)
1482
+ .build() {
1483
+ }
1484
+
1485
+ class GetTableBucketMaintenanceConfigurationCommand extends smithyClient.Command
1486
+ .classBuilder()
1487
+ .ep(commonParams)
1488
+ .m(function (Command, cs, config, o) {
1489
+ return [
1490
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1491
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1492
+ ];
1493
+ })
1494
+ .s("S3TableBuckets", "GetTableBucketMaintenanceConfiguration", {})
1495
+ .n("S3TablesClient", "GetTableBucketMaintenanceConfigurationCommand")
1496
+ .f(void 0, void 0)
1497
+ .ser(se_GetTableBucketMaintenanceConfigurationCommand)
1498
+ .de(de_GetTableBucketMaintenanceConfigurationCommand)
1499
+ .build() {
1500
+ }
1501
+
1502
+ class GetTableBucketPolicyCommand extends smithyClient.Command
1503
+ .classBuilder()
1504
+ .ep(commonParams)
1505
+ .m(function (Command, cs, config, o) {
1506
+ return [
1507
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1508
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1509
+ ];
1510
+ })
1511
+ .s("S3TableBuckets", "GetTableBucketPolicy", {})
1512
+ .n("S3TablesClient", "GetTableBucketPolicyCommand")
1513
+ .f(void 0, void 0)
1514
+ .ser(se_GetTableBucketPolicyCommand)
1515
+ .de(de_GetTableBucketPolicyCommand)
1516
+ .build() {
1517
+ }
1518
+
1519
+ class GetTableCommand extends smithyClient.Command
1520
+ .classBuilder()
1521
+ .ep(commonParams)
1522
+ .m(function (Command, cs, config, o) {
1523
+ return [
1524
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1525
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1526
+ ];
1527
+ })
1528
+ .s("S3TableBuckets", "GetTable", {})
1529
+ .n("S3TablesClient", "GetTableCommand")
1530
+ .f(void 0, void 0)
1531
+ .ser(se_GetTableCommand)
1532
+ .de(de_GetTableCommand)
1533
+ .build() {
1534
+ }
1535
+
1536
+ class GetTableEncryptionCommand extends smithyClient.Command
1537
+ .classBuilder()
1538
+ .ep(commonParams)
1539
+ .m(function (Command, cs, config, o) {
1540
+ return [
1541
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1542
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1543
+ ];
1544
+ })
1545
+ .s("S3TableBuckets", "GetTableEncryption", {})
1546
+ .n("S3TablesClient", "GetTableEncryptionCommand")
1547
+ .f(void 0, void 0)
1548
+ .ser(se_GetTableEncryptionCommand)
1549
+ .de(de_GetTableEncryptionCommand)
1550
+ .build() {
1551
+ }
1552
+
1553
+ class GetTableMaintenanceConfigurationCommand extends smithyClient.Command
1554
+ .classBuilder()
1555
+ .ep(commonParams)
1556
+ .m(function (Command, cs, config, o) {
1557
+ return [
1558
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1559
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1560
+ ];
1561
+ })
1562
+ .s("S3TableBuckets", "GetTableMaintenanceConfiguration", {})
1563
+ .n("S3TablesClient", "GetTableMaintenanceConfigurationCommand")
1564
+ .f(void 0, void 0)
1565
+ .ser(se_GetTableMaintenanceConfigurationCommand)
1566
+ .de(de_GetTableMaintenanceConfigurationCommand)
1567
+ .build() {
1568
+ }
1569
+
1570
+ class GetTableMaintenanceJobStatusCommand extends smithyClient.Command
1571
+ .classBuilder()
1572
+ .ep(commonParams)
1573
+ .m(function (Command, cs, config, o) {
1574
+ return [
1575
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1576
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1577
+ ];
1578
+ })
1579
+ .s("S3TableBuckets", "GetTableMaintenanceJobStatus", {})
1580
+ .n("S3TablesClient", "GetTableMaintenanceJobStatusCommand")
1581
+ .f(void 0, void 0)
1582
+ .ser(se_GetTableMaintenanceJobStatusCommand)
1583
+ .de(de_GetTableMaintenanceJobStatusCommand)
1584
+ .build() {
1585
+ }
1586
+
1587
+ class GetTableMetadataLocationCommand extends smithyClient.Command
1588
+ .classBuilder()
1589
+ .ep(commonParams)
1590
+ .m(function (Command, cs, config, o) {
1591
+ return [
1592
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1593
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1594
+ ];
1595
+ })
1596
+ .s("S3TableBuckets", "GetTableMetadataLocation", {})
1597
+ .n("S3TablesClient", "GetTableMetadataLocationCommand")
1598
+ .f(void 0, void 0)
1599
+ .ser(se_GetTableMetadataLocationCommand)
1600
+ .de(de_GetTableMetadataLocationCommand)
1601
+ .build() {
1602
+ }
1603
+
1604
+ class GetTablePolicyCommand extends smithyClient.Command
1605
+ .classBuilder()
1606
+ .ep(commonParams)
1607
+ .m(function (Command, cs, config, o) {
1608
+ return [
1609
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1610
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1611
+ ];
1612
+ })
1613
+ .s("S3TableBuckets", "GetTablePolicy", {})
1614
+ .n("S3TablesClient", "GetTablePolicyCommand")
1615
+ .f(void 0, void 0)
1616
+ .ser(se_GetTablePolicyCommand)
1617
+ .de(de_GetTablePolicyCommand)
1618
+ .build() {
1619
+ }
1620
+
1621
+ class ListNamespacesCommand extends smithyClient.Command
1622
+ .classBuilder()
1623
+ .ep(commonParams)
1624
+ .m(function (Command, cs, config, o) {
1625
+ return [
1626
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
+ ];
1629
+ })
1630
+ .s("S3TableBuckets", "ListNamespaces", {})
1631
+ .n("S3TablesClient", "ListNamespacesCommand")
1632
+ .f(void 0, void 0)
1633
+ .ser(se_ListNamespacesCommand)
1634
+ .de(de_ListNamespacesCommand)
1635
+ .build() {
1636
+ }
1637
+
1638
+ class ListTableBucketsCommand extends smithyClient.Command
1639
+ .classBuilder()
1640
+ .ep(commonParams)
1641
+ .m(function (Command, cs, config, o) {
1642
+ return [
1643
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
+ ];
1646
+ })
1647
+ .s("S3TableBuckets", "ListTableBuckets", {})
1648
+ .n("S3TablesClient", "ListTableBucketsCommand")
1649
+ .f(void 0, void 0)
1650
+ .ser(se_ListTableBucketsCommand)
1651
+ .de(de_ListTableBucketsCommand)
1652
+ .build() {
1653
+ }
1654
+
1655
+ class ListTablesCommand extends smithyClient.Command
1656
+ .classBuilder()
1657
+ .ep(commonParams)
1658
+ .m(function (Command, cs, config, o) {
1659
+ return [
1660
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
+ ];
1663
+ })
1664
+ .s("S3TableBuckets", "ListTables", {})
1665
+ .n("S3TablesClient", "ListTablesCommand")
1666
+ .f(void 0, void 0)
1667
+ .ser(se_ListTablesCommand)
1668
+ .de(de_ListTablesCommand)
1669
+ .build() {
1670
+ }
1671
+
1672
+ class PutTableBucketEncryptionCommand extends smithyClient.Command
1673
+ .classBuilder()
1674
+ .ep(commonParams)
1675
+ .m(function (Command, cs, config, o) {
1676
+ return [
1677
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
+ ];
1680
+ })
1681
+ .s("S3TableBuckets", "PutTableBucketEncryption", {})
1682
+ .n("S3TablesClient", "PutTableBucketEncryptionCommand")
1683
+ .f(void 0, void 0)
1684
+ .ser(se_PutTableBucketEncryptionCommand)
1685
+ .de(de_PutTableBucketEncryptionCommand)
1686
+ .build() {
1687
+ }
1688
+
1689
+ class PutTableBucketMaintenanceConfigurationCommand extends smithyClient.Command
1690
+ .classBuilder()
1691
+ .ep(commonParams)
1692
+ .m(function (Command, cs, config, o) {
1693
+ return [
1694
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
+ ];
1697
+ })
1698
+ .s("S3TableBuckets", "PutTableBucketMaintenanceConfiguration", {})
1699
+ .n("S3TablesClient", "PutTableBucketMaintenanceConfigurationCommand")
1700
+ .f(void 0, void 0)
1701
+ .ser(se_PutTableBucketMaintenanceConfigurationCommand)
1702
+ .de(de_PutTableBucketMaintenanceConfigurationCommand)
1703
+ .build() {
1704
+ }
1705
+
1706
+ class PutTableBucketPolicyCommand extends smithyClient.Command
1707
+ .classBuilder()
1708
+ .ep(commonParams)
1709
+ .m(function (Command, cs, config, o) {
1710
+ return [
1711
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
+ ];
1714
+ })
1715
+ .s("S3TableBuckets", "PutTableBucketPolicy", {})
1716
+ .n("S3TablesClient", "PutTableBucketPolicyCommand")
1717
+ .f(void 0, void 0)
1718
+ .ser(se_PutTableBucketPolicyCommand)
1719
+ .de(de_PutTableBucketPolicyCommand)
1720
+ .build() {
1721
+ }
1722
+
1723
+ class PutTableMaintenanceConfigurationCommand extends smithyClient.Command
1724
+ .classBuilder()
1725
+ .ep(commonParams)
1726
+ .m(function (Command, cs, config, o) {
1727
+ return [
1728
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
+ ];
1731
+ })
1732
+ .s("S3TableBuckets", "PutTableMaintenanceConfiguration", {})
1733
+ .n("S3TablesClient", "PutTableMaintenanceConfigurationCommand")
1734
+ .f(void 0, void 0)
1735
+ .ser(se_PutTableMaintenanceConfigurationCommand)
1736
+ .de(de_PutTableMaintenanceConfigurationCommand)
1737
+ .build() {
1738
+ }
1739
+
1740
+ class PutTablePolicyCommand extends smithyClient.Command
1741
+ .classBuilder()
1742
+ .ep(commonParams)
1743
+ .m(function (Command, cs, config, o) {
1744
+ return [
1745
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1746
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1747
+ ];
1748
+ })
1749
+ .s("S3TableBuckets", "PutTablePolicy", {})
1750
+ .n("S3TablesClient", "PutTablePolicyCommand")
1751
+ .f(void 0, void 0)
1752
+ .ser(se_PutTablePolicyCommand)
1753
+ .de(de_PutTablePolicyCommand)
1754
+ .build() {
1755
+ }
1756
+
1757
+ class RenameTableCommand extends smithyClient.Command
1758
+ .classBuilder()
1759
+ .ep(commonParams)
1760
+ .m(function (Command, cs, config, o) {
1761
+ return [
1762
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
+ ];
1765
+ })
1766
+ .s("S3TableBuckets", "RenameTable", {})
1767
+ .n("S3TablesClient", "RenameTableCommand")
1768
+ .f(void 0, void 0)
1769
+ .ser(se_RenameTableCommand)
1770
+ .de(de_RenameTableCommand)
1771
+ .build() {
1772
+ }
1773
+
1774
+ class UpdateTableMetadataLocationCommand extends smithyClient.Command
1775
+ .classBuilder()
1776
+ .ep(commonParams)
1777
+ .m(function (Command, cs, config, o) {
1778
+ return [
1779
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1780
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1781
+ ];
1782
+ })
1783
+ .s("S3TableBuckets", "UpdateTableMetadataLocation", {})
1784
+ .n("S3TablesClient", "UpdateTableMetadataLocationCommand")
1785
+ .f(void 0, void 0)
1786
+ .ser(se_UpdateTableMetadataLocationCommand)
1787
+ .de(de_UpdateTableMetadataLocationCommand)
1788
+ .build() {
1789
+ }
1790
+
1791
+ const commands = {
1792
+ CreateNamespaceCommand,
1793
+ CreateTableCommand,
1794
+ CreateTableBucketCommand,
1795
+ DeleteNamespaceCommand,
1796
+ DeleteTableCommand,
1797
+ DeleteTableBucketCommand,
1798
+ DeleteTableBucketEncryptionCommand,
1799
+ DeleteTableBucketPolicyCommand,
1800
+ DeleteTablePolicyCommand,
1801
+ GetNamespaceCommand,
1802
+ GetTableCommand,
1803
+ GetTableBucketCommand,
1804
+ GetTableBucketEncryptionCommand,
1805
+ GetTableBucketMaintenanceConfigurationCommand,
1806
+ GetTableBucketPolicyCommand,
1807
+ GetTableEncryptionCommand,
1808
+ GetTableMaintenanceConfigurationCommand,
1809
+ GetTableMaintenanceJobStatusCommand,
1810
+ GetTableMetadataLocationCommand,
1811
+ GetTablePolicyCommand,
1812
+ ListNamespacesCommand,
1813
+ ListTableBucketsCommand,
1814
+ ListTablesCommand,
1815
+ PutTableBucketEncryptionCommand,
1816
+ PutTableBucketMaintenanceConfigurationCommand,
1817
+ PutTableBucketPolicyCommand,
1818
+ PutTableMaintenanceConfigurationCommand,
1819
+ PutTablePolicyCommand,
1820
+ RenameTableCommand,
1821
+ UpdateTableMetadataLocationCommand,
1822
+ };
1823
+ class S3Tables extends S3TablesClient {
1824
+ }
1825
+ smithyClient.createAggregatedClient(commands, S3Tables);
1919
1826
 
1920
- // src/S3Tables.ts
1921
- var commands = {
1922
- CreateNamespaceCommand,
1923
- CreateTableCommand,
1924
- CreateTableBucketCommand,
1925
- DeleteNamespaceCommand,
1926
- DeleteTableCommand,
1927
- DeleteTableBucketCommand,
1928
- DeleteTableBucketEncryptionCommand,
1929
- DeleteTableBucketPolicyCommand,
1930
- DeleteTablePolicyCommand,
1931
- GetNamespaceCommand,
1932
- GetTableCommand,
1933
- GetTableBucketCommand,
1934
- GetTableBucketEncryptionCommand,
1935
- GetTableBucketMaintenanceConfigurationCommand,
1936
- GetTableBucketPolicyCommand,
1937
- GetTableEncryptionCommand,
1938
- GetTableMaintenanceConfigurationCommand,
1939
- GetTableMaintenanceJobStatusCommand,
1940
- GetTableMetadataLocationCommand,
1941
- GetTablePolicyCommand,
1942
- ListNamespacesCommand,
1943
- ListTableBucketsCommand,
1944
- ListTablesCommand,
1945
- PutTableBucketEncryptionCommand,
1946
- PutTableBucketMaintenanceConfigurationCommand,
1947
- PutTableBucketPolicyCommand,
1948
- PutTableMaintenanceConfigurationCommand,
1949
- PutTablePolicyCommand,
1950
- RenameTableCommand,
1951
- UpdateTableMetadataLocationCommand
1952
- };
1953
- var S3Tables = class extends S3TablesClient {
1954
- static {
1955
- __name(this, "S3Tables");
1956
- }
1957
- };
1958
- (0, import_smithy_client.createAggregatedClient)(commands, S3Tables);
1959
-
1960
- // src/pagination/ListNamespacesPaginator.ts
1961
-
1962
- var paginateListNamespaces = (0, import_core.createPaginator)(S3TablesClient, ListNamespacesCommand, "continuationToken", "continuationToken", "maxNamespaces");
1963
-
1964
- // src/pagination/ListTableBucketsPaginator.ts
1965
-
1966
- var paginateListTableBuckets = (0, import_core.createPaginator)(S3TablesClient, ListTableBucketsCommand, "continuationToken", "continuationToken", "maxBuckets");
1827
+ const paginateListNamespaces = core.createPaginator(S3TablesClient, ListNamespacesCommand, "continuationToken", "continuationToken", "maxNamespaces");
1967
1828
 
1968
- // src/pagination/ListTablesPaginator.ts
1829
+ const paginateListTableBuckets = core.createPaginator(S3TablesClient, ListTableBucketsCommand, "continuationToken", "continuationToken", "maxBuckets");
1969
1830
 
1970
- var paginateListTables = (0, import_core.createPaginator)(S3TablesClient, ListTablesCommand, "continuationToken", "continuationToken", "maxTables");
1971
- // Annotate the CommonJS export names for ESM import in node:
1831
+ const paginateListTables = core.createPaginator(S3TablesClient, ListTablesCommand, "continuationToken", "continuationToken", "maxTables");
1972
1832
 
1973
- 0 && (module.exports = {
1974
- S3TablesServiceException,
1975
- __Client,
1976
- S3TablesClient,
1977
- S3Tables,
1978
- $Command,
1979
- CreateNamespaceCommand,
1980
- CreateTableBucketCommand,
1981
- CreateTableCommand,
1982
- DeleteNamespaceCommand,
1983
- DeleteTableBucketCommand,
1984
- DeleteTableBucketEncryptionCommand,
1985
- DeleteTableBucketPolicyCommand,
1986
- DeleteTableCommand,
1987
- DeleteTablePolicyCommand,
1988
- GetNamespaceCommand,
1989
- GetTableBucketCommand,
1990
- GetTableBucketEncryptionCommand,
1991
- GetTableBucketMaintenanceConfigurationCommand,
1992
- GetTableBucketPolicyCommand,
1993
- GetTableCommand,
1994
- GetTableEncryptionCommand,
1995
- GetTableMaintenanceConfigurationCommand,
1996
- GetTableMaintenanceJobStatusCommand,
1997
- GetTableMetadataLocationCommand,
1998
- GetTablePolicyCommand,
1999
- ListNamespacesCommand,
2000
- ListTableBucketsCommand,
2001
- ListTablesCommand,
2002
- PutTableBucketEncryptionCommand,
2003
- PutTableBucketMaintenanceConfigurationCommand,
2004
- PutTableBucketPolicyCommand,
2005
- PutTableMaintenanceConfigurationCommand,
2006
- PutTablePolicyCommand,
2007
- RenameTableCommand,
2008
- UpdateTableMetadataLocationCommand,
2009
- paginateListNamespaces,
2010
- paginateListTableBuckets,
2011
- paginateListTables,
2012
- AccessDeniedException,
2013
- BadRequestException,
2014
- ConflictException,
2015
- ForbiddenException,
2016
- InternalServerErrorException,
2017
- NotFoundException,
2018
- TooManyRequestsException,
2019
- SSEAlgorithm,
2020
- OpenTableFormat,
2021
- TableMetadata,
2022
- TableType,
2023
- TableBucketType,
2024
- TableBucketMaintenanceType,
2025
- TableBucketMaintenanceSettings,
2026
- MaintenanceStatus,
2027
- TableMaintenanceType,
2028
- IcebergCompactionStrategy,
2029
- TableMaintenanceSettings,
2030
- TableMaintenanceJobType,
2031
- JobStatus
1833
+ Object.defineProperty(exports, "$Command", {
1834
+ enumerable: true,
1835
+ get: function () { return smithyClient.Command; }
2032
1836
  });
2033
-
1837
+ Object.defineProperty(exports, "__Client", {
1838
+ enumerable: true,
1839
+ get: function () { return smithyClient.Client; }
1840
+ });
1841
+ exports.AccessDeniedException = AccessDeniedException;
1842
+ exports.BadRequestException = BadRequestException;
1843
+ exports.ConflictException = ConflictException;
1844
+ exports.CreateNamespaceCommand = CreateNamespaceCommand;
1845
+ exports.CreateTableBucketCommand = CreateTableBucketCommand;
1846
+ exports.CreateTableCommand = CreateTableCommand;
1847
+ exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
1848
+ exports.DeleteTableBucketCommand = DeleteTableBucketCommand;
1849
+ exports.DeleteTableBucketEncryptionCommand = DeleteTableBucketEncryptionCommand;
1850
+ exports.DeleteTableBucketPolicyCommand = DeleteTableBucketPolicyCommand;
1851
+ exports.DeleteTableCommand = DeleteTableCommand;
1852
+ exports.DeleteTablePolicyCommand = DeleteTablePolicyCommand;
1853
+ exports.ForbiddenException = ForbiddenException;
1854
+ exports.GetNamespaceCommand = GetNamespaceCommand;
1855
+ exports.GetTableBucketCommand = GetTableBucketCommand;
1856
+ exports.GetTableBucketEncryptionCommand = GetTableBucketEncryptionCommand;
1857
+ exports.GetTableBucketMaintenanceConfigurationCommand = GetTableBucketMaintenanceConfigurationCommand;
1858
+ exports.GetTableBucketPolicyCommand = GetTableBucketPolicyCommand;
1859
+ exports.GetTableCommand = GetTableCommand;
1860
+ exports.GetTableEncryptionCommand = GetTableEncryptionCommand;
1861
+ exports.GetTableMaintenanceConfigurationCommand = GetTableMaintenanceConfigurationCommand;
1862
+ exports.GetTableMaintenanceJobStatusCommand = GetTableMaintenanceJobStatusCommand;
1863
+ exports.GetTableMetadataLocationCommand = GetTableMetadataLocationCommand;
1864
+ exports.GetTablePolicyCommand = GetTablePolicyCommand;
1865
+ exports.IcebergCompactionStrategy = IcebergCompactionStrategy;
1866
+ exports.InternalServerErrorException = InternalServerErrorException;
1867
+ exports.JobStatus = JobStatus;
1868
+ exports.ListNamespacesCommand = ListNamespacesCommand;
1869
+ exports.ListTableBucketsCommand = ListTableBucketsCommand;
1870
+ exports.ListTablesCommand = ListTablesCommand;
1871
+ exports.MaintenanceStatus = MaintenanceStatus;
1872
+ exports.NotFoundException = NotFoundException;
1873
+ exports.OpenTableFormat = OpenTableFormat;
1874
+ exports.PutTableBucketEncryptionCommand = PutTableBucketEncryptionCommand;
1875
+ exports.PutTableBucketMaintenanceConfigurationCommand = PutTableBucketMaintenanceConfigurationCommand;
1876
+ exports.PutTableBucketPolicyCommand = PutTableBucketPolicyCommand;
1877
+ exports.PutTableMaintenanceConfigurationCommand = PutTableMaintenanceConfigurationCommand;
1878
+ exports.PutTablePolicyCommand = PutTablePolicyCommand;
1879
+ exports.RenameTableCommand = RenameTableCommand;
1880
+ exports.S3Tables = S3Tables;
1881
+ exports.S3TablesClient = S3TablesClient;
1882
+ exports.S3TablesServiceException = S3TablesServiceException;
1883
+ exports.SSEAlgorithm = SSEAlgorithm;
1884
+ exports.TableBucketMaintenanceType = TableBucketMaintenanceType;
1885
+ exports.TableBucketType = TableBucketType;
1886
+ exports.TableMaintenanceJobType = TableMaintenanceJobType;
1887
+ exports.TableMaintenanceType = TableMaintenanceType;
1888
+ exports.TableType = TableType;
1889
+ exports.TooManyRequestsException = TooManyRequestsException;
1890
+ exports.UpdateTableMetadataLocationCommand = UpdateTableMetadataLocationCommand;
1891
+ exports.paginateListNamespaces = paginateListNamespaces;
1892
+ exports.paginateListTableBuckets = paginateListTableBuckets;
1893
+ exports.paginateListTables = paginateListTables;