@aws-sdk/client-keyspaces 3.1077.0 → 3.1079.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 (65) hide show
  1. package/dist-cjs/index.js +27 -193
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateKeyspaceCommand.js +2 -14
  4. package/dist-es/commands/CreateTableCommand.js +2 -14
  5. package/dist-es/commands/CreateTypeCommand.js +2 -14
  6. package/dist-es/commands/DeleteKeyspaceCommand.js +2 -14
  7. package/dist-es/commands/DeleteTableCommand.js +2 -14
  8. package/dist-es/commands/DeleteTypeCommand.js +2 -14
  9. package/dist-es/commands/GetKeyspaceCommand.js +2 -14
  10. package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +2 -14
  11. package/dist-es/commands/GetTableCommand.js +2 -14
  12. package/dist-es/commands/GetTypeCommand.js +2 -14
  13. package/dist-es/commands/ListKeyspacesCommand.js +2 -14
  14. package/dist-es/commands/ListTablesCommand.js +2 -14
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  16. package/dist-es/commands/ListTypesCommand.js +2 -14
  17. package/dist-es/commands/RestoreTableCommand.js +2 -14
  18. package/dist-es/commands/TagResourceCommand.js +2 -14
  19. package/dist-es/commands/UntagResourceCommand.js +2 -14
  20. package/dist-es/commands/UpdateKeyspaceCommand.js +2 -14
  21. package/dist-es/commands/UpdateTableCommand.js +2 -14
  22. package/dist-es/index.js +1 -0
  23. package/dist-types/commandBuilder.d.ts +18 -0
  24. package/dist-types/commands/CreateKeyspaceCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateTableCommand.d.ts +3 -8
  26. package/dist-types/commands/CreateTypeCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +3 -8
  28. package/dist-types/commands/DeleteTableCommand.d.ts +3 -8
  29. package/dist-types/commands/DeleteTypeCommand.d.ts +3 -8
  30. package/dist-types/commands/GetKeyspaceCommand.d.ts +3 -8
  31. package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +3 -8
  32. package/dist-types/commands/GetTableCommand.d.ts +3 -8
  33. package/dist-types/commands/GetTypeCommand.d.ts +3 -8
  34. package/dist-types/commands/ListKeyspacesCommand.d.ts +3 -8
  35. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/ListTypesCommand.d.ts +3 -8
  38. package/dist-types/commands/RestoreTableCommand.d.ts +3 -8
  39. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  41. package/dist-types/commands/UpdateKeyspaceCommand.d.ts +3 -8
  42. package/dist-types/commands/UpdateTableCommand.d.ts +3 -8
  43. package/dist-types/index.d.ts +1 -0
  44. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  45. package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/UpdateKeyspaceCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/index.d.ts +1 -0
  65. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1032,232 +1033,65 @@ class KeyspacesClient extends Client {
1032
1033
  }
1033
1034
  }
1034
1035
 
1035
- class CreateKeyspaceCommand extends Command
1036
- .classBuilder()
1037
- .ep(commonParams)
1038
- .m(function (Command, cs, config, o) {
1039
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1040
- })
1041
- .s("KeyspacesService", "CreateKeyspace", {})
1042
- .n("KeyspacesClient", "CreateKeyspaceCommand")
1043
- .sc(CreateKeyspace$)
1044
- .build() {
1036
+ const command = makeBuilder(commonParams, "KeyspacesService", "KeyspacesClient", getEndpointPlugin);
1037
+ const _ep0 = {};
1038
+ const _mw0 = (Command, cs, config, o) => [];
1039
+
1040
+ class CreateKeyspaceCommand extends command(_ep0, _mw0, "CreateKeyspace", CreateKeyspace$) {
1045
1041
  }
1046
1042
 
1047
- class CreateTableCommand extends Command
1048
- .classBuilder()
1049
- .ep(commonParams)
1050
- .m(function (Command, cs, config, o) {
1051
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1052
- })
1053
- .s("KeyspacesService", "CreateTable", {})
1054
- .n("KeyspacesClient", "CreateTableCommand")
1055
- .sc(CreateTable$)
1056
- .build() {
1043
+ class CreateTableCommand extends command(_ep0, _mw0, "CreateTable", CreateTable$) {
1057
1044
  }
1058
1045
 
1059
- class CreateTypeCommand extends Command
1060
- .classBuilder()
1061
- .ep(commonParams)
1062
- .m(function (Command, cs, config, o) {
1063
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1064
- })
1065
- .s("KeyspacesService", "CreateType", {})
1066
- .n("KeyspacesClient", "CreateTypeCommand")
1067
- .sc(CreateType$)
1068
- .build() {
1046
+ class CreateTypeCommand extends command(_ep0, _mw0, "CreateType", CreateType$) {
1069
1047
  }
1070
1048
 
1071
- class DeleteKeyspaceCommand extends Command
1072
- .classBuilder()
1073
- .ep(commonParams)
1074
- .m(function (Command, cs, config, o) {
1075
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1076
- })
1077
- .s("KeyspacesService", "DeleteKeyspace", {})
1078
- .n("KeyspacesClient", "DeleteKeyspaceCommand")
1079
- .sc(DeleteKeyspace$)
1080
- .build() {
1049
+ class DeleteKeyspaceCommand extends command(_ep0, _mw0, "DeleteKeyspace", DeleteKeyspace$) {
1081
1050
  }
1082
1051
 
1083
- class DeleteTableCommand extends Command
1084
- .classBuilder()
1085
- .ep(commonParams)
1086
- .m(function (Command, cs, config, o) {
1087
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1088
- })
1089
- .s("KeyspacesService", "DeleteTable", {})
1090
- .n("KeyspacesClient", "DeleteTableCommand")
1091
- .sc(DeleteTable$)
1092
- .build() {
1052
+ class DeleteTableCommand extends command(_ep0, _mw0, "DeleteTable", DeleteTable$) {
1093
1053
  }
1094
1054
 
1095
- class DeleteTypeCommand extends Command
1096
- .classBuilder()
1097
- .ep(commonParams)
1098
- .m(function (Command, cs, config, o) {
1099
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1100
- })
1101
- .s("KeyspacesService", "DeleteType", {})
1102
- .n("KeyspacesClient", "DeleteTypeCommand")
1103
- .sc(DeleteType$)
1104
- .build() {
1055
+ class DeleteTypeCommand extends command(_ep0, _mw0, "DeleteType", DeleteType$) {
1105
1056
  }
1106
1057
 
1107
- class GetKeyspaceCommand extends Command
1108
- .classBuilder()
1109
- .ep(commonParams)
1110
- .m(function (Command, cs, config, o) {
1111
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
- })
1113
- .s("KeyspacesService", "GetKeyspace", {})
1114
- .n("KeyspacesClient", "GetKeyspaceCommand")
1115
- .sc(GetKeyspace$)
1116
- .build() {
1058
+ class GetKeyspaceCommand extends command(_ep0, _mw0, "GetKeyspace", GetKeyspace$) {
1117
1059
  }
1118
1060
 
1119
- class GetTableAutoScalingSettingsCommand extends Command
1120
- .classBuilder()
1121
- .ep(commonParams)
1122
- .m(function (Command, cs, config, o) {
1123
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
- })
1125
- .s("KeyspacesService", "GetTableAutoScalingSettings", {})
1126
- .n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
1127
- .sc(GetTableAutoScalingSettings$)
1128
- .build() {
1061
+ class GetTableAutoScalingSettingsCommand extends command(_ep0, _mw0, "GetTableAutoScalingSettings", GetTableAutoScalingSettings$) {
1129
1062
  }
1130
1063
 
1131
- class GetTableCommand extends Command
1132
- .classBuilder()
1133
- .ep(commonParams)
1134
- .m(function (Command, cs, config, o) {
1135
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
- })
1137
- .s("KeyspacesService", "GetTable", {})
1138
- .n("KeyspacesClient", "GetTableCommand")
1139
- .sc(GetTable$)
1140
- .build() {
1064
+ class GetTableCommand extends command(_ep0, _mw0, "GetTable", GetTable$) {
1141
1065
  }
1142
1066
 
1143
- class GetTypeCommand extends Command
1144
- .classBuilder()
1145
- .ep(commonParams)
1146
- .m(function (Command, cs, config, o) {
1147
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
- })
1149
- .s("KeyspacesService", "GetType", {})
1150
- .n("KeyspacesClient", "GetTypeCommand")
1151
- .sc(GetType$)
1152
- .build() {
1067
+ class GetTypeCommand extends command(_ep0, _mw0, "GetType", GetType$) {
1153
1068
  }
1154
1069
 
1155
- class ListKeyspacesCommand extends Command
1156
- .classBuilder()
1157
- .ep(commonParams)
1158
- .m(function (Command, cs, config, o) {
1159
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
- })
1161
- .s("KeyspacesService", "ListKeyspaces", {})
1162
- .n("KeyspacesClient", "ListKeyspacesCommand")
1163
- .sc(ListKeyspaces$)
1164
- .build() {
1070
+ class ListKeyspacesCommand extends command(_ep0, _mw0, "ListKeyspaces", ListKeyspaces$) {
1165
1071
  }
1166
1072
 
1167
- class ListTablesCommand extends Command
1168
- .classBuilder()
1169
- .ep(commonParams)
1170
- .m(function (Command, cs, config, o) {
1171
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
- })
1173
- .s("KeyspacesService", "ListTables", {})
1174
- .n("KeyspacesClient", "ListTablesCommand")
1175
- .sc(ListTables$)
1176
- .build() {
1073
+ class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
1177
1074
  }
1178
1075
 
1179
- class ListTagsForResourceCommand extends Command
1180
- .classBuilder()
1181
- .ep(commonParams)
1182
- .m(function (Command, cs, config, o) {
1183
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
- })
1185
- .s("KeyspacesService", "ListTagsForResource", {})
1186
- .n("KeyspacesClient", "ListTagsForResourceCommand")
1187
- .sc(ListTagsForResource$)
1188
- .build() {
1076
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1189
1077
  }
1190
1078
 
1191
- class ListTypesCommand extends Command
1192
- .classBuilder()
1193
- .ep(commonParams)
1194
- .m(function (Command, cs, config, o) {
1195
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
- })
1197
- .s("KeyspacesService", "ListTypes", {})
1198
- .n("KeyspacesClient", "ListTypesCommand")
1199
- .sc(ListTypes$)
1200
- .build() {
1079
+ class ListTypesCommand extends command(_ep0, _mw0, "ListTypes", ListTypes$) {
1201
1080
  }
1202
1081
 
1203
- class RestoreTableCommand extends Command
1204
- .classBuilder()
1205
- .ep(commonParams)
1206
- .m(function (Command, cs, config, o) {
1207
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
- })
1209
- .s("KeyspacesService", "RestoreTable", {})
1210
- .n("KeyspacesClient", "RestoreTableCommand")
1211
- .sc(RestoreTable$)
1212
- .build() {
1082
+ class RestoreTableCommand extends command(_ep0, _mw0, "RestoreTable", RestoreTable$) {
1213
1083
  }
1214
1084
 
1215
- class TagResourceCommand extends Command
1216
- .classBuilder()
1217
- .ep(commonParams)
1218
- .m(function (Command, cs, config, o) {
1219
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
- })
1221
- .s("KeyspacesService", "TagResource", {})
1222
- .n("KeyspacesClient", "TagResourceCommand")
1223
- .sc(TagResource$)
1224
- .build() {
1085
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1225
1086
  }
1226
1087
 
1227
- class UntagResourceCommand extends Command
1228
- .classBuilder()
1229
- .ep(commonParams)
1230
- .m(function (Command, cs, config, o) {
1231
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
- })
1233
- .s("KeyspacesService", "UntagResource", {})
1234
- .n("KeyspacesClient", "UntagResourceCommand")
1235
- .sc(UntagResource$)
1236
- .build() {
1088
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1237
1089
  }
1238
1090
 
1239
- class UpdateKeyspaceCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("KeyspacesService", "UpdateKeyspace", {})
1246
- .n("KeyspacesClient", "UpdateKeyspaceCommand")
1247
- .sc(UpdateKeyspace$)
1248
- .build() {
1091
+ class UpdateKeyspaceCommand extends command(_ep0, _mw0, "UpdateKeyspace", UpdateKeyspace$) {
1249
1092
  }
1250
1093
 
1251
- class UpdateTableCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("KeyspacesService", "UpdateTable", {})
1258
- .n("KeyspacesClient", "UpdateTableCommand")
1259
- .sc(UpdateTable$)
1260
- .build() {
1094
+ class UpdateTableCommand extends command(_ep0, _mw0, "UpdateTable", UpdateTable$) {
1261
1095
  }
1262
1096
 
1263
1097
  const paginateListKeyspaces = createPaginator(KeyspacesClient, ListKeyspacesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "KeyspacesService", "KeyspacesClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateKeyspace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateKeyspaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "CreateKeyspace", {})
13
- .n("KeyspacesClient", "CreateKeyspaceCommand")
14
- .sc(CreateKeyspace$)
15
- .build() {
3
+ export class CreateKeyspaceCommand extends command(_ep0, _mw0, "CreateKeyspace", CreateKeyspace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTableCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "CreateTable", {})
13
- .n("KeyspacesClient", "CreateTableCommand")
14
- .sc(CreateTable$)
15
- .build() {
3
+ export class CreateTableCommand extends command(_ep0, _mw0, "CreateTable", CreateTable$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "CreateType", {})
13
- .n("KeyspacesClient", "CreateTypeCommand")
14
- .sc(CreateType$)
15
- .build() {
3
+ export class CreateTypeCommand extends command(_ep0, _mw0, "CreateType", CreateType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteKeyspace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteKeyspaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "DeleteKeyspace", {})
13
- .n("KeyspacesClient", "DeleteKeyspaceCommand")
14
- .sc(DeleteKeyspace$)
15
- .build() {
3
+ export class DeleteKeyspaceCommand extends command(_ep0, _mw0, "DeleteKeyspace", DeleteKeyspace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTableCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "DeleteTable", {})
13
- .n("KeyspacesClient", "DeleteTableCommand")
14
- .sc(DeleteTable$)
15
- .build() {
3
+ export class DeleteTableCommand extends command(_ep0, _mw0, "DeleteTable", DeleteTable$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "DeleteType", {})
13
- .n("KeyspacesClient", "DeleteTypeCommand")
14
- .sc(DeleteType$)
15
- .build() {
3
+ export class DeleteTypeCommand extends command(_ep0, _mw0, "DeleteType", DeleteType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetKeyspace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetKeyspaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "GetKeyspace", {})
13
- .n("KeyspacesClient", "GetKeyspaceCommand")
14
- .sc(GetKeyspace$)
15
- .build() {
3
+ export class GetKeyspaceCommand extends command(_ep0, _mw0, "GetKeyspace", GetKeyspace$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetTableAutoScalingSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTableAutoScalingSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "GetTableAutoScalingSettings", {})
13
- .n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
14
- .sc(GetTableAutoScalingSettings$)
15
- .build() {
3
+ export class GetTableAutoScalingSettingsCommand extends command(_ep0, _mw0, "GetTableAutoScalingSettings", GetTableAutoScalingSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTableCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "GetTable", {})
13
- .n("KeyspacesClient", "GetTableCommand")
14
- .sc(GetTable$)
15
- .build() {
3
+ export class GetTableCommand extends command(_ep0, _mw0, "GetTable", GetTable$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "GetType", {})
13
- .n("KeyspacesClient", "GetTypeCommand")
14
- .sc(GetType$)
15
- .build() {
3
+ export class GetTypeCommand extends command(_ep0, _mw0, "GetType", GetType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListKeyspaces$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListKeyspacesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "ListKeyspaces", {})
13
- .n("KeyspacesClient", "ListKeyspacesCommand")
14
- .sc(ListKeyspaces$)
15
- .build() {
3
+ export class ListKeyspacesCommand extends command(_ep0, _mw0, "ListKeyspaces", ListKeyspaces$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTables$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTablesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "ListTables", {})
13
- .n("KeyspacesClient", "ListTablesCommand")
14
- .sc(ListTables$)
15
- .build() {
3
+ export class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "ListTagsForResource", {})
13
- .n("KeyspacesClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTypes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTypesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "ListTypes", {})
13
- .n("KeyspacesClient", "ListTypesCommand")
14
- .sc(ListTypes$)
15
- .build() {
3
+ export class ListTypesCommand extends command(_ep0, _mw0, "ListTypes", ListTypes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreTable$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreTableCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "RestoreTable", {})
13
- .n("KeyspacesClient", "RestoreTableCommand")
14
- .sc(RestoreTable$)
15
- .build() {
3
+ export class RestoreTableCommand extends command(_ep0, _mw0, "RestoreTable", RestoreTable$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "TagResource", {})
13
- .n("KeyspacesClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "UntagResource", {})
13
- .n("KeyspacesClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateKeyspace$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateKeyspaceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KeyspacesService", "UpdateKeyspace", {})
13
- .n("KeyspacesClient", "UpdateKeyspaceCommand")
14
- .sc(UpdateKeyspace$)
15
- .build() {
3
+ export class UpdateKeyspaceCommand extends command(_ep0, _mw0, "UpdateKeyspace", UpdateKeyspace$) {
16
4
  }