@aws-sdk/client-timestream-query 3.716.0 → 3.723.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
@@ -120,7 +120,10 @@ var import_uuid = require("uuid");
120
120
 
121
121
  // src/models/TimestreamQueryServiceException.ts
122
122
  var import_smithy_client = require("@smithy/smithy-client");
123
- var _TimestreamQueryServiceException = class _TimestreamQueryServiceException extends import_smithy_client.ServiceException {
123
+ var TimestreamQueryServiceException = class _TimestreamQueryServiceException extends import_smithy_client.ServiceException {
124
+ static {
125
+ __name(this, "TimestreamQueryServiceException");
126
+ }
124
127
  /**
125
128
  * @internal
126
129
  */
@@ -129,11 +132,15 @@ var _TimestreamQueryServiceException = class _TimestreamQueryServiceException ex
129
132
  Object.setPrototypeOf(this, _TimestreamQueryServiceException.prototype);
130
133
  }
131
134
  };
132
- __name(_TimestreamQueryServiceException, "TimestreamQueryServiceException");
133
- var TimestreamQueryServiceException = _TimestreamQueryServiceException;
134
135
 
135
136
  // src/models/models_0.ts
136
- var _AccessDeniedException = class _AccessDeniedException extends TimestreamQueryServiceException {
137
+ var AccessDeniedException = class _AccessDeniedException extends TimestreamQueryServiceException {
138
+ static {
139
+ __name(this, "AccessDeniedException");
140
+ }
141
+ name = "AccessDeniedException";
142
+ $fault = "client";
143
+ Message;
137
144
  /**
138
145
  * @internal
139
146
  */
@@ -143,15 +150,17 @@ var _AccessDeniedException = class _AccessDeniedException extends TimestreamQuer
143
150
  $fault: "client",
144
151
  ...opts
145
152
  });
146
- this.name = "AccessDeniedException";
147
- this.$fault = "client";
148
153
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
149
154
  this.Message = opts.Message;
150
155
  }
151
156
  };
152
- __name(_AccessDeniedException, "AccessDeniedException");
153
- var AccessDeniedException = _AccessDeniedException;
154
- var _InternalServerException = class _InternalServerException extends TimestreamQueryServiceException {
157
+ var InternalServerException = class _InternalServerException extends TimestreamQueryServiceException {
158
+ static {
159
+ __name(this, "InternalServerException");
160
+ }
161
+ name = "InternalServerException";
162
+ $fault = "server";
163
+ Message;
155
164
  /**
156
165
  * @internal
157
166
  */
@@ -161,15 +170,17 @@ var _InternalServerException = class _InternalServerException extends Timestream
161
170
  $fault: "server",
162
171
  ...opts
163
172
  });
164
- this.name = "InternalServerException";
165
- this.$fault = "server";
166
173
  Object.setPrototypeOf(this, _InternalServerException.prototype);
167
174
  this.Message = opts.Message;
168
175
  }
169
176
  };
170
- __name(_InternalServerException, "InternalServerException");
171
- var InternalServerException = _InternalServerException;
172
- var _InvalidEndpointException = class _InvalidEndpointException extends TimestreamQueryServiceException {
177
+ var InvalidEndpointException = class _InvalidEndpointException extends TimestreamQueryServiceException {
178
+ static {
179
+ __name(this, "InvalidEndpointException");
180
+ }
181
+ name = "InvalidEndpointException";
182
+ $fault = "client";
183
+ Message;
173
184
  /**
174
185
  * @internal
175
186
  */
@@ -179,15 +190,17 @@ var _InvalidEndpointException = class _InvalidEndpointException extends Timestre
179
190
  $fault: "client",
180
191
  ...opts
181
192
  });
182
- this.name = "InvalidEndpointException";
183
- this.$fault = "client";
184
193
  Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
185
194
  this.Message = opts.Message;
186
195
  }
187
196
  };
188
- __name(_InvalidEndpointException, "InvalidEndpointException");
189
- var InvalidEndpointException = _InvalidEndpointException;
190
- var _ThrottlingException = class _ThrottlingException extends TimestreamQueryServiceException {
197
+ var ThrottlingException = class _ThrottlingException extends TimestreamQueryServiceException {
198
+ static {
199
+ __name(this, "ThrottlingException");
200
+ }
201
+ name = "ThrottlingException";
202
+ $fault = "client";
203
+ Message;
191
204
  /**
192
205
  * @internal
193
206
  */
@@ -197,15 +210,17 @@ var _ThrottlingException = class _ThrottlingException extends TimestreamQuerySer
197
210
  $fault: "client",
198
211
  ...opts
199
212
  });
200
- this.name = "ThrottlingException";
201
- this.$fault = "client";
202
213
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
203
214
  this.Message = opts.Message;
204
215
  }
205
216
  };
