@aws-sdk/client-timestream-query 3.649.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/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;
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.649.0",
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,10 +20,10 @@
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.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-endpoint-discovery": "3.649.0",
28
28
  "@aws-sdk/middleware-host-header": "3.649.0",
29
29
  "@aws-sdk/middleware-logger": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }