@aws-sdk/client-timestream-query 3.490.0 → 3.495.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.
Files changed (30) hide show
  1. package/dist-cjs/TimestreamQuery.js +1 -37
  2. package/dist-cjs/TimestreamQueryClient.js +1 -48
  3. package/dist-cjs/commands/CancelQueryCommand.js +1 -30
  4. package/dist-cjs/commands/CreateScheduledQueryCommand.js +1 -31
  5. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +1 -30
  6. package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +1 -31
  8. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +1 -31
  9. package/dist-cjs/commands/ListScheduledQueriesCommand.js +1 -30
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -30
  11. package/dist-cjs/commands/PrepareQueryCommand.js +1 -31
  12. package/dist-cjs/commands/QueryCommand.js +1 -31
  13. package/dist-cjs/commands/TagResourceCommand.js +1 -30
  14. package/dist-cjs/commands/UntagResourceCommand.js +1 -30
  15. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +1 -30
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1761 -11
  20. package/dist-cjs/models/TimestreamQueryServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -213
  23. package/dist-cjs/pagination/Interfaces.js +1 -2
  24. package/dist-cjs/pagination/ListScheduledQueriesPaginator.js +1 -7
  25. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
  26. package/dist-cjs/pagination/QueryPaginator.js +1 -7
  27. package/dist-cjs/pagination/index.js +1 -7
  28. package/dist-cjs/protocols/Aws_json1_0.js +1 -1058
  29. package/dist-cjs/runtimeExtensions.js +1 -22
  30. package/package.json +41 -41
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,1762 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TimestreamQueryServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./TimestreamQueryClient"), exports);
6
- tslib_1.__exportStar(require("./TimestreamQuery"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var TimestreamQueryServiceException_1 = require("./models/TimestreamQueryServiceException");
12
- Object.defineProperty(exports, "TimestreamQueryServiceException", { enumerable: true, get: function () { return TimestreamQueryServiceException_1.TimestreamQueryServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ CancelQueryCommand: () => CancelQueryCommand,
26
+ ConflictException: () => ConflictException,
27
+ CreateScheduledQueryCommand: () => CreateScheduledQueryCommand,
28
+ CreateScheduledQueryRequestFilterSensitiveLog: () => CreateScheduledQueryRequestFilterSensitiveLog,
29
+ DeleteScheduledQueryCommand: () => DeleteScheduledQueryCommand,
30
+ DescribeEndpointsCommand: () => DescribeEndpointsCommand,
31
+ DescribeScheduledQueryCommand: () => DescribeScheduledQueryCommand,
32
+ DescribeScheduledQueryResponseFilterSensitiveLog: () => DescribeScheduledQueryResponseFilterSensitiveLog,
33
+ DimensionValueType: () => DimensionValueType,
34
+ ExecuteScheduledQueryCommand: () => ExecuteScheduledQueryCommand,
35
+ ExecuteScheduledQueryRequestFilterSensitiveLog: () => ExecuteScheduledQueryRequestFilterSensitiveLog,
36
+ InternalServerException: () => InternalServerException,
37
+ InvalidEndpointException: () => InvalidEndpointException,
38
+ ListScheduledQueriesCommand: () => ListScheduledQueriesCommand,
39
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
40
+ MeasureValueType: () => MeasureValueType,
41
+ PrepareQueryCommand: () => PrepareQueryCommand,
42
+ PrepareQueryRequestFilterSensitiveLog: () => PrepareQueryRequestFilterSensitiveLog,
43
+ PrepareQueryResponseFilterSensitiveLog: () => PrepareQueryResponseFilterSensitiveLog,
44
+ QueryCommand: () => QueryCommand,
45
+ QueryExecutionException: () => QueryExecutionException,
46
+ QueryRequestFilterSensitiveLog: () => QueryRequestFilterSensitiveLog,
47
+ ResourceNotFoundException: () => ResourceNotFoundException,
48
+ S3EncryptionOption: () => S3EncryptionOption,
49
+ ScalarMeasureValueType: () => ScalarMeasureValueType,
50
+ ScalarType: () => ScalarType,
51
+ ScheduledQueryDescriptionFilterSensitiveLog: () => ScheduledQueryDescriptionFilterSensitiveLog,
52
+ ScheduledQueryRunStatus: () => ScheduledQueryRunStatus,
53
+ ScheduledQueryState: () => ScheduledQueryState,
54
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
55
+ TagResourceCommand: () => TagResourceCommand,
56
+ ThrottlingException: () => ThrottlingException,
57
+ TimestreamQuery: () => TimestreamQuery,
58
+ TimestreamQueryClient: () => TimestreamQueryClient,
59
+ TimestreamQueryServiceException: () => TimestreamQueryServiceException,
60
+ UntagResourceCommand: () => UntagResourceCommand,
61
+ UpdateScheduledQueryCommand: () => UpdateScheduledQueryCommand,
62
+ ValidationException: () => ValidationException,
63
+ __Client: () => import_smithy_client.Client,
64
+ paginateListScheduledQueries: () => paginateListScheduledQueries,
65
+ paginateListTagsForResource: () => paginateListTagsForResource,
66
+ paginateQuery: () => paginateQuery
67
+ });
68
+ module.exports = __toCommonJS(src_exports);
69
+
70
+ // src/TimestreamQueryClient.ts
71
+ var import_middleware_endpoint_discovery = require("@aws-sdk/middleware-endpoint-discovery");
72
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
73
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
74
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
75
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
76
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
77
+ var import_config_resolver = require("@smithy/config-resolver");
78
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
79
+
80
+ var import_middleware_retry = require("@smithy/middleware-retry");
81
+
82
+
83
+ // src/commands/DescribeEndpointsCommand.ts
84
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
85
+ var import_middleware_serde = require("@smithy/middleware-serde");
86
+
87
+ var import_types = require("@smithy/types");
88
+
89
+ // src/endpoint/EndpointParameters.ts
90
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
91
+ return {
92
+ ...options,
93
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
94
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
95
+ defaultSigningName: "timestream"
96
+ };
97
+ }, "resolveClientEndpointParameters");
98
+ var commonParams = {
99
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
100
+ Endpoint: { type: "builtInParams", name: "endpoint" },
101
+ Region: { type: "builtInParams", name: "region" },
102
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
103
+ };
104
+
105
+ // src/protocols/Aws_json1_0.ts
106
+ var import_protocol_http = require("@smithy/protocol-http");
107
+
108
+ var import_uuid = require("uuid");
109
+
110
+ // src/models/models_0.ts
111
+
112
+
113
+ // src/models/TimestreamQueryServiceException.ts
114
+ var import_smithy_client = require("@smithy/smithy-client");
115
+ var _TimestreamQueryServiceException = class _TimestreamQueryServiceException extends import_smithy_client.ServiceException {
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(options) {
120
+ super(options);
121
+ Object.setPrototypeOf(this, _TimestreamQueryServiceException.prototype);
122
+ }
123
+ };
124
+ __name(_TimestreamQueryServiceException, "TimestreamQueryServiceException");
125
+ var TimestreamQueryServiceException = _TimestreamQueryServiceException;
126
+
127
+ // src/models/models_0.ts
128
+ var _AccessDeniedException = class _AccessDeniedException extends TimestreamQueryServiceException {
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts) {
133
+ super({
134
+ name: "AccessDeniedException",
135
+ $fault: "client",
136
+ ...opts
137
+ });
138
+ this.name = "AccessDeniedException";
139
+ this.$fault = "client";
140
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
141
+ this.Message = opts.Message;
142
+ }
143
+ };
144
+ __name(_AccessDeniedException, "AccessDeniedException");
145
+ var AccessDeniedException = _AccessDeniedException;
146
+ var _InternalServerException = class _InternalServerException extends TimestreamQueryServiceException {
147
+ /**
148
+ * @internal
149
+ */
150
+ constructor(opts) {
151
+ super({
152
+ name: "InternalServerException",
153
+ $fault: "server",
154
+ ...opts
155
+ });
156
+ this.name = "InternalServerException";
157
+ this.$fault = "server";
158
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
159
+ this.Message = opts.Message;
160
+ }
161
+ };
162
+ __name(_InternalServerException, "InternalServerException");
163
+ var InternalServerException = _InternalServerException;
164
+ var _InvalidEndpointException = class _InvalidEndpointException extends TimestreamQueryServiceException {
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts) {
169
+ super({
170
+ name: "InvalidEndpointException",
171
+ $fault: "client",
172
+ ...opts
173
+ });
174
+ this.name = "InvalidEndpointException";
175
+ this.$fault = "client";
176
+ Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
177
+ this.Message = opts.Message;
178
+ }
179
+ };
180
+ __name(_InvalidEndpointException, "InvalidEndpointException");
181
+ var InvalidEndpointException = _InvalidEndpointException;
182
+ var _ThrottlingException = class _ThrottlingException extends TimestreamQueryServiceException {
183
+ /**
184
+ * @internal
185
+ */
186
+ constructor(opts) {
187
+ super({
188
+ name: "ThrottlingException",
189
+ $fault: "client",
190
+ ...opts
191
+ });
192
+ this.name = "ThrottlingException";
193
+ this.$fault = "client";
194
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ };
198
+ __name(_ThrottlingException, "ThrottlingException");
199
+ var ThrottlingException = _ThrottlingException;
200
+ var _ValidationException = class _ValidationException extends TimestreamQueryServiceException {
201
+ /**
202
+ * @internal
203
+ */
204
+ constructor(opts) {
205
+ super({
206
+ name: "ValidationException",
207
+ $fault: "client",
208
+ ...opts
209
+ });
210
+ this.name = "ValidationException";
211
+ this.$fault = "client";
212
+ Object.setPrototypeOf(this, _ValidationException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ };
216
+ __name(_ValidationException, "ValidationException");
217
+ var ValidationException = _ValidationException;
218
+ var ScalarType = {
219
+ BIGINT: "BIGINT",
220
+ BOOLEAN: "BOOLEAN",
221
+ DATE: "DATE",
222
+ DOUBLE: "DOUBLE",
223
+ INTEGER: "INTEGER",
224
+ INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
225
+ INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
226
+ TIME: "TIME",
227
+ TIMESTAMP: "TIMESTAMP",
228
+ UNKNOWN: "UNKNOWN",
229
+ VARCHAR: "VARCHAR"
230
+ };
231
+ var _ConflictException = class _ConflictException extends TimestreamQueryServiceException {
232
+ /**
233
+ * @internal
234
+ */
235
+ constructor(opts) {
236
+ super({
237
+ name: "ConflictException",
238
+ $fault: "client",
239
+ ...opts
240
+ });
241
+ this.name = "ConflictException";
242
+ this.$fault = "client";
243
+ Object.setPrototypeOf(this, _ConflictException.prototype);
244
+ this.Message = opts.Message;
245
+ }
246
+ };
247
+ __name(_ConflictException, "ConflictException");
248
+ var ConflictException = _ConflictException;
249
+ var S3EncryptionOption = {
250
+ SSE_KMS: "SSE_KMS",
251
+ SSE_S3: "SSE_S3"
252
+ };
253
+ var DimensionValueType = {
254
+ VARCHAR: "VARCHAR"
255
+ };
256
+ var MeasureValueType = {
257
+ BIGINT: "BIGINT",
258
+ BOOLEAN: "BOOLEAN",
259
+ DOUBLE: "DOUBLE",
260
+ MULTI: "MULTI",
261
+ VARCHAR: "VARCHAR"
262
+ };
263
+ var ScalarMeasureValueType = {
264
+ BIGINT: "BIGINT",
265
+ BOOLEAN: "BOOLEAN",
266
+ DOUBLE: "DOUBLE",
267
+ TIMESTAMP: "TIMESTAMP",
268
+ VARCHAR: "VARCHAR"
269
+ };
270
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamQueryServiceException {
271
+ /**
272
+ * @internal
273
+ */
274
+ constructor(opts) {
275
+ super({
276
+ name: "ServiceQuotaExceededException",
277
+ $fault: "client",
278
+ ...opts
279
+ });
280
+ this.name = "ServiceQuotaExceededException";
281
+ this.$fault = "client";
282
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
283
+ this.Message = opts.Message;
284
+ }
285
+ };
286
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
287
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
288
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamQueryServiceException {
289
+ /**
290
+ * @internal
291
+ */
292
+ constructor(opts) {
293
+ super({
294
+ name: "ResourceNotFoundException",
295
+ $fault: "client",
296
+ ...opts
297
+ });
298
+ this.name = "ResourceNotFoundException";
299
+ this.$fault = "client";
300
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
301
+ this.Message = opts.Message;
302
+ this.ScheduledQueryArn = opts.ScheduledQueryArn;
303
+ }
304
+ };
305
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
306
+ var ResourceNotFoundException = _ResourceNotFoundException;
307
+ var ScheduledQueryRunStatus = {
308
+ AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
309
+ AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
310
+ MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
311
+ MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS"
312
+ };
313
+ var ScheduledQueryState = {
314
+ DISABLED: "DISABLED",
315
+ ENABLED: "ENABLED"
316
+ };
317
+ var _QueryExecutionException = class _QueryExecutionException extends TimestreamQueryServiceException {
318
+ /**
319
+ * @internal
320
+ */
321
+ constructor(opts) {
322
+ super({
323
+ name: "QueryExecutionException",
324
+ $fault: "client",
325
+ ...opts
326
+ });
327
+ this.name = "QueryExecutionException";
328
+ this.$fault = "client";
329
+ Object.setPrototypeOf(this, _QueryExecutionException.prototype);
330
+ this.Message = opts.Message;
331
+ }
332
+ };
333
+ __name(_QueryExecutionException, "QueryExecutionException");
334
+ var QueryExecutionException = _QueryExecutionException;
335
+ var CreateScheduledQueryRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
336
+ ...obj,
337
+ ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING },
338
+ ...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING }
339
+ }), "CreateScheduledQueryRequestFilterSensitiveLog");
340
+ var ScheduledQueryDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
341
+ ...obj,
342
+ ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING }
343
+ }), "ScheduledQueryDescriptionFilterSensitiveLog");
344
+ var DescribeScheduledQueryResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
345
+ ...obj,
346
+ ...obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescriptionFilterSensitiveLog(obj.ScheduledQuery) }
347
+ }), "DescribeScheduledQueryResponseFilterSensitiveLog");
348
+ var ExecuteScheduledQueryRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
349
+ ...obj,
350
+ ...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING }
351
+ }), "ExecuteScheduledQueryRequestFilterSensitiveLog");
352
+ var PrepareQueryRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
353
+ ...obj,
354
+ ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING }
355
+ }), "PrepareQueryRequestFilterSensitiveLog");
356
+ var QueryRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
357
+ ...obj,
358
+ ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING },
359
+ ...obj.ClientToken && { ClientToken: import_smithy_client.SENSITIVE_STRING }
360
+ }), "QueryRequestFilterSensitiveLog");
361
+ var PrepareQueryResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
362
+ ...obj,
363
+ ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING }
364
+ }), "PrepareQueryResponseFilterSensitiveLog");
365
+
366
+ // src/protocols/Aws_json1_0.ts
367
+ var se_CancelQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
368
+ const headers = sharedHeaders("CancelQuery");
369
+ let body;
370
+ body = JSON.stringify((0, import_smithy_client._json)(input));
371
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
372
+ }, "se_CancelQueryCommand");
373
+ var se_CreateScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
374
+ const headers = sharedHeaders("CreateScheduledQuery");
375
+ let body;
376
+ body = JSON.stringify(se_CreateScheduledQueryRequest(input, context));
377
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
378
+ }, "se_CreateScheduledQueryCommand");
379
+ var se_DeleteScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
380
+ const headers = sharedHeaders("DeleteScheduledQuery");
381
+ let body;
382
+ body = JSON.stringify((0, import_smithy_client._json)(input));
383
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
384
+ }, "se_DeleteScheduledQueryCommand");
385
+ var se_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
386
+ const headers = sharedHeaders("DescribeEndpoints");
387
+ let body;
388
+ body = JSON.stringify((0, import_smithy_client._json)(input));
389
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
390
+ }, "se_DescribeEndpointsCommand");
391
+ var se_DescribeScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
392
+ const headers = sharedHeaders("DescribeScheduledQuery");
393
+ let body;
394
+ body = JSON.stringify((0, import_smithy_client._json)(input));
395
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
396
+ }, "se_DescribeScheduledQueryCommand");
397
+ var se_ExecuteScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
398
+ const headers = sharedHeaders("ExecuteScheduledQuery");
399
+ let body;
400
+ body = JSON.stringify(se_ExecuteScheduledQueryRequest(input, context));
401
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
402
+ }, "se_ExecuteScheduledQueryCommand");
403
+ var se_ListScheduledQueriesCommand = /* @__PURE__ */ __name(async (input, context) => {
404
+ const headers = sharedHeaders("ListScheduledQueries");
405
+ let body;
406
+ body = JSON.stringify((0, import_smithy_client._json)(input));
407
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
408
+ }, "se_ListScheduledQueriesCommand");
409
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
410
+ const headers = sharedHeaders("ListTagsForResource");
411
+ let body;
412
+ body = JSON.stringify((0, import_smithy_client._json)(input));
413
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
414
+ }, "se_ListTagsForResourceCommand");
415
+ var se_PrepareQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
416
+ const headers = sharedHeaders("PrepareQuery");
417
+ let body;
418
+ body = JSON.stringify((0, import_smithy_client._json)(input));
419
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
420
+ }, "se_PrepareQueryCommand");
421
+ var se_QueryCommand = /* @__PURE__ */ __name(async (input, context) => {
422
+ const headers = sharedHeaders("Query");
423
+ let body;
424
+ body = JSON.stringify(se_QueryRequest(input, context));
425
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
426
+ }, "se_QueryCommand");
427
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
428
+ const headers = sharedHeaders("TagResource");
429
+ let body;
430
+ body = JSON.stringify((0, import_smithy_client._json)(input));
431
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
432
+ }, "se_TagResourceCommand");
433
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
434
+ const headers = sharedHeaders("UntagResource");
435
+ let body;
436
+ body = JSON.stringify((0, import_smithy_client._json)(input));
437
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
438
+ }, "se_UntagResourceCommand");
439
+ var se_UpdateScheduledQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
440
+ const headers = sharedHeaders("UpdateScheduledQuery");
441
+ let body;
442
+ body = JSON.stringify((0, import_smithy_client._json)(input));
443
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
444
+ }, "se_UpdateScheduledQueryCommand");
445
+ var de_CancelQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
446
+ if (output.statusCode >= 300) {
447
+ return de_CancelQueryCommandError(output, context);
448
+ }
449
+ const data = await parseBody(output.body, context);
450
+ let contents = {};
451
+ contents = (0, import_smithy_client._json)(data);
452
+ const response = {
453
+ $metadata: deserializeMetadata(output),
454
+ ...contents
455
+ };
456
+ return response;
457
+ }, "de_CancelQueryCommand");
458
+ var de_CancelQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
459
+ const parsedOutput = {
460
+ ...output,
461
+ body: await parseErrorBody(output.body, context)
462
+ };
463
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
464
+ switch (errorCode) {
465
+ case "AccessDeniedException":
466
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
467
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
468
+ case "InternalServerException":
469
+ case "com.amazonaws.timestreamquery#InternalServerException":
470
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
471
+ case "InvalidEndpointException":
472
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
473
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
474
+ case "ThrottlingException":
475
+ case "com.amazonaws.timestreamquery#ThrottlingException":
476
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
477
+ case "ValidationException":
478
+ case "com.amazonaws.timestreamquery#ValidationException":
479
+ throw await de_ValidationExceptionRes(parsedOutput, context);
480
+ default:
481
+ const parsedBody = parsedOutput.body;
482
+ return throwDefaultError({
483
+ output,
484
+ parsedBody,
485
+ errorCode
486
+ });
487
+ }
488
+ }, "de_CancelQueryCommandError");
489
+ var de_CreateScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
490
+ if (output.statusCode >= 300) {
491
+ return de_CreateScheduledQueryCommandError(output, context);
492
+ }
493
+ const data = await parseBody(output.body, context);
494
+ let contents = {};
495
+ contents = (0, import_smithy_client._json)(data);
496
+ const response = {
497
+ $metadata: deserializeMetadata(output),
498
+ ...contents
499
+ };
500
+ return response;
501
+ }, "de_CreateScheduledQueryCommand");
502
+ var de_CreateScheduledQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
503
+ const parsedOutput = {
504
+ ...output,
505
+ body: await parseErrorBody(output.body, context)
506
+ };
507
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
508
+ switch (errorCode) {
509
+ case "AccessDeniedException":
510
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
511
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
512
+ case "ConflictException":
513
+ case "com.amazonaws.timestreamquery#ConflictException":
514
+ throw await de_ConflictExceptionRes(parsedOutput, context);
515
+ case "InternalServerException":
516
+ case "com.amazonaws.timestreamquery#InternalServerException":
517
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
518
+ case "InvalidEndpointException":
519
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
520
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
521
+ case "ServiceQuotaExceededException":
522
+ case "com.amazonaws.timestreamquery#ServiceQuotaExceededException":
523
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
524
+ case "ThrottlingException":
525
+ case "com.amazonaws.timestreamquery#ThrottlingException":
526
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
527
+ case "ValidationException":
528
+ case "com.amazonaws.timestreamquery#ValidationException":
529
+ throw await de_ValidationExceptionRes(parsedOutput, context);
530
+ default:
531
+ const parsedBody = parsedOutput.body;
532
+ return throwDefaultError({
533
+ output,
534
+ parsedBody,
535
+ errorCode
536
+ });
537
+ }
538
+ }, "de_CreateScheduledQueryCommandError");
539
+ var de_DeleteScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
540
+ if (output.statusCode >= 300) {
541
+ return de_DeleteScheduledQueryCommandError(output, context);
542
+ }
543
+ await (0, import_smithy_client.collectBody)(output.body, context);
544
+ const response = {
545
+ $metadata: deserializeMetadata(output)
546
+ };
547
+ return response;
548
+ }, "de_DeleteScheduledQueryCommand");
549
+ var de_DeleteScheduledQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
550
+ const parsedOutput = {
551
+ ...output,
552
+ body: await parseErrorBody(output.body, context)
553
+ };
554
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
555
+ switch (errorCode) {
556
+ case "AccessDeniedException":
557
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
558
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
559
+ case "InternalServerException":
560
+ case "com.amazonaws.timestreamquery#InternalServerException":
561
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
562
+ case "InvalidEndpointException":
563
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
564
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
565
+ case "ResourceNotFoundException":
566
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
568
+ case "ThrottlingException":
569
+ case "com.amazonaws.timestreamquery#ThrottlingException":
570
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
571
+ case "ValidationException":
572
+ case "com.amazonaws.timestreamquery#ValidationException":
573
+ throw await de_ValidationExceptionRes(parsedOutput, context);
574
+ default:
575
+ const parsedBody = parsedOutput.body;
576
+ return throwDefaultError({
577
+ output,
578
+ parsedBody,
579
+ errorCode
580
+ });
581
+ }
582
+ }, "de_DeleteScheduledQueryCommandError");
583
+ var de_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
584
+ if (output.statusCode >= 300) {
585
+ return de_DescribeEndpointsCommandError(output, context);
586
+ }
587
+ const data = await parseBody(output.body, context);
588
+ let contents = {};
589
+ contents = (0, import_smithy_client._json)(data);
590
+ const response = {
591
+ $metadata: deserializeMetadata(output),
592
+ ...contents
593
+ };
594
+ return response;
595
+ }, "de_DescribeEndpointsCommand");
596
+ var de_DescribeEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
597
+ const parsedOutput = {
598
+ ...output,
599
+ body: await parseErrorBody(output.body, context)
600
+ };
601
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
602
+ switch (errorCode) {
603
+ case "InternalServerException":
604
+ case "com.amazonaws.timestreamquery#InternalServerException":
605
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
606
+ case "ThrottlingException":
607
+ case "com.amazonaws.timestreamquery#ThrottlingException":
608
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
609
+ case "ValidationException":
610
+ case "com.amazonaws.timestreamquery#ValidationException":
611
+ throw await de_ValidationExceptionRes(parsedOutput, context);
612
+ default:
613
+ const parsedBody = parsedOutput.body;
614
+ return throwDefaultError({
615
+ output,
616
+ parsedBody,
617
+ errorCode
618
+ });
619
+ }
620
+ }, "de_DescribeEndpointsCommandError");
621
+ var de_DescribeScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
622
+ if (output.statusCode >= 300) {
623
+ return de_DescribeScheduledQueryCommandError(output, context);
624
+ }
625
+ const data = await parseBody(output.body, context);
626
+ let contents = {};
627
+ contents = de_DescribeScheduledQueryResponse(data, context);
628
+ const response = {
629
+ $metadata: deserializeMetadata(output),
630
+ ...contents
631
+ };
632
+ return response;
633
+ }, "de_DescribeScheduledQueryCommand");
634
+ var de_DescribeScheduledQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
635
+ const parsedOutput = {
636
+ ...output,
637
+ body: await parseErrorBody(output.body, context)
638
+ };
639
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
640
+ switch (errorCode) {
641
+ case "AccessDeniedException":
642
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
643
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
644
+ case "InternalServerException":
645
+ case "com.amazonaws.timestreamquery#InternalServerException":
646
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
647
+ case "InvalidEndpointException":
648
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
649
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
650
+ case "ResourceNotFoundException":
651
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
652
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
653
+ case "ThrottlingException":
654
+ case "com.amazonaws.timestreamquery#ThrottlingException":
655
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
656
+ case "ValidationException":
657
+ case "com.amazonaws.timestreamquery#ValidationException":
658
+ throw await de_ValidationExceptionRes(parsedOutput, context);
659
+ default:
660
+ const parsedBody = parsedOutput.body;
661
+ return throwDefaultError({
662
+ output,
663
+ parsedBody,
664
+ errorCode
665
+ });
666
+ }
667
+ }, "de_DescribeScheduledQueryCommandError");
668
+ var de_ExecuteScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
669
+ if (output.statusCode >= 300) {
670
+ return de_ExecuteScheduledQueryCommandError(output, context);
671
+ }
672
+ await (0, import_smithy_client.collectBody)(output.body, context);
673
+ const response = {
674
+ $metadata: deserializeMetadata(output)
675
+ };
676
+ return response;
677
+ }, "de_ExecuteScheduledQueryCommand");
678
+ var de_ExecuteScheduledQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
679
+ const parsedOutput = {
680
+ ...output,
681
+ body: await parseErrorBody(output.body, context)
682
+ };
683
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
684
+ switch (errorCode) {
685
+ case "AccessDeniedException":
686
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
687
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
688
+ case "InternalServerException":
689
+ case "com.amazonaws.timestreamquery#InternalServerException":
690
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
691
+ case "InvalidEndpointException":
692
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
693
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
694
+ case "ResourceNotFoundException":
695
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
696
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
697
+ case "ThrottlingException":
698
+ case "com.amazonaws.timestreamquery#ThrottlingException":
699
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
700
+ case "ValidationException":
701
+ case "com.amazonaws.timestreamquery#ValidationException":
702
+ throw await de_ValidationExceptionRes(parsedOutput, context);
703
+ default:
704
+ const parsedBody = parsedOutput.body;
705
+ return throwDefaultError({
706
+ output,
707
+ parsedBody,
708
+ errorCode
709
+ });
710
+ }
711
+ }, "de_ExecuteScheduledQueryCommandError");
712
+ var de_ListScheduledQueriesCommand = /* @__PURE__ */ __name(async (output, context) => {
713
+ if (output.statusCode >= 300) {
714
+ return de_ListScheduledQueriesCommandError(output, context);
715
+ }
716
+ const data = await parseBody(output.body, context);
717
+ let contents = {};
718
+ contents = de_ListScheduledQueriesResponse(data, context);
719
+ const response = {
720
+ $metadata: deserializeMetadata(output),
721
+ ...contents
722
+ };
723
+ return response;
724
+ }, "de_ListScheduledQueriesCommand");
725
+ var de_ListScheduledQueriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
726
+ const parsedOutput = {
727
+ ...output,
728
+ body: await parseErrorBody(output.body, context)
729
+ };
730
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
731
+ switch (errorCode) {
732
+ case "AccessDeniedException":
733
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
734
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
735
+ case "InternalServerException":
736
+ case "com.amazonaws.timestreamquery#InternalServerException":
737
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
738
+ case "InvalidEndpointException":
739
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
740
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
741
+ case "ThrottlingException":
742
+ case "com.amazonaws.timestreamquery#ThrottlingException":
743
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
744
+ case "ValidationException":
745
+ case "com.amazonaws.timestreamquery#ValidationException":
746
+ throw await de_ValidationExceptionRes(parsedOutput, context);
747
+ default:
748
+ const parsedBody = parsedOutput.body;
749
+ return throwDefaultError({
750
+ output,
751
+ parsedBody,
752
+ errorCode
753
+ });
754
+ }
755
+ }, "de_ListScheduledQueriesCommandError");
756
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
757
+ if (output.statusCode >= 300) {
758
+ return de_ListTagsForResourceCommandError(output, context);
759
+ }
760
+ const data = await parseBody(output.body, context);
761
+ let contents = {};
762
+ contents = (0, import_smithy_client._json)(data);
763
+ const response = {
764
+ $metadata: deserializeMetadata(output),
765
+ ...contents
766
+ };
767
+ return response;
768
+ }, "de_ListTagsForResourceCommand");
769
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
770
+ const parsedOutput = {
771
+ ...output,
772
+ body: await parseErrorBody(output.body, context)
773
+ };
774
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
775
+ switch (errorCode) {
776
+ case "InvalidEndpointException":
777
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
778
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
779
+ case "ResourceNotFoundException":
780
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
781
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
782
+ case "ThrottlingException":
783
+ case "com.amazonaws.timestreamquery#ThrottlingException":
784
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
785
+ case "ValidationException":
786
+ case "com.amazonaws.timestreamquery#ValidationException":
787
+ throw await de_ValidationExceptionRes(parsedOutput, context);
788
+ default:
789
+ const parsedBody = parsedOutput.body;
790
+ return throwDefaultError({
791
+ output,
792
+ parsedBody,
793
+ errorCode
794
+ });
795
+ }
796
+ }, "de_ListTagsForResourceCommandError");
797
+ var de_PrepareQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
798
+ if (output.statusCode >= 300) {
799
+ return de_PrepareQueryCommandError(output, context);
800
+ }
801
+ const data = await parseBody(output.body, context);
802
+ let contents = {};
803
+ contents = de_PrepareQueryResponse(data, context);
804
+ const response = {
805
+ $metadata: deserializeMetadata(output),
806
+ ...contents
807
+ };
808
+ return response;
809
+ }, "de_PrepareQueryCommand");
810
+ var de_PrepareQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
811
+ const parsedOutput = {
812
+ ...output,
813
+ body: await parseErrorBody(output.body, context)
814
+ };
815
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
816
+ switch (errorCode) {
817
+ case "AccessDeniedException":
818
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
819
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
820
+ case "InternalServerException":
821
+ case "com.amazonaws.timestreamquery#InternalServerException":
822
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
823
+ case "InvalidEndpointException":
824
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
825
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
826
+ case "ThrottlingException":
827
+ case "com.amazonaws.timestreamquery#ThrottlingException":
828
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
829
+ case "ValidationException":
830
+ case "com.amazonaws.timestreamquery#ValidationException":
831
+ throw await de_ValidationExceptionRes(parsedOutput, context);
832
+ default:
833
+ const parsedBody = parsedOutput.body;
834
+ return throwDefaultError({
835
+ output,
836
+ parsedBody,
837
+ errorCode
838
+ });
839
+ }
840
+ }, "de_PrepareQueryCommandError");
841
+ var de_QueryCommand = /* @__PURE__ */ __name(async (output, context) => {
842
+ if (output.statusCode >= 300) {
843
+ return de_QueryCommandError(output, context);
844
+ }
845
+ const data = await parseBody(output.body, context);
846
+ let contents = {};
847
+ contents = de_QueryResponse(data, context);
848
+ const response = {
849
+ $metadata: deserializeMetadata(output),
850
+ ...contents
851
+ };
852
+ return response;
853
+ }, "de_QueryCommand");
854
+ var de_QueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
855
+ const parsedOutput = {
856
+ ...output,
857
+ body: await parseErrorBody(output.body, context)
858
+ };
859
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
860
+ switch (errorCode) {
861
+ case "AccessDeniedException":
862
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
863
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
864
+ case "ConflictException":
865
+ case "com.amazonaws.timestreamquery#ConflictException":
866
+ throw await de_ConflictExceptionRes(parsedOutput, context);
867
+ case "InternalServerException":
868
+ case "com.amazonaws.timestreamquery#InternalServerException":
869
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
870
+ case "InvalidEndpointException":
871
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
872
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
873
+ case "QueryExecutionException":
874
+ case "com.amazonaws.timestreamquery#QueryExecutionException":
875
+ throw await de_QueryExecutionExceptionRes(parsedOutput, context);
876
+ case "ThrottlingException":
877
+ case "com.amazonaws.timestreamquery#ThrottlingException":
878
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
879
+ case "ValidationException":
880
+ case "com.amazonaws.timestreamquery#ValidationException":
881
+ throw await de_ValidationExceptionRes(parsedOutput, context);
882
+ default:
883
+ const parsedBody = parsedOutput.body;
884
+ return throwDefaultError({
885
+ output,
886
+ parsedBody,
887
+ errorCode
888
+ });
889
+ }
890
+ }, "de_QueryCommandError");
891
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
892
+ if (output.statusCode >= 300) {
893
+ return de_TagResourceCommandError(output, context);
894
+ }
895
+ const data = await parseBody(output.body, context);
896
+ let contents = {};
897
+ contents = (0, import_smithy_client._json)(data);
898
+ const response = {
899
+ $metadata: deserializeMetadata(output),
900
+ ...contents
901
+ };
902
+ return response;
903
+ }, "de_TagResourceCommand");
904
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
905
+ const parsedOutput = {
906
+ ...output,
907
+ body: await parseErrorBody(output.body, context)
908
+ };
909
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
910
+ switch (errorCode) {
911
+ case "InvalidEndpointException":
912
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
913
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
914
+ case "ResourceNotFoundException":
915
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
916
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
917
+ case "ServiceQuotaExceededException":
918
+ case "com.amazonaws.timestreamquery#ServiceQuotaExceededException":
919
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
920
+ case "ThrottlingException":
921
+ case "com.amazonaws.timestreamquery#ThrottlingException":
922
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
923
+ case "ValidationException":
924
+ case "com.amazonaws.timestreamquery#ValidationException":
925
+ throw await de_ValidationExceptionRes(parsedOutput, context);
926
+ default:
927
+ const parsedBody = parsedOutput.body;
928
+ return throwDefaultError({
929
+ output,
930
+ parsedBody,
931
+ errorCode
932
+ });
933
+ }
934
+ }, "de_TagResourceCommandError");
935
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
936
+ if (output.statusCode >= 300) {
937
+ return de_UntagResourceCommandError(output, context);
938
+ }
939
+ const data = await parseBody(output.body, context);
940
+ let contents = {};
941
+ contents = (0, import_smithy_client._json)(data);
942
+ const response = {
943
+ $metadata: deserializeMetadata(output),
944
+ ...contents
945
+ };
946
+ return response;
947
+ }, "de_UntagResourceCommand");
948
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
949
+ const parsedOutput = {
950
+ ...output,
951
+ body: await parseErrorBody(output.body, context)
952
+ };
953
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
954
+ switch (errorCode) {
955
+ case "InvalidEndpointException":
956
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
957
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
958
+ case "ResourceNotFoundException":
959
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
960
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
961
+ case "ThrottlingException":
962
+ case "com.amazonaws.timestreamquery#ThrottlingException":
963
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
964
+ case "ValidationException":
965
+ case "com.amazonaws.timestreamquery#ValidationException":
966
+ throw await de_ValidationExceptionRes(parsedOutput, context);
967
+ default:
968
+ const parsedBody = parsedOutput.body;
969
+ return throwDefaultError({
970
+ output,
971
+ parsedBody,
972
+ errorCode
973
+ });
974
+ }
975
+ }, "de_UntagResourceCommandError");
976
+ var de_UpdateScheduledQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
977
+ if (output.statusCode >= 300) {
978
+ return de_UpdateScheduledQueryCommandError(output, context);
979
+ }
980
+ await (0, import_smithy_client.collectBody)(output.body, context);
981
+ const response = {
982
+ $metadata: deserializeMetadata(output)
983
+ };
984
+ return response;
985
+ }, "de_UpdateScheduledQueryCommand");
986
+ var de_UpdateScheduledQueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
987
+ const parsedOutput = {
988
+ ...output,
989
+ body: await parseErrorBody(output.body, context)
990
+ };
991
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
992
+ switch (errorCode) {
993
+ case "AccessDeniedException":
994
+ case "com.amazonaws.timestreamquery#AccessDeniedException":
995
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
996
+ case "InternalServerException":
997
+ case "com.amazonaws.timestreamquery#InternalServerException":
998
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
999
+ case "InvalidEndpointException":
1000
+ case "com.amazonaws.timestreamquery#InvalidEndpointException":
1001
+ throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
1002
+ case "ResourceNotFoundException":
1003
+ case "com.amazonaws.timestreamquery#ResourceNotFoundException":
1004
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1005
+ case "ThrottlingException":
1006
+ case "com.amazonaws.timestreamquery#ThrottlingException":
1007
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1008
+ case "ValidationException":
1009
+ case "com.amazonaws.timestreamquery#ValidationException":
1010
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1011
+ default:
1012
+ const parsedBody = parsedOutput.body;
1013
+ return throwDefaultError({
1014
+ output,
1015
+ parsedBody,
1016
+ errorCode
1017
+ });
1018
+ }
1019
+ }, "de_UpdateScheduledQueryCommandError");
1020
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1021
+ const body = parsedOutput.body;
1022
+ const deserialized = (0, import_smithy_client._json)(body);
1023
+ const exception = new AccessDeniedException({
1024
+ $metadata: deserializeMetadata(parsedOutput),
1025
+ ...deserialized
1026
+ });
1027
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1028
+ }, "de_AccessDeniedExceptionRes");
1029
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1030
+ const body = parsedOutput.body;
1031
+ const deserialized = (0, import_smithy_client._json)(body);
1032
+ const exception = new ConflictException({
1033
+ $metadata: deserializeMetadata(parsedOutput),
1034
+ ...deserialized
1035
+ });
1036
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1037
+ }, "de_ConflictExceptionRes");
1038
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1039
+ const body = parsedOutput.body;
1040
+ const deserialized = (0, import_smithy_client._json)(body);
1041
+ const exception = new InternalServerException({
1042
+ $metadata: deserializeMetadata(parsedOutput),
1043
+ ...deserialized
1044
+ });
1045
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1046
+ }, "de_InternalServerExceptionRes");
1047
+ var de_InvalidEndpointExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1048
+ const body = parsedOutput.body;
1049
+ const deserialized = (0, import_smithy_client._json)(body);
1050
+ const exception = new InvalidEndpointException({
1051
+ $metadata: deserializeMetadata(parsedOutput),
1052
+ ...deserialized
1053
+ });
1054
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1055
+ }, "de_InvalidEndpointExceptionRes");
1056
+ var de_QueryExecutionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1057
+ const body = parsedOutput.body;
1058
+ const deserialized = (0, import_smithy_client._json)(body);
1059
+ const exception = new QueryExecutionException({
1060
+ $metadata: deserializeMetadata(parsedOutput),
1061
+ ...deserialized
1062
+ });
1063
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1064
+ }, "de_QueryExecutionExceptionRes");
1065
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1066
+ const body = parsedOutput.body;
1067
+ const deserialized = (0, import_smithy_client._json)(body);
1068
+ const exception = new ResourceNotFoundException({
1069
+ $metadata: deserializeMetadata(parsedOutput),
1070
+ ...deserialized
1071
+ });
1072
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1073
+ }, "de_ResourceNotFoundExceptionRes");
1074
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1075
+ const body = parsedOutput.body;
1076
+ const deserialized = (0, import_smithy_client._json)(body);
1077
+ const exception = new ServiceQuotaExceededException({
1078
+ $metadata: deserializeMetadata(parsedOutput),
1079
+ ...deserialized
1080
+ });
1081
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1082
+ }, "de_ServiceQuotaExceededExceptionRes");
1083
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1084
+ const body = parsedOutput.body;
1085
+ const deserialized = (0, import_smithy_client._json)(body);
1086
+ const exception = new ThrottlingException({
1087
+ $metadata: deserializeMetadata(parsedOutput),
1088
+ ...deserialized
1089
+ });
1090
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1091
+ }, "de_ThrottlingExceptionRes");
1092
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1093
+ const body = parsedOutput.body;
1094
+ const deserialized = (0, import_smithy_client._json)(body);
1095
+ const exception = new ValidationException({
1096
+ $metadata: deserializeMetadata(parsedOutput),
1097
+ ...deserialized
1098
+ });
1099
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1100
+ }, "de_ValidationExceptionRes");
1101
+ var se_CreateScheduledQueryRequest = /* @__PURE__ */ __name((input, context) => {
1102
+ return (0, import_smithy_client.take)(input, {
1103
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1104
+ ErrorReportConfiguration: import_smithy_client._json,
1105
+ KmsKeyId: [],
1106
+ Name: [],
1107
+ NotificationConfiguration: import_smithy_client._json,
1108
+ QueryString: [],
1109
+ ScheduleConfiguration: import_smithy_client._json,
1110
+ ScheduledQueryExecutionRoleArn: [],
1111
+ Tags: import_smithy_client._json,
1112
+ TargetConfiguration: import_smithy_client._json
1113
+ });
1114
+ }, "se_CreateScheduledQueryRequest");
1115
+ var se_ExecuteScheduledQueryRequest = /* @__PURE__ */ __name((input, context) => {
1116
+ return (0, import_smithy_client.take)(input, {
1117
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1118
+ InvocationTime: (_) => Math.round(_.getTime() / 1e3),
1119
+ ScheduledQueryArn: []
1120
+ });
1121
+ }, "se_ExecuteScheduledQueryRequest");
1122
+ var se_QueryRequest = /* @__PURE__ */ __name((input, context) => {
1123
+ return (0, import_smithy_client.take)(input, {
1124
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1125
+ MaxRows: [],
1126
+ NextToken: [],
1127
+ QueryString: []
1128
+ });
1129
+ }, "se_QueryRequest");
1130
+ var de_ColumnInfo = /* @__PURE__ */ __name((output, context) => {
1131
+ return (0, import_smithy_client.take)(output, {
1132
+ Name: import_smithy_client.expectString,
1133
+ Type: (_) => de_Type(_, context)
1134
+ });
1135
+ }, "de_ColumnInfo");
1136
+ var de_ColumnInfoList = /* @__PURE__ */ __name((output, context) => {
1137
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1138
+ return de_ColumnInfo(entry, context);
1139
+ });
1140
+ return retVal;
1141
+ }, "de_ColumnInfoList");
1142
+ var de_Datum = /* @__PURE__ */ __name((output, context) => {
1143
+ return (0, import_smithy_client.take)(output, {
1144
+ ArrayValue: (_) => de_DatumList(_, context),
1145
+ NullValue: import_smithy_client.expectBoolean,
1146
+ RowValue: (_) => de_Row(_, context),
1147
+ ScalarValue: import_smithy_client.expectString,
1148
+ TimeSeriesValue: (_) => de_TimeSeriesDataPointList(_, context)
1149
+ });
1150
+ }, "de_Datum");
1151
+ var de_DatumList = /* @__PURE__ */ __name((output, context) => {
1152
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1153
+ return de_Datum(entry, context);
1154
+ });
1155
+ return retVal;
1156
+ }, "de_DatumList");
1157
+ var de_DescribeScheduledQueryResponse = /* @__PURE__ */ __name((output, context) => {
1158
+ return (0, import_smithy_client.take)(output, {
1159
+ ScheduledQuery: (_) => de_ScheduledQueryDescription(_, context)
1160
+ });
1161
+ }, "de_DescribeScheduledQueryResponse");
1162
+ var de_ListScheduledQueriesResponse = /* @__PURE__ */ __name((output, context) => {
1163
+ return (0, import_smithy_client.take)(output, {
1164
+ NextToken: import_smithy_client.expectString,
1165
+ ScheduledQueries: (_) => de_ScheduledQueryList(_, context)
1166
+ });
1167
+ }, "de_ListScheduledQueriesResponse");
1168
+ var de_ParameterMapping = /* @__PURE__ */ __name((output, context) => {
1169
+ return (0, import_smithy_client.take)(output, {
1170
+ Name: import_smithy_client.expectString,
1171
+ Type: (_) => de_Type(_, context)
1172
+ });
1173
+ }, "de_ParameterMapping");
1174
+ var de_ParameterMappingList = /* @__PURE__ */ __name((output, context) => {
1175
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1176
+ return de_ParameterMapping(entry, context);
1177
+ });
1178
+ return retVal;
1179
+ }, "de_ParameterMappingList");
1180
+ var de_PrepareQueryResponse = /* @__PURE__ */ __name((output, context) => {
1181
+ return (0, import_smithy_client.take)(output, {
1182
+ Columns: (_) => de_SelectColumnList(_, context),
1183
+ Parameters: (_) => de_ParameterMappingList(_, context),
1184
+ QueryString: import_smithy_client.expectString
1185
+ });
1186
+ }, "de_PrepareQueryResponse");
1187
+ var de_QueryResponse = /* @__PURE__ */ __name((output, context) => {
1188
+ return (0, import_smithy_client.take)(output, {
1189
+ ColumnInfo: (_) => de_ColumnInfoList(_, context),
1190
+ NextToken: import_smithy_client.expectString,
1191
+ QueryId: import_smithy_client.expectString,
1192
+ QueryStatus: (_) => de_QueryStatus(_, context),
1193
+ Rows: (_) => de_RowList(_, context)
1194
+ });
1195
+ }, "de_QueryResponse");
1196
+ var de_QueryStatus = /* @__PURE__ */ __name((output, context) => {
1197
+ return (0, import_smithy_client.take)(output, {
1198
+ CumulativeBytesMetered: import_smithy_client.expectLong,
1199
+ CumulativeBytesScanned: import_smithy_client.expectLong,
1200
+ ProgressPercentage: import_smithy_client.limitedParseDouble
1201
+ });
1202
+ }, "de_QueryStatus");
1203
+ var de_Row = /* @__PURE__ */ __name((output, context) => {
1204
+ return (0, import_smithy_client.take)(output, {
1205
+ Data: (_) => de_DatumList(_, context)
1206
+ });
1207
+ }, "de_Row");
1208
+ var de_RowList = /* @__PURE__ */ __name((output, context) => {
1209
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1210
+ return de_Row(entry, context);
1211
+ });
1212
+ return retVal;
1213
+ }, "de_RowList");
1214
+ var de_ScheduledQuery = /* @__PURE__ */ __name((output, context) => {
1215
+ return (0, import_smithy_client.take)(output, {
1216
+ Arn: import_smithy_client.expectString,
1217
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1218
+ ErrorReportConfiguration: import_smithy_client._json,
1219
+ LastRunStatus: import_smithy_client.expectString,
1220
+ Name: import_smithy_client.expectString,
1221
+ NextInvocationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1222
+ PreviousInvocationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1223
+ State: import_smithy_client.expectString,
1224
+ TargetDestination: import_smithy_client._json
1225
+ });
1226
+ }, "de_ScheduledQuery");
1227
+ var de_ScheduledQueryDescription = /* @__PURE__ */ __name((output, context) => {
1228
+ return (0, import_smithy_client.take)(output, {
1229
+ Arn: import_smithy_client.expectString,
1230
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1231
+ ErrorReportConfiguration: import_smithy_client._json,
1232
+ KmsKeyId: import_smithy_client.expectString,
1233
+ LastRunSummary: (_) => de_ScheduledQueryRunSummary(_, context),
1234
+ Name: import_smithy_client.expectString,
1235
+ NextInvocationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1236
+ NotificationConfiguration: import_smithy_client._json,
1237
+ PreviousInvocationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1238
+ QueryString: import_smithy_client.expectString,
1239
+ RecentlyFailedRuns: (_) => de_ScheduledQueryRunSummaryList(_, context),
1240
+ ScheduleConfiguration: import_smithy_client._json,
1241
+ ScheduledQueryExecutionRoleArn: import_smithy_client.expectString,
1242
+ State: import_smithy_client.expectString,
1243
+ TargetConfiguration: import_smithy_client._json
1244
+ });
1245
+ }, "de_ScheduledQueryDescription");
1246
+ var de_ScheduledQueryList = /* @__PURE__ */ __name((output, context) => {
1247
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1248
+ return de_ScheduledQuery(entry, context);
1249
+ });
1250
+ return retVal;
1251
+ }, "de_ScheduledQueryList");
1252
+ var de_ScheduledQueryRunSummary = /* @__PURE__ */ __name((output, context) => {
1253
+ return (0, import_smithy_client.take)(output, {
1254
+ ErrorReportLocation: import_smithy_client._json,
1255
+ ExecutionStats: import_smithy_client._json,
1256
+ FailureReason: import_smithy_client.expectString,
1257
+ InvocationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1258
+ RunStatus: import_smithy_client.expectString,
1259
+ TriggerTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1260
+ });
1261
+ }, "de_ScheduledQueryRunSummary");
1262
+ var de_ScheduledQueryRunSummaryList = /* @__PURE__ */ __name((output, context) => {
1263
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1264
+ return de_ScheduledQueryRunSummary(entry, context);
1265
+ });
1266
+ return retVal;
1267
+ }, "de_ScheduledQueryRunSummaryList");
1268
+ var de_SelectColumn = /* @__PURE__ */ __name((output, context) => {
1269
+ return (0, import_smithy_client.take)(output, {
1270
+ Aliased: import_smithy_client.expectBoolean,
1271
+ DatabaseName: import_smithy_client.expectString,
1272
+ Name: import_smithy_client.expectString,
1273
+ TableName: import_smithy_client.expectString,
1274
+ Type: (_) => de_Type(_, context)
1275
+ });
1276
+ }, "de_SelectColumn");
1277
+ var de_SelectColumnList = /* @__PURE__ */ __name((output, context) => {
1278
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1279
+ return de_SelectColumn(entry, context);
1280
+ });
1281
+ return retVal;
1282
+ }, "de_SelectColumnList");
1283
+ var de_TimeSeriesDataPoint = /* @__PURE__ */ __name((output, context) => {
1284
+ return (0, import_smithy_client.take)(output, {
1285
+ Time: import_smithy_client.expectString,
1286
+ Value: (_) => de_Datum(_, context)
1287
+ });
1288
+ }, "de_TimeSeriesDataPoint");
1289
+ var de_TimeSeriesDataPointList = /* @__PURE__ */ __name((output, context) => {
1290
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1291
+ return de_TimeSeriesDataPoint(entry, context);
1292
+ });
1293
+ return retVal;
1294
+ }, "de_TimeSeriesDataPointList");
1295
+ var de_Type = /* @__PURE__ */ __name((output, context) => {
1296
+ return (0, import_smithy_client.take)(output, {
1297
+ ArrayColumnInfo: (_) => de_ColumnInfo(_, context),
1298
+ RowColumnInfo: (_) => de_ColumnInfoList(_, context),
1299
+ ScalarType: import_smithy_client.expectString,
1300
+ TimeSeriesMeasureValueColumnInfo: (_) => de_ColumnInfo(_, context)
1301
+ });
1302
+ }, "de_Type");
1303
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1304
+ httpStatusCode: output.statusCode,
1305
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1306
+ extendedRequestId: output.headers["x-amz-id-2"],
1307
+ cfId: output.headers["x-amz-cf-id"]
1308
+ }), "deserializeMetadata");
1309
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
1310
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(TimestreamQueryServiceException);
1311
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1312
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1313
+ const contents = {
1314
+ protocol,
1315
+ hostname,
1316
+ port,
1317
+ method: "POST",
1318
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1319
+ headers
1320
+ };
1321
+ if (resolvedHostname !== void 0) {
1322
+ contents.hostname = resolvedHostname;
1323
+ }
1324
+ if (body !== void 0) {
1325
+ contents.body = body;
1326
+ }
1327
+ return new import_protocol_http.HttpRequest(contents);
1328
+ }, "buildHttpRpcRequest");
1329
+ function sharedHeaders(operation) {
1330
+ return {
1331
+ "content-type": "application/x-amz-json-1.0",
1332
+ "x-amz-target": `Timestream_20181101.${operation}`
1333
+ };
1334
+ }
1335
+ __name(sharedHeaders, "sharedHeaders");
1336
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1337
+ if (encoded.length) {
1338
+ return JSON.parse(encoded);
1339
+ }
1340
+ return {};
1341
+ }), "parseBody");
1342
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
1343
+ const value = await parseBody(errorBody, context);
1344
+ value.message = value.message ?? value.Message;
1345
+ return value;
1346
+ }, "parseErrorBody");
1347
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
1348
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
1349
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
1350
+ let cleanValue = rawValue;
1351
+ if (typeof cleanValue === "number") {
1352
+ cleanValue = cleanValue.toString();
1353
+ }
1354
+ if (cleanValue.indexOf(",") >= 0) {
1355
+ cleanValue = cleanValue.split(",")[0];
1356
+ }
1357
+ if (cleanValue.indexOf(":") >= 0) {
1358
+ cleanValue = cleanValue.split(":")[0];
1359
+ }
1360
+ if (cleanValue.indexOf("#") >= 0) {
1361
+ cleanValue = cleanValue.split("#")[1];
1362
+ }
1363
+ return cleanValue;
1364
+ }, "sanitizeErrorCode");
1365
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
1366
+ if (headerKey !== void 0) {
1367
+ return sanitizeErrorCode(output.headers[headerKey]);
1368
+ }
1369
+ if (data.code !== void 0) {
1370
+ return sanitizeErrorCode(data.code);
1371
+ }
1372
+ if (data["__type"] !== void 0) {
1373
+ return sanitizeErrorCode(data["__type"]);
1374
+ }
1375
+ }, "loadRestJsonErrorCode");
1376
+
1377
+ // src/commands/DescribeEndpointsCommand.ts
1378
+ var _DescribeEndpointsCommand = class _DescribeEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
1379
+ ...commonParams
1380
+ }).m(function(Command, cs, config, o) {
1381
+ return [
1382
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1383
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1384
+ ];
1385
+ }).s("Timestream_20181101", "DescribeEndpoints", {}).n("TimestreamQueryClient", "DescribeEndpointsCommand").f(void 0, void 0).ser(se_DescribeEndpointsCommand).de(de_DescribeEndpointsCommand).build() {
1386
+ };
1387
+ __name(_DescribeEndpointsCommand, "DescribeEndpointsCommand");
1388
+ var DescribeEndpointsCommand = _DescribeEndpointsCommand;
1389
+
1390
+ // src/TimestreamQueryClient.ts
1391
+ var import_runtimeConfig = require("././runtimeConfig");
1392
+
1393
+ // src/runtimeExtensions.ts
1394
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
1395
+
1396
+
1397
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
1398
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
1399
+ const extensionConfiguration = {
1400
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
1401
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
1402
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
1403
+ };
1404
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
1405
+ return {
1406
+ ...runtimeConfig,
1407
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
1408
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
1409
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
1410
+ };
1411
+ }, "resolveRuntimeExtensions");
1412
+
1413
+ // src/TimestreamQueryClient.ts
1414
+ var _TimestreamQueryClient = class _TimestreamQueryClient extends import_smithy_client.Client {
1415
+ constructor(...[configuration]) {
1416
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
1417
+ const _config_1 = resolveClientEndpointParameters(_config_0);
1418
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
1419
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
1420
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
1421
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
1422
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
1423
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
1424
+ const _config_8 = (0, import_middleware_endpoint_discovery.resolveEndpointDiscoveryConfig)(_config_7, {
1425
+ endpointDiscoveryCommandCtor: DescribeEndpointsCommand
1426
+ });
1427
+ const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
1428
+ super(_config_9);
1429
+ this.config = _config_9;
1430
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
1431
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
1432
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
1433
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
1434
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
1435
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
1436
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
1437
+ }
1438
+ /**
1439
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
1440
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
1441
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
1442
+ */
1443
+ destroy() {
1444
+ super.destroy();
1445
+ }
1446
+ };
1447
+ __name(_TimestreamQueryClient, "TimestreamQueryClient");
1448
+ var TimestreamQueryClient = _TimestreamQueryClient;
1449
+
1450
+ // src/TimestreamQuery.ts
1451
+
1452
+
1453
+ // src/commands/CancelQueryCommand.ts
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+ var _CancelQueryCommand = class _CancelQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1460
+ ...commonParams
1461
+ }).m(function(Command, cs, config, o) {
1462
+ return [
1463
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1464
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1465
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1466
+ ];
1467
+ }).s("Timestream_20181101", "CancelQuery", {}).n("TimestreamQueryClient", "CancelQueryCommand").f(void 0, void 0).ser(se_CancelQueryCommand).de(de_CancelQueryCommand).build() {
1468
+ };
1469
+ __name(_CancelQueryCommand, "CancelQueryCommand");
1470
+ var CancelQueryCommand = _CancelQueryCommand;
1471
+
1472
+ // src/commands/CreateScheduledQueryCommand.ts
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+ var _CreateScheduledQueryCommand = class _CreateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1479
+ ...commonParams
1480
+ }).m(function(Command, cs, config, o) {
1481
+ return [
1482
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1483
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1484
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1485
+ ];
1486
+ }).s("Timestream_20181101", "CreateScheduledQuery", {}).n("TimestreamQueryClient", "CreateScheduledQueryCommand").f(CreateScheduledQueryRequestFilterSensitiveLog, void 0).ser(se_CreateScheduledQueryCommand).de(de_CreateScheduledQueryCommand).build() {
1487
+ };
1488
+ __name(_CreateScheduledQueryCommand, "CreateScheduledQueryCommand");
1489
+ var CreateScheduledQueryCommand = _CreateScheduledQueryCommand;
1490
+
1491
+ // src/commands/DeleteScheduledQueryCommand.ts
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+ var _DeleteScheduledQueryCommand = class _DeleteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1498
+ ...commonParams
1499
+ }).m(function(Command, cs, config, o) {
1500
+ return [
1501
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1502
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1503
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1504
+ ];
1505
+ }).s("Timestream_20181101", "DeleteScheduledQuery", {}).n("TimestreamQueryClient", "DeleteScheduledQueryCommand").f(void 0, void 0).ser(se_DeleteScheduledQueryCommand).de(de_DeleteScheduledQueryCommand).build() {
1506
+ };
1507
+ __name(_DeleteScheduledQueryCommand, "DeleteScheduledQueryCommand");
1508
+ var DeleteScheduledQueryCommand = _DeleteScheduledQueryCommand;
1509
+
1510
+ // src/commands/DescribeScheduledQueryCommand.ts
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+ var _DescribeScheduledQueryCommand = class _DescribeScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1517
+ ...commonParams
1518
+ }).m(function(Command, cs, config, o) {
1519
+ return [
1520
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1521
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1522
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1523
+ ];
1524
+ }).s("Timestream_20181101", "DescribeScheduledQuery", {}).n("TimestreamQueryClient", "DescribeScheduledQueryCommand").f(void 0, DescribeScheduledQueryResponseFilterSensitiveLog).ser(se_DescribeScheduledQueryCommand).de(de_DescribeScheduledQueryCommand).build() {
1525
+ };
1526
+ __name(_DescribeScheduledQueryCommand, "DescribeScheduledQueryCommand");
1527
+ var DescribeScheduledQueryCommand = _DescribeScheduledQueryCommand;
1528
+
1529
+ // src/commands/ExecuteScheduledQueryCommand.ts
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+ var _ExecuteScheduledQueryCommand = class _ExecuteScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1536
+ ...commonParams
1537
+ }).m(function(Command, cs, config, o) {
1538
+ return [
1539
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1540
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1541
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1542
+ ];
1543
+ }).s("Timestream_20181101", "ExecuteScheduledQuery", {}).n("TimestreamQueryClient", "ExecuteScheduledQueryCommand").f(ExecuteScheduledQueryRequestFilterSensitiveLog, void 0).ser(se_ExecuteScheduledQueryCommand).de(de_ExecuteScheduledQueryCommand).build() {
1544
+ };
1545
+ __name(_ExecuteScheduledQueryCommand, "ExecuteScheduledQueryCommand");
1546
+ var ExecuteScheduledQueryCommand = _ExecuteScheduledQueryCommand;
1547
+
1548
+ // src/commands/ListScheduledQueriesCommand.ts
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+ var _ListScheduledQueriesCommand = class _ListScheduledQueriesCommand extends import_smithy_client.Command.classBuilder().ep({
1555
+ ...commonParams
1556
+ }).m(function(Command, cs, config, o) {
1557
+ return [
1558
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1559
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1560
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1561
+ ];
1562
+ }).s("Timestream_20181101", "ListScheduledQueries", {}).n("TimestreamQueryClient", "ListScheduledQueriesCommand").f(void 0, void 0).ser(se_ListScheduledQueriesCommand).de(de_ListScheduledQueriesCommand).build() {
1563
+ };
1564
+ __name(_ListScheduledQueriesCommand, "ListScheduledQueriesCommand");
1565
+ var ListScheduledQueriesCommand = _ListScheduledQueriesCommand;
1566
+
1567
+ // src/commands/ListTagsForResourceCommand.ts
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1574
+ ...commonParams
1575
+ }).m(function(Command, cs, config, o) {
1576
+ return [
1577
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1578
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1579
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1580
+ ];
1581
+ }).s("Timestream_20181101", "ListTagsForResource", {}).n("TimestreamQueryClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1582
+ };
1583
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1584
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1585
+
1586
+ // src/commands/PrepareQueryCommand.ts
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+ var _PrepareQueryCommand = class _PrepareQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1593
+ ...commonParams
1594
+ }).m(function(Command, cs, config, o) {
1595
+ return [
1596
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1597
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1598
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1599
+ ];
1600
+ }).s("Timestream_20181101", "PrepareQuery", {}).n("TimestreamQueryClient", "PrepareQueryCommand").f(PrepareQueryRequestFilterSensitiveLog, PrepareQueryResponseFilterSensitiveLog).ser(se_PrepareQueryCommand).de(de_PrepareQueryCommand).build() {
1601
+ };
1602
+ __name(_PrepareQueryCommand, "PrepareQueryCommand");
1603
+ var PrepareQueryCommand = _PrepareQueryCommand;
1604
+
1605
+ // src/commands/QueryCommand.ts
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+ var _QueryCommand = class _QueryCommand extends import_smithy_client.Command.classBuilder().ep({
1612
+ ...commonParams
1613
+ }).m(function(Command, cs, config, o) {
1614
+ return [
1615
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1616
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1617
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1618
+ ];
1619
+ }).s("Timestream_20181101", "Query", {}).n("TimestreamQueryClient", "QueryCommand").f(QueryRequestFilterSensitiveLog, void 0).ser(se_QueryCommand).de(de_QueryCommand).build() {
1620
+ };
1621
+ __name(_QueryCommand, "QueryCommand");
1622
+ var QueryCommand = _QueryCommand;
1623
+
1624
+ // src/commands/TagResourceCommand.ts
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1631
+ ...commonParams
1632
+ }).m(function(Command, cs, config, o) {
1633
+ return [
1634
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1635
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1636
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1637
+ ];
1638
+ }).s("Timestream_20181101", "TagResource", {}).n("TimestreamQueryClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1639
+ };
1640
+ __name(_TagResourceCommand, "TagResourceCommand");
1641
+ var TagResourceCommand = _TagResourceCommand;
1642
+
1643
+ // src/commands/UntagResourceCommand.ts
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1650
+ ...commonParams
1651
+ }).m(function(Command, cs, config, o) {
1652
+ return [
1653
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1654
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1655
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1656
+ ];
1657
+ }).s("Timestream_20181101", "UntagResource", {}).n("TimestreamQueryClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1658
+ };
1659
+ __name(_UntagResourceCommand, "UntagResourceCommand");
1660
+ var UntagResourceCommand = _UntagResourceCommand;
1661
+
1662
+ // src/commands/UpdateScheduledQueryCommand.ts
1663
+
1664
+
1665
+
1666
+
1667
+
1668
+ var _UpdateScheduledQueryCommand = class _UpdateScheduledQueryCommand extends import_smithy_client.Command.classBuilder().ep({
1669
+ ...commonParams
1670
+ }).m(function(Command, cs, config, o) {
1671
+ return [
1672
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1673
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1674
+ (0, import_middleware_endpoint_discovery.getEndpointDiscoveryPlugin)(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o })
1675
+ ];
1676
+ }).s("Timestream_20181101", "UpdateScheduledQuery", {}).n("TimestreamQueryClient", "UpdateScheduledQueryCommand").f(void 0, void 0).ser(se_UpdateScheduledQueryCommand).de(de_UpdateScheduledQueryCommand).build() {
1677
+ };
1678
+ __name(_UpdateScheduledQueryCommand, "UpdateScheduledQueryCommand");
1679
+ var UpdateScheduledQueryCommand = _UpdateScheduledQueryCommand;
1680
+
1681
+ // src/TimestreamQuery.ts
1682
+ var commands = {
1683
+ CancelQueryCommand,
1684
+ CreateScheduledQueryCommand,
1685
+ DeleteScheduledQueryCommand,
1686
+ DescribeEndpointsCommand,
1687
+ DescribeScheduledQueryCommand,
1688
+ ExecuteScheduledQueryCommand,
1689
+ ListScheduledQueriesCommand,
1690
+ ListTagsForResourceCommand,
1691
+ PrepareQueryCommand,
1692
+ QueryCommand,
1693
+ TagResourceCommand,
1694
+ UntagResourceCommand,
1695
+ UpdateScheduledQueryCommand
1696
+ };
1697
+ var _TimestreamQuery = class _TimestreamQuery extends TimestreamQueryClient {
1698
+ };
1699
+ __name(_TimestreamQuery, "TimestreamQuery");
1700
+ var TimestreamQuery = _TimestreamQuery;
1701
+ (0, import_smithy_client.createAggregatedClient)(commands, TimestreamQuery);
1702
+
1703
+ // src/pagination/ListScheduledQueriesPaginator.ts
1704
+ var import_core = require("@smithy/core");
1705
+ var paginateListScheduledQueries = (0, import_core.createPaginator)(TimestreamQueryClient, ListScheduledQueriesCommand, "NextToken", "NextToken", "MaxResults");
1706
+
1707
+ // src/pagination/ListTagsForResourcePaginator.ts
1708
+
1709
+ var paginateListTagsForResource = (0, import_core.createPaginator)(TimestreamQueryClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
1710
+
1711
+ // src/pagination/QueryPaginator.ts
1712
+
1713
+ var paginateQuery = (0, import_core.createPaginator)(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
1714
+
1715
+ // src/index.ts
1716
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
1717
+ // Annotate the CommonJS export names for ESM import in node:
1718
+ 0 && (module.exports = {
1719
+ AccessDeniedException,
1720
+ CancelQueryCommand,
1721
+ ConflictException,
1722
+ CreateScheduledQueryCommand,
1723
+ CreateScheduledQueryRequestFilterSensitiveLog,
1724
+ DeleteScheduledQueryCommand,
1725
+ DescribeEndpointsCommand,
1726
+ DescribeScheduledQueryCommand,
1727
+ DescribeScheduledQueryResponseFilterSensitiveLog,
1728
+ DimensionValueType,
1729
+ ExecuteScheduledQueryCommand,
1730
+ ExecuteScheduledQueryRequestFilterSensitiveLog,
1731
+ InternalServerException,
1732
+ InvalidEndpointException,
1733
+ ListScheduledQueriesCommand,
1734
+ ListTagsForResourceCommand,
1735
+ MeasureValueType,
1736
+ PrepareQueryCommand,
1737
+ PrepareQueryRequestFilterSensitiveLog,
1738
+ PrepareQueryResponseFilterSensitiveLog,
1739
+ QueryCommand,
1740
+ QueryExecutionException,
1741
+ QueryRequestFilterSensitiveLog,
1742
+ ResourceNotFoundException,
1743
+ S3EncryptionOption,
1744
+ ScalarMeasureValueType,
1745
+ ScalarType,
1746
+ ScheduledQueryDescriptionFilterSensitiveLog,
1747
+ ScheduledQueryRunStatus,
1748
+ ScheduledQueryState,
1749
+ ServiceQuotaExceededException,
1750
+ TagResourceCommand,
1751
+ ThrottlingException,
1752
+ TimestreamQuery,
1753
+ TimestreamQueryClient,
1754
+ TimestreamQueryServiceException,
1755
+ UntagResourceCommand,
1756
+ UpdateScheduledQueryCommand,
1757
+ ValidationException,
1758
+ __Client,
1759
+ paginateListScheduledQueries,
1760
+ paginateListTagsForResource,
1761
+ paginateQuery
1762
+ });