@aws-sdk/client-timestream-query 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.
- package/dist-cjs/index.js +31 -252
- package/dist-es/commandBuilder.js +14 -0
- package/dist-es/commands/CancelQueryCommand.js +2 -22
- package/dist-es/commands/CreateScheduledQueryCommand.js +2 -22
- package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -22
- package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -22
- package/dist-es/commands/DescribeEndpointsCommand.js +2 -14
- package/dist-es/commands/DescribeScheduledQueryCommand.js +2 -22
- package/dist-es/commands/ExecuteScheduledQueryCommand.js +2 -22
- package/dist-es/commands/ListScheduledQueriesCommand.js +2 -22
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -22
- package/dist-es/commands/PrepareQueryCommand.js +2 -22
- package/dist-es/commands/QueryCommand.js +2 -22
- package/dist-es/commands/TagResourceCommand.js +2 -22
- package/dist-es/commands/UntagResourceCommand.js +2 -22
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -22
- package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -22
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +3 -8
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +3 -8
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +3 -8
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +3 -8
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PrepareQueryCommand.d.ts +3 -8
- package/dist-types/commands/QueryCommand.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/UpdateAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/QueryCommand.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/UpdateAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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
|
-
const { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, resolveEndpointDiscoveryConfig
|
|
2
|
+
const { getEndpointDiscoveryPlugin, NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, resolveEndpointDiscoveryConfig } = require("@aws-sdk/middleware-endpoint-discovery");
|
|
3
3
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { normalizeProvider, getSmithyContext,
|
|
5
|
-
|
|
4
|
+
const { normalizeProvider, getSmithyContext, makeBuilder, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
6
|
+
exports.$Command = $Command;
|
|
6
7
|
exports.__Client = Client;
|
|
7
8
|
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");
|
|
8
9
|
const { getEndpointPlugin, BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig } = require("@smithy/core/endpoints");
|
|
@@ -69,6 +70,17 @@ const commonParams = {
|
|
|
69
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
71
|
};
|
|
71
72
|
|
|
73
|
+
const command = makeBuilder(commonParams, "Timestream_20181101", "TimestreamQueryClient", getEndpointPlugin);
|
|
74
|
+
const _ep0 = {};
|
|
75
|
+
const _mw0 = (Command, cs, config, o) => [
|
|
76
|
+
getEndpointDiscoveryPlugin(config, {
|
|
77
|
+
clientStack: cs,
|
|
78
|
+
options: o,
|
|
79
|
+
isDiscoveredEndpointRequired: true,
|
|
80
|
+
}),
|
|
81
|
+
];
|
|
82
|
+
const _mw1 = (Command, cs, config, o) => [];
|
|
83
|
+
|
|
72
84
|
class TimestreamQueryServiceException extends ServiceException {
|
|
73
85
|
constructor(options) {
|
|
74
86
|
super(options);
|
|
@@ -917,19 +929,10 @@ var UpdateScheduledQuery$ = [9, n0, _USQ,
|
|
|
917
929
|
0, () => UpdateScheduledQueryRequest$, () => __Unit
|
|
918
930
|
];
|
|
919
931
|
|
|
920
|
-
class DescribeEndpointsCommand extends
|
|
921
|
-
.classBuilder()
|
|
922
|
-
.ep(commonParams)
|
|
923
|
-
.m(function (Command, cs, config, o) {
|
|
924
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
925
|
-
})
|
|
926
|
-
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
927
|
-
.n("TimestreamQueryClient", "DescribeEndpointsCommand")
|
|
928
|
-
.sc(DescribeEndpoints$)
|
|
929
|
-
.build() {
|
|
932
|
+
class DescribeEndpointsCommand extends command(_ep0, _mw1, "DescribeEndpoints", DescribeEndpoints$) {
|
|
930
933
|
}
|
|
931
934
|
|
|
932
|
-
var version = "3.
|
|
935
|
+
var version = "3.1078.0";
|
|
933
936
|
var packageInfo = {
|
|
934
937
|
version: version};
|
|
935
938
|
|
|
@@ -1149,270 +1152,46 @@ class TimestreamQueryClient extends Client {
|
|
|
1149
1152
|
}
|
|
1150
1153
|
}
|
|
1151
1154
|
|
|
1152
|
-
class CancelQueryCommand extends
|
|
1153
|
-
.classBuilder()
|
|
1154
|
-
.ep(commonParams)
|
|
1155
|
-
.m(function (Command, cs, config, o) {
|
|
1156
|
-
return [
|
|
1157
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1158
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1159
|
-
clientStack: cs,
|
|
1160
|
-
isDiscoveredEndpointRequired: true,
|
|
1161
|
-
options: o,
|
|
1162
|
-
}),
|
|
1163
|
-
];
|
|
1164
|
-
})
|
|
1165
|
-
.s("Timestream_20181101", "CancelQuery", {})
|
|
1166
|
-
.n("TimestreamQueryClient", "CancelQueryCommand")
|
|
1167
|
-
.sc(CancelQuery$)
|
|
1168
|
-
.build() {
|
|
1155
|
+
class CancelQueryCommand extends command(_ep0, _mw0, "CancelQuery", CancelQuery$) {
|
|
1169
1156
|
}
|
|
1170
1157
|
|
|
1171
|
-
class CreateScheduledQueryCommand extends
|
|
1172
|
-
.classBuilder()
|
|
1173
|
-
.ep(commonParams)
|
|
1174
|
-
.m(function (Command, cs, config, o) {
|
|
1175
|
-
return [
|
|
1176
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1177
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1178
|
-
clientStack: cs,
|
|
1179
|
-
isDiscoveredEndpointRequired: true,
|
|
1180
|
-
options: o,
|
|
1181
|
-
}),
|
|
1182
|
-
];
|
|
1183
|
-
})
|
|
1184
|
-
.s("Timestream_20181101", "CreateScheduledQuery", {})
|
|
1185
|
-
.n("TimestreamQueryClient", "CreateScheduledQueryCommand")
|
|
1186
|
-
.sc(CreateScheduledQuery$)
|
|
1187
|
-
.build() {
|
|
1158
|
+
class CreateScheduledQueryCommand extends command(_ep0, _mw0, "CreateScheduledQuery", CreateScheduledQuery$) {
|
|
1188
1159
|
}
|
|
1189
1160
|
|
|
1190
|
-
class DeleteScheduledQueryCommand extends
|
|
1191
|
-
.classBuilder()
|
|
1192
|
-
.ep(commonParams)
|
|
1193
|
-
.m(function (Command, cs, config, o) {
|
|
1194
|
-
return [
|
|
1195
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1196
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1197
|
-
clientStack: cs,
|
|
1198
|
-
isDiscoveredEndpointRequired: true,
|
|
1199
|
-
options: o,
|
|
1200
|
-
}),
|
|
1201
|
-
];
|
|
1202
|
-
})
|
|
1203
|
-
.s("Timestream_20181101", "DeleteScheduledQuery", {})
|
|
1204
|
-
.n("TimestreamQueryClient", "DeleteScheduledQueryCommand")
|
|
1205
|
-
.sc(DeleteScheduledQuery$)
|
|
1206
|
-
.build() {
|
|
1161
|
+
class DeleteScheduledQueryCommand extends command(_ep0, _mw0, "DeleteScheduledQuery", DeleteScheduledQuery$) {
|
|
1207
1162
|
}
|
|
1208
1163
|
|
|
1209
|
-
class DescribeAccountSettingsCommand extends
|
|
1210
|
-
.classBuilder()
|
|
1211
|
-
.ep(commonParams)
|
|
1212
|
-
.m(function (Command, cs, config, o) {
|
|
1213
|
-
return [
|
|
1214
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1215
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1216
|
-
clientStack: cs,
|
|
1217
|
-
isDiscoveredEndpointRequired: true,
|
|
1218
|
-
options: o,
|
|
1219
|
-
}),
|
|
1220
|
-
];
|
|
1221
|
-
})
|
|
1222
|
-
.s("Timestream_20181101", "DescribeAccountSettings", {})
|
|
1223
|
-
.n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
|
|
1224
|
-
.sc(DescribeAccountSettings$)
|
|
1225
|
-
.build() {
|
|
1164
|
+
class DescribeAccountSettingsCommand extends command(_ep0, _mw0, "DescribeAccountSettings", DescribeAccountSettings$) {
|
|
1226
1165
|
}
|
|
1227
1166
|
|
|
1228
|
-
class DescribeScheduledQueryCommand extends
|
|
1229
|
-
.classBuilder()
|
|
1230
|
-
.ep(commonParams)
|
|
1231
|
-
.m(function (Command, cs, config, o) {
|
|
1232
|
-
return [
|
|
1233
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1234
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1235
|
-
clientStack: cs,
|
|
1236
|
-
isDiscoveredEndpointRequired: true,
|
|
1237
|
-
options: o,
|
|
1238
|
-
}),
|
|
1239
|
-
];
|
|
1240
|
-
})
|
|
1241
|
-
.s("Timestream_20181101", "DescribeScheduledQuery", {})
|
|
1242
|
-
.n("TimestreamQueryClient", "DescribeScheduledQueryCommand")
|
|
1243
|
-
.sc(DescribeScheduledQuery$)
|
|
1244
|
-
.build() {
|
|
1167
|
+
class DescribeScheduledQueryCommand extends command(_ep0, _mw0, "DescribeScheduledQuery", DescribeScheduledQuery$) {
|
|
1245
1168
|
}
|
|
1246
1169
|
|
|
1247
|
-
class ExecuteScheduledQueryCommand extends
|
|
1248
|
-
.classBuilder()
|
|
1249
|
-
.ep(commonParams)
|
|
1250
|
-
.m(function (Command, cs, config, o) {
|
|
1251
|
-
return [
|
|
1252
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1253
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1254
|
-
clientStack: cs,
|
|
1255
|
-
isDiscoveredEndpointRequired: true,
|
|
1256
|
-
options: o,
|
|
1257
|
-
}),
|
|
1258
|
-
];
|
|
1259
|
-
})
|
|
1260
|
-
.s("Timestream_20181101", "ExecuteScheduledQuery", {})
|
|
1261
|
-
.n("TimestreamQueryClient", "ExecuteScheduledQueryCommand")
|
|
1262
|
-
.sc(ExecuteScheduledQuery$)
|
|
1263
|
-
.build() {
|
|
1170
|
+
class ExecuteScheduledQueryCommand extends command(_ep0, _mw0, "ExecuteScheduledQuery", ExecuteScheduledQuery$) {
|
|
1264
1171
|
}
|
|
1265
1172
|
|
|
1266
|
-
class ListScheduledQueriesCommand extends
|
|
1267
|
-
.classBuilder()
|
|
1268
|
-
.ep(commonParams)
|
|
1269
|
-
.m(function (Command, cs, config, o) {
|
|
1270
|
-
return [
|
|
1271
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1272
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1273
|
-
clientStack: cs,
|
|
1274
|
-
isDiscoveredEndpointRequired: true,
|
|
1275
|
-
options: o,
|
|
1276
|
-
}),
|
|
1277
|
-
];
|
|
1278
|
-
})
|
|
1279
|
-
.s("Timestream_20181101", "ListScheduledQueries", {})
|
|
1280
|
-
.n("TimestreamQueryClient", "ListScheduledQueriesCommand")
|
|
1281
|
-
.sc(ListScheduledQueries$)
|
|
1282
|
-
.build() {
|
|
1173
|
+
class ListScheduledQueriesCommand extends command(_ep0, _mw0, "ListScheduledQueries", ListScheduledQueries$) {
|
|
1283
1174
|
}
|
|
1284
1175
|
|
|
1285
|
-
class ListTagsForResourceCommand extends
|
|
1286
|
-
.classBuilder()
|
|
1287
|
-
.ep(commonParams)
|
|
1288
|
-
.m(function (Command, cs, config, o) {
|
|
1289
|
-
return [
|
|
1290
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1291
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1292
|
-
clientStack: cs,
|
|
1293
|
-
isDiscoveredEndpointRequired: true,
|
|
1294
|
-
options: o,
|
|
1295
|
-
}),
|
|
1296
|
-
];
|
|
1297
|
-
})
|
|
1298
|
-
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
1299
|
-
.n("TimestreamQueryClient", "ListTagsForResourceCommand")
|
|
1300
|
-
.sc(ListTagsForResource$)
|
|
1301
|
-
.build() {
|
|
1176
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1302
1177
|
}
|
|
1303
1178
|
|
|
1304
|
-
class PrepareQueryCommand extends
|
|
1305
|
-
.classBuilder()
|
|
1306
|
-
.ep(commonParams)
|
|
1307
|
-
.m(function (Command, cs, config, o) {
|
|
1308
|
-
return [
|
|
1309
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1310
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1311
|
-
clientStack: cs,
|
|
1312
|
-
isDiscoveredEndpointRequired: true,
|
|
1313
|
-
options: o,
|
|
1314
|
-
}),
|
|
1315
|
-
];
|
|
1316
|
-
})
|
|
1317
|
-
.s("Timestream_20181101", "PrepareQuery", {})
|
|
1318
|
-
.n("TimestreamQueryClient", "PrepareQueryCommand")
|
|
1319
|
-
.sc(PrepareQuery$)
|
|
1320
|
-
.build() {
|
|
1179
|
+
class PrepareQueryCommand extends command(_ep0, _mw0, "PrepareQuery", PrepareQuery$) {
|
|
1321
1180
|
}
|
|
1322
1181
|
|
|
1323
|
-
class QueryCommand extends
|
|
1324
|
-
.classBuilder()
|
|
1325
|
-
.ep(commonParams)
|
|
1326
|
-
.m(function (Command, cs, config, o) {
|
|
1327
|
-
return [
|
|
1328
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1329
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1330
|
-
clientStack: cs,
|
|
1331
|
-
isDiscoveredEndpointRequired: true,
|
|
1332
|
-
options: o,
|
|
1333
|
-
}),
|
|
1334
|
-
];
|
|
1335
|
-
})
|
|
1336
|
-
.s("Timestream_20181101", "Query", {})
|
|
1337
|
-
.n("TimestreamQueryClient", "QueryCommand")
|
|
1338
|
-
.sc(Query$)
|
|
1339
|
-
.build() {
|
|
1182
|
+
class QueryCommand extends command(_ep0, _mw0, "Query", Query$) {
|
|
1340
1183
|
}
|
|
1341
1184
|
|
|
1342
|
-
class TagResourceCommand extends
|
|
1343
|
-
.classBuilder()
|
|
1344
|
-
.ep(commonParams)
|
|
1345
|
-
.m(function (Command, cs, config, o) {
|
|
1346
|
-
return [
|
|
1347
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1348
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1349
|
-
clientStack: cs,
|
|
1350
|
-
isDiscoveredEndpointRequired: true,
|
|
1351
|
-
options: o,
|
|
1352
|
-
}),
|
|
1353
|
-
];
|
|
1354
|
-
})
|
|
1355
|
-
.s("Timestream_20181101", "TagResource", {})
|
|
1356
|
-
.n("TimestreamQueryClient", "TagResourceCommand")
|
|
1357
|
-
.sc(TagResource$)
|
|
1358
|
-
.build() {
|
|
1185
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1359
1186
|
}
|
|
1360
1187
|
|
|
1361
|
-
class UntagResourceCommand extends
|
|
1362
|
-
.classBuilder()
|
|
1363
|
-
.ep(commonParams)
|
|
1364
|
-
.m(function (Command, cs, config, o) {
|
|
1365
|
-
return [
|
|
1366
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1367
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1368
|
-
clientStack: cs,
|
|
1369
|
-
isDiscoveredEndpointRequired: true,
|
|
1370
|
-
options: o,
|
|
1371
|
-
}),
|
|
1372
|
-
];
|
|
1373
|
-
})
|
|
1374
|
-
.s("Timestream_20181101", "UntagResource", {})
|
|
1375
|
-
.n("TimestreamQueryClient", "UntagResourceCommand")
|
|
1376
|
-
.sc(UntagResource$)
|
|
1377
|
-
.build() {
|
|
1188
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1378
1189
|
}
|
|
1379
1190
|
|
|
1380
|
-
class UpdateAccountSettingsCommand extends
|
|
1381
|
-
.classBuilder()
|
|
1382
|
-
.ep(commonParams)
|
|
1383
|
-
.m(function (Command, cs, config, o) {
|
|
1384
|
-
return [
|
|
1385
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1386
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1387
|
-
clientStack: cs,
|
|
1388
|
-
isDiscoveredEndpointRequired: true,
|
|
1389
|
-
options: o,
|
|
1390
|
-
}),
|
|
1391
|
-
];
|
|
1392
|
-
})
|
|
1393
|
-
.s("Timestream_20181101", "UpdateAccountSettings", {})
|
|
1394
|
-
.n("TimestreamQueryClient", "UpdateAccountSettingsCommand")
|
|
1395
|
-
.sc(UpdateAccountSettings$)
|
|
1396
|
-
.build() {
|
|
1191
|
+
class UpdateAccountSettingsCommand extends command(_ep0, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
|
|
1397
1192
|
}
|
|
1398
1193
|
|
|
1399
|
-
class UpdateScheduledQueryCommand extends
|
|
1400
|
-
.classBuilder()
|
|
1401
|
-
.ep(commonParams)
|
|
1402
|
-
.m(function (Command, cs, config, o) {
|
|
1403
|
-
return [
|
|
1404
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1405
|
-
getEndpointDiscoveryPlugin(config, {
|
|
1406
|
-
clientStack: cs,
|
|
1407
|
-
isDiscoveredEndpointRequired: true,
|
|
1408
|
-
options: o,
|
|
1409
|
-
}),
|
|
1410
|
-
];
|
|
1411
|
-
})
|
|
1412
|
-
.s("Timestream_20181101", "UpdateScheduledQuery", {})
|
|
1413
|
-
.n("TimestreamQueryClient", "UpdateScheduledQueryCommand")
|
|
1414
|
-
.sc(UpdateScheduledQuery$)
|
|
1415
|
-
.build() {
|
|
1194
|
+
class UpdateScheduledQueryCommand extends command(_ep0, _mw0, "UpdateScheduledQuery", UpdateScheduledQuery$) {
|
|
1416
1195
|
}
|
|
1417
1196
|
|
|
1418
1197
|
const paginateListScheduledQueries = createPaginator(TimestreamQueryClient, ListScheduledQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
5
|
+
export const command = makeBuilder(commonParams, "Timestream_20181101", "TimestreamQueryClient", getEndpointPlugin);
|
|
6
|
+
export const _ep0 = {};
|
|
7
|
+
export const _mw0 = (Command, cs, config, o) => [
|
|
8
|
+
getEndpointDiscoveryPlugin(config, {
|
|
9
|
+
clientStack: cs,
|
|
10
|
+
options: o,
|
|
11
|
+
isDiscoveredEndpointRequired: true,
|
|
12
|
+
}),
|
|
13
|
+
];
|
|
14
|
+
export const _mw1 = (Command, cs, config, o) => [];
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { CancelQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class CancelQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "CancelQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "CancelQueryCommand")
|
|
22
|
-
.sc(CancelQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class CancelQueryCommand extends command(_ep0, _mw0, "CancelQuery", CancelQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { CreateScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class CreateScheduledQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "CreateScheduledQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "CreateScheduledQueryCommand")
|
|
22
|
-
.sc(CreateScheduledQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class CreateScheduledQueryCommand extends command(_ep0, _mw0, "CreateScheduledQuery", CreateScheduledQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { DeleteScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class DeleteScheduledQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "DeleteScheduledQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "DeleteScheduledQueryCommand")
|
|
22
|
-
.sc(DeleteScheduledQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class DeleteScheduledQueryCommand extends command(_ep0, _mw0, "DeleteScheduledQuery", DeleteScheduledQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { DescribeAccountSettings$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class DescribeAccountSettingsCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "DescribeAccountSettings", {})
|
|
21
|
-
.n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
|
|
22
|
-
.sc(DescribeAccountSettings$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class DescribeAccountSettingsCommand extends command(_ep0, _mw0, "DescribeAccountSettings", DescribeAccountSettings$) {
|
|
24
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw1, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeEndpointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
13
|
-
.n("TimestreamQueryClient", "DescribeEndpointsCommand")
|
|
14
|
-
.sc(DescribeEndpoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeEndpointsCommand extends command(_ep0, _mw1, "DescribeEndpoints", DescribeEndpoints$) {
|
|
16
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { DescribeScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class DescribeScheduledQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "DescribeScheduledQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "DescribeScheduledQueryCommand")
|
|
22
|
-
.sc(DescribeScheduledQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class DescribeScheduledQueryCommand extends command(_ep0, _mw0, "DescribeScheduledQuery", DescribeScheduledQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { ExecuteScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class ExecuteScheduledQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "ExecuteScheduledQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "ExecuteScheduledQueryCommand")
|
|
22
|
-
.sc(ExecuteScheduledQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class ExecuteScheduledQueryCommand extends command(_ep0, _mw0, "ExecuteScheduledQuery", ExecuteScheduledQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { ListScheduledQueries$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class ListScheduledQueriesCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "ListScheduledQueries", {})
|
|
21
|
-
.n("TimestreamQueryClient", "ListScheduledQueriesCommand")
|
|
22
|
-
.sc(ListScheduledQueries$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class ListScheduledQueriesCommand extends command(_ep0, _mw0, "ListScheduledQueries", ListScheduledQueries$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class ListTagsForResourceCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
21
|
-
.n("TimestreamQueryClient", "ListTagsForResourceCommand")
|
|
22
|
-
.sc(ListTagsForResource$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { PrepareQuery$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class PrepareQueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "PrepareQuery", {})
|
|
21
|
-
.n("TimestreamQueryClient", "PrepareQueryCommand")
|
|
22
|
-
.sc(PrepareQuery$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class PrepareQueryCommand extends command(_ep0, _mw0, "PrepareQuery", PrepareQuery$) {
|
|
24
4
|
}
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
5
2
|
import { Query$ } from "../schemas/schemas_0";
|
|
6
|
-
export
|
|
7
|
-
export class QueryCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
13
|
-
getEndpointDiscoveryPlugin(config, {
|
|
14
|
-
clientStack: cs,
|
|
15
|
-
isDiscoveredEndpointRequired: true,
|
|
16
|
-
options: o,
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("Timestream_20181101", "Query", {})
|
|
21
|
-
.n("TimestreamQueryClient", "QueryCommand")
|
|
22
|
-
.sc(Query$)
|
|
23
|
-
.build() {
|
|
3
|
+
export class QueryCommand extends command(_ep0, _mw0, "Query", Query$) {
|
|
24
4
|
}
|