@aws-sdk/client-keyspaces 3.682.0 → 3.686.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 (49) hide show
  1. package/README.md +33 -1
  2. package/dist-cjs/index.js +173 -2
  3. package/dist-es/Keyspaces.js +8 -0
  4. package/dist-es/commands/CreateTypeCommand.js +22 -0
  5. package/dist-es/commands/DeleteTypeCommand.js +22 -0
  6. package/dist-es/commands/GetTypeCommand.js +22 -0
  7. package/dist-es/commands/ListTypesCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +6 -0
  10. package/dist-es/pagination/ListTypesPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_json1_0.js +89 -0
  13. package/dist-types/Keyspaces.d.ts +28 -0
  14. package/dist-types/KeyspacesClient.d.ts +6 -2
  15. package/dist-types/commands/CreateKeyspaceCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateTableCommand.d.ts +3 -2
  17. package/dist-types/commands/CreateTypeCommand.d.ts +105 -0
  18. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +2 -1
  19. package/dist-types/commands/DeleteTableCommand.d.ts +2 -1
  20. package/dist-types/commands/DeleteTypeCommand.d.ts +98 -0
  21. package/dist-types/commands/GetKeyspaceCommand.d.ts +2 -1
  22. package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +2 -1
  23. package/dist-types/commands/GetTableCommand.d.ts +5 -3
  24. package/dist-types/commands/GetTypeCommand.d.ts +112 -0
  25. package/dist-types/commands/ListKeyspacesCommand.d.ts +3 -2
  26. package/dist-types/commands/ListTablesCommand.d.ts +6 -2
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -1
  28. package/dist-types/commands/ListTypesCommand.d.ts +98 -0
  29. package/dist-types/commands/RestoreTableCommand.d.ts +2 -1
  30. package/dist-types/commands/TagResourceCommand.d.ts +7 -1
  31. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  32. package/dist-types/commands/UpdateTableCommand.d.ts +2 -1
  33. package/dist-types/commands/index.d.ts +4 -0
  34. package/dist-types/models/models_0.d.ts +268 -2
  35. package/dist-types/pagination/ListTypesPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_json1_0.d.ts +36 -0
  38. package/dist-types/ts3.4/Keyspaces.d.ts +68 -0
  39. package/dist-types/ts3.4/KeyspacesClient.d.ts +24 -0
  40. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +47 -0
  41. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +47 -0
  42. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +43 -0
  43. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +47 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +52 -0
  46. package/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +48 -0
  49. package/package.json +35 -35
package/README.md CHANGED
@@ -23,7 +23,7 @@ Guide</i>.</p>
23
23
 
24
24
  ## Installing
25
25
 
26
- To install the this package, simply type add or install @aws-sdk/client-keyspaces
26
+ To install this package, simply type add or install @aws-sdk/client-keyspaces
27
27
  using your favorite package manager:
28
28
 
29
29
  - `npm install @aws-sdk/client-keyspaces`
@@ -231,6 +231,14 @@ CreateTable
231
231
 
232
232
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/CreateTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTableCommandOutput/)
233
233
 
234
+ </details>
235
+ <details>
236
+ <summary>
237
+ CreateType
238
+ </summary>
239
+
240
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/CreateTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/CreateTypeCommandOutput/)
241
+
234
242
  </details>
235
243
  <details>
236
244
  <summary>
@@ -247,6 +255,14 @@ DeleteTable
247
255
 
248
256
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/DeleteTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTableCommandOutput/)
249
257
 
258
+ </details>
259
+ <details>
260
+ <summary>
261
+ DeleteType
262
+ </summary>
263
+
264
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/DeleteTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/DeleteTypeCommandOutput/)
265
+
250
266
  </details>
251
267
  <details>
252
268
  <summary>
@@ -271,6 +287,14 @@ GetTableAutoScalingSettings
271
287
 
