@aws-sdk/client-timestream-query 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +15 -45
- package/dist-es/commands/CancelQueryCommand.js +1 -3
- package/dist-es/commands/CreateScheduledQueryCommand.js +1 -3
- package/dist-es/commands/DeleteScheduledQueryCommand.js +1 -3
- package/dist-es/commands/DescribeAccountSettingsCommand.js +1 -3
- package/dist-es/commands/DescribeEndpointsCommand.js +1 -3
- package/dist-es/commands/DescribeScheduledQueryCommand.js +1 -3
- package/dist-es/commands/ExecuteScheduledQueryCommand.js +1 -3
- package/dist-es/commands/ListScheduledQueriesCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PrepareQueryCommand.js +1 -3
- package/dist-es/commands/QueryCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAccountSettingsCommand.js +1 -3
- package/dist-es/commands/UpdateScheduledQueryCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +36 -36
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1008,9 +1008,7 @@ function sharedHeaders(operation) {
|
|
|
1008
1008
|
__name(sharedHeaders, "sharedHeaders");
|
|
1009
1009
|
|
|
1010
1010
|
// src/commands/DescribeEndpointsCommand.ts
|
|
1011
|
-
var _DescribeEndpointsCommand = class _DescribeEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1012
|
-
...commonParams
|
|
1013
|
-
}).m(function(Command, cs, config, o) {
|
|
1011
|
+
var _DescribeEndpointsCommand = class _DescribeEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1014
1012
|
return [
|
|
1015
1013
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1016
1014
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1139,9 +1137,7 @@ var TimestreamQueryClient = _TimestreamQueryClient;
|
|
|
1139
1137
|
|
|
1140
1138
|
|
|
1141
1139
|
|
|
1142
|
-
var _CancelQueryCommand = class _CancelQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1143
|
-
...commonParams
|
|
1144
|
-
}).m(function(Command, cs, config, o) {
|
|
1140
|
+
var _CancelQueryCommand = class _CancelQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1145
1141
|
return [
|
|
1146
1142
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1147
1143
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1161,9 +1157,7 @@ var CancelQueryCommand = _CancelQueryCommand;
|
|
|
1161
1157
|
|
|
1162
1158
|
|
|
1163
1159
|
|
|
1164
|
-
var _CreateScheduledQueryCommand = class _CreateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1165
|
-
...commonParams
|
|
1166
|
-
}).m(function(Command, cs, config, o) {
|
|
1160
|
+
var _CreateScheduledQueryCommand = class _CreateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1167
1161
|
return [
|
|
1168
1162
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1169
1163
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1183,9 +1177,7 @@ var CreateScheduledQueryCommand = _CreateScheduledQueryCommand;
|
|
|
1183
1177
|
|
|
1184
1178
|
|
|
1185
1179
|
|
|
1186
|
-
var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1187
|
-
...commonParams
|
|
1188
|
-
}).m(function(Command, cs, config, o) {
|
|
1180
|
+
var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1189
1181
|
return [
|
|
1190
1182
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1191
1183
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1205,9 +1197,7 @@ var DeleteScheduledQueryCommand = _DeleteScheduledQueryCommand;
|
|
|
1205
1197
|
|
|
1206
1198
|
|
|
1207
1199
|
|
|
1208
|
-
var _DescribeAccountSettingsCommand = class _DescribeAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1209
|
-
...commonParams
|
|
1210
|
-
}).m(function(Command, cs, config, o) {
|
|
1200
|
+
var _DescribeAccountSettingsCommand = class _DescribeAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1211
1201
|
return [
|
|
1212
1202
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1213
1203
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1227,9 +1217,7 @@ var DescribeAccountSettingsCommand = _DescribeAccountSettingsCommand;
|
|
|
1227
1217
|
|
|
1228
1218
|
|
|
1229
1219
|
|
|
1230
|
-
var _DescribeScheduledQueryCommand = class _DescribeScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1231
|
-
...commonParams
|
|
1232
|
-
}).m(function(Command, cs, config, o) {
|
|
1220
|
+
var _DescribeScheduledQueryCommand = class _DescribeScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1233
1221
|
return [
|
|
1234
1222
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1235
1223
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1249,9 +1237,7 @@ var DescribeScheduledQueryCommand = _DescribeScheduledQueryCommand;
|
|
|
1249
1237
|
|
|
1250
1238
|
|
|
1251
1239
|
|
|
1252
|
-
var _ExecuteScheduledQueryCommand = class _ExecuteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1253
|
-
...commonParams
|
|
1254
|
-
}).m(function(Command, cs, config, o) {
|
|
1240
|
+
var _ExecuteScheduledQueryCommand = class _ExecuteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1255
1241
|
return [
|
|
1256
1242
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1257
1243
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1271,9 +1257,7 @@ var ExecuteScheduledQueryCommand = _ExecuteScheduledQueryCommand;
|
|
|
1271
1257
|
|
|
1272
1258
|
|
|
1273
1259
|
|
|
1274
|
-
var _ListScheduledQueriesCommand = class _ListScheduledQueriesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1275
|
-
...commonParams
|
|
1276
|
-
}).m(function(Command, cs, config, o) {
|
|
1260
|
+
var _ListScheduledQueriesCommand = class _ListScheduledQueriesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1277
1261
|
return [
|
|
1278
1262
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1279
1263
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1293,9 +1277,7 @@ var ListScheduledQueriesCommand = _ListScheduledQueriesCommand;
|
|
|
1293
1277
|
|
|
1294
1278
|
|
|
1295
1279
|
|
|
1296
|
-
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1297
|
-
...commonParams
|
|
1298
|
-
}).m(function(Command, cs, config, o) {
|
|
1280
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1299
1281
|
return [
|
|
1300
1282
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1301
1283
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1315,9 +1297,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
|
1315
1297
|
|
|
1316
1298
|
|
|
1317
1299
|
|
|
1318
|
-
var _PrepareQueryCommand = class _PrepareQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1319
|
-
...commonParams
|
|
1320
|
-
}).m(function(Command, cs, config, o) {
|
|
1300
|
+
var _PrepareQueryCommand = class _PrepareQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1321
1301
|
return [
|
|
1322
1302
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1323
1303
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1337,9 +1317,7 @@ var PrepareQueryCommand = _PrepareQueryCommand;
|
|
|
1337
1317
|
|
|
1338
1318
|
|
|
1339
1319
|
|
|
1340
|
-
var _QueryCommand = class _QueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1341
|
-
...commonParams
|
|
1342
|
-
}).m(function(Command, cs, config, o) {
|
|
1320
|
+
var _QueryCommand = class _QueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1343
1321
|
return [
|
|
1344
1322
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1345
1323
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1359,9 +1337,7 @@ var QueryCommand = _QueryCommand;
|
|
|
1359
1337
|
|
|
1360
1338
|
|
|
1361
1339
|
|
|
1362
|
-
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1363
|
-
...commonParams
|
|
1364
|
-
}).m(function(Command, cs, config, o) {
|
|
1340
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1365
1341
|
return [
|
|
1366
1342
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1367
1343
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1381,9 +1357,7 @@ var TagResourceCommand = _TagResourceCommand;
|
|
|
1381
1357
|
|
|
1382
1358
|
|
|
1383
1359
|
|
|
1384
|
-
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1385
|
-
...commonParams
|
|
1386
|
-
}).m(function(Command, cs, config, o) {
|
|
1360
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1387
1361
|
return [
|
|
1388
1362
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1389
1363
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1403,9 +1377,7 @@ var UntagResourceCommand = _UntagResourceCommand;
|
|
|
1403
1377
|
|
|
1404
1378
|
|
|
1405
1379
|
|
|
1406
|
-
var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1407
|
-
...commonParams
|
|
1408
|
-
}).m(function(Command, cs, config, o) {
|
|
1380
|
+
var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1409
1381
|
return [
|
|
1410
1382
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1411
1383
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1425,9 +1397,7 @@ var UpdateAccountSettingsCommand = _UpdateAccountSettingsCommand;
|
|
|
1425
1397
|
|
|
1426
1398
|
|
|
1427
1399
|
|
|
1428
|
-
var _UpdateScheduledQueryCommand = class _UpdateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1429
|
-
...commonParams
|
|
1430
|
-
}).m(function(Command, cs, config, o) {
|
|
1400
|
+
var _UpdateScheduledQueryCommand = class _UpdateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1431
1401
|
return [
|
|
1432
1402
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1433
1403
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -7,9 +7,7 @@ import { de_CancelQueryCommand, se_CancelQueryCommand } from "../protocols/Aws_j
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CancelQueryCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -8,9 +8,7 @@ import { de_CreateScheduledQueryCommand, se_CreateScheduledQueryCommand } from "
|
|
|
8
8
|
export { $Command };
|
|
9
9
|
export class CreateScheduledQueryCommand extends $Command
|
|
10
10
|
.classBuilder()
|
|
11
|
-
.ep(
|
|
12
|
-
...commonParams,
|
|
13
|
-
})
|
|
11
|
+
.ep(commonParams)
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
13
|
return [
|
|
16
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_DeleteScheduledQueryCommand, se_DeleteScheduledQueryCommand } from "
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DeleteScheduledQueryCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_DescribeAccountSettingsCommand, se_DescribeAccountSettingsCommand }
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeAccountSettingsCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../pro
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DescribeEndpointsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -8,9 +8,7 @@ import { de_DescribeScheduledQueryCommand, se_DescribeScheduledQueryCommand } fr
|
|
|
8
8
|
export { $Command };
|
|
9
9
|
export class DescribeScheduledQueryCommand extends $Command
|
|
10
10
|
.classBuilder()
|
|
11
|
-
.ep(
|
|
12
|
-
...commonParams,
|
|
13
|
-
})
|
|
11
|
+
.ep(commonParams)
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
13
|
return [
|
|
16
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -8,9 +8,7 @@ import { de_ExecuteScheduledQueryCommand, se_ExecuteScheduledQueryCommand } from
|
|
|
8
8
|
export { $Command };
|
|
9
9
|
export class ExecuteScheduledQueryCommand extends $Command
|
|
10
10
|
.classBuilder()
|
|
11
|
-
.ep(
|
|
12
|
-
...commonParams,
|
|
13
|
-
})
|
|
11
|
+
.ep(commonParams)
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
13
|
return [
|
|
16
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_ListScheduledQueriesCommand, se_ListScheduledQueriesCommand } from "
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListScheduledQueriesCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListTagsForResourceCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -8,9 +8,7 @@ import { de_PrepareQueryCommand, se_PrepareQueryCommand } from "../protocols/Aws
|
|
|
8
8
|
export { $Command };
|
|
9
9
|
export class PrepareQueryCommand extends $Command
|
|
10
10
|
.classBuilder()
|
|
11
|
-
.ep(
|
|
12
|
-
...commonParams,
|
|
13
|
-
})
|
|
11
|
+
.ep(commonParams)
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
13
|
return [
|
|
16
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -8,9 +8,7 @@ import { de_QueryCommand, se_QueryCommand } from "../protocols/Aws_json1_0";
|
|
|
8
8
|
export { $Command };
|
|
9
9
|
export class QueryCommand extends $Command
|
|
10
10
|
.classBuilder()
|
|
11
|
-
.ep(
|
|
12
|
-
...commonParams,
|
|
13
|
-
})
|
|
11
|
+
.ep(commonParams)
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
13
|
return [
|
|
16
14
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class TagResourceCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UntagResourceCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateAccountSettingsCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_UpdateScheduledQueryCommand, se_UpdateScheduledQueryCommand } from "
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateScheduledQueryCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
apiVersion: string;
|
|
22
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
25
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
apiVersion: string;
|
|
22
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
25
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
33
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
34
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -66,6 +67,7 @@ export declare const getRuntimeConfig: (
|
|
|
66
67
|
}
|
|
67
68
|
) => import("@smithy/types").EndpointV2;
|
|
68
69
|
tls?: boolean | undefined;
|
|
70
|
+
serviceConfiguredEndpoint?: undefined;
|
|
69
71
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
72
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
71
73
|
credentials?:
|
|
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (
|
|
|
32
32
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
33
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
34
|
apiVersion: string;
|
|
35
|
+
cacheMiddleware?: boolean | undefined;
|
|
35
36
|
urlParser: import("@smithy/types").UrlParser;
|
|
36
37
|
base64Decoder: import("@smithy/types").Decoder;
|
|
37
38
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -70,6 +71,7 @@ export declare const getRuntimeConfig: (
|
|
|
70
71
|
}
|
|
71
72
|
) => import("@smithy/types").EndpointV2;
|
|
72
73
|
tls?: boolean | undefined;
|
|
74
|
+
serviceConfiguredEndpoint?: undefined;
|
|
73
75
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
74
76
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
75
77
|
credentials?:
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
11
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
12
12
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
|
+
cacheMiddleware?: boolean | undefined;
|
|
14
15
|
urlParser: import("@smithy/types").UrlParser;
|
|
15
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -60,6 +61,7 @@ export declare const getRuntimeConfig: (
|
|
|
60
61
|
}
|
|
61
62
|
) => import("@smithy/types").EndpointV2;
|
|
62
63
|
tls?: boolean | undefined;
|
|
64
|
+
serviceConfiguredEndpoint?: undefined;
|
|
63
65
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
64
66
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamQueryHttpAuthSchemeProvider;
|
|
65
67
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-query",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^3.0.
|
|
38
|
-
"@smithy/core": "^2.4.
|
|
39
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
40
|
-
"@smithy/hash-node": "^3.0.
|
|
41
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
42
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
43
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
-
"@smithy/middleware-serde": "^3.0.
|
|
46
|
-
"@smithy/middleware-stack": "^3.0.
|
|
47
|
-
"@smithy/node-config-provider": "^3.1.
|
|
48
|
-
"@smithy/node-http-handler": "^3.
|
|
49
|
-
"@smithy/protocol-http": "^4.1.
|
|
50
|
-
"@smithy/smithy-client": "^3.
|
|
51
|
-
"@smithy/types": "^3.
|
|
52
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
33
|
+
"@aws-sdk/types": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
37
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
38
|
+
"@smithy/core": "^2.4.1",
|
|
39
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
40
|
+
"@smithy/hash-node": "^3.0.4",
|
|
41
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
42
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
43
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
45
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
46
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
47
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
48
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
49
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
50
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
51
|
+
"@smithy/types": "^3.4.0",
|
|
52
|
+
"@smithy/url-parser": "^3.0.4",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
-
"@smithy/util-endpoints": "^2.0
|
|
59
|
-
"@smithy/util-middleware": "^3.0.
|
|
60
|
-
"@smithy/util-retry": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
58
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
59
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
60
|
+
"@smithy/util-retry": "^3.0.4",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|