@aws-sdk/client-keyspaces 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 (40) hide show
  1. package/dist-cjs/index.js +663 -835
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KeyspacesClient.js +2 -0
  4. package/dist-es/commands/CreateKeyspaceCommand.js +3 -9
  5. package/dist-es/commands/CreateTableCommand.js +3 -9
  6. package/dist-es/commands/CreateTypeCommand.js +3 -9
  7. package/dist-es/commands/DeleteKeyspaceCommand.js +3 -9
  8. package/dist-es/commands/DeleteTableCommand.js +3 -9
  9. package/dist-es/commands/DeleteTypeCommand.js +3 -9
  10. package/dist-es/commands/GetKeyspaceCommand.js +3 -9
  11. package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +3 -9
  12. package/dist-es/commands/GetTableCommand.js +3 -9
  13. package/dist-es/commands/GetTypeCommand.js +3 -9
  14. package/dist-es/commands/ListKeyspacesCommand.js +3 -9
  15. package/dist-es/commands/ListTablesCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/ListTypesCommand.js +3 -9
  18. package/dist-es/commands/RestoreTableCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdateKeyspaceCommand.js +3 -9
  22. package/dist-es/commands/UpdateTableCommand.js +3 -9
  23. package/dist-es/runtimeConfig.shared.js +7 -0
  24. package/dist-es/schemas/schemas_0.js +608 -0
  25. package/dist-types/KeyspacesClient.d.ts +10 -1
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  30. package/dist-types/schemas/schemas_0.d.ts +108 -0
  31. package/dist-types/ts3.4/KeyspacesClient.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +113 -0
  37. package/package.json +5 -5
  38. package/dist-es/protocols/Aws_json1_0.js +0 -688
  39. package/dist-types/protocols/Aws_json1_0.d.ts +0 -173
  40. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -233
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 KeyspacesClient 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 KeyspacesClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class KeyspacesServiceException extends smithyClient.ServiceException {
113
+ let KeyspacesServiceException$1 = class KeyspacesServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, KeyspacesServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends KeyspacesServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends KeyspacesServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,7 +128,7 @@ class AccessDeniedException extends KeyspacesServiceException {
128
128
  });
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
- }
131
+ };
132
132
  const ThroughputMode = {
133
133
  PAY_PER_REQUEST: "PAY_PER_REQUEST",
134
134
  PROVISIONED: "PROVISIONED",
@@ -156,7 +156,7 @@ const SortOrder = {
156
156
  ASC: "ASC",
157
157
  DESC: "DESC",
158
158
  };
159
- class ConflictException extends KeyspacesServiceException {
159
+ let ConflictException$1 = class ConflictException extends KeyspacesServiceException$1 {
160
160
  name = "ConflictException";
161
161
  $fault = "client";
162
162
  constructor(opts) {
@@ -167,12 +167,12 @@ class ConflictException extends KeyspacesServiceException {
167
167
  });
168
168
  Object.setPrototypeOf(this, ConflictException.prototype);
169
169
  }
170
- }
170
+ };
171
171
  const Rs = {
172
172
  MULTI_REGION: "MULTI_REGION",
173
173
  SINGLE_REGION: "SINGLE_REGION",
174
174
  };
175
- class InternalServerException extends KeyspacesServiceException {
175
+ let InternalServerException$1 = class InternalServerException extends KeyspacesServiceException$1 {
176
176
  name = "InternalServerException";
177
177
  $fault = "server";
178
178
  constructor(opts) {
@@ -183,8 +183,8 @@ class InternalServerException extends KeyspacesServiceException {
183
183
  });
184
184
  Object.setPrototypeOf(this, InternalServerException.prototype);
185
185
  }
186
- }
187
- class ServiceQuotaExceededException extends KeyspacesServiceException {
186
+ };
187
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends KeyspacesServiceException$1 {
188
188
  name = "ServiceQuotaExceededException";
189
189
  $fault = "client";
190
190
  constructor(opts) {
@@ -195,8 +195,8 @@ class ServiceQuotaExceededException extends KeyspacesServiceException {
195
195
  });
196
196
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
197
197
  }
198
- }
199
- class ValidationException extends KeyspacesServiceException {
198
+ };
199
+ let ValidationException$1 = class ValidationException extends KeyspacesServiceException$1 {
200
200
  name = "ValidationException";
201
201
  $fault = "client";
202
202
  constructor(opts) {
@@ -207,7 +207,7 @@ class ValidationException extends KeyspacesServiceException {
207
207
  });
208
208
  Object.setPrototypeOf(this, ValidationException.prototype);
209
209
  }