272
288
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetTableAutoScalingSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableAutoScalingSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTableAutoScalingSettingsCommandOutput/)
273
289
 
290
+ </details>
291
+ <details>
292
+ <summary>
293
+ GetType
294
+ </summary>
295
+
296
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/GetTypeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTypeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/GetTypeCommandOutput/)
297
+
274
298
  </details>
275
299
  <details>
276
300
  <summary>
@@ -295,6 +319,14 @@ ListTagsForResource
295
319
 
296
320
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTagsForResourceCommandOutput/)
297
321
 
322
+ </details>
323
+ <details>
324
+ <summary>
325
+ ListTypes
326
+ </summary>
327
+
328
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/keyspaces/command/ListTypesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTypesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-keyspaces/Interface/ListTypesCommandOutput/)
329
+
298
330
  </details>
299
331
  <details>
300
332
  <summary>
package/dist-cjs/index.js CHANGED
@@ -26,12 +26,15 @@ __export(src_exports, {
26
26
  ConflictException: () => ConflictException,
27
27
  CreateKeyspaceCommand: () => CreateKeyspaceCommand,
28
28
  CreateTableCommand: () => CreateTableCommand,
29
+ CreateTypeCommand: () => CreateTypeCommand,
29
30
  DeleteKeyspaceCommand: () => DeleteKeyspaceCommand,
30
31
  DeleteTableCommand: () => DeleteTableCommand,
32
+ DeleteTypeCommand: () => DeleteTypeCommand,
31
33
  EncryptionType: () => EncryptionType,
32
34
  GetKeyspaceCommand: () => GetKeyspaceCommand,
33
35
  GetTableAutoScalingSettingsCommand: () => GetTableAutoScalingSettingsCommand,
34
36
  GetTableCommand: () => GetTableCommand,
37
+ GetTypeCommand: () => GetTypeCommand,
35
38
  InternalServerException: () => InternalServerException,
36
39
  Keyspaces: () => Keyspaces,
37
40
  KeyspacesClient: () => KeyspacesClient,
@@ -39,6 +42,7 @@ __export(src_exports, {
39
42
  ListKeyspacesCommand: () => ListKeyspacesCommand,
40
43
  ListTablesCommand: () => ListTablesCommand,
41
44
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
45
+ ListTypesCommand: () => ListTypesCommand,
42
46
  PointInTimeRecoveryStatus: () => PointInTimeRecoveryStatus,
43
47
  ResourceNotFoundException: () => ResourceNotFoundException,
44
48
  RestoreTableCommand: () => RestoreTableCommand,
@@ -49,13 +53,15 @@ __export(src_exports, {
49
53
  TagResourceCommand: () => TagResourceCommand,
50
54
  ThroughputMode: () => ThroughputMode,
51
55
  TimeToLiveStatus: () => TimeToLiveStatus,
56
+ TypeStatus: () => TypeStatus,
52
57
  UntagResourceCommand: () => UntagResourceCommand,
53
58
  UpdateTableCommand: () => UpdateTableCommand,
54
59
  ValidationException: () => ValidationException,
55
60
  __Client: () => import_smithy_client.Client,
56
61
  paginateListKeyspaces: () => paginateListKeyspaces,
57
62
  paginateListTables: () => paginateListTables,
58
- paginateListTagsForResource: () => paginateListTagsForResource
63
+ paginateListTagsForResource: () => paginateListTagsForResource,
64
+ paginateListTypes: () => paginateListTypes
59
65
  });
60
66
  module.exports = __toCommonJS(src_exports);
61
67
 
@@ -362,6 +368,12 @@ var TableStatus = {
362
368
  RESTORING: "RESTORING",
363
369
  UPDATING: "UPDATING"
364
370
  };
371
+ var TypeStatus = {
372
+ ACTIVE: "ACTIVE",
373
+ CREATING: "CREATING",
374
+ DELETING: "DELETING",
375
+ RESTORING: "RESTORING"
376
+ };
365
377
 
366
378
  // src/protocols/Aws_json1_0.ts
367
379
  var se_CreateKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -376,6 +388,12 @@ var se_CreateTableCommand = /* @__PURE__ */ __name(async (input, context) => {
376
388
  body = JSON.stringify(se_CreateTableRequest(input, context));
377
389
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
378
390
  }, "se_CreateTableCommand");
391
+ var se_CreateTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
392
+ const headers = sharedHeaders("CreateType");
393
+ let body;
394
+ body = JSON.stringify((0, import_smithy_client._json)(input));
395
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
396
+ }, "se_CreateTypeCommand");
379
397
  var se_DeleteKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {
380
398
  const headers = sharedHeaders("DeleteKeyspace");
381
399
  let body;
@@ -388,6 +406,12 @@ var se_DeleteTableCommand = /* @__PURE__ */ __name(async (input, context) => {
388
406
  body = JSON.stringify((0, import_smithy_client._json)(input));
389
407
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
390
408
  }, "se_DeleteTableCommand");
409
+ var se_DeleteTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
410
+ const headers = sharedHeaders("DeleteType");
411
+ let body;
412
+ body = JSON.stringify((0, import_smithy_client._json)(input));
413
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
414
+ }, "se_DeleteTypeCommand");
391
415
  var se_GetKeyspaceCommand = /* @__PURE__ */ __name(async (input, context) => {
392
416
  const headers = sharedHeaders("GetKeyspace");
393
417
  let body;
@@ -406,6 +430,12 @@ var se_GetTableAutoScalingSettingsCommand = /* @__PURE__ */ __name(async (input,
406
430
  body = JSON.stringify((0, import_smithy_client._json)(input));
407
431
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
408
432
  }, "se_GetTableAutoScalingSettingsCommand");
433
+ var se_GetTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
434
+ const headers = sharedHeaders("GetType");
435
+ let body;
436
+ body = JSON.stringify((0, import_smithy_client._json)(input));
437
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
438
+ }, "se_GetTypeCommand");
409
439
  var se_ListKeyspacesCommand = /* @__PURE__ */ __name(async (input, context) => {
410
440
  const headers = sharedHeaders("ListKeyspaces");
411
441
  let body;
@@ -424,6 +454,12 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
424
454
  body = JSON.stringify((0, import_smithy_client._json)(input));
425
455
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
426
456
  }, "se_ListTagsForResourceCommand");
457
+ var se_ListTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
458
+ const headers = sharedHeaders("ListTypes");
459
+ let body;
460
+ body = JSON.stringify((0, import_smithy_client._json)(input));
461
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
462
+ }, "se_ListTypesCommand");
427
463
  var se_RestoreTableCommand = /* @__PURE__ */ __name(async (input, context) => {
428
464
  const headers = sharedHeaders("RestoreTable");
429
465
  let body;
@@ -474,6 +510,19 @@ var de_CreateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
474
510
  };
475
511
  return response;
476
512
  }, "de_CreateTableCommand");
513
+ var de_CreateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
514
+ if (output.statusCode >= 300) {
515
+ return de_CommandError(output, context);
516
+ }
517
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
518
+ let contents = {};
519
+ contents = (0, import_smithy_client._json)(data);
520
+ const response = {
521
+ $metadata: deserializeMetadata(output),
522
+ ...contents
523
+ };
524
+ return response;
525
+ }, "de_CreateTypeCommand");
477
526
  var de_DeleteKeyspaceCommand = /* @__PURE__ */ __name(async (output, context) => {
478
527
  if (output.statusCode >= 300) {
479
528
  return de_CommandError(output, context);
@@ -500,6 +549,19 @@ var de_DeleteTableCommand = /* @__PURE__ */ __name(async (output, context) => {
500
549
  };
501
550
  return response;
502
551
  }, "de_DeleteTableCommand");
552
+ var de_DeleteTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
553
+ if (output.statusCode >= 300) {
554
+ return de_CommandError(output, context);
555
+ }
556
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
557
+ let contents = {};
558
+ contents = (0, import_smithy_client._json)(data);
559
+ const response = {
560
+ $metadata: deserializeMetadata(output),
561
+ ...contents
562
+ };
563
+ return response;
564
+ }, "de_DeleteTypeCommand");
503
565
  var de_GetKeyspaceCommand = /* @__PURE__ */ __name(async (output, context) => {
504
566
  if (output.statusCode >= 300) {
505
567
  return de_CommandError(output, context);
@@ -539,6 +601,19 @@ var de_GetTableAutoScalingSettingsCommand = /* @__PURE__ */ __name(async (output
539
601
  };
540
602
  return response;
541
603
  }, "de_GetTableAutoScalingSettingsCommand");
604
+ var de_GetTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
605
+ if (output.statusCode >= 300) {
606
+ return de_CommandError(output, context);
607
+ }
608
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
609
+ let contents = {};
610
+ contents = de_GetTypeResponse(data, context);
611
+ const response = {
612
+ $metadata: deserializeMetadata(output),
613
+ ...contents
614
+ };
615
+ return response;
616
+ }, "de_GetTypeCommand");
542
617
  var de_ListKeyspacesCommand = /* @__PURE__ */ __name(async (output, context) => {
543
618
  if (output.statusCode >= 300) {
544
619
  return de_CommandError(output, context);
@@ -578,6 +653,19 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
578
653
  };
579
654
  return response;
580
655
  }, "de_ListTagsForResourceCommand");
