@aws-sdk/client-s3tables 3.927.0 → 3.929.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 (54) hide show
  1. package/dist-cjs/index.js +1203 -1325
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/S3TablesClient.js +2 -0
  4. package/dist-es/commands/CreateNamespaceCommand.js +3 -9
  5. package/dist-es/commands/CreateTableBucketCommand.js +3 -9
  6. package/dist-es/commands/CreateTableCommand.js +3 -9
  7. package/dist-es/commands/DeleteNamespaceCommand.js +3 -9
  8. package/dist-es/commands/DeleteTableBucketCommand.js +3 -9
  9. package/dist-es/commands/DeleteTableBucketEncryptionCommand.js +3 -9
  10. package/dist-es/commands/DeleteTableBucketPolicyCommand.js +3 -9
  11. package/dist-es/commands/DeleteTableCommand.js +3 -9
  12. package/dist-es/commands/DeleteTablePolicyCommand.js +3 -9
  13. package/dist-es/commands/GetNamespaceCommand.js +3 -9
  14. package/dist-es/commands/GetTableBucketCommand.js +3 -9
  15. package/dist-es/commands/GetTableBucketEncryptionCommand.js +3 -9
  16. package/dist-es/commands/GetTableBucketMaintenanceConfigurationCommand.js +3 -9
  17. package/dist-es/commands/GetTableBucketPolicyCommand.js +3 -9
  18. package/dist-es/commands/GetTableCommand.js +3 -9
  19. package/dist-es/commands/GetTableEncryptionCommand.js +3 -9
  20. package/dist-es/commands/GetTableMaintenanceConfigurationCommand.js +3 -9
  21. package/dist-es/commands/GetTableMaintenanceJobStatusCommand.js +3 -9
  22. package/dist-es/commands/GetTableMetadataLocationCommand.js +3 -9
  23. package/dist-es/commands/GetTablePolicyCommand.js +3 -9
  24. package/dist-es/commands/ListNamespacesCommand.js +3 -9
  25. package/dist-es/commands/ListTableBucketsCommand.js +3 -9
  26. package/dist-es/commands/ListTablesCommand.js +3 -9
  27. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  28. package/dist-es/commands/PutTableBucketEncryptionCommand.js +3 -9
  29. package/dist-es/commands/PutTableBucketMaintenanceConfigurationCommand.js +3 -9
  30. package/dist-es/commands/PutTableBucketPolicyCommand.js +3 -9
  31. package/dist-es/commands/PutTableMaintenanceConfigurationCommand.js +3 -9
  32. package/dist-es/commands/PutTablePolicyCommand.js +3 -9
  33. package/dist-es/commands/RenameTableCommand.js +3 -9
  34. package/dist-es/commands/TagResourceCommand.js +3 -9
  35. package/dist-es/commands/UntagResourceCommand.js +3 -9
  36. package/dist-es/commands/UpdateTableMetadataLocationCommand.js +3 -9
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-es/schemas/schemas_0.js +1127 -0
  39. package/dist-types/S3TablesClient.d.ts +10 -1
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +123 -0
  45. package/dist-types/ts3.4/S3TablesClient.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +129 -0
  51. package/package.json +5 -5
  52. package/dist-es/protocols/Aws_restJson1.js +0 -1084
  53. package/dist-types/protocols/Aws_restJson1.d.ts +0 -299
  54. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -401
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class S3TablesClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class S3TablesClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class S3TablesServiceException extends smithyClient.ServiceException {
113
+ let S3TablesServiceException$1 = class S3TablesServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, S3TablesServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends S3TablesServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends S3TablesServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ class AccessDeniedException extends S3TablesServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
132
- class BadRequestException extends S3TablesServiceException {
131
+ };
132
+ let BadRequestException$1 = class BadRequestException extends S3TablesServiceException$1 {
133
133
  name = "BadRequestException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ class BadRequestException extends S3TablesServiceException {
140
140
  });
141
141
  Object.setPrototypeOf(this, BadRequestException.prototype);
142
142
  }
143
- }
144
- class ConflictException extends S3TablesServiceException {
143
+ };
144
+ let ConflictException$1 = class ConflictException extends S3TablesServiceException$1 {
145
145
  name = "ConflictException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ class ConflictException extends S3TablesServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, ConflictException.prototype);
154
154
  }
155
- }
156
- class ForbiddenException extends S3TablesServiceException {
155
+ };
156
+ let ForbiddenException$1 = class ForbiddenException extends S3TablesServiceException$1 {
157
157
  name = "ForbiddenException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class ForbiddenException extends S3TablesServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, ForbiddenException.prototype);
166
166
  }
167
- }
168
- class InternalServerErrorException extends S3TablesServiceException {
167
+ };
168
+ let InternalServerErrorException$1 = class InternalServerErrorException extends S3TablesServiceException$1 {
169
169
  name = "InternalServerErrorException";
170
170
  $fault = "server";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ class InternalServerErrorException extends S3TablesServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
178
178
  }
179
- }
180
- class NotFoundException extends S3TablesServiceException {
179
+ };
180
+ let NotFoundException$1 = class NotFoundException extends S3TablesServiceException$1 {
181
181
  name = "NotFoundException";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ class NotFoundException extends S3TablesServiceException {
188
188
  });
189
189
  Object.setPrototypeOf(this, NotFoundException.prototype);
190
190
  }
191
- }
192
- class TooManyRequestsException extends S3TablesServiceException {
191
+ };
192
+ let TooManyRequestsException$1 = class TooManyRequestsException extends S3TablesServiceException$1 {
193
193
  name = "TooManyRequestsException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,7 +200,7 @@ class TooManyRequestsException extends S3TablesServiceException {
200
200
  });
201
201
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
202
202
  }