210
- }
210
+ };
211
211
  const EncryptionType = {
212
212
  AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
213
213
  CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
@@ -219,7 +219,7 @@ const PointInTimeRecoveryStatus = {
219
219
  const TimeToLiveStatus = {
220
220
  ENABLED: "ENABLED",
221
221
  };
222
- class ResourceNotFoundException extends KeyspacesServiceException {
222
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends KeyspacesServiceException$1 {
223
223
  name = "ResourceNotFoundException";
224
224
  $fault = "client";
225
225
  resourceArn;
@@ -232,7 +232,7 @@ class ResourceNotFoundException extends KeyspacesServiceException {
232
232
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
233
233
  this.resourceArn = opts.resourceArn;
234
234
  }
235
- }
235
+ };
236
236
  const KeyspaceStatus = {
237
237
  ACTIVE: "ACTIVE",
238
238
  CREATING: "CREATING",
@@ -255,700 +255,618 @@ const TypeStatus = {
255
255
  RESTORING: "RESTORING",
256
256
  };
257
257
 
258
- const se_CreateKeyspaceCommand = async (input, context) => {
259
- const headers = sharedHeaders("CreateKeyspace");
260
- let body;
261
- body = JSON.stringify(smithyClient._json(input));
262
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
263
- };
264
- const se_CreateTableCommand = async (input, context) => {
265
- const headers = sharedHeaders("CreateTable");
266
- let body;
267
- body = JSON.stringify(se_CreateTableRequest(input));
268
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
269
- };
270
- const se_CreateTypeCommand = async (input, context) => {
271
- const headers = sharedHeaders("CreateType");
272
- let body;
273
- body = JSON.stringify(smithyClient._json(input));
274
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
275
- };
276
- const se_DeleteKeyspaceCommand = async (input, context) => {
277
- const headers = sharedHeaders("DeleteKeyspace");
278
- let body;
279
- body = JSON.stringify(smithyClient._json(input));
280
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
281
- };
282
- const se_DeleteTableCommand = async (input, context) => {
283
- const headers = sharedHeaders("DeleteTable");
284
- let body;
285
- body = JSON.stringify(smithyClient._json(input));
286
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
287
- };
288
- const se_DeleteTypeCommand = async (input, context) => {
289
- const headers = sharedHeaders("DeleteType");
290
- let body;
291
- body = JSON.stringify(smithyClient._json(input));
292
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
293
- };
294
- const se_GetKeyspaceCommand = async (input, context) => {
295
- const headers = sharedHeaders("GetKeyspace");
296
- let body;
297
- body = JSON.stringify(smithyClient._json(input));
298
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
299
- };
300
- const se_GetTableCommand = async (input, context) => {
301
- const headers = sharedHeaders("GetTable");
302
- let body;
303
- body = JSON.stringify(smithyClient._json(input));
304
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
305
- };
306
- const se_GetTableAutoScalingSettingsCommand = async (input, context) => {
307
- const headers = sharedHeaders("GetTableAutoScalingSettings");
308
- let body;
309
- body = JSON.stringify(smithyClient._json(input));
310
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
311
- };
312
- const se_GetTypeCommand = async (input, context) => {
313
- const headers = sharedHeaders("GetType");
314
- let body;
315
- body = JSON.stringify(smithyClient._json(input));
316
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
317
- };
318
- const se_ListKeyspacesCommand = async (input, context) => {
319
- const headers = sharedHeaders("ListKeyspaces");
320
- let body;
321
- body = JSON.stringify(smithyClient._json(input));
322
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
323
- };
324
- const se_ListTablesCommand = async (input, context) => {
325
- const headers = sharedHeaders("ListTables");
326
- let body;
327
- body = JSON.stringify(smithyClient._json(input));
328
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
- };
330
- const se_ListTagsForResourceCommand = async (input, context) => {
331
- const headers = sharedHeaders("ListTagsForResource");
332
- let body;
333
- body = JSON.stringify(smithyClient._json(input));
334
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
335
- };
336
- const se_ListTypesCommand = async (input, context) => {
337
- const headers = sharedHeaders("ListTypes");
338
- let body;
339
- body = JSON.stringify(smithyClient._json(input));
340
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
341
- };
342
- const se_RestoreTableCommand = async (input, context) => {
343
- const headers = sharedHeaders("RestoreTable");
344
- let body;
345
- body = JSON.stringify(se_RestoreTableRequest(input));
346
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
- };
348
- const se_TagResourceCommand = async (input, context) => {
349
- const headers = sharedHeaders("TagResource");
350
- let body;
351
- body = JSON.stringify(smithyClient._json(input));
352
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
353
- };
354
- const se_UntagResourceCommand = async (input, context) => {
355
- const headers = sharedHeaders("UntagResource");
356
- let body;
357
- body = JSON.stringify(smithyClient._json(input));
358
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
359
- };
360
- const se_UpdateKeyspaceCommand = async (input, context) => {
361
- const headers = sharedHeaders("UpdateKeyspace");
362
- let body;
363
- body = JSON.stringify(smithyClient._json(input));
364
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
365
- };
366
- const se_UpdateTableCommand = async (input, context) => {
367
- const headers = sharedHeaders("UpdateTable");
368
- let body;
369
- body = JSON.stringify(se_UpdateTableRequest(input));
370
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
371
- };
372
- const de_CreateKeyspaceCommand = async (output, context) => {
373
- if (output.statusCode >= 300) {
374
- return de_CommandError(output, context);
375
- }
376
- const data = await core$1.parseJsonBody(output.body, context);
377
- let contents = {};
378
- contents = smithyClient._json(data);
379
- const response = {
380
- $metadata: deserializeMetadata(output),
381
- ...contents,
382
- };
383
- return response;
384
- };
385
- const de_CreateTableCommand = async (output, context) => {
386
- if (output.statusCode >= 300) {
387
- return de_CommandError(output, context);
388
- }
389
- const data = await core$1.parseJsonBody(output.body, context);
390
- let contents = {};
391
- contents = smithyClient._json(data);
392
- const response = {
393
- $metadata: deserializeMetadata(output),
394
- ...contents,
395
- };
396
- return response;
397
- };
398
- const de_CreateTypeCommand = async (output, context) => {
399
- if (output.statusCode >= 300) {
400
- return de_CommandError(output, context);
401
- }
402
- const data = await core$1.parseJsonBody(output.body, context);
403
- let contents = {};
404
- contents = smithyClient._json(data);
405
- const response = {
406
- $metadata: deserializeMetadata(output),
407
- ...contents,
408
- };
409
- return response;
410
- };
411
- const de_DeleteKeyspaceCommand = async (output, context) => {
412
- if (output.statusCode >= 300) {
413
- return de_CommandError(output, context);
414
- }
415
- const data = await core$1.parseJsonBody(output.body, context);
416
- let contents = {};
417
- contents = smithyClient._json(data);
418
- const response = {
419
- $metadata: deserializeMetadata(output),
420
- ...contents,
421
- };
422
- return response;
423
- };
424
- const de_DeleteTableCommand = async (output, context) => {
425
- if (output.statusCode >= 300) {
426
- return de_CommandError(output, context);
427
- }
428
- const data = await core$1.parseJsonBody(output.body, context);
429
- let contents = {};
430
- contents = smithyClient._json(data);
431
- const response = {
432
- $metadata: deserializeMetadata(output),
433
- ...contents,
434
- };
435
- return response;
436
- };
437
- const de_DeleteTypeCommand = async (output, context) => {
438
- if (output.statusCode >= 300) {
439
- return de_CommandError(output, context);
440
- }
441
- const data = await core$1.parseJsonBody(output.body, context);
442
- let contents = {};
443
- contents = smithyClient._json(data);
444
- const response = {
445
- $metadata: deserializeMetadata(output),
446
- ...contents,
447
- };
448
- return response;
449
- };
450
- const de_GetKeyspaceCommand = async (output, context) => {
451
- if (output.statusCode >= 300) {
452
- return de_CommandError(output, context);
453
- }
454
- const data = await core$1.parseJsonBody(output.body, context);
455
- let contents = {};
456
- contents = smithyClient._json(data);
457
- const response = {
458
- $metadata: deserializeMetadata(output),
459
- ...contents,
460
- };
461
- return response;
462
- };
463
- const de_GetTableCommand = async (output, context) => {
464
- if (output.statusCode >= 300) {
465
- return de_CommandError(output, context);
466
- }
467
- const data = await core$1.parseJsonBody(output.body, context);
468
- let contents = {};
469
- contents = de_GetTableResponse(data);
470
- const response = {
471
- $metadata: deserializeMetadata(output),
472
- ...contents,
473
- };
474
- return response;
475
- };
476
- const de_GetTableAutoScalingSettingsCommand = async (output, context) => {
477
- if (output.statusCode >= 300) {
478
- return de_CommandError(output, context);
479
- }
480
- const data = await core$1.parseJsonBody(output.body, context);
481
- let contents = {};
482
- contents = de_GetTableAutoScalingSettingsResponse(data);
483
- const response = {
484
- $metadata: deserializeMetadata(output),
485
- ...contents,
486
- };
487
- return response;
488
- };
489
- const de_GetTypeCommand = async (output, context) => {
490
- if (output.statusCode >= 300) {
491
- return de_CommandError(output, context);
492
- }
493
- const data = await core$1.parseJsonBody(output.body, context);
494
- let contents = {};
495
- contents = de_GetTypeResponse(data);
496
- const response = {
497
- $metadata: deserializeMetadata(output),
498
- ...contents,
499
- };
500
- return response;
501
- };
502
- const de_ListKeyspacesCommand = async (output, context) => {
503
- if (output.statusCode >= 300) {
504
- return de_CommandError(output, context);
505
- }
506
- const data = await core$1.parseJsonBody(output.body, context);
507
- let contents = {};
508
- contents = smithyClient._json(data);
509
- const response = {
510
- $metadata: deserializeMetadata(output),
511
- ...contents,
512
- };
513
- return response;
514
- };
515
- const de_ListTablesCommand = async (output, context) => {
516
- if (output.statusCode >= 300) {
517
- return de_CommandError(output, context);
518
- }
519
- const data = await core$1.parseJsonBody(output.body, context);
520
- let contents = {};
521
- contents = smithyClient._json(data);
522
- const response = {
523
- $metadata: deserializeMetadata(output),
524
- ...contents,
525
- };
526
- return response;
527
- };
528
- const de_ListTagsForResourceCommand = async (output, context) => {
529
- if (output.statusCode >= 300) {
530
- return de_CommandError(output, context);
531
- }
532
- const data = await core$1.parseJsonBody(output.body, context);
533
- let contents = {};
534
- contents = smithyClient._json(data);
535
- const response = {
536
- $metadata: deserializeMetadata(output),
537
- ...contents,
538
- };
539
- return response;
540
- };
541
- const de_ListTypesCommand = async (output, context) => {
542
- if (output.statusCode >= 300) {
543
- return de_CommandError(output, context);
544
- }
545
- const data = await core$1.parseJsonBody(output.body, context);
546
- let contents = {};
547
- contents = smithyClient._json(data);
548
- const response = {
549
- $metadata: deserializeMetadata(output),
550
- ...contents,
551
- };
552
- return response;
553
- };
554
- const de_RestoreTableCommand = async (output, context) => {
555
- if (output.statusCode >= 300) {
556
- return de_CommandError(output, context);
557
- }
558
- const data = await core$1.parseJsonBody(output.body, context);
559
- let contents = {};
560
- contents = smithyClient._json(data);
561
- const response = {
562
- $metadata: deserializeMetadata(output),
563
- ...contents,
564
- };
565
- return response;
566
- };
567
- const de_TagResourceCommand = async (output, context) => {
568
- if (output.statusCode >= 300) {
569
- return de_CommandError(output, context);
570
- }
571
- const data = await core$1.parseJsonBody(output.body, context);
572
- let contents = {};
573
- contents = smithyClient._json(data);
574
- const response = {
575
- $metadata: deserializeMetadata(output),
576
- ...contents,
577
- };
578
- return response;
579
- };
580
- const de_UntagResourceCommand = async (output, context) => {
581
- if (output.statusCode >= 300) {
582
- return de_CommandError(output, context);
583
- }
584
- const data = await core$1.parseJsonBody(output.body, context);
585
- let contents = {};
586
- contents = smithyClient._json(data);
587
- const response = {
588
- $metadata: deserializeMetadata(output),
589
- ...contents,
590
- };
591
- return response;
592
- };
593
- const de_UpdateKeyspaceCommand = async (output, context) => {
594
- if (output.statusCode >= 300) {
595
- return de_CommandError(output, context);
596
- }
597
- const data = await core$1.parseJsonBody(output.body, context);
598
- let contents = {};
599
- contents = smithyClient._json(data);
600
- const response = {
601
- $metadata: deserializeMetadata(output),
602
- ...contents,
603
- };
604
- return response;
605
- };
606
- const de_UpdateTableCommand = async (output, context) => {
607
- if (output.statusCode >= 300) {
608
- return de_CommandError(output, context);
609
- }
610
- const data = await core$1.parseJsonBody(output.body, context);
611
- let contents = {};
612
- contents = smithyClient._json(data);
613
- const response = {
614
- $metadata: deserializeMetadata(output),
615
- ...contents,
616
- };
617
- return response;
618
- };
619
- const de_CommandError = async (output, context) => {
620
- const parsedOutput = {
621
- ...output,
622
- body: await core$1.parseJsonErrorBody(output.body, context),
623
- };
624
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
625
- switch (errorCode) {
626
- case "AccessDeniedException":
627
- case "com.amazonaws.keyspaces#AccessDeniedException":
628
- throw await de_AccessDeniedExceptionRes(parsedOutput);
629
- case "ConflictException":
630
- case "com.amazonaws.keyspaces#ConflictException":
631
- throw await de_ConflictExceptionRes(parsedOutput);
632
- case "InternalServerException":
633
- case "com.amazonaws.keyspaces#InternalServerException":
634
- throw await de_InternalServerExceptionRes(parsedOutput);
635
- case "ServiceQuotaExceededException":
636
- case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
637
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
638
- case "ValidationException":
639
- case "com.amazonaws.keyspaces#ValidationException":
640
- throw await de_ValidationExceptionRes(parsedOutput);
641
- case "ResourceNotFoundException":
642
- case "com.amazonaws.keyspaces#ResourceNotFoundException":
643
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
644
- default:
645
- const parsedBody = parsedOutput.body;
646
- return throwDefaultError({
647
- output,
648
- parsedBody,
649
- errorCode,
650
- });
651
- }
652
- };
653
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
654
- const body = parsedOutput.body;
655
- const deserialized = smithyClient._json(body);
656
- const exception = new AccessDeniedException({
657
- $metadata: deserializeMetadata(parsedOutput),
658
- ...deserialized,
659
- });
660
- return smithyClient.decorateServiceException(exception, body);
661
- };
662
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
663
- const body = parsedOutput.body;
664
- const deserialized = smithyClient._json(body);
665
- const exception = new ConflictException({
666
- $metadata: deserializeMetadata(parsedOutput),
667
- ...deserialized,
668
- });
669
- return smithyClient.decorateServiceException(exception, body);
670
- };
671
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
672
- const body = parsedOutput.body;
673
- const deserialized = smithyClient._json(body);
674
- const exception = new InternalServerException({
675
- $metadata: deserializeMetadata(parsedOutput),
676
- ...deserialized,
677
- });
678
- return smithyClient.decorateServiceException(exception, body);
679
- };
680
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
681
- const body = parsedOutput.body;
682
- const deserialized = smithyClient._json(body);
683
- const exception = new ResourceNotFoundException({
684
- $metadata: deserializeMetadata(parsedOutput),
685
- ...deserialized,
686
- });
687
- return smithyClient.decorateServiceException(exception, body);
688
- };
689
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
690
- const body = parsedOutput.body;
691
- const deserialized = smithyClient._json(body);
692
- const exception = new ServiceQuotaExceededException({
693
- $metadata: deserializeMetadata(parsedOutput),
694
- ...deserialized,
695
- });
696
- return smithyClient.decorateServiceException(exception, body);
697
- };
698
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
699
- const body = parsedOutput.body;
700
- const deserialized = smithyClient._json(body);
701
- const exception = new ValidationException({
702
- $metadata: deserializeMetadata(parsedOutput),
703
- ...deserialized,
704
- });
705
- return smithyClient.decorateServiceException(exception, body);
706
- };
707
- const se_AutoScalingPolicy = (input, context) => {
708
- return smithyClient.take(input, {
709
- targetTrackingScalingPolicyConfiguration: (_) => se_TargetTrackingScalingPolicyConfiguration(_),
710
- });
711
- };
712
- const se_AutoScalingSettings = (input, context) => {
713
- return smithyClient.take(input, {
714
- autoScalingDisabled: [],
715
- maximumUnits: [],
716
- minimumUnits: [],
717
- scalingPolicy: (_) => se_AutoScalingPolicy(_),
718
- });
719
- };
720
- const se_AutoScalingSpecification = (input, context) => {
721
- return smithyClient.take(input, {
722
- readCapacityAutoScaling: (_) => se_AutoScalingSettings(_),
723
- writeCapacityAutoScaling: (_) => se_AutoScalingSettings(_),
724
- });
725
- };
726
- const se_CreateTableRequest = (input, context) => {
727
- return smithyClient.take(input, {
728
- autoScalingSpecification: (_) => se_AutoScalingSpecification(_),
729
- capacitySpecification: smithyClient._json,
730
- cdcSpecification: smithyClient._json,
731
- clientSideTimestamps: smithyClient._json,
732
- comment: smithyClient._json,
733
- defaultTimeToLive: [],
734
- encryptionSpecification: smithyClient._json,
735
- keyspaceName: [],
736
- pointInTimeRecovery: smithyClient._json,
737
- replicaSpecifications: (_) => se_ReplicaSpecificationList(_),
738
- schemaDefinition: smithyClient._json,
739
- tableName: [],
740
- tags: smithyClient._json,
741
- ttl: smithyClient._json,
742
- });
743
- };
744
- const se_ReplicaSpecification = (input, context) => {
745
- return smithyClient.take(input, {
746
- readCapacityAutoScaling: (_) => se_AutoScalingSettings(_),
747
- readCapacityUnits: [],
748
- region: [],
749
- });
750
- };
751
- const se_ReplicaSpecificationList = (input, context) => {
752
- return input
753
- .filter((e) => e != null)
754
- .map((entry) => {
755
- return se_ReplicaSpecification(entry);
756
- });
757
- };
758
- const se_RestoreTableRequest = (input, context) => {
759
- return smithyClient.take(input, {
760
- autoScalingSpecification: (_) => se_AutoScalingSpecification(_),
761
- capacitySpecificationOverride: smithyClient._json,
762
- encryptionSpecificationOverride: smithyClient._json,
763
- pointInTimeRecoveryOverride: smithyClient._json,
764
- replicaSpecifications: (_) => se_ReplicaSpecificationList(_),
765
- restoreTimestamp: (_) => _.getTime() / 1_000,
766
- sourceKeyspaceName: [],
767
- sourceTableName: [],
768
- tagsOverride: smithyClient._json,
769
- targetKeyspaceName: [],
770
- targetTableName: [],
771
- });
772
- };
773
- const se_TargetTrackingScalingPolicyConfiguration = (input, context) => {
774
- return smithyClient.take(input, {
775
- disableScaleIn: [],
776
- scaleInCooldown: [],
777
- scaleOutCooldown: [],
778
- targetValue: smithyClient.serializeFloat,
779
- });
780
- };
781
- const se_UpdateTableRequest = (input, context) => {
782
- return smithyClient.take(input, {
783
- addColumns: smithyClient._json,
784
- autoScalingSpecification: (_) => se_AutoScalingSpecification(_),
785
- capacitySpecification: smithyClient._json,
786
- cdcSpecification: smithyClient._json,
787
- clientSideTimestamps: smithyClient._json,
788
- defaultTimeToLive: [],
789
- encryptionSpecification: smithyClient._json,
790
- keyspaceName: [],
791
- pointInTimeRecovery: smithyClient._json,
792
- replicaSpecifications: (_) => se_ReplicaSpecificationList(_),
793
- tableName: [],
794
- ttl: smithyClient._json,
795
- });
796
- };
797
- const de_AutoScalingPolicy = (output, context) => {
798
- return smithyClient.take(output, {
799
- targetTrackingScalingPolicyConfiguration: (_) => de_TargetTrackingScalingPolicyConfiguration(_),
800
- });
801
- };
802
- const de_AutoScalingSettings = (output, context) => {
803
- return smithyClient.take(output, {
804
- autoScalingDisabled: smithyClient.expectBoolean,
805
- maximumUnits: smithyClient.expectLong,
806
- minimumUnits: smithyClient.expectLong,
807
- scalingPolicy: (_) => de_AutoScalingPolicy(_),
808
- });
809
- };
810
- const de_AutoScalingSpecification = (output, context) => {
811
- return smithyClient.take(output, {
812
- readCapacityAutoScaling: (_) => de_AutoScalingSettings(_),
813
- writeCapacityAutoScaling: (_) => de_AutoScalingSettings(_),
814
- });
815
- };
816
- const de_CapacitySpecificationSummary = (output, context) => {
817
- return smithyClient.take(output, {
818
- lastUpdateToPayPerRequestTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
819
- readCapacityUnits: smithyClient.expectLong,
820
- throughputMode: smithyClient.expectString,
821
- writeCapacityUnits: smithyClient.expectLong,
822
- });
823
- };
824
- const de_GetTableAutoScalingSettingsResponse = (output, context) => {
825
- return smithyClient.take(output, {
826
- autoScalingSpecification: (_) => de_AutoScalingSpecification(_),
827
- keyspaceName: smithyClient.expectString,
828
- replicaSpecifications: (_) => de_ReplicaAutoScalingSpecificationList(_),
829
- resourceArn: smithyClient.expectString,
830
- tableName: smithyClient.expectString,
831
- });
832
- };
833
- const de_GetTableResponse = (output, context) => {
834
- return smithyClient.take(output, {
835
- capacitySpecification: (_) => de_CapacitySpecificationSummary(_),
836
- cdcSpecification: smithyClient._json,
837
- clientSideTimestamps: smithyClient._json,
838
- comment: smithyClient._json,
839
- creationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
840
- defaultTimeToLive: smithyClient.expectInt32,
841
- encryptionSpecification: smithyClient._json,
842
- keyspaceName: smithyClient.expectString,
843
- latestStreamArn: smithyClient.expectString,
844
- pointInTimeRecovery: (_) => de_PointInTimeRecoverySummary(_),
845
- replicaSpecifications: (_) => de_ReplicaSpecificationSummaryList(_),
846
- resourceArn: smithyClient.expectString,
847
- schemaDefinition: smithyClient._json,
848
- status: smithyClient.expectString,
849
- tableName: smithyClient.expectString,
850
- ttl: smithyClient._json,
851
- });
852
- };
853
- const de_GetTypeResponse = (output, context) => {
854
- return smithyClient.take(output, {
855
- directParentTypes: smithyClient._json,
856
- directReferringTables: smithyClient._json,
857
- fieldDefinitions: smithyClient._json,
858
- keyspaceArn: smithyClient.expectString,
859
- keyspaceName: smithyClient.expectString,
860
- lastModifiedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
861
- maxNestingDepth: smithyClient.expectInt32,
862
- status: smithyClient.expectString,
863
- typeName: smithyClient.expectString,
864
- });
865
- };
866
- const de_PointInTimeRecoverySummary = (output, context) => {
867
- return smithyClient.take(output, {
868
- earliestRestorableTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
869
- status: smithyClient.expectString,
870
- });
871
- };
872
- const de_ReplicaAutoScalingSpecification = (output, context) => {
873
- return smithyClient.take(output, {
874
- autoScalingSpecification: (_) => de_AutoScalingSpecification(_),
875
- region: smithyClient.expectString,
876
- });
877
- };
878
- const de_ReplicaAutoScalingSpecificationList = (output, context) => {
879
- const retVal = (output || [])
880
- .filter((e) => e != null)
881
- .map((entry) => {
882
- return de_ReplicaAutoScalingSpecification(entry);
883
- });
884
- return retVal;
885
- };
886
- const de_ReplicaSpecificationSummary = (output, context) => {
887
- return smithyClient.take(output, {
888
- capacitySpecification: (_) => de_CapacitySpecificationSummary(_),
889
- region: smithyClient.expectString,
890
- status: smithyClient.expectString,
891
- });
892
- };
893
- const de_ReplicaSpecificationSummaryList = (output, context) => {
894
- const retVal = (output || [])
895
- .filter((e) => e != null)
896
- .map((entry) => {
897
- return de_ReplicaSpecificationSummary(entry);
898
- });
899
- return retVal;
900
- };
901
- const de_TargetTrackingScalingPolicyConfiguration = (output, context) => {
902
- return smithyClient.take(output, {
903
- disableScaleIn: smithyClient.expectBoolean,
904
- scaleInCooldown: smithyClient.expectInt32,
905
- scaleOutCooldown: smithyClient.expectInt32,
906
- targetValue: smithyClient.limitedParseDouble,
907
- });
908
- };
909
- const deserializeMetadata = (output) => ({
910
- httpStatusCode: output.statusCode,
911
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
912
- extendedRequestId: output.headers["x-amz-id-2"],
913
- cfId: output.headers["x-amz-cf-id"],
914
- });
915
- const throwDefaultError = smithyClient.withBaseException(KeyspacesServiceException);
916
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
917
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
918
- const contents = {
919
- protocol,
920
- hostname,
921
- port,
922
- method: "POST",
923
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
924
- headers,
925
- };
926
- if (body !== undefined) {
927
- contents.body = body;
928
- }
929
- return new protocolHttp.HttpRequest(contents);
930
- };
931
- function sharedHeaders(operation) {
932
- return {
933
- "content-type": "application/x-amz-json-1.0",
934
- "x-amz-target": `KeyspacesService.${operation}`,
935
- };
936
- }
258
+ const _ADE = "AccessDeniedException";
259
+ const _ASP = "AutoScalingPolicy";
260
+ const _ASS = "AutoScalingSettings";
261
+ const _ASSu = "AutoScalingSpecification";
262
+ const _C = "Comment";
263
+ const _CD = "ColumnDefinition";
264
+ const _CDL = "ColumnDefinitionList";
265
+ const _CE = "ConflictException";
266
+ const _CK = "ClusteringKey";
267
+ const _CKL = "ClusteringKeyList";
268
+ const _CKR = "CreateKeyspaceRequest";
269
+ const _CKRr = "CreateKeyspaceResponse";
270
+ const _CKr = "CreateKeyspace";
271
+ const _CS = "CapacitySpecification";
272
+ const _CSS = "CapacitySpecificationSummary";
273
+ const _CSSd = "CdcSpecificationSummary";
274
+ const _CST = "ClientSideTimestamps";
275
+ const _CSd = "CdcSpecification";
276
+ const _CT = "CreateTable";
277
+ const _CTR = "CreateTableRequest";
278
+ const _CTRr = "CreateTableResponse";
279
+ const _CTRre = "CreateTypeRequest";
280
+ const _CTRrea = "CreateTypeResponse";
281
+ const _CTr = "CreateType";
282
+ const _DK = "DeleteKeyspace";
283
+ const _DKR = "DeleteKeyspaceRequest";
284
+ const _DKRe = "DeleteKeyspaceResponse";
285
+ const _DT = "DeleteTable";
286
+ const _DTR = "DeleteTableRequest";
287
+ const _DTRe = "DeleteTableResponse";
288
+ const _DTRel = "DeleteTypeRequest";
289
+ const _DTRele = "DeleteTypeResponse";
290
+ const _DTe = "DeleteType";
291
+ const _ES = "EncryptionSpecification";
292
+ const _FD = "FieldDefinition";
293
+ const _FL = "FieldList";
294
+ const _GK = "GetKeyspace";
295
+ const _GKR = "GetKeyspaceRequest";
296
+ const _GKRe = "GetKeyspaceResponse";
297
+ const _GT = "GetTable";
298
+ const _GTASS = "GetTableAutoScalingSettings";
299
+ const _GTASSR = "GetTableAutoScalingSettingsRequest";
300
+ const _GTASSRe = "GetTableAutoScalingSettingsResponse";
301
+ const _GTR = "GetTableRequest";
302
+ const _GTRe = "GetTableResponse";
303
+ const _GTRet = "GetTypeRequest";
304
+ const _GTRety = "GetTypeResponse";
305
+ const _GTe = "GetType";
306
+ const _ISE = "InternalServerException";
307
+ const _KS = "KeyspaceSummary";
308
+ const _KSL = "KeyspaceSummaryList";
309
+ const _LK = "ListKeyspaces";
310
+ const _LKR = "ListKeyspacesRequest";
311
+ const _LKRi = "ListKeyspacesResponse";
312
+ const _LT = "ListTables";
313
+ const _LTFR = "ListTagsForResource";
314
+ const _LTFRR = "ListTagsForResourceRequest";
315
+ const _LTFRRi = "ListTagsForResourceResponse";
316
+ const _LTR = "ListTablesRequest";
317
+ const _LTRi = "ListTablesResponse";
318
+ const _LTRis = "ListTypesRequest";
319
+ const _LTRist = "ListTypesResponse";
320
+ const _LTi = "ListTypes";
321
+ const _PITR = "PointInTimeRecovery";
322
+ const _PITRS = "PointInTimeRecoverySummary";
323
+ const _PK = "PartitionKey";
324
+ const _PKL = "PartitionKeyList";
325
+ const _RASS = "ReplicaAutoScalingSpecification";
326
+ const _RASSL = "ReplicaAutoScalingSpecificationList";
327
+ const _RGS = "ReplicationGroupStatus";
328
+ const _RGSL = "ReplicationGroupStatusList";
329
+ const _RNFE = "ResourceNotFoundException";
330
+ const _RS = "ReplicaSpecification";
331
+ const _RSL = "ReplicaSpecificationList";
332
+ const _RSS = "ReplicaSpecificationSummary";
333
+ const _RSSL = "ReplicaSpecificationSummaryList";
334
+ const _RSe = "ReplicationSpecification";
335
+ const _RT = "RestoreTable";
336
+ const _RTR = "RestoreTableRequest";
337
+ const _RTRe = "RestoreTableResponse";
338
+ const _SC = "StaticColumn";
339
+ const _SCL = "StaticColumnList";
340
+ const _SD = "SchemaDefinition";
341
+ const _SQEE = "ServiceQuotaExceededException";
342
+ const _T = "Tag";
343
+ const _TL = "TagList";
344
+ const _TR = "TagResource";
345
+ const _TRR = "TagResourceRequest";
346
+ const _TRRa = "TagResourceResponse";
347
+ const _TS = "TableSummary";
348
+ const _TSL = "TableSummaryList";
349
+ const _TTL = "TimeToLive";
350
+ const _TTSPC = "TargetTrackingScalingPolicyConfiguration";
351
+ const _UK = "UpdateKeyspace";
352
+ const _UKR = "UpdateKeyspaceRequest";
353
+ const _UKRp = "UpdateKeyspaceResponse";
354
+ const _UR = "UntagResource";
355
+ const _URR = "UntagResourceRequest";
356
+ const _URRn = "UntagResourceResponse";
357
+ const _UT = "UpdateTable";
358
+ const _UTR = "UpdateTableRequest";
359
+ const _UTRp = "UpdateTableResponse";
360
+ const _VE = "ValidationException";
361
+ const _aC = "allColumns";
362
+ const _aCd = "addColumns";
363
+ const _aQE = "awsQueryError";
364
+ const _aSD = "autoScalingDisabled";
365
+ const _aSS = "autoScalingSpecification";
366
+ const _c = "client";
367
+ const _cK = "clusteringKeys";
368
+ const _cS = "capacitySpecification";
369
+ const _cSO = "capacitySpecificationOverride";
370
+ const _cST = "clientSideTimestamps";
371
+ const _cSd = "cdcSpecification";
372
+ const _cT = "creationTimestamp";
373
+ const _co = "comment";
374
+ const _dPT = "directParentTypes";
375
+ const _dRT = "directReferringTables";
376
+ const _dSI = "disableScaleIn";
377
+ const _dTTL = "defaultTimeToLive";
378
+ const _e = "error";
379
+ const _eRT = "earliestRestorableTimestamp";
380
+ const _eS = "encryptionSpecification";
381
+ const _eSO = "encryptionSpecificationOverride";
382
+ const _fD = "fieldDefinitions";
383
+ const _hE = "httpError";
384
+ const _k = "keyspaces";
385
+ const _kA = "keyspaceArn";
386
+ const _kKI = "kmsKeyIdentifier";
387
+ const _kN = "keyspaceName";
388
+ const _kS = "keyspaceStatus";
389
+ const _ke = "key";
390
+ const _lMT = "lastModifiedTimestamp";
391
+ const _lSA = "latestStreamArn";
392
+ const _lUTPPRT = "lastUpdateToPayPerRequestTimestamp";
393
+ const _m = "message";
394
+ const _mND = "maxNestingDepth";
395
+ const _mR = "maxResults";
396
+ const _mU = "minimumUnits";
397
+ const _mUa = "maximumUnits";
398
+ const _n = "name";
399
+ const _nT = "nextToken";
400
+ const _oB = "orderBy";
401
+ const _pITR = "pointInTimeRecovery";
402
+ const _pITRO = "pointInTimeRecoveryOverride";
403
+ const _pK = "partitionKeys";
404
+ const _pT = "propagateTags";
405
+ const _r = "region";
406
+ const _rA = "resourceArn";
407
+ const _rCAS = "readCapacityAutoScaling";
408
+ const _rCU = "readCapacityUnits";
409
+ const _rGS = "replicationGroupStatuses";
410
+ const _rL = "regionList";
411
+ const _rR = "replicationRegions";
412
+ const _rS = "replicationSpecification";
413
+ const _rSe = "replicaSpecifications";
414
+ const _rSep = "replicationStrategy";
415
+ const _rT = "restoreTimestamp";
416
+ const _rTARN = "restoredTableARN";
417
+ const _s = "status";
418
+ const _sC = "staticColumns";
419
+ const _sD = "schemaDefinition";
420
+ const _sIC = "scaleInCooldown";
421
+ const _sKN = "sourceKeyspaceName";
422
+ const _sOC = "scaleOutCooldown";
423
+ const _sP = "scalingPolicy";
424
+ const _sTN = "sourceTableName";
425
+ const _se = "server";
426
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspaces";
427
+ const _t = "tags";
428
+ const _tKN = "targetKeyspaceName";
429
+ const _tM = "throughputMode";
430
+ const _tN = "tableName";
431
+ const _tNy = "typeName";
432
+ const _tO = "tagsOverride";
433
+ const _tRP = "tablesReplicationProgress";
434
+ const _tTN = "targetTableName";
435
+ const _tTSPC = "targetTrackingScalingPolicyConfiguration";
436
+ const _tV = "targetValue";
437
+ const _ta = "tables";
438
+ const _tt = "ttl";
439
+ const _ty = "type";
440
+ const _typ = "types";
441
+ const _v = "value";
442
+ const _vT = "viewType";
443
+ const _wCAS = "writeCapacityAutoScaling";
444
+ const _wCU = "writeCapacityUnits";
445
+ const n0 = "com.amazonaws.keyspaces";
446
+ var AccessDeniedException = [
447
+ -3,
448
+ n0,
449
+ _ADE,
450
+ {
451
+ [_e]: _c,
452
+ [_hE]: 403,
453
+ [_aQE]: [`AccessDeniedException`, 403],
454
+ },
455
+ [_m],
456
+ [0],
457
+ ];
458
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
459
+ var AutoScalingPolicy = [
460
+ 3,
461
+ n0,
462
+ _ASP,
463
+ 0,
464
+ [_tTSPC],
465
+ [() => TargetTrackingScalingPolicyConfiguration],
466
+ ];
467
+ var AutoScalingSettings = [
468
+ 3,
469
+ n0,
470
+ _ASS,
471
+ 0,
472
+ [_aSD, _mU, _mUa, _sP],
473
+ [2, 1, 1, () => AutoScalingPolicy],
474
+ ];
475
+ var AutoScalingSpecification = [
476
+ 3,
477
+ n0,
478
+ _ASSu,
479
+ 0,
480
+ [_wCAS, _rCAS],
481
+ [() => AutoScalingSettings, () => AutoScalingSettings],
482
+ ];
483
+ var CapacitySpecification = [3, n0, _CS, 0, [_tM, _rCU, _wCU], [0, 1, 1]];
484
+ var CapacitySpecificationSummary = [
485
+ 3,
486
+ n0,
487
+ _CSS,
488
+ 0,
489
+ [_tM, _rCU, _wCU, _lUTPPRT],
490
+ [0, 1, 1, 4],
491
+ ];
492
+ var CdcSpecification = [3, n0, _CSd, 0, [_s, _vT, _t, _pT], [0, 0, () => TagList, 0]];
493
+ var CdcSpecificationSummary = [3, n0, _CSSd, 0, [_s, _vT], [0, 0]];
494
+ var ClientSideTimestamps = [3, n0, _CST, 0, [_s], [0]];
495
+ var ClusteringKey = [3, n0, _CK, 0, [_n, _oB], [0, 0]];
496
+ var ColumnDefinition = [3, n0, _CD, 0, [_n, _ty], [0, 0]];
497
+ var Comment = [3, n0, _C, 0, [_m], [0]];
498
+ var ConflictException = [
499
+ -3,
500
+ n0,
501
+ _CE,
502
+ {
503
+ [_e]: _c,
504
+ [_hE]: 409,
505
+ [_aQE]: [`ConflictException`, 409],
506
+ },
507
+ [_m],
508
+ [0],
509
+ ];
510
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
511
+ var CreateKeyspaceRequest = [
512
+ 3,
513
+ n0,
514
+ _CKR,
515
+ 0,
516
+ [_kN, _t, _rS],
517
+ [0, () => TagList, () => ReplicationSpecification],
518
+ ];
519
+ var CreateKeyspaceResponse = [3, n0, _CKRr, 0, [_rA], [0]];
520
+ var CreateTableRequest = [
521
+ 3,
522
+ n0,
523
+ _CTR,
524
+ 0,
525
+ [_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd],
526
+ [
527
+ 0,
528
+ 0,
529
+ () => SchemaDefinition,
530
+ () => Comment,
531
+ () => CapacitySpecification,
532
+ () => EncryptionSpecification,
533
+ () => PointInTimeRecovery,
534
+ () => TimeToLive,
535
+ 1,
536
+ () => TagList,
537
+ () => ClientSideTimestamps,
538
+ () => AutoScalingSpecification,
539
+ () => ReplicaSpecificationList,
540
+ () => CdcSpecification,
541
+ ],
542
+ ];
543
+ var CreateTableResponse = [3, n0, _CTRr, 0, [_rA], [0]];
544
+ var CreateTypeRequest = [3, n0, _CTRre, 0, [_kN, _tNy, _fD], [0, 0, () => FieldList]];
545
+ var CreateTypeResponse = [3, n0, _CTRrea, 0, [_kA, _tNy], [0, 0]];
546
+ var DeleteKeyspaceRequest = [3, n0, _DKR, 0, [_kN], [0]];
547
+ var DeleteKeyspaceResponse = [3, n0, _DKRe, 0, [], []];
548
+ var DeleteTableRequest = [3, n0, _DTR, 0, [_kN, _tN], [0, 0]];
549
+ var DeleteTableResponse = [3, n0, _DTRe, 0, [], []];
550
+ var DeleteTypeRequest = [3, n0, _DTRel, 0, [_kN, _tNy], [0, 0]];
551
+ var DeleteTypeResponse = [3, n0, _DTRele, 0, [_kA, _tNy], [0, 0]];
552
+ var EncryptionSpecification = [3, n0, _ES, 0, [_ty, _kKI], [0, 0]];
553
+ var FieldDefinition = [3, n0, _FD, 0, [_n, _ty], [0, 0]];
554
+ var GetKeyspaceRequest = [3, n0, _GKR, 0, [_kN], [0]];
555
+ var GetKeyspaceResponse = [
556
+ 3,
557
+ n0,
558
+ _GKRe,
559
+ 0,
560
+ [_kN, _rA, _rSep, _rR, _rGS],
561
+ [0, 0, 0, 64 | 0, () => ReplicationGroupStatusList],
562
+ ];
563
+ var GetTableAutoScalingSettingsRequest = [3, n0, _GTASSR, 0, [_kN, _tN], [0, 0]];
564
+ var GetTableAutoScalingSettingsResponse = [
565
+ 3,
566
+ n0,
567
+ _GTASSRe,
568
+ 0,
569
+ [_kN, _tN, _rA, _aSS, _rSe],
570
+ [0, 0, 0, () => AutoScalingSpecification, () => ReplicaAutoScalingSpecificationList],
571
+ ];
572
+ var GetTableRequest = [3, n0, _GTR, 0, [_kN, _tN], [0, 0]];
573
+ var GetTableResponse = [
574
+ 3,
575
+ n0,
576
+ _GTRe,
577
+ 0,
578
+ [_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd],
579
+ [
580
+ 0,
581
+ 0,
582
+ 0,
583
+ 4,
584
+ 0,
585
+ () => SchemaDefinition,
586
+ () => CapacitySpecificationSummary,
587
+ () => EncryptionSpecification,
588
+ () => PointInTimeRecoverySummary,
589
+ () => TimeToLive,
590
+ 1,
591
+ () => Comment,
592
+ () => ClientSideTimestamps,
593
+ () => ReplicaSpecificationSummaryList,
594
+ 0,
595
+ () => CdcSpecificationSummary,
596
+ ],
597
+ ];
598
+ var GetTypeRequest = [3, n0, _GTRet, 0, [_kN, _tNy], [0, 0]];
599
+ var GetTypeResponse = [
600
+ 3,
601
+ n0,
602
+ _GTRety,
603
+ 0,
604
+ [_kN, _tNy, _fD, _lMT, _s, _dRT, _dPT, _mND, _kA],
605
+ [0, 0, () => FieldList, 4, 0, 64 | 0, 64 | 0, 1, 0],
606
+ ];
607
+ var InternalServerException = [
608
+ -3,
609
+ n0,
610
+ _ISE,
611
+ {
612
+ [_e]: _se,
613
+ [_hE]: 500,
614
+ [_aQE]: [`InternalServerException`, 500],
615
+ },
616
+ [_m],
617
+ [0],
618
+ ];
619
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
620
+ var KeyspaceSummary = [3, n0, _KS, 0, [_kN, _rA, _rSep, _rR], [0, 0, 0, 64 | 0]];
621
+ var ListKeyspacesRequest = [3, n0, _LKR, 0, [_nT, _mR], [0, 1]];
622
+ var ListKeyspacesResponse = [3, n0, _LKRi, 0, [_nT, _k], [0, () => KeyspaceSummaryList]];
623
+ var ListTablesRequest = [3, n0, _LTR, 0, [_nT, _mR, _kN], [0, 1, 0]];
624
+ var ListTablesResponse = [3, n0, _LTRi, 0, [_nT, _ta], [0, () => TableSummaryList]];
625
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA, _nT, _mR], [0, 0, 1]];
626
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_nT, _t], [0, () => TagList]];
627
+ var ListTypesRequest = [3, n0, _LTRis, 0, [_nT, _mR, _kN], [0, 1, 0]];
628
+ var ListTypesResponse = [3, n0, _LTRist, 0, [_nT, _typ], [0, 64 | 0]];
629
+ var PartitionKey = [3, n0, _PK, 0, [_n], [0]];
630
+ var PointInTimeRecovery = [3, n0, _PITR, 0, [_s], [0]];
631
+ var PointInTimeRecoverySummary = [3, n0, _PITRS, 0, [_s, _eRT], [0, 4]];
632
+ var ReplicaAutoScalingSpecification = [
633
+ 3,
634
+ n0,
635
+ _RASS,
636
+ 0,
637
+ [_r, _aSS],
638
+ [0, () => AutoScalingSpecification],
639
+ ];
640
+ var ReplicaSpecification = [
641
+ 3,
642
+ n0,
643
+ _RS,
644
+ 0,
645
+ [_r, _rCU, _rCAS],
646
+ [0, 1, () => AutoScalingSettings],
647
+ ];
648
+ var ReplicaSpecificationSummary = [
649
+ 3,
650
+ n0,
651
+ _RSS,
652
+ 0,
653
+ [_r, _s, _cS],
654
+ [0, 0, () => CapacitySpecificationSummary],
655
+ ];
656
+ var ReplicationGroupStatus = [3, n0, _RGS, 0, [_r, _kS, _tRP], [0, 0, 0]];
657
+ var ReplicationSpecification = [3, n0, _RSe, 0, [_rSep, _rL], [0, 64 | 0]];
658
+ var ResourceNotFoundException = [
659
+ -3,
660
+ n0,
661
+ _RNFE,
662
+ {
663
+ [_e]: _c,
664
+ [_hE]: 404,
665
+ [_aQE]: [`ResourceNotFoundException`, 404],
666
+ },
667
+ [_m, _rA],
668
+ [0, 0],
669
+ ];
670
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
671
+ var RestoreTableRequest = [
672
+ 3,
673
+ n0,
674
+ _RTR,
675
+ 0,
676
+ [_sKN, _sTN, _tKN, _tTN, _rT, _cSO, _eSO, _pITRO, _tO, _aSS, _rSe],
677
+ [
678
+ 0,
679
+ 0,
680
+ 0,
681
+ 0,
682
+ 4,
683
+ () => CapacitySpecification,
684
+ () => EncryptionSpecification,
685
+ () => PointInTimeRecovery,
686
+ () => TagList,
687
+ () => AutoScalingSpecification,
688
+ () => ReplicaSpecificationList,
689
+ ],
690
+ ];
691
+ var RestoreTableResponse = [3, n0, _RTRe, 0, [_rTARN], [0]];
692
+ var SchemaDefinition = [
693
+ 3,
694
+ n0,
695
+ _SD,
696
+ 0,
697
+ [_aC, _pK, _cK, _sC],
698
+ [() => ColumnDefinitionList, () => PartitionKeyList, () => ClusteringKeyList, () => StaticColumnList],
699
+ ];
700
+ var ServiceQuotaExceededException = [
701
+ -3,
702
+ n0,
703
+ _SQEE,
704
+ {
705
+ [_e]: _c,
706
+ [_hE]: 402,
707
+ [_aQE]: [`ServiceQuotaExceededException`, 402],
708
+ },
709
+ [_m],
710
+ [0],
711
+ ];
712
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
713
+ var StaticColumn = [3, n0, _SC, 0, [_n], [0]];
714
+ var TableSummary = [3, n0, _TS, 0, [_kN, _tN, _rA], [0, 0, 0]];
715
+ var Tag = [3, n0, _T, 0, [_ke, _v], [0, 0]];
716
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, () => TagList]];
717
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
718
+ var TargetTrackingScalingPolicyConfiguration = [
719
+ 3,
720
+ n0,
721
+ _TTSPC,
722
+ 0,
723
+ [_dSI, _sIC, _sOC, _tV],
724
+ [2, 1, 1, 1],
725
+ ];
726
+ var TimeToLive = [3, n0, _TTL, 0, [_s], [0]];
727
+ var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _t], [0, () => TagList]];
728
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
729
+ var UpdateKeyspaceRequest = [
730
+ 3,
731
+ n0,
732
+ _UKR,
733
+ 0,
734
+ [_kN, _rS, _cST],
735
+ [0, () => ReplicationSpecification, () => ClientSideTimestamps],
736
+ ];
737
+ var UpdateKeyspaceResponse = [3, n0, _UKRp, 0, [_rA], [0]];
738
+ var UpdateTableRequest = [
739
+ 3,
740
+ n0,
741
+ _UTR,
742
+ 0,
743
+ [_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd],
744
+ [
745
+ 0,
746
+ 0,
747
+ () => ColumnDefinitionList,
748
+ () => CapacitySpecification,
749
+ () => EncryptionSpecification,
750
+ () => PointInTimeRecovery,
751
+ () => TimeToLive,
752
+ 1,
753
+ () => ClientSideTimestamps,
754
+ () => AutoScalingSpecification,
755
+ () => ReplicaSpecificationList,
756
+ () => CdcSpecification,
757
+ ],
758
+ ];
759
+ var UpdateTableResponse = [3, n0, _UTRp, 0, [_rA], [0]];
760
+ var ValidationException = [
761
+ -3,
762
+ n0,
763
+ _VE,
764
+ {
765
+ [_e]: _c,
766
+ [_aQE]: [`ValidationException`, 400],
767
+ },
768
+ [_m],
769
+ [0],
770
+ ];
771
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
772
+ var KeyspacesServiceException = [-3, _sm, "KeyspacesServiceException", 0, [], []];
773
+ schema.TypeRegistry.for(_sm).registerError(KeyspacesServiceException, KeyspacesServiceException$1);
774
+ var ClusteringKeyList = [1, n0, _CKL, 0, () => ClusteringKey];
775
+ var ColumnDefinitionList = [1, n0, _CDL, 0, () => ColumnDefinition];
776
+ var FieldList = [1, n0, _FL, 0, () => FieldDefinition];
777
+ var KeyspaceSummaryList = [1, n0, _KSL, 0, () => KeyspaceSummary];
778
+ var PartitionKeyList = [1, n0, _PKL, 0, () => PartitionKey];
779
+ var ReplicaAutoScalingSpecificationList = [
780
+ 1,
781
+ n0,
782
+ _RASSL,
783
+ 0,
784
+ () => ReplicaAutoScalingSpecification,
785
+ ];
786
+ var ReplicaSpecificationList = [1, n0, _RSL, 0, () => ReplicaSpecification];
787
+ var ReplicaSpecificationSummaryList = [1, n0, _RSSL, 0, () => ReplicaSpecificationSummary];
788
+ var ReplicationGroupStatusList = [1, n0, _RGSL, 0, () => ReplicationGroupStatus];
789
+ var StaticColumnList = [1, n0, _SCL, 0, () => StaticColumn];
790
+ var TableSummaryList = [1, n0, _TSL, 0, () => TableSummary];
791
+ var TagList = [1, n0, _TL, 0, () => Tag];
792
+ var CreateKeyspace = [
793
+ 9,
794
+ n0,
795
+ _CKr,
796
+ 0,
797
+ () => CreateKeyspaceRequest,
798
+ () => CreateKeyspaceResponse,
799
+ ];
800
+ var CreateTable = [9, n0, _CT, 0, () => CreateTableRequest, () => CreateTableResponse];
801
+ var CreateType = [9, n0, _CTr, 0, () => CreateTypeRequest, () => CreateTypeResponse];
802
+ var DeleteKeyspace = [
803
+ 9,
804
+ n0,
805
+ _DK,
806
+ 0,
807
+ () => DeleteKeyspaceRequest,
808
+ () => DeleteKeyspaceResponse,
809
+ ];
810
+ var DeleteTable = [9, n0, _DT, 0, () => DeleteTableRequest, () => DeleteTableResponse];
811
+ var DeleteType = [9, n0, _DTe, 0, () => DeleteTypeRequest, () => DeleteTypeResponse];
812
+ var GetKeyspace = [9, n0, _GK, 0, () => GetKeyspaceRequest, () => GetKeyspaceResponse];
813
+ var GetTable = [9, n0, _GT, 0, () => GetTableRequest, () => GetTableResponse];
814
+ var GetTableAutoScalingSettings = [
815
+ 9,
816
+ n0,
817
+ _GTASS,
818
+ 0,
819
+ () => GetTableAutoScalingSettingsRequest,
820
+ () => GetTableAutoScalingSettingsResponse,
821
+ ];
822
+ var GetType = [9, n0, _GTe, 0, () => GetTypeRequest, () => GetTypeResponse];
823
+ var ListKeyspaces = [
824
+ 9,
825
+ n0,
826
+ _LK,
827
+ 0,
828
+ () => ListKeyspacesRequest,
829
+ () => ListKeyspacesResponse,
830
+ ];
831
+ var ListTables = [9, n0, _LT, 0, () => ListTablesRequest, () => ListTablesResponse];
832
+ var ListTagsForResource = [
833
+ 9,
834
+ n0,
835
+ _LTFR,
836
+ 0,
837
+ () => ListTagsForResourceRequest,
838
+ () => ListTagsForResourceResponse,
839
+ ];
840
+ var ListTypes = [9, n0, _LTi, 0, () => ListTypesRequest, () => ListTypesResponse];
841
+ var RestoreTable = [9, n0, _RT, 0, () => RestoreTableRequest, () => RestoreTableResponse];
842
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
843
+ var UntagResource = [
844
+ 9,
845
+ n0,
846
+ _UR,
847
+ 0,
848
+ () => UntagResourceRequest,
849
+ () => UntagResourceResponse,
850
+ ];
851
+ var UpdateKeyspace = [
852
+ 9,
853
+ n0,
854
+ _UK,
855
+ 0,
856
+ () => UpdateKeyspaceRequest,
857
+ () => UpdateKeyspaceResponse,
858
+ ];
859
+ var UpdateTable = [9, n0, _UT, 0, () => UpdateTableRequest, () => UpdateTableResponse];
937
860
 
938
861
  class CreateKeyspaceCommand extends smithyClient.Command
939
862
  .classBuilder()
940
863
  .ep(commonParams)
941
864
  .m(function (Command, cs, config, o) {
942
- return [
943
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
944
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
945
- ];
865
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
946
866
  })
947
867
  .s("KeyspacesService", "CreateKeyspace", {})
948
868
  .n("KeyspacesClient", "CreateKeyspaceCommand")
949
- .f(void 0, void 0)
950
- .ser(se_CreateKeyspaceCommand)
951
- .de(de_CreateKeyspaceCommand)
869
+ .sc(CreateKeyspace)
952
870
  .build() {
953
871
  }
954
872
 
@@ -956,16 +874,11 @@ class CreateTableCommand extends smithyClient.Command
956
874
  .classBuilder()
957
875
  .ep(commonParams)
958
876
  .m(function (Command, cs, config, o) {
959
- return [
960
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
961
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
962
- ];
877
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
963
878
  })
964
879
  .s("KeyspacesService", "CreateTable", {})
965
880
  .n("KeyspacesClient", "CreateTableCommand")
966
- .f(void 0, void 0)
967
- .ser(se_CreateTableCommand)
968
- .de(de_CreateTableCommand)
881
+ .sc(CreateTable)
969
882
  .build() {
970
883
  }