206
- __name(_ThrottlingException, "ThrottlingException");
207
- var ThrottlingException = _ThrottlingException;
208
- var _ValidationException = class _ValidationException extends TimestreamQueryServiceException {
217
+ var ValidationException = class _ValidationException extends TimestreamQueryServiceException {
218
+ static {
219
+ __name(this, "ValidationException");
220
+ }
221
+ name = "ValidationException";
222
+ $fault = "client";
223
+ Message;
209
224
  /**
210
225
  * @internal
211
226
  */
@@ -215,14 +230,10 @@ var _ValidationException = class _ValidationException extends TimestreamQuerySer
215
230
  $fault: "client",
216
231
  ...opts
217
232
  });
218
- this.name = "ValidationException";
219
- this.$fault = "client";
220
233
  Object.setPrototypeOf(this, _ValidationException.prototype);
221
234
  this.Message = opts.Message;
222
235
  }
223
236
  };
224
- __name(_ValidationException, "ValidationException");
225
- var ValidationException = _ValidationException;
226
237
  var ScalarType = {
227
238
  BIGINT: "BIGINT",
228
239
  BOOLEAN: "BOOLEAN",
@@ -240,7 +251,13 @@ var ComputeMode = {
240
251
  ON_DEMAND: "ON_DEMAND",
241
252
  PROVISIONED: "PROVISIONED"
242
253
  };
243
- var _ConflictException = class _ConflictException extends TimestreamQueryServiceException {
254
+ var ConflictException = class _ConflictException extends TimestreamQueryServiceException {
255
+ static {
256
+ __name(this, "ConflictException");
257
+ }
258
+ name = "ConflictException";
259
+ $fault = "client";
260
+ Message;
244
261
  /**
245
262
  * @internal
246
263
  */
@@ -250,14 +267,10 @@ var _ConflictException = class _ConflictException extends TimestreamQueryService
250
267
  $fault: "client",
251
268
  ...opts
252
269
  });
253
- this.name = "ConflictException";
254
- this.$fault = "client";
255
270
  Object.setPrototypeOf(this, _ConflictException.prototype);
256
271
  this.Message = opts.Message;
257
272
  }
258
273
  };
259
- __name(_ConflictException, "ConflictException");
260
- var ConflictException = _ConflictException;
261
274
  var S3EncryptionOption = {
262
275
  SSE_KMS: "SSE_KMS",
263
276
  SSE_S3: "SSE_S3"
@@ -279,7 +292,13 @@ var ScalarMeasureValueType = {
279
292
  TIMESTAMP: "TIMESTAMP",
280
293
  VARCHAR: "VARCHAR"
281
294
  };
282
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamQueryServiceException {
295
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamQueryServiceException {
296
+ static {
297
+ __name(this, "ServiceQuotaExceededException");
298
+ }
299
+ name = "ServiceQuotaExceededException";
300
+ $fault = "client";
301
+ Message;
283
302
  /**
284
303
  * @internal
285
304
  */
@@ -289,15 +308,22 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
289
308
  $fault: "client",
290
309
  ...opts
291
310
  });
292
- this.name = "ServiceQuotaExceededException";
293
- this.$fault = "client";
294
311
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
295
312
  this.Message = opts.Message;
296
313
  }
297
314
  };
298
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
299
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
300
- var _ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamQueryServiceException {
315
+ var ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamQueryServiceException {
316
+ static {
317
+ __name(this, "ResourceNotFoundException");
318
+ }
319
+ name = "ResourceNotFoundException";
320
+ $fault = "client";
321
+ Message;
322
+ /**
323
+ * <p>The ARN of the scheduled query.</p>
324
+ * @public
325
+ */
326
+ ScheduledQueryArn;
301
327
  /**
302
328
  * @internal
303
329
  */
@@ -307,15 +333,11 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Timest
307
333
  $fault: "client",
308
334
  ...opts
309
335
  });
310
- this.name = "ResourceNotFoundException";
311
- this.$fault = "client";
312
336
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
313
337
  this.Message = opts.Message;
314
338
  this.ScheduledQueryArn = opts.ScheduledQueryArn;
315
339
  }
316
340
  };
317
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
318
- var ResourceNotFoundException = _ResourceNotFoundException;
319
341
  var LastUpdateStatus = {
320
342
  FAILED: "FAILED",
321
343
  PENDING: "PENDING",
@@ -339,7 +361,13 @@ var ScheduledQueryInsightsMode = {
339
361
  DISABLED: "DISABLED",
340
362
  ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL"
341
363
  };
342
- var _QueryExecutionException = class _QueryExecutionException extends TimestreamQueryServiceException {
364
+ var QueryExecutionException = class _QueryExecutionException extends TimestreamQueryServiceException {
365
+ static {
366
+ __name(this, "QueryExecutionException");
367
+ }
368
+ name = "QueryExecutionException";
369
+ $fault = "client";
370
+ Message;
343
371
  /**
344
372
  * @internal
345
373
  */
@@ -349,14 +377,10 @@ var _QueryExecutionException = class _QueryExecutionException extends Timestream
349
377
  $fault: "client",
350
378
  ...opts
351
379
  });
352
- this.name = "QueryExecutionException";
353
- this.$fault = "client";
354
380
  Object.setPrototypeOf(this, _QueryExecutionException.prototype);
355
381
  this.Message = opts.Message;
356
382
  }
357
383
  };
358
- __name(_QueryExecutionException, "QueryExecutionException");
359
- var QueryExecutionException = _QueryExecutionException;
360
384
  var QueryInsightsMode = {
361
385
  DISABLED: "DISABLED",
362
386
  ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL"
@@ -1066,15 +1090,16 @@ function sharedHeaders(operation) {
1066
1090
  __name(sharedHeaders, "sharedHeaders");
1067
1091
 
1068
1092
  // src/commands/DescribeEndpointsCommand.ts
1069
- var _DescribeEndpointsCommand = class _DescribeEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1093
+ var DescribeEndpointsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1070
1094
  return [
1071
1095
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1072
1096
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1073
1097
  ];
1074
1098
  }).s("Timestream_20181101", "DescribeEndpoints", {}).n("TimestreamQueryClient", "DescribeEndpointsCommand").f(void 0, void 0).ser(se_DescribeEndpointsCommand).de(de_DescribeEndpointsCommand).build() {
1099
+ static {
1100
+ __name(this, "DescribeEndpointsCommand");
1101
+ }
1075
1102
  };
1076
- __name(_DescribeEndpointsCommand, "DescribeEndpointsCommand");
1077
- var DescribeEndpointsCommand = _DescribeEndpointsCommand;
1078
1103
 
1079
1104
  // src/TimestreamQueryClient.ts
1080
1105
  var import_runtimeConfig = require("././runtimeConfig");
@@ -1143,7 +1168,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
1143
1168
  }, "resolveRuntimeExtensions");
1144
1169
 
1145
1170
  // src/TimestreamQueryClient.ts
1146
- var _TimestreamQueryClient = class _TimestreamQueryClient extends import_smithy_client.Client {
1171
+ var TimestreamQueryClient = class extends import_smithy_client.Client {
1172
+ static {
1173
+ __name(this, "TimestreamQueryClient");
1174
+ }
1175
+ /**
1176
+ * The resolved configuration of TimestreamQueryClient class. This is resolved and normalized from the {@link TimestreamQueryClientConfig | constructor configuration interface}.
1177
+ */
1178
+ config;
1147
1179
  constructor(...[configuration]) {
1148
1180
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
1149
1181
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1156,7 +1188,7 @@ var _TimestreamQueryClient = class _TimestreamQueryClient extends import_smithy_
1156
1188
  const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
1157
1189
  endpointDiscoveryCommandCtor: DescribeEndpointsCommand
1158
1190
  });
1159
- const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
1191
+ const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
1160
1192
  super(_config_9);
1161
1193
  this.config = _config_9;
1162
1194
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -1184,8 +1216,6 @@ var _TimestreamQueryClient = class _TimestreamQueryClient extends import_smithy_
1184
1216
  super.destroy();
1185
1217
  }
1186
1218
  };
1187
- __name(_TimestreamQueryClient, "TimestreamQueryClient");
1188
- var TimestreamQueryClient = _TimestreamQueryClient;
1189
1219
 
1190
1220
  // src/TimestreamQuery.ts
1191
1221
 
@@ -1195,7 +1225,7 @@ var TimestreamQueryClient = _TimestreamQueryClient;
1195
1225
 
1196
1226
 
1197
1227
 
1198
- var _CancelQueryCommand = class _CancelQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1228
+ var CancelQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1199
1229
  return [
1200
1230
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1201
1231
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1206,16 +1236,17 @@ var _CancelQueryCommand = class _CancelQueryCommand extends import_smithy_client
1206
1236
  })
1207
1237
  ];
1208
1238
  }).s("Timestream_20181101", "CancelQuery", {}).n("TimestreamQueryClient", "CancelQueryCommand").f(void 0, void 0).ser(se_CancelQueryCommand).de(de_CancelQueryCommand).build() {
1239
+ static {
1240
+ __name(this, "CancelQueryCommand");
1241
+ }
1209
1242
  };
1210
- __name(_CancelQueryCommand, "CancelQueryCommand");
1211
- var CancelQueryCommand = _CancelQueryCommand;
1212
1243
 
1213
1244
  // src/commands/CreateScheduledQueryCommand.ts
1214
1245
 
1215
1246
 
1216
1247
 
1217
1248
 