656
+ var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
657
+ if (output.statusCode >= 300) {
658
+ return de_CommandError(output, context);
659
+ }
660
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
661
+ let contents = {};
662
+ contents = (0, import_smithy_client._json)(data);
663
+ const response = {
664
+ $metadata: deserializeMetadata(output),
665
+ ...contents
666
+ };
667
+ return response;
668
+ }, "de_ListTypesCommand");
581
669
  var de_RestoreTableCommand = /* @__PURE__ */ __name(async (output, context) => {
582
670
  if (output.statusCode >= 300) {
583
671
  return de_CommandError(output, context);
@@ -858,6 +946,19 @@ var de_GetTableResponse = /* @__PURE__ */ __name((output, context) => {
858
946
  ttl: import_smithy_client._json
859
947
  });
860
948
  }, "de_GetTableResponse");
949
+ var de_GetTypeResponse = /* @__PURE__ */ __name((output, context) => {
950
+ return (0, import_smithy_client.take)(output, {
951
+ directParentTypes: import_smithy_client._json,
952
+ directReferringTables: import_smithy_client._json,
953
+ fieldDefinitions: import_smithy_client._json,
954
+ keyspaceArn: import_smithy_client.expectString,
955
+ keyspaceName: import_smithy_client.expectString,
956
+ lastModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
957
+ maxNestingDepth: import_smithy_client.expectInt32,
958
+ status: import_smithy_client.expectString,
959
+ typeName: import_smithy_client.expectString
960
+ });
961
+ }, "de_GetTypeResponse");
861
962
  var de_PointInTimeRecoverySummary = /* @__PURE__ */ __name((output, context) => {
862
963
  return (0, import_smithy_client.take)(output, {
863
964
  earliestRestorableTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -955,6 +1056,20 @@ var _CreateTableCommand = class _CreateTableCommand extends import_smithy_client
955
1056
  __name(_CreateTableCommand, "CreateTableCommand");
956
1057
  var CreateTableCommand = _CreateTableCommand;
957
1058
 
1059
+ // src/commands/CreateTypeCommand.ts
1060
+
1061
+
1062
+
1063
+ var _CreateTypeCommand = class _CreateTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1064
+ return [
1065
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1066
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1067
+ ];
1068
+ }).s("KeyspacesService", "CreateType", {}).n("KeyspacesClient", "CreateTypeCommand").f(void 0, void 0).ser(se_CreateTypeCommand).de(de_CreateTypeCommand).build() {
1069
+ };
1070
+ __name(_CreateTypeCommand, "CreateTypeCommand");
1071
+ var CreateTypeCommand = _CreateTypeCommand;
1072
+
958
1073
  // src/commands/DeleteKeyspaceCommand.ts
959
1074
 
960
1075
 
@@ -983,6 +1098,20 @@ var _DeleteTableCommand = class _DeleteTableCommand extends import_smithy_client
983
1098
  __name(_DeleteTableCommand, "DeleteTableCommand");
984
1099
  var DeleteTableCommand = _DeleteTableCommand;
985
1100
 
1101
+ // src/commands/DeleteTypeCommand.ts
1102
+
1103
+
1104
+
1105
+ var _DeleteTypeCommand = class _DeleteTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1106
+ return [
1107
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1108
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1109
+ ];
1110
+ }).s("KeyspacesService", "DeleteType", {}).n("KeyspacesClient", "DeleteTypeCommand").f(void 0, void 0).ser(se_DeleteTypeCommand).de(de_DeleteTypeCommand).build() {
1111
+ };
1112
+ __name(_DeleteTypeCommand, "DeleteTypeCommand");
1113
+ var DeleteTypeCommand = _DeleteTypeCommand;
1114
+
986
1115
  // src/commands/GetKeyspaceCommand.ts
987
1116
 
988
1117
 
@@ -1025,6 +1154,20 @@ var _GetTableCommand = class _GetTableCommand extends import_smithy_client.Comma
1025
1154
  __name(_GetTableCommand, "GetTableCommand");
1026
1155
  var GetTableCommand = _GetTableCommand;
1027
1156
 
1157
+ // src/commands/GetTypeCommand.ts
1158
+
1159
+
1160
+
1161
+ var _GetTypeCommand = class _GetTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1162
+ return [
1163
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1164
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1165
+ ];
1166
+ }).s("KeyspacesService", "GetType", {}).n("KeyspacesClient", "GetTypeCommand").f(void 0, void 0).ser(se_GetTypeCommand).de(de_GetTypeCommand).build() {
1167
+ };
1168
+ __name(_GetTypeCommand, "GetTypeCommand");
1169
+ var GetTypeCommand = _GetTypeCommand;
1170
+
1028
1171
  // src/commands/ListKeyspacesCommand.ts
1029
1172
 
1030
1173
 
@@ -1067,6 +1210,20 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
1067
1210
  __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1068
1211
  var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1069
1212
 
1213
+ // src/commands/ListTypesCommand.ts
1214
+
1215
+
1216
+
1217
+ var _ListTypesCommand = class _ListTypesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1218
+ return [
1219
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1220
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1221
+ ];
1222
+ }).s("KeyspacesService", "ListTypes", {}).n("KeyspacesClient", "ListTypesCommand").f(void 0, void 0).ser(se_ListTypesCommand).de(de_ListTypesCommand).build() {
1223
+ };
1224
+ __name(_ListTypesCommand, "ListTypesCommand");
1225
+ var ListTypesCommand = _ListTypesCommand;
1226
+
1070
1227
  // src/commands/RestoreTableCommand.ts
1071
1228
 
1072
1229
 
@@ -1127,14 +1284,18 @@ var UpdateTableCommand = _UpdateTableCommand;
1127
1284
  var commands = {
1128
1285
  CreateKeyspaceCommand,
1129
1286
  CreateTableCommand,
1287
+ CreateTypeCommand,
1130
1288
  DeleteKeyspaceCommand,
1131
1289
  DeleteTableCommand,
1290
+ DeleteTypeCommand,
1132
1291
  GetKeyspaceCommand,
1133
1292
  GetTableCommand,
1134
1293
  GetTableAutoScalingSettingsCommand,
1294
+ GetTypeCommand,
1135
1295
  ListKeyspacesCommand,
1136
1296
  ListTablesCommand,
1137
1297
  ListTagsForResourceCommand,
1298
+ ListTypesCommand,
1138
1299
  RestoreTableCommand,
1139
1300
  TagResourceCommand,
1140
1301
  UntagResourceCommand,
@@ -1157,6 +1318,10 @@ var paginateListTables = (0, import_core.createPaginator)(KeyspacesClient, ListT
1157
1318
  // src/pagination/ListTagsForResourcePaginator.ts
1158
1319
 
1159
1320
  var paginateListTagsForResource = (0, import_core.createPaginator)(KeyspacesClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
1321
+
1322
+ // src/pagination/ListTypesPaginator.ts
1323
+
1324
+ var paginateListTypes = (0, import_core.createPaginator)(KeyspacesClient, ListTypesCommand, "nextToken", "nextToken", "maxResults");
1160
1325
  // Annotate the CommonJS export names for ESM import in node:
1161
1326
 
1162
1327
  0 && (module.exports = {
@@ -1167,14 +1332,18 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(KeyspacesClie
1167
1332
  $Command,
1168
1333
  CreateKeyspaceCommand,
1169
1334
  CreateTableCommand,
1335
+ CreateTypeCommand,
1170
1336
  DeleteKeyspaceCommand,
1171
1337
  DeleteTableCommand,
1338
+ DeleteTypeCommand,
1172
1339
  GetKeyspaceCommand,
1173
1340
  GetTableAutoScalingSettingsCommand,
1174
1341
  GetTableCommand,
1342
+ GetTypeCommand,
1175
1343
  ListKeyspacesCommand,
1176
1344
  ListTablesCommand,
1177
1345
  ListTagsForResourceCommand,
1346
+ ListTypesCommand,
1178
1347
  RestoreTableCommand,
1179
1348
  TagResourceCommand,
1180
1349
  UntagResourceCommand,
@@ -1182,6 +1351,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(KeyspacesClie
1182
1351
  paginateListKeyspaces,
1183
1352
  paginateListTables,
1184
1353
  paginateListTagsForResource,
1354
+ paginateListTypes,
1185
1355
  AccessDeniedException,
1186
1356
  ThroughputMode,
1187
1357
  ClientSideTimestampsStatus,
@@ -1195,6 +1365,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(KeyspacesClie
1195
1365
  PointInTimeRecoveryStatus,
1196
1366
  TimeToLiveStatus,
1197
1367
  ResourceNotFoundException,
1198
- TableStatus
1368
+ TableStatus,
1369
+ TypeStatus
1199
1370
  });
1200
1371
 
@@ -1,14 +1,18 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { CreateKeyspaceCommand, } from "./commands/CreateKeyspaceCommand";
3
3
  import { CreateTableCommand } from "./commands/CreateTableCommand";
4
+ import { CreateTypeCommand } from "./commands/CreateTypeCommand";
4
5
  import { DeleteKeyspaceCommand, } from "./commands/DeleteKeyspaceCommand";
5
6
  import { DeleteTableCommand } from "./commands/DeleteTableCommand";
7
+ import { DeleteTypeCommand } from "./commands/DeleteTypeCommand";
6
8
  import { GetKeyspaceCommand } from "./commands/GetKeyspaceCommand";
7
9
  import { GetTableAutoScalingSettingsCommand, } from "./commands/GetTableAutoScalingSettingsCommand";
8
10
  import { GetTableCommand } from "./commands/GetTableCommand";
11
+ import { GetTypeCommand } from "./commands/GetTypeCommand";
9
12
  import { ListKeyspacesCommand, } from "./commands/ListKeyspacesCommand";
10
13
  import { ListTablesCommand } from "./commands/ListTablesCommand";
11
14
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
15
+ import { ListTypesCommand } from "./commands/ListTypesCommand";
12
16
  import { RestoreTableCommand, } from "./commands/RestoreTableCommand";
13
17
  import { TagResourceCommand } from "./commands/TagResourceCommand";
14
18
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -17,14 +21,18 @@ import { KeyspacesClient } from "./KeyspacesClient";
17
21
  const commands = {
18
22
  CreateKeyspaceCommand,
19
23
  CreateTableCommand,
24
+ CreateTypeCommand,
20
25
  DeleteKeyspaceCommand,
21
26
  DeleteTableCommand,
27
+ DeleteTypeCommand,
22
28
  GetKeyspaceCommand,
23
29
  GetTableCommand,
24
30
  GetTableAutoScalingSettingsCommand,
31
+ GetTypeCommand,
25
32
  ListKeyspacesCommand,
26
33
  ListTablesCommand,
27
34
  ListTagsForResourceCommand,
35
+ ListTypesCommand,
28
36
  RestoreTableCommand,
29
37
  TagResourceCommand,
30
38
  UntagResourceCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateTypeCommand, se_CreateTypeCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("KeyspacesService", "CreateType", {})
17
+ .n("KeyspacesClient", "CreateTypeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateTypeCommand)
20
+ .de(de_CreateTypeCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteTypeCommand, se_DeleteTypeCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("KeyspacesService", "DeleteType", {})
17
+ .n("KeyspacesClient", "DeleteTypeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteTypeCommand)
20
+ .de(de_DeleteTypeCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTypeCommand, se_GetTypeCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("KeyspacesService", "GetType", {})
17
+ .n("KeyspacesClient", "GetTypeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTypeCommand)
20
+ .de(de_GetTypeCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTypesCommand, se_ListTypesCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListTypesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("KeyspacesService", "ListTypes", {})
17
+ .n("KeyspacesClient", "ListTypesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTypesCommand)
20
+ .de(de_ListTypesCommand)
21
+ .build() {
22
+ }
@@ -1,13 +1,17 @@
1
1
  export * from "./CreateKeyspaceCommand";
2
2
  export * from "./CreateTableCommand";
3
+ export * from "./CreateTypeCommand";
3
4
  export * from "./DeleteKeyspaceCommand";
4
5
  export * from "./DeleteTableCommand";
6
+ export * from "./DeleteTypeCommand";
5
7
  export * from "./GetKeyspaceCommand";
6
8
  export * from "./GetTableAutoScalingSettingsCommand";
7
9
  export * from "./GetTableCommand";
10
+ export * from "./GetTypeCommand";
8
11
  export * from "./ListKeyspacesCommand";
9
12
  export * from "./ListTablesCommand";
10
13
  export * from "./ListTagsForResourceCommand";
14
+ export * from "./ListTypesCommand";
11
15
  export * from "./RestoreTableCommand";
12
16
  export * from "./TagResourceCommand";
13
17
  export * from "./UntagResourceCommand";
@@ -107,3 +107,9 @@ export const TableStatus = {
107
107
  RESTORING: "RESTORING",
108
108
  UPDATING: "UPDATING",
109
109
  };
110
+ export const TypeStatus = {
111
+ ACTIVE: "ACTIVE",
112
+ CREATING: "CREATING",
113
+ DELETING: "DELETING",
114
+ RESTORING: "RESTORING",
115
+ };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTypesCommand } from "../commands/ListTypesCommand";
3
+ import { KeyspacesClient } from "../KeyspacesClient";
4
+ export const paginateListTypes = createPaginator(KeyspacesClient, ListTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -2,3 +2,4 @@ export * from "./Interfaces";
2
2
  export * from "./ListKeyspacesPaginator";
3
3
  export * from "./ListTablesPaginator";
4
4
  export * from "./ListTagsForResourcePaginator";
5
+ export * from "./ListTypesPaginator";