971
884
 
@@ -973,16 +886,11 @@ class CreateTypeCommand extends smithyClient.Command
973
886
  .classBuilder()
974
887
  .ep(commonParams)
975
888
  .m(function (Command, cs, config, o) {
976
- return [
977
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
978
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
979
- ];
889
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
980
890
  })
981
891
  .s("KeyspacesService", "CreateType", {})
982
892
  .n("KeyspacesClient", "CreateTypeCommand")
983
- .f(void 0, void 0)
984
- .ser(se_CreateTypeCommand)
985
- .de(de_CreateTypeCommand)
893
+ .sc(CreateType)
986
894
  .build() {
987
895
  }
988
896
 
@@ -990,16 +898,11 @@ class DeleteKeyspaceCommand extends smithyClient.Command
990
898
  .classBuilder()
991
899
  .ep(commonParams)
992
900
  .m(function (Command, cs, config, o) {
993
- return [
994
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
995
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
996
- ];
901
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
997
902
  })
998
903
  .s("KeyspacesService", "DeleteKeyspace", {})
999
904
  .n("KeyspacesClient", "DeleteKeyspaceCommand")
1000
- .f(void 0, void 0)
1001
- .ser(se_DeleteKeyspaceCommand)
1002
- .de(de_DeleteKeyspaceCommand)
905
+ .sc(DeleteKeyspace)
1003
906
  .build() {
1004
907
  }
1005
908
 
@@ -1007,16 +910,11 @@ class DeleteTableCommand extends smithyClient.Command
1007
910
  .classBuilder()
1008
911
  .ep(commonParams)
1009
912
  .m(function (Command, cs, config, o) {
1010
- return [
1011
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1012
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1013
- ];
913
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1014
914
  })
1015
915
  .s("KeyspacesService", "DeleteTable", {})
1016
916
  .n("KeyspacesClient", "DeleteTableCommand")
1017
- .f(void 0, void 0)
1018
- .ser(se_DeleteTableCommand)
1019
- .de(de_DeleteTableCommand)
917
+ .sc(DeleteTable)
1020
918
  .build() {
1021
919
  }
1022
920
 
@@ -1024,16 +922,11 @@ class DeleteTypeCommand extends smithyClient.Command
1024
922
  .classBuilder()
1025
923
  .ep(commonParams)
1026
924
  .m(function (Command, cs, config, o) {
1027
- return [
1028
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1029
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1030
- ];
925
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1031
926
  })
1032
927
  .s("KeyspacesService", "DeleteType", {})
1033
928
  .n("KeyspacesClient", "DeleteTypeCommand")
1034
- .f(void 0, void 0)
1035
- .ser(se_DeleteTypeCommand)
1036
- .de(de_DeleteTypeCommand)
929
+ .sc(DeleteType)
1037
930
  .build() {
1038
931
  }
1039
932
 
@@ -1041,16 +934,11 @@ class GetKeyspaceCommand extends smithyClient.Command
1041
934
  .classBuilder()
1042
935
  .ep(commonParams)
1043
936
  .m(function (Command, cs, config, o) {
1044
- return [
1045
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1046
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1047
- ];
937
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1048
938
  })
1049
939
  .s("KeyspacesService", "GetKeyspace", {})
1050
940
  .n("KeyspacesClient", "GetKeyspaceCommand")
1051
- .f(void 0, void 0)
1052
- .ser(se_GetKeyspaceCommand)
1053
- .de(de_GetKeyspaceCommand)
941
+ .sc(GetKeyspace)
1054
942
  .build() {
1055
943
  }
1056
944
 
@@ -1058,16 +946,11 @@ class GetTableAutoScalingSettingsCommand extends smithyClient.Command
1058
946
  .classBuilder()
1059
947
  .ep(commonParams)
1060
948
  .m(function (Command, cs, config, o) {
1061
- return [
1062
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1063
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1064
- ];
949
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1065
950
  })
1066
951
  .s("KeyspacesService", "GetTableAutoScalingSettings", {})
1067
952
  .n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
1068
- .f(void 0, void 0)
1069
- .ser(se_GetTableAutoScalingSettingsCommand)
1070
- .de(de_GetTableAutoScalingSettingsCommand)
953
+ .sc(GetTableAutoScalingSettings)
1071
954
  .build() {
1072
955
  }
1073
956
 
@@ -1075,16 +958,11 @@ class GetTableCommand extends smithyClient.Command
1075
958
  .classBuilder()
1076
959
  .ep(commonParams)
1077
960
  .m(function (Command, cs, config, o) {
1078
- return [
1079
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1080
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1081
- ];
961
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1082
962
  })
1083
963
  .s("KeyspacesService", "GetTable", {})
1084
964
  .n("KeyspacesClient", "GetTableCommand")
1085
- .f(void 0, void 0)
1086
- .ser(se_GetTableCommand)
1087
- .de(de_GetTableCommand)
965
+ .sc(GetTable)
1088
966
  .build() {
1089
967
  }
1090
968
 
@@ -1092,16 +970,11 @@ class GetTypeCommand extends smithyClient.Command
1092
970
  .classBuilder()
1093
971
  .ep(commonParams)
1094
972
  .m(function (Command, cs, config, o) {
1095
- return [
1096
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1097
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1098
- ];
973
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1099
974
  })
1100
975
  .s("KeyspacesService", "GetType", {})
1101
976
  .n("KeyspacesClient", "GetTypeCommand")
1102
- .f(void 0, void 0)
1103
- .ser(se_GetTypeCommand)
1104
- .de(de_GetTypeCommand)
977
+ .sc(GetType)
1105
978
  .build() {
1106
979
  }
1107
980
 
@@ -1109,16 +982,11 @@ class ListKeyspacesCommand extends smithyClient.Command
1109
982
  .classBuilder()
1110
983
  .ep(commonParams)
1111
984
  .m(function (Command, cs, config, o) {
1112
- return [
1113
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1114
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1115
- ];
985
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1116
986
  })
1117
987
  .s("KeyspacesService", "ListKeyspaces", {})
1118
988
  .n("KeyspacesClient", "ListKeyspacesCommand")
1119
- .f(void 0, void 0)
1120
- .ser(se_ListKeyspacesCommand)
1121
- .de(de_ListKeyspacesCommand)
989
+ .sc(ListKeyspaces)
1122
990
  .build() {
1123
991
  }
1124
992
 
@@ -1126,16 +994,11 @@ class ListTablesCommand extends smithyClient.Command
1126
994
  .classBuilder()
1127
995
  .ep(commonParams)
1128
996
  .m(function (Command, cs, config, o) {
1129
- return [
1130
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1131
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1132
- ];
997
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1133
998
  })
1134
999
  .s("KeyspacesService", "ListTables", {})
1135
1000
  .n("KeyspacesClient", "ListTablesCommand")
1136
- .f(void 0, void 0)
1137
- .ser(se_ListTablesCommand)
1138
- .de(de_ListTablesCommand)
1001
+ .sc(ListTables)
1139
1002
  .build() {
1140
1003
  }
1141
1004
 
@@ -1143,16 +1006,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1143
1006
  .classBuilder()
1144
1007
  .ep(commonParams)
1145
1008
  .m(function (Command, cs, config, o) {
1146
- return [
1147
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1148
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1149
- ];
1009
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
1010
  })
1151
1011
  .s("KeyspacesService", "ListTagsForResource", {})
1152
1012
  .n("KeyspacesClient", "ListTagsForResourceCommand")
1153
- .f(void 0, void 0)
1154
- .ser(se_ListTagsForResourceCommand)
1155
- .de(de_ListTagsForResourceCommand)
1013
+ .sc(ListTagsForResource)
1156
1014
  .build() {
1157
1015
  }
1158
1016
 
@@ -1160,16 +1018,11 @@ class ListTypesCommand extends smithyClient.Command
1160
1018
  .classBuilder()
1161
1019
  .ep(commonParams)
1162
1020
  .m(function (Command, cs, config, o) {
1163
- return [
1164
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1165
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1166
- ];
1021
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1167
1022
  })
1168
1023
  .s("KeyspacesService", "ListTypes", {})
1169
1024
  .n("KeyspacesClient", "ListTypesCommand")
1170
- .f(void 0, void 0)
1171
- .ser(se_ListTypesCommand)
1172
- .de(de_ListTypesCommand)
1025
+ .sc(ListTypes)
1173
1026
  .build() {
1174
1027
  }
1175
1028
 
@@ -1177,16 +1030,11 @@ class RestoreTableCommand extends smithyClient.Command
1177
1030
  .classBuilder()
1178
1031
  .ep(commonParams)
1179
1032
  .m(function (Command, cs, config, o) {
1180
- return [
1181
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1182
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1183
- ];
1033
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
1034
  })
1185
1035
  .s("KeyspacesService", "RestoreTable", {})
1186
1036
  .n("KeyspacesClient", "RestoreTableCommand")
1187
- .f(void 0, void 0)
1188
- .ser(se_RestoreTableCommand)
1189
- .de(de_RestoreTableCommand)
1037
+ .sc(RestoreTable)
1190
1038
  .build() {
1191
1039
  }
1192
1040
 
@@ -1194,16 +1042,11 @@ class TagResourceCommand extends smithyClient.Command
1194
1042
  .classBuilder()
1195
1043
  .ep(commonParams)
1196
1044
  .m(function (Command, cs, config, o) {
1197
- return [
1198
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1199
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1200
- ];
1045
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1201
1046
  })
1202
1047
  .s("KeyspacesService", "TagResource", {})
1203
1048
  .n("KeyspacesClient", "TagResourceCommand")
1204
- .f(void 0, void 0)
1205
- .ser(se_TagResourceCommand)
1206
- .de(de_TagResourceCommand)
1049
+ .sc(TagResource)
1207
1050
  .build() {
1208
1051
  }
1209
1052
 
@@ -1211,16 +1054,11 @@ class UntagResourceCommand extends smithyClient.Command
1211
1054
  .classBuilder()
1212
1055
  .ep(commonParams)
1213
1056
  .m(function (Command, cs, config, o) {
1214
- return [
1215
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1216
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1217
- ];
1057
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1218
1058
  })
1219
1059
  .s("KeyspacesService", "UntagResource", {})
1220
1060
  .n("KeyspacesClient", "UntagResourceCommand")
1221
- .f(void 0, void 0)
1222
- .ser(se_UntagResourceCommand)
1223
- .de(de_UntagResourceCommand)
1061
+ .sc(UntagResource)
1224
1062
  .build() {
1225
1063
  }
1226
1064
 
@@ -1228,16 +1066,11 @@ class UpdateKeyspaceCommand extends smithyClient.Command
1228
1066
  .classBuilder()
1229
1067
  .ep(commonParams)
1230
1068
  .m(function (Command, cs, config, o) {
1231
- return [
1232
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1233
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1234
- ];
1069
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1235
1070
  })
1236
1071
  .s("KeyspacesService", "UpdateKeyspace", {})
1237
1072
  .n("KeyspacesClient", "UpdateKeyspaceCommand")
1238
- .f(void 0, void 0)
1239
- .ser(se_UpdateKeyspaceCommand)
1240
- .de(de_UpdateKeyspaceCommand)
1073
+ .sc(UpdateKeyspace)
1241
1074
  .build() {
1242
1075
  }
1243
1076
 
@@ -1245,16 +1078,11 @@ class UpdateTableCommand extends smithyClient.Command
1245
1078
  .classBuilder()
1246
1079
  .ep(commonParams)
1247
1080
  .m(function (Command, cs, config, o) {
1248
- return [
1249
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1250
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1251
- ];
1081
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1252
1082
  })
1253
1083
  .s("KeyspacesService", "UpdateTable", {})
1254
1084
  .n("KeyspacesClient", "UpdateTableCommand")
1255
- .f(void 0, void 0)
1256
- .ser(se_UpdateTableCommand)
1257
- .de(de_UpdateTableCommand)
1085
+ .sc(UpdateTable)
1258
1086
  .build() {
1259
1087
  }
1260
1088
 
@@ -1299,11 +1127,11 @@ Object.defineProperty(exports, "__Client", {
1299
1127
  enumerable: true,
1300
1128
  get: function () { return smithyClient.Client; }
1301
1129
  });
1302
- exports.AccessDeniedException = AccessDeniedException;
1130
+ exports.AccessDeniedException = AccessDeniedException$1;
1303
1131
  exports.CdcPropagateTags = CdcPropagateTags;
1304
1132
  exports.CdcStatus = CdcStatus;
1305
1133
  exports.ClientSideTimestampsStatus = ClientSideTimestampsStatus;
1306
- exports.ConflictException = ConflictException;
1134
+ exports.ConflictException = ConflictException$1;
1307
1135
  exports.CreateKeyspaceCommand = CreateKeyspaceCommand;
1308
1136
  exports.CreateTableCommand = CreateTableCommand;
1309
1137
  exports.CreateTypeCommand = CreateTypeCommand;
@@ -1315,20 +1143,20 @@ exports.GetKeyspaceCommand = GetKeyspaceCommand;
1315
1143
  exports.GetTableAutoScalingSettingsCommand = GetTableAutoScalingSettingsCommand;
1316
1144
  exports.GetTableCommand = GetTableCommand;
1317
1145
  exports.GetTypeCommand = GetTypeCommand;
1318
- exports.InternalServerException = InternalServerException;
1146
+ exports.InternalServerException = InternalServerException$1;
1319
1147
  exports.KeyspaceStatus = KeyspaceStatus;
1320
1148
  exports.Keyspaces = Keyspaces;
1321
1149
  exports.KeyspacesClient = KeyspacesClient;
1322
- exports.KeyspacesServiceException = KeyspacesServiceException;
1150
+ exports.KeyspacesServiceException = KeyspacesServiceException$1;
1323
1151
  exports.ListKeyspacesCommand = ListKeyspacesCommand;
1324
1152
  exports.ListTablesCommand = ListTablesCommand;
1325
1153
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1326
1154
  exports.ListTypesCommand = ListTypesCommand;
1327
1155
  exports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus;
1328
- exports.ResourceNotFoundException = ResourceNotFoundException;
1156
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1329
1157
  exports.RestoreTableCommand = RestoreTableCommand;
1330
1158
  exports.Rs = Rs;
1331
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1159
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1332
1160
  exports.SortOrder = SortOrder;
1333
1161
  exports.TableStatus = TableStatus;
1334
1162
  exports.TagResourceCommand = TagResourceCommand;
@@ -1338,7 +1166,7 @@ exports.TypeStatus = TypeStatus;
1338
1166
  exports.UntagResourceCommand = UntagResourceCommand;
1339
1167
  exports.UpdateKeyspaceCommand = UpdateKeyspaceCommand;
1340
1168
  exports.UpdateTableCommand = UpdateTableCommand;
1341
- exports.ValidationException = ValidationException;
1169
+ exports.ValidationException = ValidationException$1;
1342
1170
  exports.ViewType = ViewType;
1343
1171
  exports.paginateListKeyspaces = paginateListKeyspaces;
1344
1172
  exports.paginateListTables = paginateListTables;