1218
- var _CreateScheduledQueryCommand = class _CreateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1249
+ var CreateScheduledQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1219
1250
  return [
1220
1251
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1221
1252
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1226,16 +1257,17 @@ var _CreateScheduledQueryCommand = class _CreateScheduledQueryCommand extends im
1226
1257
  })
1227
1258
  ];
1228
1259
  }).s("Timestream_20181101", "CreateScheduledQuery", {}).n("TimestreamQueryClient", "CreateScheduledQueryCommand").f(CreateScheduledQueryRequestFilterSensitiveLog, void 0).ser(se_CreateScheduledQueryCommand).de(de_CreateScheduledQueryCommand).build() {
1260
+ static {
1261
+ __name(this, "CreateScheduledQueryCommand");
1262
+ }
1229
1263
  };
1230
- __name(_CreateScheduledQueryCommand, "CreateScheduledQueryCommand");
1231
- var CreateScheduledQueryCommand = _CreateScheduledQueryCommand;
1232
1264
 
1233
1265
  // src/commands/DeleteScheduledQueryCommand.ts
1234
1266
 
1235
1267
 
1236
1268
 
1237
1269
 
1238
- var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1270
+ var DeleteScheduledQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1239
1271
  return [
1240
1272
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1241
1273
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1246,16 +1278,17 @@ var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends im
1246
1278
  })
1247
1279
  ];
1248
1280
  }).s("Timestream_20181101", "DeleteScheduledQuery", {}).n("TimestreamQueryClient", "DeleteScheduledQueryCommand").f(void 0, void 0).ser(se_DeleteScheduledQueryCommand).de(de_DeleteScheduledQueryCommand).build() {
1281
+ static {
1282
+ __name(this, "DeleteScheduledQueryCommand");
1283
+ }
1249
1284
  };
1250
- __name(_DeleteScheduledQueryCommand, "DeleteScheduledQueryCommand");
1251
- var DeleteScheduledQueryCommand = _DeleteScheduledQueryCommand;
1252
1285
 
1253
1286
  // src/commands/DescribeAccountSettingsCommand.ts
1254
1287
 
1255
1288
 
1256
1289
 
1257
1290
 
1258
- var _DescribeAccountSettingsCommand = class _DescribeAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1291
+ var DescribeAccountSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1259
1292
  return [
1260
1293
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1261
1294
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1266,16 +1299,17 @@ var _DescribeAccountSettingsCommand = class _DescribeAccountSettingsCommand exte
1266
1299
  })
1267
1300
  ];
1268
1301
  }).s("Timestream_20181101", "DescribeAccountSettings", {}).n("TimestreamQueryClient", "DescribeAccountSettingsCommand").f(void 0, void 0).ser(se_DescribeAccountSettingsCommand).de(de_DescribeAccountSettingsCommand).build() {
1302
+ static {
1303
+ __name(this, "DescribeAccountSettingsCommand");
1304
+ }
1269
1305
  };
1270
- __name(_DescribeAccountSettingsCommand, "DescribeAccountSettingsCommand");
1271
- var DescribeAccountSettingsCommand = _DescribeAccountSettingsCommand;
1272
1306
 
1273
1307
  // src/commands/DescribeScheduledQueryCommand.ts
1274
1308
 
1275
1309
 
1276
1310
 
1277
1311
 
1278
- var _DescribeScheduledQueryCommand = class _DescribeScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1312
+ var DescribeScheduledQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1279
1313
  return [
1280
1314
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1281
1315
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1286,16 +1320,17 @@ var _DescribeScheduledQueryCommand = class _DescribeScheduledQueryCommand extend
1286
1320
  })
1287
1321
  ];
1288
1322
  }).s("Timestream_20181101", "DescribeScheduledQuery", {}).n("TimestreamQueryClient", "DescribeScheduledQueryCommand").f(void 0, DescribeScheduledQueryResponseFilterSensitiveLog).ser(se_DescribeScheduledQueryCommand).de(de_DescribeScheduledQueryCommand).build() {
1323
+ static {
1324
+ __name(this, "DescribeScheduledQueryCommand");
1325
+ }
1289
1326
  };
1290
- __name(_DescribeScheduledQueryCommand, "DescribeScheduledQueryCommand");
1291
- var DescribeScheduledQueryCommand = _DescribeScheduledQueryCommand;
1292
1327
 
1293
1328
  // src/commands/ExecuteScheduledQueryCommand.ts
1294
1329
 
1295
1330
 
1296
1331
 
1297
1332
 
1298
- var _ExecuteScheduledQueryCommand = class _ExecuteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1333
+ var ExecuteScheduledQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1299
1334
  return [
1300
1335
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1301
1336
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1306,16 +1341,17 @@ var _ExecuteScheduledQueryCommand = class _ExecuteScheduledQueryCommand extends
1306
1341
  })
1307
1342
  ];
1308
1343
  }).s("Timestream_20181101", "ExecuteScheduledQuery", {}).n("TimestreamQueryClient", "ExecuteScheduledQueryCommand").f(ExecuteScheduledQueryRequestFilterSensitiveLog, void 0).ser(se_ExecuteScheduledQueryCommand).de(de_ExecuteScheduledQueryCommand).build() {
1344
+ static {
1345
+ __name(this, "ExecuteScheduledQueryCommand");
1346
+ }
1309
1347
  };
1310
- __name(_ExecuteScheduledQueryCommand, "ExecuteScheduledQueryCommand");
1311
- var ExecuteScheduledQueryCommand = _ExecuteScheduledQueryCommand;
1312
1348
 
1313
1349
  // src/commands/ListScheduledQueriesCommand.ts
1314
1350
 
1315
1351
 
1316
1352
 
1317
1353
 
1318
- var _ListScheduledQueriesCommand = class _ListScheduledQueriesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1354
+ var ListScheduledQueriesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1319
1355
  return [
1320
1356
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1321
1357
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1326,16 +1362,17 @@ var _ListScheduledQueriesCommand = class _ListScheduledQueriesCommand extends im
1326
1362
  })
1327
1363
  ];
1328
1364
  }).s("Timestream_20181101", "ListScheduledQueries", {}).n("TimestreamQueryClient", "ListScheduledQueriesCommand").f(void 0, void 0).ser(se_ListScheduledQueriesCommand).de(de_ListScheduledQueriesCommand).build() {
1365
+ static {
1366
+ __name(this, "ListScheduledQueriesCommand");
1367
+ }
1329
1368
  };
1330
- __name(_ListScheduledQueriesCommand, "ListScheduledQueriesCommand");
1331
- var ListScheduledQueriesCommand = _ListScheduledQueriesCommand;
1332
1369
 
1333
1370
  // src/commands/ListTagsForResourceCommand.ts
1334
1371
 
1335
1372
 
1336
1373
 
1337
1374
 
1338
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1375
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1339
1376
  return [
1340
1377
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1341
1378
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1346,16 +1383,17 @@ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends impo
1346
1383
  })
1347
1384
  ];
1348
1385
  }).s("Timestream_20181101", "ListTagsForResource", {}).n("TimestreamQueryClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1386
+ static {
1387
+ __name(this, "ListTagsForResourceCommand");
1388
+ }
1349
1389
  };
1350
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1351
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1352
1390
 
1353
1391
  // src/commands/PrepareQueryCommand.ts
1354
1392
 
1355
1393
 
1356
1394
 
1357
1395
 
1358
- var _PrepareQueryCommand = class _PrepareQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1396
+ var PrepareQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1359
1397
  return [
1360
1398
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1361
1399
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1366,16 +1404,17 @@ var _PrepareQueryCommand = class _PrepareQueryCommand extends import_smithy_clie
1366
1404
  })
1367
1405
  ];
1368
1406
  }).s("Timestream_20181101", "PrepareQuery", {}).n("TimestreamQueryClient", "PrepareQueryCommand").f(PrepareQueryRequestFilterSensitiveLog, PrepareQueryResponseFilterSensitiveLog).ser(se_PrepareQueryCommand).de(de_PrepareQueryCommand).build() {
1407
+ static {
1408
+ __name(this, "PrepareQueryCommand");
1409
+ }
1369
1410
  };
1370
- __name(_PrepareQueryCommand, "PrepareQueryCommand");
1371
- var PrepareQueryCommand = _PrepareQueryCommand;
1372
1411
 
1373
1412
  // src/commands/QueryCommand.ts
1374
1413
 
1375
1414
 
1376
1415
 
1377
1416
 
1378
- var _QueryCommand = class _QueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1417
+ var QueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1379
1418
  return [
1380
1419
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1381
1420
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1386,16 +1425,17 @@ var _QueryCommand = class _QueryCommand extends import_smithy_client.Command.cla
1386
1425
  })
1387
1426
  ];
1388
1427
  }).s("Timestream_20181101", "Query", {}).n("TimestreamQueryClient", "QueryCommand").f(QueryRequestFilterSensitiveLog, void 0).ser(se_QueryCommand).de(de_QueryCommand).build() {
1428
+ static {
1429
+ __name(this, "QueryCommand");
1430
+ }
1389
1431
  };
1390
- __name(_QueryCommand, "QueryCommand");
1391
- var QueryCommand = _QueryCommand;
1392
1432
 
1393
1433
  // src/commands/TagResourceCommand.ts
1394
1434
 
1395
1435
 
1396
1436
 
1397
1437
 
1398
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1438
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1399
1439
  return [
1400
1440
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1401
1441
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1406,16 +1446,17 @@ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client
1406
1446
  })
1407
1447
  ];
1408
1448
  }).s("Timestream_20181101", "TagResource", {}).n("TimestreamQueryClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1449
+ static {
1450
+ __name(this, "TagResourceCommand");
1451
+ }
1409
1452
  };
