@aws-sdk/client-keyspaces 3.1076.0 → 3.1078.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.
- package/dist-cjs/index.js +30 -195
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateKeyspaceCommand.js +2 -14
- package/dist-es/commands/CreateTableCommand.js +2 -14
- package/dist-es/commands/CreateTypeCommand.js +2 -14
- package/dist-es/commands/DeleteKeyspaceCommand.js +2 -14
- package/dist-es/commands/DeleteTableCommand.js +2 -14
- package/dist-es/commands/DeleteTypeCommand.js +2 -14
- package/dist-es/commands/GetKeyspaceCommand.js +2 -14
- package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +2 -14
- package/dist-es/commands/GetTableCommand.js +2 -14
- package/dist-es/commands/GetTypeCommand.js +2 -14
- package/dist-es/commands/ListKeyspacesCommand.js +2 -14
- package/dist-es/commands/ListTablesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTypesCommand.js +2 -14
- package/dist-es/commands/RestoreTableCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateKeyspaceCommand.js +2 -14
- package/dist-es/commands/UpdateTableCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +3 -8
- package/dist-types/commands/CreateTableCommand.d.ts +3 -8
- package/dist-types/commands/CreateTypeCommand.d.ts +3 -8
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTableCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTypeCommand.d.ts +3 -8
- package/dist-types/commands/GetKeyspaceCommand.d.ts +3 -8
- package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +3 -8
- package/dist-types/commands/GetTableCommand.d.ts +3 -8
- package/dist-types/commands/GetTypeCommand.d.ts +3 -8
- package/dist-types/commands/ListKeyspacesCommand.d.ts +3 -8
- package/dist-types/commands/ListTablesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTypesCommand.d.ts +3 -8
- package/dist-types/commands/RestoreTableCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateKeyspaceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateTableCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateKeyspaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
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,
|
|
4
|
-
|
|
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");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultKeyspacesHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -910,6 +912,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
910
912
|
serviceTarget: "KeyspacesService",
|
|
911
913
|
},
|
|
912
914
|
serviceId: config?.serviceId ?? "Keyspaces",
|
|
915
|
+
sha256: config?.sha256 ?? Sha256,
|
|
913
916
|
urlParser: config?.urlParser ?? parseUrl,
|
|
914
917
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
915
918
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -943,7 +946,6 @@ const getRuntimeConfig = (config) => {
|
|
|
943
946
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
944
947
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
945
948
|
}, config),
|
|
946
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
947
949
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
948
950
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
949
951
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1031,232 +1033,65 @@ class KeyspacesClient extends Client {
|
|
|
1031
1033
|
}
|
|
1032
1034
|
}
|
|
1033
1035
|
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
})
|
|
1040
|
-
.s("KeyspacesService", "CreateKeyspace", {})
|
|
1041
|
-
.n("KeyspacesClient", "CreateKeyspaceCommand")
|
|
1042
|
-
.sc(CreateKeyspace$)
|
|
1043
|
-
.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$) {
|
|
1044
1041
|
}
|
|
1045
1042
|
|
|
1046
|
-
class CreateTableCommand extends
|
|
1047
|
-
.classBuilder()
|
|
1048
|
-
.ep(commonParams)
|
|
1049
|
-
.m(function (Command, cs, config, o) {
|
|
1050
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1051
|
-
})
|
|
1052
|
-
.s("KeyspacesService", "CreateTable", {})
|
|
1053
|
-
.n("KeyspacesClient", "CreateTableCommand")
|
|
1054
|
-
.sc(CreateTable$)
|
|
1055
|
-
.build() {
|
|
1043
|
+
class CreateTableCommand extends command(_ep0, _mw0, "CreateTable", CreateTable$) {
|
|
1056
1044
|
}
|
|
1057
1045
|
|
|
1058
|
-
class CreateTypeCommand extends
|
|
1059
|
-
.classBuilder()
|
|
1060
|
-
.ep(commonParams)
|
|
1061
|
-
.m(function (Command, cs, config, o) {
|
|
1062
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1063
|
-
})
|
|
1064
|
-
.s("KeyspacesService", "CreateType", {})
|
|
1065
|
-
.n("KeyspacesClient", "CreateTypeCommand")
|
|
1066
|
-
.sc(CreateType$)
|
|
1067
|
-
.build() {
|
|
1046
|
+
class CreateTypeCommand extends command(_ep0, _mw0, "CreateType", CreateType$) {
|
|
1068
1047
|
}
|
|
1069
1048
|
|
|
1070
|
-
class DeleteKeyspaceCommand extends
|
|
1071
|
-
.classBuilder()
|
|
1072
|
-
.ep(commonParams)
|
|
1073
|
-
.m(function (Command, cs, config, o) {
|
|
1074
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1075
|
-
})
|
|
1076
|
-
.s("KeyspacesService", "DeleteKeyspace", {})
|
|
1077
|
-
.n("KeyspacesClient", "DeleteKeyspaceCommand")
|
|
1078
|
-
.sc(DeleteKeyspace$)
|
|
1079
|
-
.build() {
|
|
1049
|
+
class DeleteKeyspaceCommand extends command(_ep0, _mw0, "DeleteKeyspace", DeleteKeyspace$) {
|
|
1080
1050
|
}
|
|
1081
1051
|
|
|
1082
|
-
class DeleteTableCommand extends
|
|
1083
|
-
.classBuilder()
|
|
1084
|
-
.ep(commonParams)
|
|
1085
|
-
.m(function (Command, cs, config, o) {
|
|
1086
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1087
|
-
})
|
|
1088
|
-
.s("KeyspacesService", "DeleteTable", {})
|
|
1089
|
-
.n("KeyspacesClient", "DeleteTableCommand")
|
|
1090
|
-
.sc(DeleteTable$)
|
|
1091
|
-
.build() {
|
|
1052
|
+
class DeleteTableCommand extends command(_ep0, _mw0, "DeleteTable", DeleteTable$) {
|
|
1092
1053
|
}
|
|
1093
1054
|
|
|
1094
|
-
class DeleteTypeCommand extends
|
|
1095
|
-
.classBuilder()
|
|
1096
|
-
.ep(commonParams)
|
|
1097
|
-
.m(function (Command, cs, config, o) {
|
|
1098
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1099
|
-
})
|
|
1100
|
-
.s("KeyspacesService", "DeleteType", {})
|
|
1101
|
-
.n("KeyspacesClient", "DeleteTypeCommand")
|
|
1102
|
-
.sc(DeleteType$)
|
|
1103
|
-
.build() {
|
|
1055
|
+
class DeleteTypeCommand extends command(_ep0, _mw0, "DeleteType", DeleteType$) {
|
|
1104
1056
|
}
|
|
1105
1057
|
|
|
1106
|
-
class GetKeyspaceCommand extends
|
|
1107
|
-
.classBuilder()
|
|
1108
|
-
.ep(commonParams)
|
|
1109
|
-
.m(function (Command, cs, config, o) {
|
|
1110
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1111
|
-
})
|
|
1112
|
-
.s("KeyspacesService", "GetKeyspace", {})
|
|
1113
|
-
.n("KeyspacesClient", "GetKeyspaceCommand")
|
|
1114
|
-
.sc(GetKeyspace$)
|
|
1115
|
-
.build() {
|
|
1058
|
+
class GetKeyspaceCommand extends command(_ep0, _mw0, "GetKeyspace", GetKeyspace$) {
|
|
1116
1059
|
}
|
|
1117
1060
|
|
|
1118
|
-
class GetTableAutoScalingSettingsCommand extends
|
|
1119
|
-
.classBuilder()
|
|
1120
|
-
.ep(commonParams)
|
|
1121
|
-
.m(function (Command, cs, config, o) {
|
|
1122
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1123
|
-
})
|
|
1124
|
-
.s("KeyspacesService", "GetTableAutoScalingSettings", {})
|
|
1125
|
-
.n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
|
|
1126
|
-
.sc(GetTableAutoScalingSettings$)
|
|
1127
|
-
.build() {
|
|
1061
|
+
class GetTableAutoScalingSettingsCommand extends command(_ep0, _mw0, "GetTableAutoScalingSettings", GetTableAutoScalingSettings$) {
|
|
1128
1062
|
}
|
|
1129
1063
|
|
|
1130
|
-
class GetTableCommand extends
|
|
1131
|
-
.classBuilder()
|
|
1132
|
-
.ep(commonParams)
|
|
1133
|
-
.m(function (Command, cs, config, o) {
|
|
1134
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1135
|
-
})
|
|
1136
|
-
.s("KeyspacesService", "GetTable", {})
|
|
1137
|
-
.n("KeyspacesClient", "GetTableCommand")
|
|
1138
|
-
.sc(GetTable$)
|
|
1139
|
-
.build() {
|
|
1064
|
+
class GetTableCommand extends command(_ep0, _mw0, "GetTable", GetTable$) {
|
|
1140
1065
|
}
|
|
1141
1066
|
|
|
1142
|
-
class GetTypeCommand extends
|
|
1143
|
-
.classBuilder()
|
|
1144
|
-
.ep(commonParams)
|
|
1145
|
-
.m(function (Command, cs, config, o) {
|
|
1146
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1147
|
-
})
|
|
1148
|
-
.s("KeyspacesService", "GetType", {})
|
|
1149
|
-
.n("KeyspacesClient", "GetTypeCommand")
|
|
1150
|
-
.sc(GetType$)
|
|
1151
|
-
.build() {
|
|
1067
|
+
class GetTypeCommand extends command(_ep0, _mw0, "GetType", GetType$) {
|
|
1152
1068
|
}
|
|
1153
1069
|
|
|
1154
|
-
class ListKeyspacesCommand extends
|
|
1155
|
-
.classBuilder()
|
|
1156
|
-
.ep(commonParams)
|
|
1157
|
-
.m(function (Command, cs, config, o) {
|
|
1158
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1159
|
-
})
|
|
1160
|
-
.s("KeyspacesService", "ListKeyspaces", {})
|
|
1161
|
-
.n("KeyspacesClient", "ListKeyspacesCommand")
|
|
1162
|
-
.sc(ListKeyspaces$)
|
|
1163
|
-
.build() {
|
|
1070
|
+
class ListKeyspacesCommand extends command(_ep0, _mw0, "ListKeyspaces", ListKeyspaces$) {
|
|
1164
1071
|
}
|
|
1165
1072
|
|
|
1166
|
-
class ListTablesCommand extends
|
|
1167
|
-
.classBuilder()
|
|
1168
|
-
.ep(commonParams)
|
|
1169
|
-
.m(function (Command, cs, config, o) {
|
|
1170
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1171
|
-
})
|
|
1172
|
-
.s("KeyspacesService", "ListTables", {})
|
|
1173
|
-
.n("KeyspacesClient", "ListTablesCommand")
|
|
1174
|
-
.sc(ListTables$)
|
|
1175
|
-
.build() {
|
|
1073
|
+
class ListTablesCommand extends command(_ep0, _mw0, "ListTables", ListTables$) {
|
|
1176
1074
|
}
|
|
1177
1075
|
|
|
1178
|
-
class ListTagsForResourceCommand extends
|
|
1179
|
-
.classBuilder()
|
|
1180
|
-
.ep(commonParams)
|
|
1181
|
-
.m(function (Command, cs, config, o) {
|
|
1182
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1183
|
-
})
|
|
1184
|
-
.s("KeyspacesService", "ListTagsForResource", {})
|
|
1185
|
-
.n("KeyspacesClient", "ListTagsForResourceCommand")
|
|
1186
|
-
.sc(ListTagsForResource$)
|
|
1187
|
-
.build() {
|
|
1076
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1188
1077
|
}
|
|
1189
1078
|
|
|
1190
|
-
class ListTypesCommand extends
|
|
1191
|
-
.classBuilder()
|
|
1192
|
-
.ep(commonParams)
|
|
1193
|
-
.m(function (Command, cs, config, o) {
|
|
1194
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1195
|
-
})
|
|
1196
|
-
.s("KeyspacesService", "ListTypes", {})
|
|
1197
|
-
.n("KeyspacesClient", "ListTypesCommand")
|
|
1198
|
-
.sc(ListTypes$)
|
|
1199
|
-
.build() {
|
|
1079
|
+
class ListTypesCommand extends command(_ep0, _mw0, "ListTypes", ListTypes$) {
|
|
1200
1080
|
}
|
|
1201
1081
|
|
|
1202
|
-
class RestoreTableCommand extends
|
|
1203
|
-
.classBuilder()
|
|
1204
|
-
.ep(commonParams)
|
|
1205
|
-
.m(function (Command, cs, config, o) {
|
|
1206
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1207
|
-
})
|
|
1208
|
-
.s("KeyspacesService", "RestoreTable", {})
|
|
1209
|
-
.n("KeyspacesClient", "RestoreTableCommand")
|
|
1210
|
-
.sc(RestoreTable$)
|
|
1211
|
-
.build() {
|
|
1082
|
+
class RestoreTableCommand extends command(_ep0, _mw0, "RestoreTable", RestoreTable$) {
|
|
1212
1083
|
}
|
|
1213
1084
|
|
|
1214
|
-
class TagResourceCommand extends
|
|
1215
|
-
.classBuilder()
|
|
1216
|
-
.ep(commonParams)
|
|
1217
|
-
.m(function (Command, cs, config, o) {
|
|
1218
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1219
|
-
})
|
|
1220
|
-
.s("KeyspacesService", "TagResource", {})
|
|
1221
|
-
.n("KeyspacesClient", "TagResourceCommand")
|
|
1222
|
-
.sc(TagResource$)
|
|
1223
|
-
.build() {
|
|
1085
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1224
1086
|
}
|
|
1225
1087
|
|
|
1226
|
-
class UntagResourceCommand extends
|
|
1227
|
-
.classBuilder()
|
|
1228
|
-
.ep(commonParams)
|
|
1229
|
-
.m(function (Command, cs, config, o) {
|
|
1230
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1231
|
-
})
|
|
1232
|
-
.s("KeyspacesService", "UntagResource", {})
|
|
1233
|
-
.n("KeyspacesClient", "UntagResourceCommand")
|
|
1234
|
-
.sc(UntagResource$)
|
|
1235
|
-
.build() {
|
|
1088
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1236
1089
|
}
|
|
1237
1090
|
|
|
1238
|
-
class UpdateKeyspaceCommand extends
|
|
1239
|
-
.classBuilder()
|
|
1240
|
-
.ep(commonParams)
|
|
1241
|
-
.m(function (Command, cs, config, o) {
|
|
1242
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1243
|
-
})
|
|
1244
|
-
.s("KeyspacesService", "UpdateKeyspace", {})
|
|
1245
|
-
.n("KeyspacesClient", "UpdateKeyspaceCommand")
|
|
1246
|
-
.sc(UpdateKeyspace$)
|
|
1247
|
-
.build() {
|
|
1091
|
+
class UpdateKeyspaceCommand extends command(_ep0, _mw0, "UpdateKeyspace", UpdateKeyspace$) {
|
|
1248
1092
|
}
|
|
1249
1093
|
|
|
1250
|
-
class UpdateTableCommand extends
|
|
1251
|
-
.classBuilder()
|
|
1252
|
-
.ep(commonParams)
|
|
1253
|
-
.m(function (Command, cs, config, o) {
|
|
1254
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1255
|
-
})
|
|
1256
|
-
.s("KeyspacesService", "UpdateTable", {})
|
|
1257
|
-
.n("KeyspacesClient", "UpdateTableCommand")
|
|
1258
|
-
.sc(UpdateTable$)
|
|
1259
|
-
.build() {
|
|
1094
|
+
class UpdateTableCommand extends command(_ep0, _mw0, "UpdateTable", UpdateTable$) {
|
|
1260
1095
|
}
|
|
1261
1096
|
|
|
1262
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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
|
}
|