203
- }
203
+ };
204
204
  const SSEAlgorithm = {
205
205
  AES256: "AES256",
206
206
  AWS_KMS: "aws:kms",
@@ -271,1099 +271,1137 @@ const JobStatus = {
271
271
  SUCCESSFUL: "Successful",
272
272
  };
273
273
 
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();
287
- };
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
- tags: (_) => smithyClient._json(_),
303
- }));
304
- b.m("PUT").h(headers).b(body);
305
- return b.build();
306
- };
307
- const se_CreateTableBucketCommand = async (input, context) => {
308
- const b = core.requestBuilder(input, context);
309
- const headers = {
310
- "content-type": "application/json",
311
- };
312
- b.bp("/buckets");
313
- let body;
314
- body = JSON.stringify(smithyClient.take(input, {
315
- encryptionConfiguration: (_) => smithyClient._json(_),
316
- name: [],
317
- tags: (_) => smithyClient._json(_),
318
- }));
319
- b.m("PUT").h(headers).b(body);
320
- return b.build();
321
- };
322
- const se_DeleteNamespaceCommand = async (input, context) => {
323
- const b = core.requestBuilder(input, context);
324
- const headers = {};
325
- b.bp("/namespaces/{tableBucketARN}/{namespace}");
326
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
327
- b.p("namespace", () => input.namespace, "{namespace}", false);
328
- let body;
329
- b.m("DELETE").h(headers).b(body);
330
- return b.build();
331
- };
332
- const se_DeleteTableCommand = async (input, context) => {
333
- const b = core.requestBuilder(input, context);
334
- const headers = {};
335
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}");
336
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
337
- b.p("namespace", () => input.namespace, "{namespace}", false);
338
- b.p("name", () => input.name, "{name}", false);
339
- const query = smithyClient.map({
340
- [_vT]: [, input[_vT]],
341
- });
342
- let body;
343
- b.m("DELETE").h(headers).q(query).b(body);
344
- return b.build();
345
- };
346
- const se_DeleteTableBucketCommand = async (input, context) => {
347
- const b = core.requestBuilder(input, context);
348
- const headers = {};
349
- b.bp("/buckets/{tableBucketARN}");
350
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
351
- let body;
352
- b.m("DELETE").h(headers).b(body);
353
- return b.build();
354
- };
355
- const se_DeleteTableBucketEncryptionCommand = async (input, context) => {
356
- const b = core.requestBuilder(input, context);
357
- const headers = {};
358
- b.bp("/buckets/{tableBucketARN}/encryption");
359
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
360
- let body;
361
- b.m("DELETE").h(headers).b(body);
362
- return b.build();
363
- };
364
- const se_DeleteTableBucketPolicyCommand = async (input, context) => {
365
- const b = core.requestBuilder(input, context);
366
- const headers = {};
367
- b.bp("/buckets/{tableBucketARN}/policy");
368
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
369
- let body;
370
- b.m("DELETE").h(headers).b(body);
371
- return b.build();
372
- };
373
- const se_DeleteTablePolicyCommand = async (input, context) => {
374
- const b = core.requestBuilder(input, context);
375
- const headers = {};
376
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
377
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
378
- b.p("namespace", () => input.namespace, "{namespace}", false);
379
- b.p("name", () => input.name, "{name}", false);
380
- let body;
381
- b.m("DELETE").h(headers).b(body);
382
- return b.build();
383
- };
384
- const se_GetNamespaceCommand = async (input, context) => {
385
- const b = core.requestBuilder(input, context);
386
- const headers = {};
387
- b.bp("/namespaces/{tableBucketARN}/{namespace}");
388
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
389
- b.p("namespace", () => input.namespace, "{namespace}", false);
390
- let body;
391
- b.m("GET").h(headers).b(body);
392
- return b.build();
393
- };
394
- const se_GetTableCommand = async (input, context) => {
395
- const b = core.requestBuilder(input, context);
396
- const headers = {};
397
- b.bp("/get-table");
398
- const query = smithyClient.map({
399
- [_tBARN]: [, input[_tBARN]],
400
- [_n]: [, input[_n]],
401
- [_na]: [, input[_na]],
402
- [_tA]: [, input[_tA]],
403
- });
404
- let body;
405
- b.m("GET").h(headers).q(query).b(body);
406
- return b.build();
407
- };
408
- const se_GetTableBucketCommand = async (input, context) => {
409
- const b = core.requestBuilder(input, context);
410
- const headers = {};
411
- b.bp("/buckets/{tableBucketARN}");
412
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
413
- let body;
414
- b.m("GET").h(headers).b(body);
415
- return b.build();
416
- };
417
- const se_GetTableBucketEncryptionCommand = async (input, context) => {
418
- const b = core.requestBuilder(input, context);
419
- const headers = {};
420
- b.bp("/buckets/{tableBucketARN}/encryption");
421
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
422
- let body;
423
- b.m("GET").h(headers).b(body);
424
- return b.build();
425
- };
426
- const se_GetTableBucketMaintenanceConfigurationCommand = async (input, context) => {
427
- const b = core.requestBuilder(input, context);
428
- const headers = {};
429
- b.bp("/buckets/{tableBucketARN}/maintenance");
430
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
431
- let body;
432
- b.m("GET").h(headers).b(body);
433
- return b.build();
434
- };
435
- const se_GetTableBucketPolicyCommand = async (input, context) => {
436
- const b = core.requestBuilder(input, context);
437
- const headers = {};
438
- b.bp("/buckets/{tableBucketARN}/policy");
439
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
440
- let body;
441
- b.m("GET").h(headers).b(body);
442
- return b.build();
443
- };
444
- const se_GetTableEncryptionCommand = async (input, context) => {
445
- const b = core.requestBuilder(input, context);
446
- const headers = {};
447
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/encryption");
448
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
449
- b.p("namespace", () => input.namespace, "{namespace}", false);
450
- b.p("name", () => input.name, "{name}", false);
451
- let body;
452
- b.m("GET").h(headers).b(body);
453
- return b.build();
454
- };
455
- const se_GetTableMaintenanceConfigurationCommand = async (input, context) => {
456
- const b = core.requestBuilder(input, context);
457
- const headers = {};
458
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance");
459
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
460
- b.p("namespace", () => input.namespace, "{namespace}", false);
461
- b.p("name", () => input.name, "{name}", false);
462
- let body;
463
- b.m("GET").h(headers).b(body);
464
- return b.build();
465
- };
466
- const se_GetTableMaintenanceJobStatusCommand = async (input, context) => {
467
- const b = core.requestBuilder(input, context);
468
- const headers = {};
469
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status");
470
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
471
- b.p("namespace", () => input.namespace, "{namespace}", false);
472
- b.p("name", () => input.name, "{name}", false);
473
- let body;
474
- b.m("GET").h(headers).b(body);
475
- return b.build();
476
- };
477
- const se_GetTableMetadataLocationCommand = async (input, context) => {
478
- const b = core.requestBuilder(input, context);
479
- const headers = {};
480
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
481
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
482
- b.p("namespace", () => input.namespace, "{namespace}", false);
483
- b.p("name", () => input.name, "{name}", false);
484
- let body;
485
- b.m("GET").h(headers).b(body);
486
- return b.build();
487
- };
488
- const se_GetTablePolicyCommand = async (input, context) => {
489
- const b = core.requestBuilder(input, context);
490
- const headers = {};
491
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
492
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
493
- b.p("namespace", () => input.namespace, "{namespace}", false);
494
- b.p("name", () => input.name, "{name}", false);
495
- let body;
496
- b.m("GET").h(headers).b(body);
497
- return b.build();
498
- };
499
- const se_ListNamespacesCommand = async (input, context) => {
500
- const b = core.requestBuilder(input, context);
501
- const headers = {};
502
- b.bp("/namespaces/{tableBucketARN}");
503
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
504
- const query = smithyClient.map({
505
- [_p]: [, input[_p]],
506
- [_cT]: [, input[_cT]],
507
- [_mN]: [() => input.maxNamespaces !== void 0, () => input[_mN].toString()],
508
- });
509
- let body;
510
- b.m("GET").h(headers).q(query).b(body);
511
- return b.build();
512
- };
513
- const se_ListTableBucketsCommand = async (input, context) => {
514
- const b = core.requestBuilder(input, context);
515
- const headers = {};
516
- b.bp("/buckets");
517
- const query = smithyClient.map({
518
- [_p]: [, input[_p]],
519
- [_cT]: [, input[_cT]],
520
- [_mB]: [() => input.maxBuckets !== void 0, () => input[_mB].toString()],
521
- [_t]: [, input[_t]],
522
- });
523
- let body;
524
- b.m("GET").h(headers).q(query).b(body);
525
- return b.build();
526
- };
527
- const se_ListTablesCommand = async (input, context) => {
528
- const b = core.requestBuilder(input, context);
529
- const headers = {};
530
- b.bp("/tables/{tableBucketARN}");
531
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
532
- const query = smithyClient.map({
533
- [_n]: [, input[_n]],
534
- [_p]: [, input[_p]],
535
- [_cT]: [, input[_cT]],
536
- [_mT]: [() => input.maxTables !== void 0, () => input[_mT].toString()],
537
- });
538
- let body;
539
- b.m("GET").h(headers).q(query).b(body);
540
- return b.build();
541
- };
542
- const se_ListTagsForResourceCommand = async (input, context) => {
543
- const b = core.requestBuilder(input, context);
544
- const headers = {};
545
- b.bp("/tag/{resourceArn}");
546
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
547
- let body;
548
- b.m("GET").h(headers).b(body);
549
- return b.build();
550
- };
551
- const se_PutTableBucketEncryptionCommand = async (input, context) => {
552
- const b = core.requestBuilder(input, context);
553
- const headers = {
554
- "content-type": "application/json",
555
- };
556
- b.bp("/buckets/{tableBucketARN}/encryption");
557
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
558
- let body;
559
- body = JSON.stringify(smithyClient.take(input, {
560
- encryptionConfiguration: (_) => smithyClient._json(_),
561
- }));
562
- b.m("PUT").h(headers).b(body);
563
- return b.build();
564
- };
565
- const se_PutTableBucketMaintenanceConfigurationCommand = async (input, context) => {
566
- const b = core.requestBuilder(input, context);
567
- const headers = {
568
- "content-type": "application/json",
569
- };
570
- b.bp("/buckets/{tableBucketARN}/maintenance/{type}");
571
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
572
- b.p("type", () => input.type, "{type}", false);
573
- let body;
574
- body = JSON.stringify(smithyClient.take(input, {
575
- value: (_) => smithyClient._json(_),
576
- }));
577
- b.m("PUT").h(headers).b(body);
578
- return b.build();
579
- };
580
- const se_PutTableBucketPolicyCommand = async (input, context) => {
581
- const b = core.requestBuilder(input, context);
582
- const headers = {
583
- "content-type": "application/json",
584
- };
585
- b.bp("/buckets/{tableBucketARN}/policy");
586
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
587
- let body;
588
- body = JSON.stringify(smithyClient.take(input, {
589
- resourcePolicy: [],
590
- }));
591
- b.m("PUT").h(headers).b(body);
592
- return b.build();
593
- };
594
- const se_PutTableMaintenanceConfigurationCommand = async (input, context) => {
595
- const b = core.requestBuilder(input, context);
596
- const headers = {
597
- "content-type": "application/json",
598
- };
599
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}");
600
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
601
- b.p("namespace", () => input.namespace, "{namespace}", false);
602
- b.p("name", () => input.name, "{name}", false);
603
- b.p("type", () => input.type, "{type}", false);
604
- let body;
605
- body = JSON.stringify(smithyClient.take(input, {
606
- value: (_) => smithyClient._json(_),
607
- }));
608
- b.m("PUT").h(headers).b(body);
609
- return b.build();
610
- };
611
- const se_PutTablePolicyCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = {
614
- "content-type": "application/json",
615
- };
616
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/policy");
617
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
618
- b.p("namespace", () => input.namespace, "{namespace}", false);
619
- b.p("name", () => input.name, "{name}", false);
620
- let body;
621
- body = JSON.stringify(smithyClient.take(input, {
622
- resourcePolicy: [],
623
- }));
624
- b.m("PUT").h(headers).b(body);
625
- return b.build();
626
- };
627
- const se_RenameTableCommand = async (input, context) => {
628
- const b = core.requestBuilder(input, context);
629
- const headers = {
630
- "content-type": "application/json",
631
- };
632
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/rename");
633
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
634
- b.p("namespace", () => input.namespace, "{namespace}", false);
635
- b.p("name", () => input.name, "{name}", false);
636
- let body;
637
- body = JSON.stringify(smithyClient.take(input, {
638
- newName: [],
639
- newNamespaceName: [],
640
- versionToken: [],
641
- }));
642
- b.m("PUT").h(headers).b(body);
643
- return b.build();
644
- };
645
- const se_TagResourceCommand = async (input, context) => {
646
- const b = core.requestBuilder(input, context);
647
- const headers = {
648
- "content-type": "application/json",
649
- };
650
- b.bp("/tag/{resourceArn}");
651
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
652
- let body;
653
- body = JSON.stringify(smithyClient.take(input, {
654
- tags: (_) => smithyClient._json(_),
655
- }));
656
- b.m("POST").h(headers).b(body);
657
- return b.build();
658
- };
659
- const se_UntagResourceCommand = async (input, context) => {
660
- const b = core.requestBuilder(input, context);
661
- const headers = {};
662
- b.bp("/tag/{resourceArn}");
663
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
664
- const query = smithyClient.map({
665
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
666
- });
667
- let body;
668
- b.m("DELETE").h(headers).q(query).b(body);
669
- return b.build();
670
- };
671
- const se_UpdateTableMetadataLocationCommand = async (input, context) => {
672
- const b = core.requestBuilder(input, context);
673
- const headers = {
674
- "content-type": "application/json",
675
- };
676
- b.bp("/tables/{tableBucketARN}/{namespace}/{name}/metadata-location");
677
- b.p("tableBucketARN", () => input.tableBucketARN, "{tableBucketARN}", false);
678
- b.p("namespace", () => input.namespace, "{namespace}", false);
679
- b.p("name", () => input.name, "{name}", false);
680
- let body;
681
- body = JSON.stringify(smithyClient.take(input, {
682
- metadataLocation: [],
683
- versionToken: [],
684
- }));
685
- b.m("PUT").h(headers).b(body);
686
- return b.build();
687
- };
688
- const de_CreateNamespaceCommand = async (output, context) => {
689
- if (output.statusCode !== 200 && output.statusCode >= 300) {
690
- return de_CommandError(output, context);
691
- }
692
- const contents = smithyClient.map({
693
- $metadata: deserializeMetadata(output),
694
- });
695
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
696
- const doc = smithyClient.take(data, {
697
- namespace: smithyClient._json,
698
- tableBucketARN: smithyClient.expectString,
699
- });
700
- Object.assign(contents, doc);
701
- return contents;
702
- };
703
- const de_CreateTableCommand = async (output, context) => {
704
- if (output.statusCode !== 200 && output.statusCode >= 300) {
705
- return de_CommandError(output, context);
706
- }
707
- const contents = smithyClient.map({
708
- $metadata: deserializeMetadata(output),
709
- });
710
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
711
- const doc = smithyClient.take(data, {
712
- tableARN: smithyClient.expectString,
713
- versionToken: smithyClient.expectString,
714
- });
715
- Object.assign(contents, doc);
716
- return contents;
717
- };
718
- const de_CreateTableBucketCommand = async (output, context) => {
719
- if (output.statusCode !== 200 && output.statusCode >= 300) {
720
- return de_CommandError(output, context);
721
- }
722
- const contents = smithyClient.map({
723
- $metadata: deserializeMetadata(output),
724
- });
725
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
726
- const doc = smithyClient.take(data, {
727
- arn: smithyClient.expectString,
728
- });
729
- Object.assign(contents, doc);
730
- return contents;
731
- };
732
- const de_DeleteNamespaceCommand = async (output, context) => {
733
- if (output.statusCode !== 204 && output.statusCode >= 300) {
734
- return de_CommandError(output, context);
735
- }
736
- const contents = smithyClient.map({
737
- $metadata: deserializeMetadata(output),
738
- });
739
- await smithyClient.collectBody(output.body, context);
740
- return contents;
741
- };
742
- const de_DeleteTableCommand = async (output, context) => {
743
- if (output.statusCode !== 204 && output.statusCode >= 300) {
744
- return de_CommandError(output, context);
745
- }
746
- const contents = smithyClient.map({
747
- $metadata: deserializeMetadata(output),
748
- });
749
- await smithyClient.collectBody(output.body, context);
750
- return contents;
751
- };
752
- const de_DeleteTableBucketCommand = async (output, context) => {
753
- if (output.statusCode !== 204 && output.statusCode >= 300) {
754
- return de_CommandError(output, context);
755
- }
756
- const contents = smithyClient.map({
757
- $metadata: deserializeMetadata(output),
758
- });
759
- await smithyClient.collectBody(output.body, context);
760
- return contents;
761
- };
762
- const de_DeleteTableBucketEncryptionCommand = async (output, context) => {
763
- if (output.statusCode !== 204 && output.statusCode >= 300) {
764
- return de_CommandError(output, context);
765
- }
766
- const contents = smithyClient.map({
767
- $metadata: deserializeMetadata(output),
768
- });
769
- await smithyClient.collectBody(output.body, context);
770
- return contents;
771
- };
772
- const de_DeleteTableBucketPolicyCommand = async (output, context) => {
773
- if (output.statusCode !== 204 && output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const contents = smithyClient.map({
777
- $metadata: deserializeMetadata(output),
778
- });
779
- await smithyClient.collectBody(output.body, context);
780
- return contents;
781
- };
782
- const de_DeleteTablePolicyCommand = async (output, context) => {
783
- if (output.statusCode !== 204 && output.statusCode >= 300) {
784
- return de_CommandError(output, context);
785
- }
786
- const contents = smithyClient.map({
787
- $metadata: deserializeMetadata(output),
788
- });
789
- await smithyClient.collectBody(output.body, context);
790
- return contents;
791
- };
792
- const de_GetNamespaceCommand = async (output, context) => {
793
- if (output.statusCode !== 200 && output.statusCode >= 300) {
794
- return de_CommandError(output, context);
795
- }
796
- const contents = smithyClient.map({
797
- $metadata: deserializeMetadata(output),
798
- });
799
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
800
- const doc = smithyClient.take(data, {
801
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
802
- createdBy: smithyClient.expectString,
803
- namespace: smithyClient._json,
804
- namespaceId: smithyClient.expectString,
805
- ownerAccountId: smithyClient.expectString,
806
- tableBucketId: smithyClient.expectString,
807
- });
808
- Object.assign(contents, doc);
809
- return contents;
810
- };
811
- const de_GetTableCommand = async (output, context) => {
812
- if (output.statusCode !== 200 && output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const contents = smithyClient.map({
816
- $metadata: deserializeMetadata(output),
817
- });
818
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
819
- const doc = smithyClient.take(data, {
820
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
821
- createdBy: smithyClient.expectString,
822
- format: smithyClient.expectString,
823
- managedByService: smithyClient.expectString,
824
- metadataLocation: smithyClient.expectString,
825
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
826
- modifiedBy: smithyClient.expectString,
827
- name: smithyClient.expectString,
828
- namespace: smithyClient._json,
829
- namespaceId: smithyClient.expectString,
830
- ownerAccountId: smithyClient.expectString,
831
- tableARN: smithyClient.expectString,
832
- tableBucketId: smithyClient.expectString,
833
- type: smithyClient.expectString,
834
- versionToken: smithyClient.expectString,
835
- warehouseLocation: smithyClient.expectString,
836
- });
837
- Object.assign(contents, doc);
838
- return contents;
839
- };
840
- const de_GetTableBucketCommand = async (output, context) => {
841
- if (output.statusCode !== 200 && output.statusCode >= 300) {
842
- return de_CommandError(output, context);
843
- }
844
- const contents = smithyClient.map({
845
- $metadata: deserializeMetadata(output),
846
- });
847
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
848
- const doc = smithyClient.take(data, {
849
- arn: smithyClient.expectString,
850
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
851
- name: smithyClient.expectString,
852
- ownerAccountId: smithyClient.expectString,
853
- tableBucketId: smithyClient.expectString,
854
- type: smithyClient.expectString,
855
- });
856
- Object.assign(contents, doc);
857
- return contents;
858
- };
859
- const de_GetTableBucketEncryptionCommand = async (output, context) => {
860
- if (output.statusCode !== 200 && output.statusCode >= 300) {
861
- return de_CommandError(output, context);
862
- }
863
- const contents = smithyClient.map({
864
- $metadata: deserializeMetadata(output),
865
- });
866
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
867
- const doc = smithyClient.take(data, {
868
- encryptionConfiguration: smithyClient._json,
869
- });
870
- Object.assign(contents, doc);
871
- return contents;
872
- };
873
- const de_GetTableBucketMaintenanceConfigurationCommand = async (output, context) => {
874
- if (output.statusCode !== 200 && output.statusCode >= 300) {
875
- return de_CommandError(output, context);
876
- }
877
- const contents = smithyClient.map({
878
- $metadata: deserializeMetadata(output),
879
- });
880
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
881
- const doc = smithyClient.take(data, {
882
- configuration: smithyClient._json,
883
- tableBucketARN: smithyClient.expectString,
884
- });
885
- Object.assign(contents, doc);
886
- return contents;
887
- };
888
- const de_GetTableBucketPolicyCommand = async (output, context) => {
889
- if (output.statusCode !== 200 && output.statusCode >= 300) {
890
- return de_CommandError(output, context);
891
- }
892
- const contents = smithyClient.map({
893
- $metadata: deserializeMetadata(output),
894
- });
895
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
896
- const doc = smithyClient.take(data, {
897
- resourcePolicy: smithyClient.expectString,
898
- });
899
- Object.assign(contents, doc);
900
- return contents;
901
- };
902
- const de_GetTableEncryptionCommand = async (output, context) => {
903
- if (output.statusCode !== 200 && output.statusCode >= 300) {
904
- return de_CommandError(output, context);
905
- }
906
- const contents = smithyClient.map({
907
- $metadata: deserializeMetadata(output),
908
- });
909
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
910
- const doc = smithyClient.take(data, {
911
- encryptionConfiguration: smithyClient._json,
912
- });
913
- Object.assign(contents, doc);
914
- return contents;
915
- };
916
- const de_GetTableMaintenanceConfigurationCommand = async (output, context) => {
917
- if (output.statusCode !== 200 && output.statusCode >= 300) {
918
- return de_CommandError(output, context);
919
- }
920
- const contents = smithyClient.map({
921
- $metadata: deserializeMetadata(output),
922
- });
923
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
924
- const doc = smithyClient.take(data, {
925
- configuration: smithyClient._json,
926
- tableARN: smithyClient.expectString,
927
- });
928
- Object.assign(contents, doc);
929
- return contents;
930
- };
931
- const de_GetTableMaintenanceJobStatusCommand = async (output, context) => {
932
- if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return de_CommandError(output, context);
934
- }
935
- const contents = smithyClient.map({
936
- $metadata: deserializeMetadata(output),
937
- });
938
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
939
- const doc = smithyClient.take(data, {
940
- status: (_) => de_TableMaintenanceJobStatus(_),
941
- tableARN: smithyClient.expectString,
942
- });
943
- Object.assign(contents, doc);
944
- return contents;
945
- };
946
- const de_GetTableMetadataLocationCommand = async (output, context) => {
947
- if (output.statusCode !== 200 && output.statusCode >= 300) {
948
- return de_CommandError(output, context);
949
- }
950
- const contents = smithyClient.map({
951
- $metadata: deserializeMetadata(output),
952
- });
953
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
954
- const doc = smithyClient.take(data, {
955
- metadataLocation: smithyClient.expectString,
956
- versionToken: smithyClient.expectString,
957
- warehouseLocation: smithyClient.expectString,
958
- });
959
- Object.assign(contents, doc);
960
- return contents;
961
- };
962
- const de_GetTablePolicyCommand = async (output, context) => {
963
- if (output.statusCode !== 200 && output.statusCode >= 300) {
964
- return de_CommandError(output, context);
965
- }
966
- const contents = smithyClient.map({
967
- $metadata: deserializeMetadata(output),
968
- });
969
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
970
- const doc = smithyClient.take(data, {
971
- resourcePolicy: smithyClient.expectString,
972
- });
973
- Object.assign(contents, doc);
974
- return contents;
975
- };
976
- const de_ListNamespacesCommand = async (output, context) => {
977
- if (output.statusCode !== 200 && output.statusCode >= 300) {
978
- return de_CommandError(output, context);
979
- }
980
- const contents = smithyClient.map({
981
- $metadata: deserializeMetadata(output),
982
- });
983
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
984
- const doc = smithyClient.take(data, {
985
- continuationToken: smithyClient.expectString,
986
- namespaces: (_) => de_NamespaceSummaryList(_),
987
- });
988
- Object.assign(contents, doc);
989
- return contents;
990
- };
991
- const de_ListTableBucketsCommand = async (output, context) => {
992
- if (output.statusCode !== 200 && output.statusCode >= 300) {
993
- return de_CommandError(output, context);
994
- }
995
- const contents = smithyClient.map({
996
- $metadata: deserializeMetadata(output),
997
- });
998
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
999
- const doc = smithyClient.take(data, {
1000
- continuationToken: smithyClient.expectString,
1001
- tableBuckets: (_) => de_TableBucketSummaryList(_),
1002
- });
1003
- Object.assign(contents, doc);
1004
- return contents;
1005
- };
1006
- const de_ListTablesCommand = async (output, context) => {
1007
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
- return de_CommandError(output, context);
1009
- }
1010
- const contents = smithyClient.map({
1011
- $metadata: deserializeMetadata(output),
1012
- });
1013
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1014
- const doc = smithyClient.take(data, {
1015
- continuationToken: smithyClient.expectString,
1016
- tables: (_) => de_TableSummaryList(_),
1017
- });
1018
- Object.assign(contents, doc);
1019
- return contents;
1020
- };
1021
- const de_ListTagsForResourceCommand = async (output, context) => {
1022
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
- return de_CommandError(output, context);
1024
- }
1025
- const contents = smithyClient.map({
1026
- $metadata: deserializeMetadata(output),
1027
- });
1028
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1029
- const doc = smithyClient.take(data, {
1030
- tags: smithyClient._json,
1031
- });
1032
- Object.assign(contents, doc);
1033
- return contents;
1034
- };
1035
- const de_PutTableBucketEncryptionCommand = async (output, context) => {
1036
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- const contents = smithyClient.map({
1040
- $metadata: deserializeMetadata(output),
1041
- });
1042
- await smithyClient.collectBody(output.body, context);
1043
- return contents;
1044
- };
1045
- const de_PutTableBucketMaintenanceConfigurationCommand = async (output, context) => {
1046
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- const contents = smithyClient.map({
1050
- $metadata: deserializeMetadata(output),
1051
- });
1052
- await smithyClient.collectBody(output.body, context);
1053
- return contents;
1054
- };
1055
- const de_PutTableBucketPolicyCommand = async (output, context) => {
1056
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1057
- return de_CommandError(output, context);
1058
- }
1059
- const contents = smithyClient.map({
1060
- $metadata: deserializeMetadata(output),
1061
- });
1062
- await smithyClient.collectBody(output.body, context);
1063
- return contents;
1064
- };
1065
- const de_PutTableMaintenanceConfigurationCommand = async (output, context) => {
1066
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1067
- return de_CommandError(output, context);
1068
- }
1069
- const contents = smithyClient.map({
1070
- $metadata: deserializeMetadata(output),
1071
- });
1072
- await smithyClient.collectBody(output.body, context);
1073
- return contents;
1074
- };
1075
- const de_PutTablePolicyCommand = async (output, context) => {
1076
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return de_CommandError(output, context);
1078
- }
1079
- const contents = smithyClient.map({
1080
- $metadata: deserializeMetadata(output),
1081
- });
1082
- await smithyClient.collectBody(output.body, context);
1083
- return contents;
1084
- };
1085
- const de_RenameTableCommand = async (output, context) => {
1086
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1087
- return de_CommandError(output, context);
1088
- }
1089
- const contents = smithyClient.map({
1090
- $metadata: deserializeMetadata(output),
1091
- });
1092
- await smithyClient.collectBody(output.body, context);
1093
- return contents;
1094
- };
1095
- const de_TagResourceCommand = async (output, context) => {
1096
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1097
- return de_CommandError(output, context);
1098
- }
1099
- const contents = smithyClient.map({
1100
- $metadata: deserializeMetadata(output),
1101
- });
1102
- await smithyClient.collectBody(output.body, context);
1103
- return contents;
1104
- };
1105
- const de_UntagResourceCommand = async (output, context) => {
1106
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1107
- return de_CommandError(output, context);
1108
- }
1109
- const contents = smithyClient.map({
1110
- $metadata: deserializeMetadata(output),
1111
- });
1112
- await smithyClient.collectBody(output.body, context);
1113
- return contents;
1114
- };
1115
- const de_UpdateTableMetadataLocationCommand = async (output, context) => {
1116
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1117
- return de_CommandError(output, context);
1118
- }
1119
- const contents = smithyClient.map({
1120
- $metadata: deserializeMetadata(output),
1121
- });
1122
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1123
- const doc = smithyClient.take(data, {
1124
- metadataLocation: smithyClient.expectString,
1125
- name: smithyClient.expectString,
1126
- namespace: smithyClient._json,
1127
- tableARN: smithyClient.expectString,
1128
- versionToken: smithyClient.expectString,
1129
- });
1130
- Object.assign(contents, doc);
1131
- return contents;
1132
- };
1133
- const de_CommandError = async (output, context) => {
1134
- const parsedOutput = {
1135
- ...output,
1136
- body: await core$1.parseJsonErrorBody(output.body, context),
1137
- };
1138
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1139
- switch (errorCode) {
1140
- case "BadRequestException":
1141
- case "com.amazonaws.s3tables#BadRequestException":
1142
- throw await de_BadRequestExceptionRes(parsedOutput);
1143
- case "ConflictException":
1144
- case "com.amazonaws.s3tables#ConflictException":
1145
- throw await de_ConflictExceptionRes(parsedOutput);
1146
- case "ForbiddenException":
1147
- case "com.amazonaws.s3tables#ForbiddenException":
1148
- throw await de_ForbiddenExceptionRes(parsedOutput);
1149
- case "InternalServerErrorException":
1150
- case "com.amazonaws.s3tables#InternalServerErrorException":
1151
- throw await de_InternalServerErrorExceptionRes(parsedOutput);
1152
- case "NotFoundException":
1153
- case "com.amazonaws.s3tables#NotFoundException":
1154
- throw await de_NotFoundExceptionRes(parsedOutput);
1155
- case "TooManyRequestsException":
1156
- case "com.amazonaws.s3tables#TooManyRequestsException":
1157
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
1158
- case "AccessDeniedException":
1159
- case "com.amazonaws.s3tables#AccessDeniedException":
1160
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1161
- default:
1162
- const parsedBody = parsedOutput.body;
1163
- return throwDefaultError({
1164
- output,
1165
- parsedBody,
1166
- errorCode,
1167
- });
1168
- }
1169
- };
1170
- const throwDefaultError = smithyClient.withBaseException(S3TablesServiceException);
1171
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1172
- const contents = smithyClient.map({});
1173
- const data = parsedOutput.body;
1174
- const doc = smithyClient.take(data, {
1175
- message: smithyClient.expectString,
1176
- });
1177
- Object.assign(contents, doc);
1178
- const exception = new AccessDeniedException({
1179
- $metadata: deserializeMetadata(parsedOutput),
1180
- ...contents,
1181
- });
1182
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1183
- };
1184
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1185
- const contents = smithyClient.map({});
1186
- const data = parsedOutput.body;
1187
- const doc = smithyClient.take(data, {
1188
- message: smithyClient.expectString,
1189
- });
1190
- Object.assign(contents, doc);
1191
- const exception = new BadRequestException({
1192
- $metadata: deserializeMetadata(parsedOutput),
1193
- ...contents,
1194
- });
1195
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1196
- };
1197
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1198
- const contents = smithyClient.map({});
1199
- const data = parsedOutput.body;
1200
- const doc = smithyClient.take(data, {
1201
- message: smithyClient.expectString,
1202
- });
1203
- Object.assign(contents, doc);
1204
- const exception = new ConflictException({
1205
- $metadata: deserializeMetadata(parsedOutput),
1206
- ...contents,
1207
- });
1208
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1209
- };
1210
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1211
- const contents = smithyClient.map({});
1212
- const data = parsedOutput.body;
1213
- const doc = smithyClient.take(data, {
1214
- message: smithyClient.expectString,
1215
- });
1216
- Object.assign(contents, doc);
1217
- const exception = new ForbiddenException({
1218
- $metadata: deserializeMetadata(parsedOutput),
1219
- ...contents,
1220
- });
1221
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1222
- };
1223
- const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
1224
- const contents = smithyClient.map({});
1225
- const data = parsedOutput.body;
1226
- const doc = smithyClient.take(data, {
1227
- message: smithyClient.expectString,
1228
- });
1229
- Object.assign(contents, doc);
1230
- const exception = new InternalServerErrorException({
1231
- $metadata: deserializeMetadata(parsedOutput),
1232
- ...contents,
1233
- });
1234
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1235
- };
1236
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1237
- const contents = smithyClient.map({});
1238
- const data = parsedOutput.body;
1239
- const doc = smithyClient.take(data, {
1240
- message: smithyClient.expectString,
1241
- });
1242
- Object.assign(contents, doc);
1243
- const exception = new NotFoundException({
1244
- $metadata: deserializeMetadata(parsedOutput),
1245
- ...contents,
1246
- });
1247
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1248
- };
1249
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1250
- const contents = smithyClient.map({});
1251
- const data = parsedOutput.body;
1252
- const doc = smithyClient.take(data, {
1253
- message: smithyClient.expectString,
1254
- });
1255
- Object.assign(contents, doc);
1256
- const exception = new TooManyRequestsException({
1257
- $metadata: deserializeMetadata(parsedOutput),
1258
- ...contents,
1259
- });
1260
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1261
- };
1262
- const de_NamespaceSummary = (output, context) => {
1263
- return smithyClient.take(output, {
1264
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1265
- createdBy: smithyClient.expectString,
1266
- namespace: smithyClient._json,
1267
- namespaceId: smithyClient.expectString,
1268
- ownerAccountId: smithyClient.expectString,
1269
- tableBucketId: smithyClient.expectString,
1270
- });
1271
- };
1272
- const de_NamespaceSummaryList = (output, context) => {
1273
- const retVal = (output || [])
1274
- .filter((e) => e != null)
1275
- .map((entry) => {
1276
- return de_NamespaceSummary(entry);
1277
- });
1278
- return retVal;
1279
- };
1280
- const de_TableBucketSummary = (output, context) => {
1281
- return smithyClient.take(output, {
1282
- arn: smithyClient.expectString,
1283
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1284
- name: smithyClient.expectString,
1285
- ownerAccountId: smithyClient.expectString,
1286
- tableBucketId: smithyClient.expectString,
1287
- type: smithyClient.expectString,
1288
- });
1289
- };
1290
- const de_TableBucketSummaryList = (output, context) => {
1291
- const retVal = (output || [])
1292
- .filter((e) => e != null)
1293
- .map((entry) => {
1294
- return de_TableBucketSummary(entry);
1295
- });
1296
- return retVal;
1297
- };
1298
- const de_TableMaintenanceJobStatus = (output, context) => {
1299
- return Object.entries(output).reduce((acc, [key, value]) => {
1300
- if (value === null) {
1301
- return acc;
1302
- }
1303
- acc[key] = de_TableMaintenanceJobStatusValue(value);
1304
- return acc;
1305
- }, {});
1306
- };
1307
- const de_TableMaintenanceJobStatusValue = (output, context) => {
1308
- return smithyClient.take(output, {
1309
- failureMessage: smithyClient.expectString,
1310
- lastRunTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1311
- status: smithyClient.expectString,
1312
- });
1313
- };
1314
- const de_TableSummary = (output, context) => {
1315
- return smithyClient.take(output, {
1316
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1317
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1318
- name: smithyClient.expectString,
1319
- namespace: smithyClient._json,
1320
- namespaceId: smithyClient.expectString,
1321
- tableARN: smithyClient.expectString,
1322
- tableBucketId: smithyClient.expectString,
1323
- type: smithyClient.expectString,
1324
- });
1325
- };
1326
- const de_TableSummaryList = (output, context) => {
1327
- const retVal = (output || [])
1328
- .filter((e) => e != null)
1329
- .map((entry) => {
1330
- return de_TableSummary(entry);
1331
- });
1332
- return retVal;
1333
- };
1334
- const deserializeMetadata = (output) => ({
1335
- httpStatusCode: output.statusCode,
1336
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1337
- extendedRequestId: output.headers["x-amz-id-2"],
1338
- cfId: output.headers["x-amz-cf-id"],
1339
- });
274
+ const _ADE = "AccessDeniedException";
275
+ const _BRE = "BadRequestException";
276
+ const _CE = "ConflictException";
277
+ const _CN = "CreateNamespace";
278
+ const _CNR = "CreateNamespaceRequest";
279
+ const _CNRr = "CreateNamespaceResponse";
280
+ const _CT = "CreateTable";
281
+ const _CTB = "CreateTableBucket";
282
+ const _CTBR = "CreateTableBucketRequest";
283
+ const _CTBRr = "CreateTableBucketResponse";
284
+ const _CTR = "CreateTableRequest";
285
+ const _CTRr = "CreateTableResponse";
286
+ const _DN = "DeleteNamespace";
287
+ const _DNR = "DeleteNamespaceRequest";
288
+ const _DT = "DeleteTable";
289
+ const _DTB = "DeleteTableBucket";
290
+ const _DTBE = "DeleteTableBucketEncryption";
291
+ const _DTBER = "DeleteTableBucketEncryptionRequest";
292
+ const _DTBP = "DeleteTableBucketPolicy";
293
+ const _DTBPR = "DeleteTableBucketPolicyRequest";
294
+ const _DTBR = "DeleteTableBucketRequest";
295
+ const _DTP = "DeleteTablePolicy";
296
+ const _DTPR = "DeleteTablePolicyRequest";
297
+ const _DTR = "DeleteTableRequest";
298
+ const _EC = "EncryptionConfiguration";
299
+ const _FE = "ForbiddenException";
300
+ const _GN = "GetNamespace";
301
+ const _GNR = "GetNamespaceRequest";
302
+ const _GNRe = "GetNamespaceResponse";
303
+ const _GT = "GetTable";
304
+ const _GTB = "GetTableBucket";
305
+ const _GTBE = "GetTableBucketEncryption";
306
+ const _GTBER = "GetTableBucketEncryptionRequest";
307
+ const _GTBERe = "GetTableBucketEncryptionResponse";
308
+ const _GTBMC = "GetTableBucketMaintenanceConfiguration";
309
+ const _GTBMCR = "GetTableBucketMaintenanceConfigurationRequest";
310
+ const _GTBMCRe = "GetTableBucketMaintenanceConfigurationResponse";
311
+ const _GTBP = "GetTableBucketPolicy";
312
+ const _GTBPR = "GetTableBucketPolicyRequest";
313
+ const _GTBPRe = "GetTableBucketPolicyResponse";
314
+ const _GTBR = "GetTableBucketRequest";
315
+ const _GTBRe = "GetTableBucketResponse";
316
+ const _GTE = "GetTableEncryption";
317
+ const _GTER = "GetTableEncryptionRequest";
318
+ const _GTERe = "GetTableEncryptionResponse";
319
+ const _GTMC = "GetTableMaintenanceConfiguration";
320
+ const _GTMCR = "GetTableMaintenanceConfigurationRequest";
321
+ const _GTMCRe = "GetTableMaintenanceConfigurationResponse";
322
+ const _GTMJS = "GetTableMaintenanceJobStatus";
323
+ const _GTMJSR = "GetTableMaintenanceJobStatusRequest";
324
+ const _GTMJSRe = "GetTableMaintenanceJobStatusResponse";
325
+ const _GTML = "GetTableMetadataLocation";
326
+ const _GTMLR = "GetTableMetadataLocationRequest";
327
+ const _GTMLRe = "GetTableMetadataLocationResponse";
328
+ const _GTP = "GetTablePolicy";
329
+ const _GTPR = "GetTablePolicyRequest";
330
+ const _GTPRe = "GetTablePolicyResponse";
331
+ const _GTR = "GetTableRequest";
332
+ const _GTRe = "GetTableResponse";
333
+ const _ICS = "IcebergCompactionSettings";
334
+ const _IM = "IcebergMetadata";
335
+ const _IS = "IcebergSchema";
336
+ const _ISEE = "InternalServerErrorException";
337
+ const _ISMS = "IcebergSnapshotManagementSettings";
338
+ const _IUFRS = "IcebergUnreferencedFileRemovalSettings";
339
+ const _LN = "ListNamespaces";
340
+ const _LNR = "ListNamespacesRequest";
341
+ const _LNRi = "ListNamespacesResponse";
342
+ const _LT = "ListTables";
343
+ const _LTB = "ListTableBuckets";
344
+ const _LTBR = "ListTableBucketsRequest";
345
+ const _LTBRi = "ListTableBucketsResponse";
346
+ const _LTFR = "ListTagsForResource";
347
+ const _LTFRR = "ListTagsForResourceRequest";
348
+ const _LTFRRi = "ListTagsForResourceResponse";
349
+ const _LTR = "ListTablesRequest";
350
+ const _LTRi = "ListTablesResponse";
351
+ const _NFE = "NotFoundException";
352
+ const _NS = "NamespaceSummary";
353
+ const _NSL = "NamespaceSummaryList";
354
+ const _PTBE = "PutTableBucketEncryption";
355
+ const _PTBER = "PutTableBucketEncryptionRequest";
356
+ const _PTBMC = "PutTableBucketMaintenanceConfiguration";
357
+ const _PTBMCR = "PutTableBucketMaintenanceConfigurationRequest";
358
+ const _PTBP = "PutTableBucketPolicy";
359
+ const _PTBPR = "PutTableBucketPolicyRequest";
360
+ const _PTMC = "PutTableMaintenanceConfiguration";
361
+ const _PTMCR = "PutTableMaintenanceConfigurationRequest";
362
+ const _PTP = "PutTablePolicy";
363
+ const _PTPR = "PutTablePolicyRequest";
364
+ const _RT = "RenameTable";
365
+ const _RTR = "RenameTableRequest";
366
+ const _SF = "SchemaField";
367
+ const _SFL = "SchemaFieldList";
368
+ const _TBMC = "TableBucketMaintenanceConfiguration";
369
+ const _TBMCV = "TableBucketMaintenanceConfigurationValue";
370
+ const _TBMS = "TableBucketMaintenanceSettings";
371
+ const _TBS = "TableBucketSummary";
372
+ const _TBSL = "TableBucketSummaryList";
373
+ const _TM = "TableMetadata";
374
+ const _TMC = "TableMaintenanceConfiguration";
375
+ const _TMCV = "TableMaintenanceConfigurationValue";
376
+ const _TMJS = "TableMaintenanceJobStatus";
377
+ const _TMJSV = "TableMaintenanceJobStatusValue";
378
+ const _TMRE = "TooManyRequestsException";
379
+ const _TMS = "TableMaintenanceSettings";
380
+ const _TR = "TagResource";
381
+ const _TRR = "TagResourceRequest";
382
+ const _TRRa = "TagResourceResponse";
383
+ const _TS = "TableSummary";
384
+ const _TSL = "TableSummaryList";
385
+ const _UR = "UntagResource";
386
+ const _URR = "UntagResourceRequest";
387
+ const _URRn = "UntagResourceResponse";
388
+ const _UTML = "UpdateTableMetadataLocation";
389
+ const _UTMLR = "UpdateTableMetadataLocationRequest";
390
+ const _UTMLRp = "UpdateTableMetadataLocationResponse";
391
+ const _a = "arn";
392
+ const _c = "client";
393
+ const _cA = "createdAt";
394
+ const _cB = "createdBy";
1340
395
  const _cT = "continuationToken";
1341
- const _mB = "maxBuckets";
396
+ const _co = "configuration";
397
+ const _e = "error";
398
+ const _eC = "encryptionConfiguration";
399
+ const _f = "format";
400
+ const _fM = "failureMessage";
401
+ const _fi = "fields";
402
+ const _h = "http";
403
+ const _hE = "httpError";
404
+ const _hQ = "httpQuery";
405
+ const _i = "iceberg";
406
+ const _iC = "icebergCompaction";
407
+ const _iSM = "icebergSnapshotManagement";
408
+ const _iUFR = "icebergUnreferencedFileRemoval";
409
+ const _kKA = "kmsKeyArn";
410
+ const _lRT = "lastRunTimestamp";
411
+ const _m = "message";
412
+ const _mA = "modifiedAt";
413
+ const _mB = "modifiedBy";
414
+ const _mBS = "managedByService";
415
+ const _mBa = "maxBuckets";
416
+ const _mL = "metadataLocation";
1342
417
  const _mN = "maxNamespaces";
418
+ const _mSAH = "maxSnapshotAgeHours";
419
+ const _mSTK = "minSnapshotsToKeep";
1343
420
  const _mT = "maxTables";
421
+ const _me = "metadata";
1344
422
  const _n = "namespace";
423
+ const _nCD = "nonCurrentDays";
424
+ const _nI = "namespaceId";
425
+ const _nN = "newName";
426
+ const _nNN = "newNamespaceName";
1345
427
  const _na = "name";
428
+ const _nam = "namespaces";
429
+ const _oAI = "ownerAccountId";
1346
430
  const _p = "prefix";
1347
- const _t = "type";
431
+ const _r = "required";
432
+ const _rA = "resourceArn";
433
+ const _rP = "resourcePolicy";
434
+ const _s = "status";
435
+ const _sA = "sseAlgorithm";
436
+ const _sc = "schema";
437
+ const _se = "server";
438
+ const _set = "settings";
439
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3tables";
440
+ const _st = "strategy";
441
+ const _t = "tags";
1348
442
  const _tA = "tableArn";
443
+ const _tARN = "tableARN";
444
+ const _tB = "tableBuckets";
1349
445
  const _tBARN = "tableBucketARN";
446
+ const _tBI = "tableBucketId";
447
+ const _tFSMB = "targetFileSizeMB";
1350
448
  const _tK = "tagKeys";
449
+ const _ta = "tables";
450
+ const _ty = "type";
451
+ const _uD = "unreferencedDays";
452
+ const _v = "value";
1351
453
  const _vT = "versionToken";
454
+ const _wL = "warehouseLocation";
455
+ const n0 = "com.amazonaws.s3tables";
456
+ var AccessDeniedException = [
457
+ -3,
458
+ n0,
459
+ _ADE,
460
+ {
461
+ [_e]: _c,
462
+ [_hE]: 403,
463
+ },
464
+ [_m],
465
+ [0],
466
+ ];
467
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
468
+ var BadRequestException = [
469
+ -3,
470
+ n0,
471
+ _BRE,
472
+ {
473
+ [_e]: _c,
474
+ [_hE]: 400,
475
+ },
476
+ [_m],
477
+ [0],
478
+ ];
479
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
480
+ var ConflictException = [
481
+ -3,
482
+ n0,
483
+ _CE,
484
+ {
485
+ [_e]: _c,
486
+ [_hE]: 409,
487
+ },
488
+ [_m],
489
+ [0],
490
+ ];
491
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
492
+ var CreateNamespaceRequest = [3, n0, _CNR, 0, [_tBARN, _n], [[0, 1], 64 | 0]];
493
+ var CreateNamespaceResponse = [3, n0, _CNRr, 0, [_tBARN, _n], [0, 64 | 0]];
494
+ var CreateTableBucketRequest = [
495
+ 3,
496
+ n0,
497
+ _CTBR,
498
+ 0,
499
+ [_na, _eC, _t],
500
+ [0, () => EncryptionConfiguration, 128 | 0],
501
+ ];
502
+ var CreateTableBucketResponse = [3, n0, _CTBRr, 0, [_a], [0]];
503
+ var CreateTableRequest = [
504
+ 3,
505
+ n0,
506
+ _CTR,
507
+ 0,
508
+ [_tBARN, _n, _na, _f, _me, _eC, _t],
509
+ [[0, 1], [0, 1], 0, 0, () => TableMetadata, () => EncryptionConfiguration, 128 | 0],
510
+ ];
511
+ var CreateTableResponse = [3, n0, _CTRr, 0, [_tARN, _vT], [0, 0]];
512
+ var DeleteNamespaceRequest = [
513
+ 3,
514
+ n0,
515
+ _DNR,
516
+ 0,
517
+ [_tBARN, _n],
518
+ [
519
+ [0, 1],
520
+ [0, 1],
521
+ ],
522
+ ];
523
+ var DeleteTableBucketEncryptionRequest = [3, n0, _DTBER, 0, [_tBARN], [[0, 1]]];
524
+ var DeleteTableBucketPolicyRequest = [3, n0, _DTBPR, 0, [_tBARN], [[0, 1]]];
525
+ var DeleteTableBucketRequest = [3, n0, _DTBR, 0, [_tBARN], [[0, 1]]];
526
+ var DeleteTablePolicyRequest = [
527
+ 3,
528
+ n0,
529
+ _DTPR,
530
+ 0,
531
+ [_tBARN, _n, _na],
532
+ [
533
+ [0, 1],
534
+ [0, 1],
535
+ [0, 1],
536
+ ],
537
+ ];
538
+ var DeleteTableRequest = [
539
+ 3,
540
+ n0,
541
+ _DTR,
542
+ 0,
543
+ [_tBARN, _n, _na, _vT],
544
+ [
545
+ [0, 1],
546
+ [0, 1],
547
+ [0, 1],
548
+ [
549
+ 0,
550
+ {
551
+ [_hQ]: _vT,
552
+ },
553
+ ],
554
+ ],
555
+ ];
556
+ var EncryptionConfiguration = [3, n0, _EC, 0, [_sA, _kKA], [0, 0]];
557
+ var ForbiddenException = [
558
+ -3,
559
+ n0,
560
+ _FE,
561
+ {
562
+ [_e]: _c,
563
+ [_hE]: 403,
564
+ },
565
+ [_m],
566
+ [0],
567
+ ];
568
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
569
+ var GetNamespaceRequest = [
570
+ 3,
571
+ n0,
572
+ _GNR,
573
+ 0,
574
+ [_tBARN, _n],
575
+ [
576
+ [0, 1],
577
+ [0, 1],
578
+ ],
579
+ ];
580
+ var GetNamespaceResponse = [
581
+ 3,
582
+ n0,
583
+ _GNRe,
584
+ 0,
585
+ [_n, _cA, _cB, _oAI, _nI, _tBI],
586
+ [64 | 0, 5, 0, 0, 0, 0],
587
+ ];
588
+ var GetTableBucketEncryptionRequest = [3, n0, _GTBER, 0, [_tBARN], [[0, 1]]];
589
+ var GetTableBucketEncryptionResponse = [
590
+ 3,
591
+ n0,
592
+ _GTBERe,
593
+ 0,
594
+ [_eC],
595
+ [() => EncryptionConfiguration],
596
+ ];
597
+ var GetTableBucketMaintenanceConfigurationRequest = [
598
+ 3,
599
+ n0,
600
+ _GTBMCR,
601
+ 0,
602
+ [_tBARN],
603
+ [[0, 1]],
604
+ ];
605
+ var GetTableBucketMaintenanceConfigurationResponse = [
606
+ 3,
607
+ n0,
608
+ _GTBMCRe,
609
+ 0,
610
+ [_tBARN, _co],
611
+ [0, () => TableBucketMaintenanceConfiguration],
612
+ ];
613
+ var GetTableBucketPolicyRequest = [3, n0, _GTBPR, 0, [_tBARN], [[0, 1]]];
614
+ var GetTableBucketPolicyResponse = [3, n0, _GTBPRe, 0, [_rP], [0]];
615
+ var GetTableBucketRequest = [3, n0, _GTBR, 0, [_tBARN], [[0, 1]]];
616
+ var GetTableBucketResponse = [
617
+ 3,
618
+ n0,
619
+ _GTBRe,
620
+ 0,
621
+ [_a, _na, _oAI, _cA, _tBI, _ty],
622
+ [0, 0, 0, 5, 0, 0],
623
+ ];
624
+ var GetTableEncryptionRequest = [
625
+ 3,
626
+ n0,
627
+ _GTER,
628
+ 0,
629
+ [_tBARN, _n, _na],
630
+ [
631
+ [0, 1],
632
+ [0, 1],
633
+ [0, 1],
634
+ ],
635
+ ];
636
+ var GetTableEncryptionResponse = [
637
+ 3,
638
+ n0,
639
+ _GTERe,
640
+ 0,
641
+ [_eC],
642
+ [() => EncryptionConfiguration],
643
+ ];
644
+ var GetTableMaintenanceConfigurationRequest = [
645
+ 3,
646
+ n0,
647
+ _GTMCR,
648
+ 0,
649
+ [_tBARN, _n, _na],
650
+ [
651
+ [0, 1],
652
+ [0, 1],
653
+ [0, 1],
654
+ ],
655
+ ];
656
+ var GetTableMaintenanceConfigurationResponse = [
657
+ 3,
658
+ n0,
659
+ _GTMCRe,
660
+ 0,
661
+ [_tARN, _co],
662
+ [0, () => TableMaintenanceConfiguration],
663
+ ];
664
+ var GetTableMaintenanceJobStatusRequest = [
665
+ 3,
666
+ n0,
667
+ _GTMJSR,
668
+ 0,
669
+ [_tBARN, _n, _na],
670
+ [
671
+ [0, 1],
672
+ [0, 1],
673
+ [0, 1],
674
+ ],
675
+ ];
676
+ var GetTableMaintenanceJobStatusResponse = [
677
+ 3,
678
+ n0,
679
+ _GTMJSRe,
680
+ 0,
681
+ [_tARN, _s],
682
+ [0, () => TableMaintenanceJobStatus],
683
+ ];
684
+ var GetTableMetadataLocationRequest = [
685
+ 3,
686
+ n0,
687
+ _GTMLR,
688
+ 0,
689
+ [_tBARN, _n, _na],
690
+ [
691
+ [0, 1],
692
+ [0, 1],
693
+ [0, 1],
694
+ ],
695
+ ];
696
+ var GetTableMetadataLocationResponse = [3, n0, _GTMLRe, 0, [_vT, _mL, _wL], [0, 0, 0]];
697
+ var GetTablePolicyRequest = [
698
+ 3,
699
+ n0,
700
+ _GTPR,
701
+ 0,
702
+ [_tBARN, _n, _na],
703
+ [
704
+ [0, 1],
705
+ [0, 1],
706
+ [0, 1],
707
+ ],
708
+ ];
709
+ var GetTablePolicyResponse = [3, n0, _GTPRe, 0, [_rP], [0]];
710
+ var GetTableRequest = [
711
+ 3,
712
+ n0,
713
+ _GTR,
714
+ 0,
715
+ [_tBARN, _n, _na, _tA],
716
+ [
717
+ [
718
+ 0,
719
+ {
720
+ [_hQ]: _tBARN,
721
+ },
722
+ ],
723
+ [
724
+ 0,
725
+ {
726
+ [_hQ]: _n,
727
+ },
728
+ ],
729
+ [
730
+ 0,
731
+ {
732
+ [_hQ]: _na,
733
+ },
734
+ ],
735
+ [
736
+ 0,
737
+ {
738
+ [_hQ]: _tA,
739
+ },
740
+ ],
741
+ ],
742
+ ];
743
+ var GetTableResponse = [
744
+ 3,
745
+ n0,
746
+ _GTRe,
747
+ 0,
748
+ [_na, _ty, _tARN, _n, _nI, _vT, _mL, _wL, _cA, _cB, _mBS, _mA, _mB, _oAI, _f, _tBI],
749
+ [0, 0, 0, 64 | 0, 0, 0, 0, 0, 5, 0, 0, 5, 0, 0, 0, 0],
750
+ ];
751
+ var IcebergCompactionSettings = [3, n0, _ICS, 0, [_tFSMB, _st], [1, 0]];
752
+ var IcebergMetadata = [3, n0, _IM, 0, [_sc], [() => IcebergSchema]];
753
+ var IcebergSchema = [3, n0, _IS, 0, [_fi], [() => SchemaFieldList]];
754
+ var IcebergSnapshotManagementSettings = [3, n0, _ISMS, 0, [_mSTK, _mSAH], [1, 1]];
755
+ var IcebergUnreferencedFileRemovalSettings = [3, n0, _IUFRS, 0, [_uD, _nCD], [1, 1]];
756
+ var InternalServerErrorException = [
757
+ -3,
758
+ n0,
759
+ _ISEE,
760
+ {
761
+ [_e]: _se,
762
+ [_hE]: 500,
763
+ },
764
+ [_m],
765
+ [0],
766
+ ];
767
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
768
+ var ListNamespacesRequest = [
769
+ 3,
770
+ n0,
771
+ _LNR,
772
+ 0,
773
+ [_tBARN, _p, _cT, _mN],
774
+ [
775
+ [0, 1],
776
+ [
777
+ 0,
778
+ {
779
+ [_hQ]: _p,
780
+ },
781
+ ],
782
+ [
783
+ 0,
784
+ {
785
+ [_hQ]: _cT,
786
+ },
787
+ ],
788
+ [
789
+ 1,
790
+ {
791
+ [_hQ]: _mN,
792
+ },
793
+ ],
794
+ ],
795
+ ];
796
+ var ListNamespacesResponse = [
797
+ 3,
798
+ n0,
799
+ _LNRi,
800
+ 0,
801
+ [_nam, _cT],
802
+ [() => NamespaceSummaryList, 0],
803
+ ];
804
+ var ListTableBucketsRequest = [
805
+ 3,
806
+ n0,
807
+ _LTBR,
808
+ 0,
809
+ [_p, _cT, _mBa, _ty],
810
+ [
811
+ [
812
+ 0,
813
+ {
814
+ [_hQ]: _p,
815
+ },
816
+ ],
817
+ [
818
+ 0,
819
+ {
820
+ [_hQ]: _cT,
821
+ },
822
+ ],
823
+ [
824
+ 1,
825
+ {
826
+ [_hQ]: _mBa,
827
+ },
828
+ ],
829
+ [
830
+ 0,
831
+ {
832
+ [_hQ]: _ty,
833
+ },
834
+ ],
835
+ ],
836
+ ];
837
+ var ListTableBucketsResponse = [
838
+ 3,
839
+ n0,
840
+ _LTBRi,
841
+ 0,
842
+ [_tB, _cT],
843
+ [() => TableBucketSummaryList, 0],
844
+ ];
845
+ var ListTablesRequest = [
846
+ 3,
847
+ n0,
848
+ _LTR,
849
+ 0,
850
+ [_tBARN, _n, _p, _cT, _mT],
851
+ [
852
+ [0, 1],
853
+ [
854
+ 0,
855
+ {
856
+ [_hQ]: _n,
857
+ },
858
+ ],
859
+ [
860
+ 0,
861
+ {
862
+ [_hQ]: _p,
863
+ },
864
+ ],
865
+ [
866
+ 0,
867
+ {
868
+ [_hQ]: _cT,
869
+ },
870
+ ],
871
+ [
872
+ 1,
873
+ {
874
+ [_hQ]: _mT,
875
+ },
876
+ ],
877
+ ],
878
+ ];
879
+ var ListTablesResponse = [3, n0, _LTRi, 0, [_ta, _cT], [() => TableSummaryList, 0]];
880
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
881
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
882
+ var NamespaceSummary = [
883
+ 3,
884
+ n0,
885
+ _NS,
886
+ 0,
887
+ [_n, _cA, _cB, _oAI, _nI, _tBI],
888
+ [64 | 0, 5, 0, 0, 0, 0],
889
+ ];
890
+ var NotFoundException = [
891
+ -3,
892
+ n0,
893
+ _NFE,
894
+ {
895
+ [_e]: _c,
896
+ [_hE]: 404,
897
+ },
898
+ [_m],
899
+ [0],
900
+ ];
901
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
902
+ var PutTableBucketEncryptionRequest = [
903
+ 3,
904
+ n0,
905
+ _PTBER,
906
+ 0,
907
+ [_tBARN, _eC],
908
+ [[0, 1], () => EncryptionConfiguration],
909
+ ];
910
+ var PutTableBucketMaintenanceConfigurationRequest = [
911
+ 3,
912
+ n0,
913
+ _PTBMCR,
914
+ 0,
915
+ [_tBARN, _ty, _v],
916
+ [[0, 1], [0, 1], () => TableBucketMaintenanceConfigurationValue],
917
+ ];
918
+ var PutTableBucketPolicyRequest = [3, n0, _PTBPR, 0, [_tBARN, _rP], [[0, 1], 0]];
919
+ var PutTableMaintenanceConfigurationRequest = [
920
+ 3,
921
+ n0,
922
+ _PTMCR,
923
+ 0,
924
+ [_tBARN, _n, _na, _ty, _v],
925
+ [[0, 1], [0, 1], [0, 1], [0, 1], () => TableMaintenanceConfigurationValue],
926
+ ];
927
+ var PutTablePolicyRequest = [
928
+ 3,
929
+ n0,
930
+ _PTPR,
931
+ 0,
932
+ [_tBARN, _n, _na, _rP],
933
+ [[0, 1], [0, 1], [0, 1], 0],
934
+ ];
935
+ var RenameTableRequest = [
936
+ 3,
937
+ n0,
938
+ _RTR,
939
+ 0,
940
+ [_tBARN, _n, _na, _nNN, _nN, _vT],
941
+ [[0, 1], [0, 1], [0, 1], 0, 0, 0],
942
+ ];
943
+ var SchemaField = [3, n0, _SF, 0, [_na, _ty, _r], [0, 0, 2]];
944
+ var TableBucketMaintenanceConfigurationValue = [
945
+ 3,
946
+ n0,
947
+ _TBMCV,
948
+ 0,
949
+ [_s, _set],
950
+ [0, () => TableBucketMaintenanceSettings],
951
+ ];
952
+ var TableBucketSummary = [
953
+ 3,
954
+ n0,
955
+ _TBS,
956
+ 0,
957
+ [_a, _na, _oAI, _cA, _tBI, _ty],
958
+ [0, 0, 0, 5, 0, 0],
959
+ ];
960
+ var TableMaintenanceConfigurationValue = [
961
+ 3,
962
+ n0,
963
+ _TMCV,
964
+ 0,
965
+ [_s, _set],
966
+ [0, () => TableMaintenanceSettings],
967
+ ];
968
+ var TableMaintenanceJobStatusValue = [3, n0, _TMJSV, 0, [_s, _lRT, _fM], [0, 5, 0]];
969
+ var TableSummary = [
970
+ 3,
971
+ n0,
972
+ _TS,
973
+ 0,
974
+ [_n, _na, _ty, _tARN, _cA, _mA, _nI, _tBI],
975
+ [64 | 0, 0, 0, 0, 5, 5, 0, 0],
976
+ ];
977
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
978
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
979
+ var TooManyRequestsException = [
980
+ -3,
981
+ n0,
982
+ _TMRE,
983
+ {
984
+ [_e]: _c,
985
+ [_hE]: 429,
986
+ },
987
+ [_m],
988
+ [0],
989
+ ];
990
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
991
+ var UntagResourceRequest = [
992
+ 3,
993
+ n0,
994
+ _URR,
995
+ 0,
996
+ [_rA, _tK],
997
+ [
998
+ [0, 1],
999
+ [
1000
+ 64 | 0,
1001
+ {
1002
+ [_hQ]: _tK,
1003
+ },
1004
+ ],
1005
+ ],
1006
+ ];
1007
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1008
+ var UpdateTableMetadataLocationRequest = [
1009
+ 3,
1010
+ n0,
1011
+ _UTMLR,
1012
+ 0,
1013
+ [_tBARN, _n, _na, _vT, _mL],
1014
+ [[0, 1], [0, 1], [0, 1], 0, 0],
1015
+ ];
1016
+ var UpdateTableMetadataLocationResponse = [
1017
+ 3,
1018
+ n0,
1019
+ _UTMLRp,
1020
+ 0,
1021
+ [_na, _tARN, _n, _vT, _mL],
1022
+ [0, 0, 64 | 0, 0, 0],
1023
+ ];
1024
+ var __Unit = "unit";
1025
+ var S3TablesServiceException = [-3, _sm, "S3TablesServiceException", 0, [], []];
1026
+ schema.TypeRegistry.for(_sm).registerError(S3TablesServiceException, S3TablesServiceException$1);
1027
+ var NamespaceSummaryList = [1, n0, _NSL, 0, () => NamespaceSummary];
1028
+ var SchemaFieldList = [1, n0, _SFL, 0, () => SchemaField];
1029
+ var TableBucketSummaryList = [1, n0, _TBSL, 0, () => TableBucketSummary];
1030
+ var TableSummaryList = [1, n0, _TSL, 0, () => TableSummary];
1031
+ var TableBucketMaintenanceConfiguration = [
1032
+ 2,
1033
+ n0,
1034
+ _TBMC,
1035
+ 0,
1036
+ 0,
1037
+ () => TableBucketMaintenanceConfigurationValue,
1038
+ ];
1039
+ var TableMaintenanceConfiguration = [
1040
+ 2,
1041
+ n0,
1042
+ _TMC,
1043
+ 0,
1044
+ 0,
1045
+ () => TableMaintenanceConfigurationValue,
1046
+ ];
1047
+ var TableMaintenanceJobStatus = [2, n0, _TMJS, 0, 0, () => TableMaintenanceJobStatusValue];
1048
+ var TableBucketMaintenanceSettings = [
1049
+ 3,
1050
+ n0,
1051
+ _TBMS,
1052
+ 0,
1053
+ [_iUFR],
1054
+ [() => IcebergUnreferencedFileRemovalSettings],
1055
+ ];
1056
+ var TableMaintenanceSettings = [
1057
+ 3,
1058
+ n0,
1059
+ _TMS,
1060
+ 0,
1061
+ [_iC, _iSM],
1062
+ [() => IcebergCompactionSettings, () => IcebergSnapshotManagementSettings],
1063
+ ];
1064
+ var TableMetadata = [3, n0, _TM, 0, [_i], [() => IcebergMetadata]];
1065
+ var CreateNamespace = [
1066
+ 9,
1067
+ n0,
1068
+ _CN,
1069
+ {
1070
+ [_h]: ["PUT", "/namespaces/{tableBucketARN}", 200],
1071
+ },
1072
+ () => CreateNamespaceRequest,
1073
+ () => CreateNamespaceResponse,
1074
+ ];
1075
+ var CreateTable = [
1076
+ 9,
1077
+ n0,
1078
+ _CT,
1079
+ {
1080
+ [_h]: ["PUT", "/tables/{tableBucketARN}/{namespace}", 200],
1081
+ },
1082
+ () => CreateTableRequest,
1083
+ () => CreateTableResponse,
1084
+ ];
1085
+ var CreateTableBucket = [
1086
+ 9,
1087
+ n0,
1088
+ _CTB,
1089
+ {
1090
+ [_h]: ["PUT", "/buckets", 200],
1091
+ },
1092
+ () => CreateTableBucketRequest,
1093
+ () => CreateTableBucketResponse,
1094
+ ];
1095
+ var DeleteNamespace = [
1096
+ 9,
1097
+ n0,
1098
+ _DN,
1099
+ {
1100
+ [_h]: ["DELETE", "/namespaces/{tableBucketARN}/{namespace}", 204],
1101
+ },
1102
+ () => DeleteNamespaceRequest,
1103
+ () => __Unit,
1104
+ ];
1105
+ var DeleteTable = [
1106
+ 9,
1107
+ n0,
1108
+ _DT,
1109
+ {
1110
+ [_h]: ["DELETE", "/tables/{tableBucketARN}/{namespace}/{name}", 204],
1111
+ },
1112
+ () => DeleteTableRequest,
1113
+ () => __Unit,
1114
+ ];
1115
+ var DeleteTableBucket = [
1116
+ 9,
1117
+ n0,
1118
+ _DTB,
1119
+ {
1120
+ [_h]: ["DELETE", "/buckets/{tableBucketARN}", 204],
1121
+ },
1122
+ () => DeleteTableBucketRequest,
1123
+ () => __Unit,
1124
+ ];
1125
+ var DeleteTableBucketEncryption = [
1126
+ 9,
1127
+ n0,
1128
+ _DTBE,
1129
+ {
1130
+ [_h]: ["DELETE", "/buckets/{tableBucketARN}/encryption", 204],
1131
+ },
1132
+ () => DeleteTableBucketEncryptionRequest,
1133
+ () => __Unit,
1134
+ ];
1135
+ var DeleteTableBucketPolicy = [
1136
+ 9,
1137
+ n0,
1138
+ _DTBP,
1139
+ {
1140
+ [_h]: ["DELETE", "/buckets/{tableBucketARN}/policy", 204],
1141
+ },
1142
+ () => DeleteTableBucketPolicyRequest,
1143
+ () => __Unit,
1144
+ ];
1145
+ var DeleteTablePolicy = [
1146
+ 9,
1147
+ n0,
1148
+ _DTP,
1149
+ {
1150
+ [_h]: ["DELETE", "/tables/{tableBucketARN}/{namespace}/{name}/policy", 204],
1151
+ },
1152
+ () => DeleteTablePolicyRequest,
1153
+ () => __Unit,
1154
+ ];
1155
+ var GetNamespace = [
1156
+ 9,
1157
+ n0,
1158
+ _GN,
1159
+ {
1160
+ [_h]: ["GET", "/namespaces/{tableBucketARN}/{namespace}", 200],
1161
+ },
1162
+ () => GetNamespaceRequest,
1163
+ () => GetNamespaceResponse,
1164
+ ];
1165
+ var GetTable = [
1166
+ 9,
1167
+ n0,
1168
+ _GT,
1169
+ {
1170
+ [_h]: ["GET", "/get-table", 200],
1171
+ },
1172
+ () => GetTableRequest,
1173
+ () => GetTableResponse,
1174
+ ];
1175
+ var GetTableBucket = [
1176
+ 9,
1177
+ n0,
1178
+ _GTB,
1179
+ {
1180
+ [_h]: ["GET", "/buckets/{tableBucketARN}", 200],
1181
+ },
1182
+ () => GetTableBucketRequest,
1183
+ () => GetTableBucketResponse,
1184
+ ];
1185
+ var GetTableBucketEncryption = [
1186
+ 9,
1187
+ n0,
1188
+ _GTBE,
1189
+ {
1190
+ [_h]: ["GET", "/buckets/{tableBucketARN}/encryption", 200],
1191
+ },
1192
+ () => GetTableBucketEncryptionRequest,
1193
+ () => GetTableBucketEncryptionResponse,
1194
+ ];
1195
+ var GetTableBucketMaintenanceConfiguration = [
1196
+ 9,
1197
+ n0,
1198
+ _GTBMC,
1199
+ {
1200
+ [_h]: ["GET", "/buckets/{tableBucketARN}/maintenance", 200],
1201
+ },
1202
+ () => GetTableBucketMaintenanceConfigurationRequest,
1203
+ () => GetTableBucketMaintenanceConfigurationResponse,
1204
+ ];
1205
+ var GetTableBucketPolicy = [
1206
+ 9,
1207
+ n0,
1208
+ _GTBP,
1209
+ {
1210
+ [_h]: ["GET", "/buckets/{tableBucketARN}/policy", 200],
1211
+ },
1212
+ () => GetTableBucketPolicyRequest,
1213
+ () => GetTableBucketPolicyResponse,
1214
+ ];
1215
+ var GetTableEncryption = [
1216
+ 9,
1217
+ n0,
1218
+ _GTE,
1219
+ {
1220
+ [_h]: ["GET", "/tables/{tableBucketARN}/{namespace}/{name}/encryption", 200],
1221
+ },
1222
+ () => GetTableEncryptionRequest,
1223
+ () => GetTableEncryptionResponse,
1224
+ ];
1225
+ var GetTableMaintenanceConfiguration = [
1226
+ 9,
1227
+ n0,
1228
+ _GTMC,
1229
+ {
1230
+ [_h]: ["GET", "/tables/{tableBucketARN}/{namespace}/{name}/maintenance", 200],
1231
+ },
1232
+ () => GetTableMaintenanceConfigurationRequest,
1233
+ () => GetTableMaintenanceConfigurationResponse,
1234
+ ];
1235
+ var GetTableMaintenanceJobStatus = [
1236
+ 9,
1237
+ n0,
1238
+ _GTMJS,
1239
+ {
1240
+ [_h]: ["GET", "/tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status", 200],
1241
+ },
1242
+ () => GetTableMaintenanceJobStatusRequest,
1243
+ () => GetTableMaintenanceJobStatusResponse,
1244
+ ];
1245
+ var GetTableMetadataLocation = [
1246
+ 9,
1247
+ n0,
1248
+ _GTML,
1249
+ {
1250
+ [_h]: ["GET", "/tables/{tableBucketARN}/{namespace}/{name}/metadata-location", 200],
1251
+ },
1252
+ () => GetTableMetadataLocationRequest,
1253
+ () => GetTableMetadataLocationResponse,
1254
+ ];
1255
+ var GetTablePolicy = [
1256
+ 9,
1257
+ n0,
1258
+ _GTP,
1259
+ {
1260
+ [_h]: ["GET", "/tables/{tableBucketARN}/{namespace}/{name}/policy", 200],
1261
+ },
1262
+ () => GetTablePolicyRequest,
1263
+ () => GetTablePolicyResponse,
1264
+ ];
1265
+ var ListNamespaces = [
1266
+ 9,
1267
+ n0,
1268
+ _LN,
1269
+ {
1270
+ [_h]: ["GET", "/namespaces/{tableBucketARN}", 200],
1271
+ },
1272
+ () => ListNamespacesRequest,
1273
+ () => ListNamespacesResponse,
1274
+ ];
1275
+ var ListTableBuckets = [
1276
+ 9,
1277
+ n0,
1278
+ _LTB,
1279
+ {
1280
+ [_h]: ["GET", "/buckets", 200],
1281
+ },
1282
+ () => ListTableBucketsRequest,
1283
+ () => ListTableBucketsResponse,
1284
+ ];
1285
+ var ListTables = [
1286
+ 9,
1287
+ n0,
1288
+ _LT,
1289
+ {
1290
+ [_h]: ["GET", "/tables/{tableBucketARN}", 200],
1291
+ },
1292
+ () => ListTablesRequest,
1293
+ () => ListTablesResponse,
1294
+ ];
1295
+ var ListTagsForResource = [
1296
+ 9,
1297
+ n0,
1298
+ _LTFR,
1299
+ {
1300
+ [_h]: ["GET", "/tag/{resourceArn}", 200],
1301
+ },
1302
+ () => ListTagsForResourceRequest,
1303
+ () => ListTagsForResourceResponse,
1304
+ ];
1305
+ var PutTableBucketEncryption = [
1306
+ 9,
1307
+ n0,
1308
+ _PTBE,
1309
+ {
1310
+ [_h]: ["PUT", "/buckets/{tableBucketARN}/encryption", 200],
1311
+ },
1312
+ () => PutTableBucketEncryptionRequest,
1313
+ () => __Unit,
1314
+ ];
1315
+ var PutTableBucketMaintenanceConfiguration = [
1316
+ 9,
1317
+ n0,
1318
+ _PTBMC,
1319
+ {
1320
+ [_h]: ["PUT", "/buckets/{tableBucketARN}/maintenance/{type}", 204],
1321
+ },
1322
+ () => PutTableBucketMaintenanceConfigurationRequest,
1323
+ () => __Unit,
1324
+ ];
1325
+ var PutTableBucketPolicy = [
1326
+ 9,
1327
+ n0,
1328
+ _PTBP,
1329
+ {
1330
+ [_h]: ["PUT", "/buckets/{tableBucketARN}/policy", 200],
1331
+ },
1332
+ () => PutTableBucketPolicyRequest,
1333
+ () => __Unit,
1334
+ ];
1335
+ var PutTableMaintenanceConfiguration = [
1336
+ 9,
1337
+ n0,
1338
+ _PTMC,
1339
+ {
1340
+ [_h]: ["PUT", "/tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}", 204],
1341
+ },
1342
+ () => PutTableMaintenanceConfigurationRequest,
1343
+ () => __Unit,
1344
+ ];
1345
+ var PutTablePolicy = [
1346
+ 9,
1347
+ n0,
1348
+ _PTP,
1349
+ {
1350
+ [_h]: ["PUT", "/tables/{tableBucketARN}/{namespace}/{name}/policy", 200],
1351
+ },
1352
+ () => PutTablePolicyRequest,
1353
+ () => __Unit,
1354
+ ];
1355
+ var RenameTable = [
1356
+ 9,
1357
+ n0,
1358
+ _RT,
1359
+ {
1360
+ [_h]: ["PUT", "/tables/{tableBucketARN}/{namespace}/{name}/rename", 204],
1361
+ },
1362
+ () => RenameTableRequest,
1363
+ () => __Unit,
1364
+ ];
1365
+ var TagResource = [
1366
+ 9,
1367
+ n0,
1368
+ _TR,
1369
+ {
1370
+ [_h]: ["POST", "/tag/{resourceArn}", 200],
1371
+ },
1372
+ () => TagResourceRequest,
1373
+ () => TagResourceResponse,
1374
+ ];
1375
+ var UntagResource = [
1376
+ 9,
1377
+ n0,
1378
+ _UR,
1379
+ {
1380
+ [_h]: ["DELETE", "/tag/{resourceArn}", 204],
1381
+ },
1382
+ () => UntagResourceRequest,
1383
+ () => UntagResourceResponse,
1384
+ ];
1385
+ var UpdateTableMetadataLocation = [
1386
+ 9,
1387
+ n0,
1388
+ _UTML,
1389
+ {
1390
+ [_h]: ["PUT", "/tables/{tableBucketARN}/{namespace}/{name}/metadata-location", 200],
1391
+ },
1392
+ () => UpdateTableMetadataLocationRequest,
1393
+ () => UpdateTableMetadataLocationResponse,
1394
+ ];
1352
1395
 
1353
1396
  class CreateNamespaceCommand extends smithyClient.Command
1354
1397
  .classBuilder()
1355
1398
  .ep(commonParams)
1356
1399
  .m(function (Command, cs, config, o) {
1357
- return [
1358
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1359
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1360
- ];
1400
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1361
1401
  })
1362
1402
  .s("S3TableBuckets", "CreateNamespace", {})
1363
1403
  .n("S3TablesClient", "CreateNamespaceCommand")
1364
- .f(void 0, void 0)
1365
- .ser(se_CreateNamespaceCommand)
1366
- .de(de_CreateNamespaceCommand)
1404
+ .sc(CreateNamespace)
1367
1405
  .build() {
1368
1406
  }
1369
1407
 
@@ -1371,16 +1409,11 @@ class CreateTableBucketCommand extends smithyClient.Command
1371
1409
  .classBuilder()
1372
1410
  .ep(commonParams)
1373
1411
  .m(function (Command, cs, config, o) {
1374
- return [
1375
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1376
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1377
- ];
1412
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1378
1413
  })
1379
1414
  .s("S3TableBuckets", "CreateTableBucket", {})
1380
1415
  .n("S3TablesClient", "CreateTableBucketCommand")
1381
- .f(void 0, void 0)
1382
- .ser(se_CreateTableBucketCommand)
1383
- .de(de_CreateTableBucketCommand)
1416
+ .sc(CreateTableBucket)
1384
1417
  .build() {
1385
1418
  }
1386
1419
 
@@ -1388,16 +1421,11 @@ class CreateTableCommand extends smithyClient.Command
1388
1421
  .classBuilder()
1389
1422
  .ep(commonParams)
1390
1423
  .m(function (Command, cs, config, o) {
1391
- return [
1392
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1393
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1394
- ];
1424
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
1425
  })
1396
1426
  .s("S3TableBuckets", "CreateTable", {})
1397
1427
  .n("S3TablesClient", "CreateTableCommand")
1398
- .f(void 0, void 0)
1399
- .ser(se_CreateTableCommand)
1400
- .de(de_CreateTableCommand)
1428
+ .sc(CreateTable)
1401
1429
  .build() {
1402
1430
  }
1403
1431
 
@@ -1405,16 +1433,11 @@ class DeleteNamespaceCommand extends smithyClient.Command
1405
1433
  .classBuilder()
1406
1434
  .ep(commonParams)
1407
1435
  .m(function (Command, cs, config, o) {
1408
- return [
1409
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1410
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1411
- ];
1436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1412
1437
  })
1413
1438
  .s("S3TableBuckets", "DeleteNamespace", {})
1414
1439
  .n("S3TablesClient", "DeleteNamespaceCommand")
1415
- .f(void 0, void 0)
1416
- .ser(se_DeleteNamespaceCommand)
1417
- .de(de_DeleteNamespaceCommand)
1440
+ .sc(DeleteNamespace)
1418
1441
  .build() {
1419
1442
  }
1420
1443
 
@@ -1422,16 +1445,11 @@ class DeleteTableBucketCommand extends smithyClient.Command
1422
1445
  .classBuilder()
1423
1446
  .ep(commonParams)
1424
1447
  .m(function (Command, cs, config, o) {
1425
- return [
1426
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1427
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1428
- ];
1448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1429
1449
  })
1430
1450
  .s("S3TableBuckets", "DeleteTableBucket", {})
1431
1451
  .n("S3TablesClient", "DeleteTableBucketCommand")
1432
- .f(void 0, void 0)
1433
- .ser(se_DeleteTableBucketCommand)
1434
- .de(de_DeleteTableBucketCommand)
1452
+ .sc(DeleteTableBucket)
1435
1453
  .build() {
1436
1454
  }
1437
1455
 
@@ -1439,16 +1457,11 @@ class DeleteTableBucketEncryptionCommand extends smithyClient.Command
1439
1457
  .classBuilder()
1440
1458
  .ep(commonParams)
1441
1459
  .m(function (Command, cs, config, o) {
1442
- return [
1443
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1444
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1445
- ];
1460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1446
1461
  })
1447
1462
  .s("S3TableBuckets", "DeleteTableBucketEncryption", {})
1448
1463
  .n("S3TablesClient", "DeleteTableBucketEncryptionCommand")
1449
- .f(void 0, void 0)
1450
- .ser(se_DeleteTableBucketEncryptionCommand)
1451
- .de(de_DeleteTableBucketEncryptionCommand)
1464
+ .sc(DeleteTableBucketEncryption)
1452
1465
  .build() {
1453
1466
  }
1454
1467
 
@@ -1456,16 +1469,11 @@ class DeleteTableBucketPolicyCommand extends smithyClient.Command
1456
1469
  .classBuilder()
1457
1470
  .ep(commonParams)
1458
1471
  .m(function (Command, cs, config, o) {
1459
- return [
1460
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1461
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1462
- ];
1472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
1473
  })
1464
1474
  .s("S3TableBuckets", "DeleteTableBucketPolicy", {})
1465
1475
  .n("S3TablesClient", "DeleteTableBucketPolicyCommand")
1466
- .f(void 0, void 0)
1467
- .ser(se_DeleteTableBucketPolicyCommand)
1468
- .de(de_DeleteTableBucketPolicyCommand)
1476
+ .sc(DeleteTableBucketPolicy)
1469
1477
  .build() {
1470
1478
  }
1471
1479
 
@@ -1473,16 +1481,11 @@ class DeleteTableCommand extends smithyClient.Command
1473
1481
  .classBuilder()
1474
1482
  .ep(commonParams)
1475
1483
  .m(function (Command, cs, config, o) {
1476
- return [
1477
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1478
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1479
- ];
1484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1480
1485
  })
1481
1486
  .s("S3TableBuckets", "DeleteTable", {})
1482
1487
  .n("S3TablesClient", "DeleteTableCommand")
1483
- .f(void 0, void 0)
1484
- .ser(se_DeleteTableCommand)
1485
- .de(de_DeleteTableCommand)
1488
+ .sc(DeleteTable)
1486
1489
  .build() {
1487
1490
  }
1488
1491
 
@@ -1490,16 +1493,11 @@ class DeleteTablePolicyCommand extends smithyClient.Command
1490
1493
  .classBuilder()
1491
1494
  .ep(commonParams)
1492
1495
  .m(function (Command, cs, config, o) {
1493
- return [
1494
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1495
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1496
- ];
1496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
1497
  })
1498
1498
  .s("S3TableBuckets", "DeleteTablePolicy", {})
1499
1499
  .n("S3TablesClient", "DeleteTablePolicyCommand")
1500
- .f(void 0, void 0)
1501
- .ser(se_DeleteTablePolicyCommand)
1502
- .de(de_DeleteTablePolicyCommand)
1500
+ .sc(DeleteTablePolicy)
1503
1501
  .build() {
1504
1502
  }
1505
1503
 
@@ -1507,16 +1505,11 @@ class GetNamespaceCommand extends smithyClient.Command
1507
1505
  .classBuilder()
1508
1506
  .ep(commonParams)
1509
1507
  .m(function (Command, cs, config, o) {
1510
- return [
1511
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1512
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1513
- ];
1508
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
1509
  })
1515
1510
  .s("S3TableBuckets", "GetNamespace", {})
1516
1511
  .n("S3TablesClient", "GetNamespaceCommand")
1517
- .f(void 0, void 0)
1518
- .ser(se_GetNamespaceCommand)
1519
- .de(de_GetNamespaceCommand)
1512
+ .sc(GetNamespace)
1520
1513
  .build() {
1521
1514
  }
1522
1515
 
@@ -1524,16 +1517,11 @@ class GetTableBucketCommand extends smithyClient.Command
1524
1517
  .classBuilder()
1525
1518
  .ep(commonParams)
1526
1519
  .m(function (Command, cs, config, o) {
1527
- return [
1528
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1529
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1530
- ];
1520
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1531
1521
  })
1532
1522
  .s("S3TableBuckets", "GetTableBucket", {})
1533
1523
  .n("S3TablesClient", "GetTableBucketCommand")
1534
- .f(void 0, void 0)
1535
- .ser(se_GetTableBucketCommand)
1536
- .de(de_GetTableBucketCommand)
1524
+ .sc(GetTableBucket)
1537
1525
  .build() {
1538
1526
  }
1539
1527
 
@@ -1541,16 +1529,11 @@ class GetTableBucketEncryptionCommand extends smithyClient.Command
1541
1529
  .classBuilder()
1542
1530
  .ep(commonParams)
1543
1531
  .m(function (Command, cs, config, o) {
1544
- return [
1545
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1546
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1547
- ];
1532
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1548
1533
  })
1549
1534
  .s("S3TableBuckets", "GetTableBucketEncryption", {})
1550
1535
  .n("S3TablesClient", "GetTableBucketEncryptionCommand")
1551
- .f(void 0, void 0)
1552
- .ser(se_GetTableBucketEncryptionCommand)
1553
- .de(de_GetTableBucketEncryptionCommand)
1536
+ .sc(GetTableBucketEncryption)
1554
1537
  .build() {
1555
1538
  }
1556
1539
 
@@ -1558,16 +1541,11 @@ class GetTableBucketMaintenanceConfigurationCommand extends smithyClient.Command
1558
1541
  .classBuilder()
1559
1542
  .ep(commonParams)
1560
1543
  .m(function (Command, cs, config, o) {
1561
- return [
1562
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1563
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1564
- ];
1544
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1565
1545
  })
1566
1546
  .s("S3TableBuckets", "GetTableBucketMaintenanceConfiguration", {})
1567
1547
  .n("S3TablesClient", "GetTableBucketMaintenanceConfigurationCommand")
1568
- .f(void 0, void 0)
1569
- .ser(se_GetTableBucketMaintenanceConfigurationCommand)
1570
- .de(de_GetTableBucketMaintenanceConfigurationCommand)
1548
+ .sc(GetTableBucketMaintenanceConfiguration)
1571
1549
  .build() {
1572
1550
  }
1573
1551
 
@@ -1575,16 +1553,11 @@ class GetTableBucketPolicyCommand extends smithyClient.Command
1575
1553
  .classBuilder()
1576
1554
  .ep(commonParams)
1577
1555
  .m(function (Command, cs, config, o) {
1578
- return [
1579
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1580
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1581
- ];
1556
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
1557
  })
1583
1558
  .s("S3TableBuckets", "GetTableBucketPolicy", {})
1584
1559
  .n("S3TablesClient", "GetTableBucketPolicyCommand")
1585
- .f(void 0, void 0)
1586
- .ser(se_GetTableBucketPolicyCommand)
1587
- .de(de_GetTableBucketPolicyCommand)
1560
+ .sc(GetTableBucketPolicy)
1588
1561
  .build() {
1589
1562
  }
1590
1563
 
@@ -1592,16 +1565,11 @@ class GetTableCommand extends smithyClient.Command
1592
1565
  .classBuilder()
1593
1566
  .ep(commonParams)
1594
1567
  .m(function (Command, cs, config, o) {
1595
- return [
1596
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1597
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1598
- ];
1568
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1599
1569
  })
1600
1570
  .s("S3TableBuckets", "GetTable", {})
1601
1571
  .n("S3TablesClient", "GetTableCommand")
1602
- .f(void 0, void 0)
1603
- .ser(se_GetTableCommand)
1604
- .de(de_GetTableCommand)
1572
+ .sc(GetTable)
1605
1573
  .build() {
1606
1574
  }
1607
1575
 
@@ -1609,16 +1577,11 @@ class GetTableEncryptionCommand extends smithyClient.Command
1609
1577
  .classBuilder()
1610
1578
  .ep(commonParams)
1611
1579
  .m(function (Command, cs, config, o) {
1612
- return [
1613
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1614
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1615
- ];
1580
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1616
1581
  })
1617
1582
  .s("S3TableBuckets", "GetTableEncryption", {})
1618
1583
  .n("S3TablesClient", "GetTableEncryptionCommand")
1619
- .f(void 0, void 0)
1620
- .ser(se_GetTableEncryptionCommand)
1621
- .de(de_GetTableEncryptionCommand)
1584
+ .sc(GetTableEncryption)
1622
1585
  .build() {
1623
1586
  }
1624
1587
 
@@ -1626,16 +1589,11 @@ class GetTableMaintenanceConfigurationCommand extends smithyClient.Command
1626
1589
  .classBuilder()
1627
1590
  .ep(commonParams)
1628
1591
  .m(function (Command, cs, config, o) {
1629
- return [
1630
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1631
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1632
- ];
1592
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1633
1593
  })
1634
1594
  .s("S3TableBuckets", "GetTableMaintenanceConfiguration", {})
1635
1595
  .n("S3TablesClient", "GetTableMaintenanceConfigurationCommand")
1636
- .f(void 0, void 0)
1637
- .ser(se_GetTableMaintenanceConfigurationCommand)
1638
- .de(de_GetTableMaintenanceConfigurationCommand)
1596
+ .sc(GetTableMaintenanceConfiguration)
1639
1597
  .build() {
1640
1598
  }
1641
1599
 
@@ -1643,16 +1601,11 @@ class GetTableMaintenanceJobStatusCommand extends smithyClient.Command
1643
1601
  .classBuilder()
1644
1602
  .ep(commonParams)
1645
1603
  .m(function (Command, cs, config, o) {
1646
- return [
1647
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1648
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1649
- ];
1604
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1650
1605
  })
1651
1606
  .s("S3TableBuckets", "GetTableMaintenanceJobStatus", {})
1652
1607
  .n("S3TablesClient", "GetTableMaintenanceJobStatusCommand")
1653
- .f(void 0, void 0)
1654
- .ser(se_GetTableMaintenanceJobStatusCommand)
1655
- .de(de_GetTableMaintenanceJobStatusCommand)
1608
+ .sc(GetTableMaintenanceJobStatus)
1656
1609
  .build() {
1657
1610
  }
1658
1611
 
@@ -1660,16 +1613,11 @@ class GetTableMetadataLocationCommand extends smithyClient.Command
1660
1613
  .classBuilder()
1661
1614
  .ep(commonParams)
1662
1615
  .m(function (Command, cs, config, o) {
1663
- return [
1664
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1665
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1666
- ];
1616
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1667
1617
  })
1668
1618
  .s("S3TableBuckets", "GetTableMetadataLocation", {})
1669
1619
  .n("S3TablesClient", "GetTableMetadataLocationCommand")
1670
- .f(void 0, void 0)
1671
- .ser(se_GetTableMetadataLocationCommand)
1672
- .de(de_GetTableMetadataLocationCommand)
1620
+ .sc(GetTableMetadataLocation)
1673
1621
  .build() {
1674
1622
  }
1675
1623
 
@@ -1677,16 +1625,11 @@ class GetTablePolicyCommand extends smithyClient.Command
1677
1625
  .classBuilder()
1678
1626
  .ep(commonParams)
1679
1627
  .m(function (Command, cs, config, o) {
1680
- return [
1681
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1682
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1683
- ];
1628
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1684
1629
  })
1685
1630
  .s("S3TableBuckets", "GetTablePolicy", {})
1686
1631
  .n("S3TablesClient", "GetTablePolicyCommand")
1687
- .f(void 0, void 0)
1688
- .ser(se_GetTablePolicyCommand)
1689
- .de(de_GetTablePolicyCommand)
1632
+ .sc(GetTablePolicy)
1690
1633
  .build() {
1691
1634
  }
1692
1635
 
@@ -1694,16 +1637,11 @@ class ListNamespacesCommand extends smithyClient.Command
1694
1637
  .classBuilder()
1695
1638
  .ep(commonParams)
1696
1639
  .m(function (Command, cs, config, o) {
1697
- return [
1698
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1699
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1700
- ];
1640
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
1641
  })
1702
1642
  .s("S3TableBuckets", "ListNamespaces", {})
1703
1643
  .n("S3TablesClient", "ListNamespacesCommand")
1704
- .f(void 0, void 0)
1705
- .ser(se_ListNamespacesCommand)
1706
- .de(de_ListNamespacesCommand)
1644
+ .sc(ListNamespaces)
1707
1645
  .build() {
1708
1646
  }
1709
1647
 
@@ -1711,16 +1649,11 @@ class ListTableBucketsCommand extends smithyClient.Command
1711
1649
  .classBuilder()
1712
1650
  .ep(commonParams)
1713
1651
  .m(function (Command, cs, config, o) {
1714
- return [
1715
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1716
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1717
- ];
1652
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1718
1653
  })
1719
1654
  .s("S3TableBuckets", "ListTableBuckets", {})
1720
1655
  .n("S3TablesClient", "ListTableBucketsCommand")
1721
- .f(void 0, void 0)
1722
- .ser(se_ListTableBucketsCommand)
1723
- .de(de_ListTableBucketsCommand)
1656
+ .sc(ListTableBuckets)
1724
1657
  .build() {
1725
1658
  }
1726
1659
 
@@ -1728,16 +1661,11 @@ class ListTablesCommand extends smithyClient.Command
1728
1661
  .classBuilder()
1729
1662
  .ep(commonParams)
1730
1663
  .m(function (Command, cs, config, o) {
1731
- return [
1732
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1733
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1734
- ];
1664
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1735
1665
  })
1736
1666
  .s("S3TableBuckets", "ListTables", {})
1737
1667
  .n("S3TablesClient", "ListTablesCommand")
1738
- .f(void 0, void 0)
1739
- .ser(se_ListTablesCommand)
1740
- .de(de_ListTablesCommand)
1668
+ .sc(ListTables)
1741
1669
  .build() {
1742
1670
  }
1743
1671
 
@@ -1745,16 +1673,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1745
1673
  .classBuilder()
1746
1674
  .ep(commonParams)
1747
1675
  .m(function (Command, cs, config, o) {
1748
- return [
1749
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1750
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1751
- ];
1676
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1752
1677
  })
1753
1678
  .s("S3TableBuckets", "ListTagsForResource", {})
1754
1679
  .n("S3TablesClient", "ListTagsForResourceCommand")
1755
- .f(void 0, void 0)
1756
- .ser(se_ListTagsForResourceCommand)
1757
- .de(de_ListTagsForResourceCommand)
1680
+ .sc(ListTagsForResource)
1758
1681
  .build() {
1759
1682
  }
1760
1683
 
@@ -1762,16 +1685,11 @@ class PutTableBucketEncryptionCommand extends smithyClient.Command
1762
1685
  .classBuilder()
1763
1686
  .ep(commonParams)
1764
1687
  .m(function (Command, cs, config, o) {
1765
- return [
1766
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1767
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1768
- ];
1688
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1769
1689
  })
1770
1690
  .s("S3TableBuckets", "PutTableBucketEncryption", {})
1771
1691
  .n("S3TablesClient", "PutTableBucketEncryptionCommand")
1772
- .f(void 0, void 0)
1773
- .ser(se_PutTableBucketEncryptionCommand)
1774
- .de(de_PutTableBucketEncryptionCommand)
1692
+ .sc(PutTableBucketEncryption)
1775
1693
  .build() {
1776
1694
  }
1777
1695
 
@@ -1779,16 +1697,11 @@ class PutTableBucketMaintenanceConfigurationCommand extends smithyClient.Command
1779
1697
  .classBuilder()
1780
1698
  .ep(commonParams)
1781
1699
  .m(function (Command, cs, config, o) {
1782
- return [
1783
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1784
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1785
- ];
1700
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1786
1701
  })
1787
1702
  .s("S3TableBuckets", "PutTableBucketMaintenanceConfiguration", {})
1788
1703
  .n("S3TablesClient", "PutTableBucketMaintenanceConfigurationCommand")
1789
- .f(void 0, void 0)
1790
- .ser(se_PutTableBucketMaintenanceConfigurationCommand)
1791
- .de(de_PutTableBucketMaintenanceConfigurationCommand)
1704
+ .sc(PutTableBucketMaintenanceConfiguration)
1792
1705
  .build() {
1793
1706
  }
1794
1707
 
@@ -1796,16 +1709,11 @@ class PutTableBucketPolicyCommand extends smithyClient.Command
1796
1709
  .classBuilder()
1797
1710
  .ep(commonParams)
1798
1711
  .m(function (Command, cs, config, o) {
1799
- return [
1800
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1801
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1802
- ];
1712
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1803
1713
  })
1804
1714
  .s("S3TableBuckets", "PutTableBucketPolicy", {})
1805
1715
  .n("S3TablesClient", "PutTableBucketPolicyCommand")
1806
- .f(void 0, void 0)
1807
- .ser(se_PutTableBucketPolicyCommand)
1808
- .de(de_PutTableBucketPolicyCommand)
1716
+ .sc(PutTableBucketPolicy)
1809
1717
  .build() {
1810
1718
  }
1811
1719
 
@@ -1813,16 +1721,11 @@ class PutTableMaintenanceConfigurationCommand extends smithyClient.Command
1813
1721
  .classBuilder()
1814
1722
  .ep(commonParams)
1815
1723
  .m(function (Command, cs, config, o) {
1816
- return [
1817
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1818
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1819
- ];
1724
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1820
1725
  })
1821
1726
  .s("S3TableBuckets", "PutTableMaintenanceConfiguration", {})
1822
1727
  .n("S3TablesClient", "PutTableMaintenanceConfigurationCommand")
1823
- .f(void 0, void 0)
1824
- .ser(se_PutTableMaintenanceConfigurationCommand)
1825
- .de(de_PutTableMaintenanceConfigurationCommand)
1728
+ .sc(PutTableMaintenanceConfiguration)
1826
1729
  .build() {
1827
1730
  }
1828
1731
 
@@ -1830,16 +1733,11 @@ class PutTablePolicyCommand extends smithyClient.Command
1830
1733
  .classBuilder()
1831
1734
  .ep(commonParams)
1832
1735
  .m(function (Command, cs, config, o) {
1833
- return [
1834
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1835
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1836
- ];
1736
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1837
1737
  })
1838
1738
  .s("S3TableBuckets", "PutTablePolicy", {})
1839
1739
  .n("S3TablesClient", "PutTablePolicyCommand")
1840
- .f(void 0, void 0)
1841
- .ser(se_PutTablePolicyCommand)
1842
- .de(de_PutTablePolicyCommand)
1740
+ .sc(PutTablePolicy)
1843
1741
  .build() {
1844
1742
  }
1845
1743
 
@@ -1847,16 +1745,11 @@ class RenameTableCommand extends smithyClient.Command
1847
1745
  .classBuilder()
1848
1746
  .ep(commonParams)
1849
1747
  .m(function (Command, cs, config, o) {
1850
- return [
1851
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1852
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1853
- ];
1748
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1854
1749
  })
1855
1750
  .s("S3TableBuckets", "RenameTable", {})
1856
1751
  .n("S3TablesClient", "RenameTableCommand")
1857
- .f(void 0, void 0)
1858
- .ser(se_RenameTableCommand)
1859
- .de(de_RenameTableCommand)
1752
+ .sc(RenameTable)
1860
1753
  .build() {
1861
1754
  }
1862
1755
 
@@ -1864,16 +1757,11 @@ class TagResourceCommand extends smithyClient.Command
1864
1757
  .classBuilder()
1865
1758
  .ep(commonParams)
1866
1759
  .m(function (Command, cs, config, o) {
1867
- return [
1868
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1869
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1870
- ];
1760
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1871
1761
  })
1872
1762
  .s("S3TableBuckets", "TagResource", {})
1873
1763
  .n("S3TablesClient", "TagResourceCommand")
1874
- .f(void 0, void 0)
1875
- .ser(se_TagResourceCommand)
1876
- .de(de_TagResourceCommand)
1764
+ .sc(TagResource)
1877
1765
  .build() {
1878
1766
  }
1879
1767
 
@@ -1881,16 +1769,11 @@ class UntagResourceCommand extends smithyClient.Command
1881
1769
  .classBuilder()
1882
1770
  .ep(commonParams)
1883
1771
  .m(function (Command, cs, config, o) {
1884
- return [
1885
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1886
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1887
- ];
1772
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1888
1773
  })
1889
1774
  .s("S3TableBuckets", "UntagResource", {})
1890
1775
  .n("S3TablesClient", "UntagResourceCommand")
1891
- .f(void 0, void 0)
1892
- .ser(se_UntagResourceCommand)
1893
- .de(de_UntagResourceCommand)
1776
+ .sc(UntagResource)
1894
1777
  .build() {
1895
1778
  }
1896
1779
 
@@ -1898,16 +1781,11 @@ class UpdateTableMetadataLocationCommand extends smithyClient.Command
1898
1781
  .classBuilder()
1899
1782
  .ep(commonParams)
1900
1783
  .m(function (Command, cs, config, o) {
1901
- return [
1902
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1903
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1904
- ];
1784
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1905
1785
  })
1906
1786
  .s("S3TableBuckets", "UpdateTableMetadataLocation", {})
1907
1787
  .n("S3TablesClient", "UpdateTableMetadataLocationCommand")
1908
- .f(void 0, void 0)
1909
- .ser(se_UpdateTableMetadataLocationCommand)
1910
- .de(de_UpdateTableMetadataLocationCommand)
1788
+ .sc(UpdateTableMetadataLocation)
1911
1789
  .build() {
1912
1790
  }
1913
1791
 
@@ -1964,9 +1842,9 @@ Object.defineProperty(exports, "__Client", {
1964
1842
  enumerable: true,
1965
1843
  get: function () { return smithyClient.Client; }
1966
1844
  });
1967
- exports.AccessDeniedException = AccessDeniedException;
1968
- exports.BadRequestException = BadRequestException;
1969
- exports.ConflictException = ConflictException;
1845
+ exports.AccessDeniedException = AccessDeniedException$1;
1846
+ exports.BadRequestException = BadRequestException$1;
1847
+ exports.ConflictException = ConflictException$1;
1970
1848
  exports.CreateNamespaceCommand = CreateNamespaceCommand;
1971
1849
  exports.CreateTableBucketCommand = CreateTableBucketCommand;
1972
1850
  exports.CreateTableCommand = CreateTableCommand;
@@ -1976,7 +1854,7 @@ exports.DeleteTableBucketEncryptionCommand = DeleteTableBucketEncryptionCommand;
1976
1854
  exports.DeleteTableBucketPolicyCommand = DeleteTableBucketPolicyCommand;
1977
1855
  exports.DeleteTableCommand = DeleteTableCommand;
1978
1856
  exports.DeleteTablePolicyCommand = DeleteTablePolicyCommand;
1979
- exports.ForbiddenException = ForbiddenException;
1857
+ exports.ForbiddenException = ForbiddenException$1;
1980
1858
  exports.GetNamespaceCommand = GetNamespaceCommand;
1981
1859
  exports.GetTableBucketCommand = GetTableBucketCommand;
1982
1860
  exports.GetTableBucketEncryptionCommand = GetTableBucketEncryptionCommand;
@@ -1989,14 +1867,14 @@ exports.GetTableMaintenanceJobStatusCommand = GetTableMaintenanceJobStatusComman
1989
1867
  exports.GetTableMetadataLocationCommand = GetTableMetadataLocationCommand;
1990
1868
  exports.GetTablePolicyCommand = GetTablePolicyCommand;
1991
1869
  exports.IcebergCompactionStrategy = IcebergCompactionStrategy;
1992
- exports.InternalServerErrorException = InternalServerErrorException;
1870
+ exports.InternalServerErrorException = InternalServerErrorException$1;
1993
1871
  exports.JobStatus = JobStatus;
1994
1872
  exports.ListNamespacesCommand = ListNamespacesCommand;
1995
1873
  exports.ListTableBucketsCommand = ListTableBucketsCommand;
1996
1874
  exports.ListTablesCommand = ListTablesCommand;
1997
1875
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1998
1876
  exports.MaintenanceStatus = MaintenanceStatus;
1999
- exports.NotFoundException = NotFoundException;
1877
+ exports.NotFoundException = NotFoundException$1;
2000
1878
  exports.OpenTableFormat = OpenTableFormat;
2001
1879
  exports.PutTableBucketEncryptionCommand = PutTableBucketEncryptionCommand;
2002
1880
  exports.PutTableBucketMaintenanceConfigurationCommand = PutTableBucketMaintenanceConfigurationCommand;
@@ -2006,7 +1884,7 @@ exports.PutTablePolicyCommand = PutTablePolicyCommand;
2006
1884
  exports.RenameTableCommand = RenameTableCommand;
2007
1885
  exports.S3Tables = S3Tables;
2008
1886
  exports.S3TablesClient = S3TablesClient;
2009
- exports.S3TablesServiceException = S3TablesServiceException;
1887
+ exports.S3TablesServiceException = S3TablesServiceException$1;
2010
1888
  exports.SSEAlgorithm = SSEAlgorithm;
2011
1889
  exports.TableBucketMaintenanceType = TableBucketMaintenanceType;
2012
1890
  exports.TableBucketType = TableBucketType;
@@ -2014,7 +1892,7 @@ exports.TableMaintenanceJobType = TableMaintenanceJobType;
2014
1892
  exports.TableMaintenanceType = TableMaintenanceType;
2015
1893
  exports.TableType = TableType;
2016
1894
  exports.TagResourceCommand = TagResourceCommand;
2017
- exports.TooManyRequestsException = TooManyRequestsException;
1895
+ exports.TooManyRequestsException = TooManyRequestsException$1;
2018
1896
  exports.UntagResourceCommand = UntagResourceCommand;
2019
1897
  exports.UpdateTableMetadataLocationCommand = UpdateTableMetadataLocationCommand;
2020
1898
  exports.paginateListNamespaces = paginateListNamespaces;