1410
- __name(_TagResourceCommand, "TagResourceCommand");
1411
- var TagResourceCommand = _TagResourceCommand;
1412
1453
 
1413
1454
  // src/commands/UntagResourceCommand.ts
1414
1455
 
1415
1456
 
1416
1457
 
1417
1458
 
1418
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1459
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1419
1460
  return [
1420
1461
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1421
1462
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1426,16 +1467,17 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
1426
1467
  })
1427
1468
  ];
1428
1469
  }).s("Timestream_20181101", "UntagResource", {}).n("TimestreamQueryClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1470
+ static {
1471
+ __name(this, "UntagResourceCommand");
1472
+ }
1429
1473
  };
1430
- __name(_UntagResourceCommand, "UntagResourceCommand");
1431
- var UntagResourceCommand = _UntagResourceCommand;
1432
1474
 
1433
1475
  // src/commands/UpdateAccountSettingsCommand.ts
1434
1476
 
1435
1477
 
1436
1478
 
1437
1479
 
1438
- var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1480
+ var UpdateAccountSettingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1439
1481
  return [
1440
1482
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1441
1483
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1446,16 +1488,17 @@ var _UpdateAccountSettingsCommand = class _UpdateAccountSettingsCommand extends
1446
1488
  })
1447
1489
  ];
1448
1490
  }).s("Timestream_20181101", "UpdateAccountSettings", {}).n("TimestreamQueryClient", "UpdateAccountSettingsCommand").f(void 0, void 0).ser(se_UpdateAccountSettingsCommand).de(de_UpdateAccountSettingsCommand).build() {
1491
+ static {
1492
+ __name(this, "UpdateAccountSettingsCommand");
1493
+ }
1449
1494
  };
1450
- __name(_UpdateAccountSettingsCommand, "UpdateAccountSettingsCommand");
1451
- var UpdateAccountSettingsCommand = _UpdateAccountSettingsCommand;
1452
1495
 
1453
1496
  // src/commands/UpdateScheduledQueryCommand.ts
1454
1497
 
1455
1498
 
1456
1499
 
1457
1500
 
1458
- var _UpdateScheduledQueryCommand = class _UpdateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1501
+ var UpdateScheduledQueryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1459
1502
  return [
1460
1503
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1461
1504
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
@@ -1466,9 +1509,10 @@ var _UpdateScheduledQueryCommand = class _UpdateScheduledQueryCommand extends im
1466
1509
  })
1467
1510
  ];
1468
1511
  }).s("Timestream_20181101", "UpdateScheduledQuery", {}).n("TimestreamQueryClient", "UpdateScheduledQueryCommand").f(void 0, void 0).ser(se_UpdateScheduledQueryCommand).de(de_UpdateScheduledQueryCommand).build() {
1512
+ static {
1513
+ __name(this, "UpdateScheduledQueryCommand");
1514
+ }
1469
1515
  };
1470
- __name(_UpdateScheduledQueryCommand, "UpdateScheduledQueryCommand");
1471
- var UpdateScheduledQueryCommand = _UpdateScheduledQueryCommand;
1472
1516
 
1473
1517
  // src/TimestreamQuery.ts
1474
1518
  var commands = {
@@ -1488,10 +1532,11 @@ var commands = {
1488
1532
  UpdateAccountSettingsCommand,
1489
1533
  UpdateScheduledQueryCommand
1490
1534
  };
1491
- var _TimestreamQuery = class _TimestreamQuery extends TimestreamQueryClient {
1535
+ var TimestreamQuery = class extends TimestreamQueryClient {
1536
+ static {
1537
+ __name(this, "TimestreamQuery");
1538
+ }
1492
1539
  };
1493
- __name(_TimestreamQuery, "TimestreamQuery");
1494
- var TimestreamQuery = _TimestreamQuery;
1495
1540
  (0, import_smithy_client.createAggregatedClient)(commands, TimestreamQuery);
1496
1541
 
1497
1542
  // src/pagination/ListScheduledQueriesPaginator.ts
@@ -16,6 +16,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
16
16
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
17
17
  export { __Client };
18
18
  export class TimestreamQueryClient extends __Client {
19
+ config;
19
20
  constructor(...[configuration]) {
20
21
  const _config_0 = __getRuntimeConfig(configuration || {});
21
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,66 +1,71 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
15
16
  }
16
17
  export class InternalServerException extends __BaseException {
18
+ name = "InternalServerException";
19
+ $fault = "server";
20
+ Message;
17
21
  constructor(opts) {
18
22
  super({
19
23
  name: "InternalServerException",
20
24
  $fault: "server",
21
25
  ...opts,
22
26
  });
23
- this.name = "InternalServerException";
24
- this.$fault = "server";
25
27
  Object.setPrototypeOf(this, InternalServerException.prototype);
26
28
  this.Message = opts.Message;
27
29
  }
28
30
  }
29
31
  export class InvalidEndpointException extends __BaseException {
32
+ name = "InvalidEndpointException";
33
+ $fault = "client";
34
+ Message;
30
35
  constructor(opts) {
31
36
  super({
32
37
  name: "InvalidEndpointException",
33
38
  $fault: "client",
34
39
  ...opts,
35
40
  });
36
- this.name = "InvalidEndpointException";
37
- this.$fault = "client";
38
41
  Object.setPrototypeOf(this, InvalidEndpointException.prototype);
39
42
  this.Message = opts.Message;
40
43
  }
41
44
  }
42
45
  export class ThrottlingException extends __BaseException {
46
+ name = "ThrottlingException";
47
+ $fault = "client";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "ThrottlingException",
46
52
  $fault: "client",
47
53
  ...opts,
48
54
  });
49
- this.name = "ThrottlingException";
50
- this.$fault = "client";
51
55
  Object.setPrototypeOf(this, ThrottlingException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
54
58
  }
55
59
  export class ValidationException extends __BaseException {
60
+ name = "ValidationException";
61
+ $fault = "client";
62
+ Message;
56
63
  constructor(opts) {
57
64
  super({
58
65
  name: "ValidationException",
59
66
  $fault: "client",
60
67
  ...opts,
61
68
  });
62
- this.name = "ValidationException";
63
- this.$fault = "client";
64
69
  Object.setPrototypeOf(this, ValidationException.prototype);
65
70
  this.Message = opts.Message;
66
71
  }
@@ -83,14 +88,15 @@ export const ComputeMode = {
83
88
  PROVISIONED: "PROVISIONED",
84
89
  };
85
90
  export class ConflictException extends __BaseException {
91
+ name = "ConflictException";
92
+ $fault = "client";
93
+ Message;
86
94
  constructor(opts) {
87
95
  super({
88
96
  name: "ConflictException",
89
97
  $fault: "client",
90
98
  ...opts,
91
99
  });
92
- this.name = "ConflictException";
93
- this.$fault = "client";
94
100
  Object.setPrototypeOf(this, ConflictException.prototype);
95
101
  this.Message = opts.Message;
96
102
  }
@@ -117,27 +123,30 @@ export const ScalarMeasureValueType = {
117
123
  VARCHAR: "VARCHAR",
118
124
  };
119
125
  export class ServiceQuotaExceededException extends __BaseException {
126
+ name = "ServiceQuotaExceededException";
127
+ $fault = "client";
128
+ Message;
120
129
  constructor(opts) {
121
130
  super({
122
131
  name: "ServiceQuotaExceededException",
123
132
  $fault: "client",
124
133
  ...opts,
125
134
  });
126
- this.name = "ServiceQuotaExceededException";
127
- this.$fault = "client";
128
135
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
129
136
  this.Message = opts.Message;
130
137
  }
131
138
  }
132
139
  export class ResourceNotFoundException extends __BaseException {
140
+ name = "ResourceNotFoundException";
141
+ $fault = "client";
142
+ Message;
143
+ ScheduledQueryArn;
133
144
  constructor(opts) {
134
145
  super({
135
146
  name: "ResourceNotFoundException",
136
147
  $fault: "client",
137
148
  ...opts,
138
149
  });
139
- this.name = "ResourceNotFoundException";
140
- this.$fault = "client";
141
150
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
151
  this.Message = opts.Message;
143
152
  this.ScheduledQueryArn = opts.ScheduledQueryArn;
@@ -167,14 +176,15 @@ export const ScheduledQueryInsightsMode = {
167
176
  ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
168
177
  };
169
178
  export class QueryExecutionException extends __BaseException {
179
+ name = "QueryExecutionException";
180
+ $fault = "client";
181
+ Message;
170
182
  constructor(opts) {
171
183
  super({
172
184
  name: "QueryExecutionException",
173
185
  $fault: "client",
174
186
  ...opts,
175
187
  });
176
- this.name = "QueryExecutionException";
177
- this.$fault = "client";
178
188
  Object.setPrototypeOf(this, QueryExecutionException.prototype);
179
189
  this.Message = opts.Message;
180
190
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
32
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
33
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
34
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
36
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
37
  logger?: import("@smithy/types").Logger | undefined;
38
38
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -55,11 +57,21 @@ export declare const getRuntimeConfig: (
55
57
  | import("@smithy/types").RetryStrategyV2
56
58
  | undefined;
57
59
  endpoint?:
58
- | string
59
- | import("@smithy/types").Endpoint
60
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
- | import("@smithy/types").EndpointV2
62
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
60
+ | ((
61
+ | string
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ) &
67
+ (
68
+ | string
69
+ | import("@smithy/types").Provider<string>
70
+ | import("@smithy/types").Endpoint
71
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
72
+ | import("@smithy/types").EndpointV2
73
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
74
+ ))
63
75
  | undefined;
64
76
  endpointProvider: (
65
77
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.716.0",
4
+ "version": "3.723.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,59 +20,59 @@
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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-endpoint-discovery": "3.714.0",
28
- "@aws-sdk/middleware-host-header": "3.714.0",
29
- "@aws-sdk/middleware-logger": "3.714.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
31
- "@aws-sdk/middleware-user-agent": "3.716.0",
32
- "@aws-sdk/region-config-resolver": "3.714.0",
33
- "@aws-sdk/types": "3.714.0",
34
- "@aws-sdk/util-endpoints": "3.714.0",
35
- "@aws-sdk/util-user-agent-browser": "3.714.0",
36
- "@aws-sdk/util-user-agent-node": "3.716.0",
37
- "@smithy/config-resolver": "^3.0.13",
38
- "@smithy/core": "^2.5.5",
39
- "@smithy/fetch-http-handler": "^4.1.2",
40
- "@smithy/hash-node": "^3.0.11",
41
- "@smithy/invalid-dependency": "^3.0.11",
42
- "@smithy/middleware-content-length": "^3.0.13",
43
- "@smithy/middleware-endpoint": "^3.2.6",
44
- "@smithy/middleware-retry": "^3.0.31",
45
- "@smithy/middleware-serde": "^3.0.11",
46
- "@smithy/middleware-stack": "^3.0.11",
47
- "@smithy/node-config-provider": "^3.1.12",
48
- "@smithy/node-http-handler": "^3.3.2",
49
- "@smithy/protocol-http": "^4.1.8",
50
- "@smithy/smithy-client": "^3.5.1",
51
- "@smithy/types": "^3.7.2",
52
- "@smithy/url-parser": "^3.0.11",
53
- "@smithy/util-base64": "^3.0.0",
54
- "@smithy/util-body-length-browser": "^3.0.0",
55
- "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.31",
57
- "@smithy/util-defaults-mode-node": "^3.0.31",
58
- "@smithy/util-endpoints": "^2.1.7",
59
- "@smithy/util-middleware": "^3.0.11",
60
- "@smithy/util-retry": "^3.0.11",
61
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-endpoint-discovery": "3.723.0",
28
+ "@aws-sdk/middleware-host-header": "3.723.0",
29
+ "@aws-sdk/middleware-logger": "3.723.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
31
+ "@aws-sdk/middleware-user-agent": "3.723.0",
32
+ "@aws-sdk/region-config-resolver": "3.723.0",
33
+ "@aws-sdk/types": "3.723.0",
34
+ "@aws-sdk/util-endpoints": "3.723.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
36
+ "@aws-sdk/util-user-agent-node": "3.723.0",
37
+ "@smithy/config-resolver": "^4.0.0",
38
+ "@smithy/core": "^3.0.0",
39
+ "@smithy/fetch-http-handler": "^5.0.0",
40
+ "@smithy/hash-node": "^4.0.0",
41
+ "@smithy/invalid-dependency": "^4.0.0",
42
+ "@smithy/middleware-content-length": "^4.0.0",
43
+ "@smithy/middleware-endpoint": "^4.0.0",
44
+ "@smithy/middleware-retry": "^4.0.0",
45
+ "@smithy/middleware-serde": "^4.0.0",
46
+ "@smithy/middleware-stack": "^4.0.0",
47
+ "@smithy/node-config-provider": "^4.0.0",
48
+ "@smithy/node-http-handler": "^4.0.0",
49
+ "@smithy/protocol-http": "^5.0.0",
50
+ "@smithy/smithy-client": "^4.0.0",
51
+ "@smithy/types": "^4.0.0",
52
+ "@smithy/url-parser": "^4.0.0",
53
+ "@smithy/util-base64": "^4.0.0",
54
+ "@smithy/util-body-length-browser": "^4.0.0",
55
+ "@smithy/util-body-length-node": "^4.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
57
+ "@smithy/util-defaults-mode-node": "^4.0.0",
58
+ "@smithy/util-endpoints": "^3.0.0",
59
+ "@smithy/util-middleware": "^4.0.0",
60
+ "@smithy/util-retry": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@tsconfig/node16": "16.1.3",
68
- "@types/node": "^16.18.96",
67
+ "@tsconfig/node18": "18.2.4",
68
+ "@types/node": "^18.19.69",
69
69
  "concurrently": "7.0.0",
70
70
  "downlevel-dts": "0.10.1",
71
71
  "rimraf": "3.0.2",
72
- "typescript": "~4.9.5"
72
+ "typescript": "~5.2.2"
73
73
  },
74
74
  "engines": {
75
- "node": ">=16.0.0"
75
+ "node": ">=18.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {