@aws-sdk/client-timestream-query 3.42.0 → 3.43.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 (76) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +3 -2
  3. package/dist-cjs/TimestreamQuery.js +150 -0
  4. package/dist-cjs/commands/CreateScheduledQueryCommand.js +38 -0
  5. package/dist-cjs/commands/DeleteScheduledQueryCommand.js +38 -0
  6. package/dist-cjs/commands/DescribeScheduledQueryCommand.js +38 -0
  7. package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +38 -0
  8. package/dist-cjs/commands/ListScheduledQueriesCommand.js +38 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
  10. package/dist-cjs/commands/PrepareQueryCommand.js +38 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +38 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +38 -0
  13. package/dist-cjs/commands/UpdateScheduledQueryCommand.js +38 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/models/models_0.js +291 -1
  16. package/dist-cjs/pagination/ListScheduledQueriesPaginator.js +35 -0
  17. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_json1_0.js +1580 -34
  20. package/dist-es/TimestreamQuery.js +150 -0
  21. package/dist-es/commands/CreateScheduledQueryCommand.js +41 -0
  22. package/dist-es/commands/DeleteScheduledQueryCommand.js +41 -0
  23. package/dist-es/commands/DescribeScheduledQueryCommand.js +41 -0
  24. package/dist-es/commands/ExecuteScheduledQueryCommand.js +41 -0
  25. package/dist-es/commands/ListScheduledQueriesCommand.js +41 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  27. package/dist-es/commands/PrepareQueryCommand.js +41 -0
  28. package/dist-es/commands/TagResourceCommand.js +41 -0
  29. package/dist-es/commands/UntagResourceCommand.js +41 -0
  30. package/dist-es/commands/UpdateScheduledQueryCommand.js +41 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/models/models_0.js +200 -0
  33. package/dist-es/pagination/ListScheduledQueriesPaginator.js +74 -0
  34. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  35. package/dist-es/pagination/index.js +2 -0
  36. package/dist-es/protocols/Aws_json1_0.js +1678 -106
  37. package/dist-types/TimestreamQuery.d.ts +132 -19
  38. package/dist-types/TimestreamQueryClient.d.ts +15 -5
  39. package/dist-types/commands/CancelQueryCommand.d.ts +6 -5
  40. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +39 -0
  41. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +35 -0
  42. package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -9
  43. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +35 -0
  44. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +35 -0
  45. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +35 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  47. package/dist-types/commands/PrepareQueryCommand.d.ts +37 -0
  48. package/dist-types/commands/QueryCommand.d.ts +30 -2
  49. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  51. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +35 -0
  52. package/dist-types/commands/index.d.ts +10 -0
  53. package/dist-types/models/models_0.d.ts +1183 -183
  54. package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  55. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  56. package/dist-types/pagination/index.d.ts +2 -0
  57. package/dist-types/protocols/Aws_json1_0.d.ts +30 -0
  58. package/dist-types/ts3.4/TimestreamQuery.d.ts +50 -0
  59. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +12 -2
  60. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +536 -0
  72. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  75. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +30 -0
  76. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.Datum = exports.Type = exports.ColumnInfo = exports.QueryStatus = exports.QueryRequest = exports.QueryExecutionException = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.ConflictException = exports.ScalarType = exports.ValidationException = exports.ThrottlingException = exports.InvalidEndpointException = exports.InternalServerException = exports.CancelQueryResponse = exports.CancelQueryRequest = exports.AccessDeniedException = void 0;
3
+ exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScheduledQueriesResponse = exports.ScheduledQuery = exports.TargetDestination = exports.TimestreamDestination = exports.ListScheduledQueriesRequest = exports.ExecuteScheduledQueryRequest = exports.DescribeScheduledQueryResponse = exports.ScheduledQueryDescription = exports.ScheduledQueryState = exports.ScheduledQueryRunSummary = exports.ScheduledQueryRunStatus = exports.ExecutionStats = exports.ErrorReportLocation = exports.S3ReportLocation = exports.DescribeScheduledQueryRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.ResourceNotFoundException = exports.DeleteScheduledQueryRequest = exports.ServiceQuotaExceededException = exports.CreateScheduledQueryResponse = exports.CreateScheduledQueryRequest = exports.TargetConfiguration = exports.TimestreamConfiguration = exports.MultiMeasureMappings = exports.MixedMeasureMapping = exports.MultiMeasureAttributeMapping = exports.ScalarMeasureValueType = exports.MeasureValueType = exports.DimensionMapping = exports.DimensionValueType = exports.Tag = exports.ScheduleConfiguration = exports.NotificationConfiguration = exports.SnsConfiguration = exports.ErrorReportConfiguration = exports.S3Configuration = exports.S3EncryptionOption = exports.ConflictException = exports.ScalarType = exports.ValidationException = exports.ThrottlingException = exports.InvalidEndpointException = exports.InternalServerException = exports.CancelQueryResponse = exports.CancelQueryRequest = exports.AccessDeniedException = void 0;
4
+ exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo = exports.UpdateScheduledQueryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.QueryStatus = exports.QueryRequest = exports.QueryExecutionException = exports.PrepareQueryRequest = void 0;
4
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
6
  var AccessDeniedException;
6
7
  (function (AccessDeniedException) {
@@ -64,6 +65,134 @@ var ConflictException;
64
65
  ...obj,
65
66
  });
66
67
  })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
68
+ var S3EncryptionOption;
69
+ (function (S3EncryptionOption) {
70
+ S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
71
+ S3EncryptionOption["SSE_S3"] = "SSE_S3";
72
+ })(S3EncryptionOption = exports.S3EncryptionOption || (exports.S3EncryptionOption = {}));
73
+ var S3Configuration;
74
+ (function (S3Configuration) {
75
+ S3Configuration.filterSensitiveLog = (obj) => ({
76
+ ...obj,
77
+ });
78
+ })(S3Configuration = exports.S3Configuration || (exports.S3Configuration = {}));
79
+ var ErrorReportConfiguration;
80
+ (function (ErrorReportConfiguration) {
81
+ ErrorReportConfiguration.filterSensitiveLog = (obj) => ({
82
+ ...obj,
83
+ });
84
+ })(ErrorReportConfiguration = exports.ErrorReportConfiguration || (exports.ErrorReportConfiguration = {}));
85
+ var SnsConfiguration;
86
+ (function (SnsConfiguration) {
87
+ SnsConfiguration.filterSensitiveLog = (obj) => ({
88
+ ...obj,
89
+ });
90
+ })(SnsConfiguration = exports.SnsConfiguration || (exports.SnsConfiguration = {}));
91
+ var NotificationConfiguration;
92
+ (function (NotificationConfiguration) {
93
+ NotificationConfiguration.filterSensitiveLog = (obj) => ({
94
+ ...obj,
95
+ });
96
+ })(NotificationConfiguration = exports.NotificationConfiguration || (exports.NotificationConfiguration = {}));
97
+ var ScheduleConfiguration;
98
+ (function (ScheduleConfiguration) {
99
+ ScheduleConfiguration.filterSensitiveLog = (obj) => ({
100
+ ...obj,
101
+ });
102
+ })(ScheduleConfiguration = exports.ScheduleConfiguration || (exports.ScheduleConfiguration = {}));
103
+ var Tag;
104
+ (function (Tag) {
105
+ Tag.filterSensitiveLog = (obj) => ({
106
+ ...obj,
107
+ });
108
+ })(Tag = exports.Tag || (exports.Tag = {}));
109
+ var DimensionValueType;
110
+ (function (DimensionValueType) {
111
+ DimensionValueType["VARCHAR"] = "VARCHAR";
112
+ })(DimensionValueType = exports.DimensionValueType || (exports.DimensionValueType = {}));
113
+ var DimensionMapping;
114
+ (function (DimensionMapping) {
115
+ DimensionMapping.filterSensitiveLog = (obj) => ({
116
+ ...obj,
117
+ });
118
+ })(DimensionMapping = exports.DimensionMapping || (exports.DimensionMapping = {}));
119
+ var MeasureValueType;
120
+ (function (MeasureValueType) {
121
+ MeasureValueType["BIGINT"] = "BIGINT";
122
+ MeasureValueType["BOOLEAN"] = "BOOLEAN";
123
+ MeasureValueType["DOUBLE"] = "DOUBLE";
124
+ MeasureValueType["MULTI"] = "MULTI";
125
+ MeasureValueType["VARCHAR"] = "VARCHAR";
126
+ })(MeasureValueType = exports.MeasureValueType || (exports.MeasureValueType = {}));
127
+ var ScalarMeasureValueType;
128
+ (function (ScalarMeasureValueType) {
129
+ ScalarMeasureValueType["BIGINT"] = "BIGINT";
130
+ ScalarMeasureValueType["BOOLEAN"] = "BOOLEAN";
131
+ ScalarMeasureValueType["DOUBLE"] = "DOUBLE";
132
+ ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
133
+ })(ScalarMeasureValueType = exports.ScalarMeasureValueType || (exports.ScalarMeasureValueType = {}));
134
+ var MultiMeasureAttributeMapping;
135
+ (function (MultiMeasureAttributeMapping) {
136
+ MultiMeasureAttributeMapping.filterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ });
139
+ })(MultiMeasureAttributeMapping = exports.MultiMeasureAttributeMapping || (exports.MultiMeasureAttributeMapping = {}));
140
+ var MixedMeasureMapping;
141
+ (function (MixedMeasureMapping) {
142
+ MixedMeasureMapping.filterSensitiveLog = (obj) => ({
143
+ ...obj,
144
+ });
145
+ })(MixedMeasureMapping = exports.MixedMeasureMapping || (exports.MixedMeasureMapping = {}));
146
+ var MultiMeasureMappings;
147
+ (function (MultiMeasureMappings) {
148
+ MultiMeasureMappings.filterSensitiveLog = (obj) => ({
149
+ ...obj,
150
+ });
151
+ })(MultiMeasureMappings = exports.MultiMeasureMappings || (exports.MultiMeasureMappings = {}));
152
+ var TimestreamConfiguration;
153
+ (function (TimestreamConfiguration) {
154
+ TimestreamConfiguration.filterSensitiveLog = (obj) => ({
155
+ ...obj,
156
+ });
157
+ })(TimestreamConfiguration = exports.TimestreamConfiguration || (exports.TimestreamConfiguration = {}));
158
+ var TargetConfiguration;
159
+ (function (TargetConfiguration) {
160
+ TargetConfiguration.filterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ });
163
+ })(TargetConfiguration = exports.TargetConfiguration || (exports.TargetConfiguration = {}));
164
+ var CreateScheduledQueryRequest;
165
+ (function (CreateScheduledQueryRequest) {
166
+ CreateScheduledQueryRequest.filterSensitiveLog = (obj) => ({
167
+ ...obj,
168
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
169
+ ...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
170
+ });
171
+ })(CreateScheduledQueryRequest = exports.CreateScheduledQueryRequest || (exports.CreateScheduledQueryRequest = {}));
172
+ var CreateScheduledQueryResponse;
173
+ (function (CreateScheduledQueryResponse) {
174
+ CreateScheduledQueryResponse.filterSensitiveLog = (obj) => ({
175
+ ...obj,
176
+ });
177
+ })(CreateScheduledQueryResponse = exports.CreateScheduledQueryResponse || (exports.CreateScheduledQueryResponse = {}));
178
+ var ServiceQuotaExceededException;
179
+ (function (ServiceQuotaExceededException) {
180
+ ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
181
+ ...obj,
182
+ });
183
+ })(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
184
+ var DeleteScheduledQueryRequest;
185
+ (function (DeleteScheduledQueryRequest) {
186
+ DeleteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
187
+ ...obj,
188
+ });
189
+ })(DeleteScheduledQueryRequest = exports.DeleteScheduledQueryRequest || (exports.DeleteScheduledQueryRequest = {}));
190
+ var ResourceNotFoundException;
191
+ (function (ResourceNotFoundException) {
192
+ ResourceNotFoundException.filterSensitiveLog = (obj) => ({
193
+ ...obj,
194
+ });
195
+ })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
67
196
  var DescribeEndpointsRequest;
68
197
  (function (DescribeEndpointsRequest) {
69
198
  DescribeEndpointsRequest.filterSensitiveLog = (obj) => ({
@@ -82,6 +211,118 @@ var DescribeEndpointsResponse;
82
211
  ...obj,
83
212
  });
84
213
  })(DescribeEndpointsResponse = exports.DescribeEndpointsResponse || (exports.DescribeEndpointsResponse = {}));
214
+ var DescribeScheduledQueryRequest;
215
+ (function (DescribeScheduledQueryRequest) {
216
+ DescribeScheduledQueryRequest.filterSensitiveLog = (obj) => ({
217
+ ...obj,
218
+ });
219
+ })(DescribeScheduledQueryRequest = exports.DescribeScheduledQueryRequest || (exports.DescribeScheduledQueryRequest = {}));
220
+ var S3ReportLocation;
221
+ (function (S3ReportLocation) {
222
+ S3ReportLocation.filterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ });
225
+ })(S3ReportLocation = exports.S3ReportLocation || (exports.S3ReportLocation = {}));
226
+ var ErrorReportLocation;
227
+ (function (ErrorReportLocation) {
228
+ ErrorReportLocation.filterSensitiveLog = (obj) => ({
229
+ ...obj,
230
+ });
231
+ })(ErrorReportLocation = exports.ErrorReportLocation || (exports.ErrorReportLocation = {}));
232
+ var ExecutionStats;
233
+ (function (ExecutionStats) {
234
+ ExecutionStats.filterSensitiveLog = (obj) => ({
235
+ ...obj,
236
+ });
237
+ })(ExecutionStats = exports.ExecutionStats || (exports.ExecutionStats = {}));
238
+ var ScheduledQueryRunStatus;
239
+ (function (ScheduledQueryRunStatus) {
240
+ ScheduledQueryRunStatus["AUTO_TRIGGER_FAILURE"] = "AUTO_TRIGGER_FAILURE";
241
+ ScheduledQueryRunStatus["AUTO_TRIGGER_SUCCESS"] = "AUTO_TRIGGER_SUCCESS";
242
+ ScheduledQueryRunStatus["MANUAL_TRIGGER_FAILURE"] = "MANUAL_TRIGGER_FAILURE";
243
+ ScheduledQueryRunStatus["MANUAL_TRIGGER_SUCCESS"] = "MANUAL_TRIGGER_SUCCESS";
244
+ })(ScheduledQueryRunStatus = exports.ScheduledQueryRunStatus || (exports.ScheduledQueryRunStatus = {}));
245
+ var ScheduledQueryRunSummary;
246
+ (function (ScheduledQueryRunSummary) {
247
+ ScheduledQueryRunSummary.filterSensitiveLog = (obj) => ({
248
+ ...obj,
249
+ });
250
+ })(ScheduledQueryRunSummary = exports.ScheduledQueryRunSummary || (exports.ScheduledQueryRunSummary = {}));
251
+ var ScheduledQueryState;
252
+ (function (ScheduledQueryState) {
253
+ ScheduledQueryState["DISABLED"] = "DISABLED";
254
+ ScheduledQueryState["ENABLED"] = "ENABLED";
255
+ })(ScheduledQueryState = exports.ScheduledQueryState || (exports.ScheduledQueryState = {}));
256
+ var ScheduledQueryDescription;
257
+ (function (ScheduledQueryDescription) {
258
+ ScheduledQueryDescription.filterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
261
+ });
262
+ })(ScheduledQueryDescription = exports.ScheduledQueryDescription || (exports.ScheduledQueryDescription = {}));
263
+ var DescribeScheduledQueryResponse;
264
+ (function (DescribeScheduledQueryResponse) {
265
+ DescribeScheduledQueryResponse.filterSensitiveLog = (obj) => ({
266
+ ...obj,
267
+ ...(obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescription.filterSensitiveLog(obj.ScheduledQuery) }),
268
+ });
269
+ })(DescribeScheduledQueryResponse = exports.DescribeScheduledQueryResponse || (exports.DescribeScheduledQueryResponse = {}));
270
+ var ExecuteScheduledQueryRequest;
271
+ (function (ExecuteScheduledQueryRequest) {
272
+ ExecuteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
273
+ ...obj,
274
+ ...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
275
+ });
276
+ })(ExecuteScheduledQueryRequest = exports.ExecuteScheduledQueryRequest || (exports.ExecuteScheduledQueryRequest = {}));
277
+ var ListScheduledQueriesRequest;
278
+ (function (ListScheduledQueriesRequest) {
279
+ ListScheduledQueriesRequest.filterSensitiveLog = (obj) => ({
280
+ ...obj,
281
+ });
282
+ })(ListScheduledQueriesRequest = exports.ListScheduledQueriesRequest || (exports.ListScheduledQueriesRequest = {}));
283
+ var TimestreamDestination;
284
+ (function (TimestreamDestination) {
285
+ TimestreamDestination.filterSensitiveLog = (obj) => ({
286
+ ...obj,
287
+ });
288
+ })(TimestreamDestination = exports.TimestreamDestination || (exports.TimestreamDestination = {}));
289
+ var TargetDestination;
290
+ (function (TargetDestination) {
291
+ TargetDestination.filterSensitiveLog = (obj) => ({
292
+ ...obj,
293
+ });
294
+ })(TargetDestination = exports.TargetDestination || (exports.TargetDestination = {}));
295
+ var ScheduledQuery;
296
+ (function (ScheduledQuery) {
297
+ ScheduledQuery.filterSensitiveLog = (obj) => ({
298
+ ...obj,
299
+ });
300
+ })(ScheduledQuery = exports.ScheduledQuery || (exports.ScheduledQuery = {}));
301
+ var ListScheduledQueriesResponse;
302
+ (function (ListScheduledQueriesResponse) {
303
+ ListScheduledQueriesResponse.filterSensitiveLog = (obj) => ({
304
+ ...obj,
305
+ });
306
+ })(ListScheduledQueriesResponse = exports.ListScheduledQueriesResponse || (exports.ListScheduledQueriesResponse = {}));
307
+ var ListTagsForResourceRequest;
308
+ (function (ListTagsForResourceRequest) {
309
+ ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ });
312
+ })(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
313
+ var ListTagsForResourceResponse;
314
+ (function (ListTagsForResourceResponse) {
315
+ ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ });
318
+ })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
319
+ var PrepareQueryRequest;
320
+ (function (PrepareQueryRequest) {
321
+ PrepareQueryRequest.filterSensitiveLog = (obj) => ({
322
+ ...obj,
323
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
324
+ });
325
+ })(PrepareQueryRequest = exports.PrepareQueryRequest || (exports.PrepareQueryRequest = {}));
85
326
  var QueryExecutionException;
86
327
  (function (QueryExecutionException) {
87
328
  QueryExecutionException.filterSensitiveLog = (obj) => ({
@@ -102,6 +343,36 @@ var QueryStatus;
102
343
  ...obj,
103
344
  });
104
345
  })(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
346
+ var TagResourceRequest;
347
+ (function (TagResourceRequest) {
348
+ TagResourceRequest.filterSensitiveLog = (obj) => ({
349
+ ...obj,
350
+ });
351
+ })(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
352
+ var TagResourceResponse;
353
+ (function (TagResourceResponse) {
354
+ TagResourceResponse.filterSensitiveLog = (obj) => ({
355
+ ...obj,
356
+ });
357
+ })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
358
+ var UntagResourceRequest;
359
+ (function (UntagResourceRequest) {
360
+ UntagResourceRequest.filterSensitiveLog = (obj) => ({
361
+ ...obj,
362
+ });
363
+ })(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
364
+ var UntagResourceResponse;
365
+ (function (UntagResourceResponse) {
366
+ UntagResourceResponse.filterSensitiveLog = (obj) => ({
367
+ ...obj,
368
+ });
369
+ })(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
370
+ var UpdateScheduledQueryRequest;
371
+ (function (UpdateScheduledQueryRequest) {
372
+ UpdateScheduledQueryRequest.filterSensitiveLog = (obj) => ({
373
+ ...obj,
374
+ });
375
+ })(UpdateScheduledQueryRequest = exports.UpdateScheduledQueryRequest || (exports.UpdateScheduledQueryRequest = {}));
105
376
  var ColumnInfo;
106
377
  (function (ColumnInfo) {
107
378
  ColumnInfo.filterSensitiveLog = (obj) => ({
@@ -120,6 +391,18 @@ var Datum;
120
391
  ...obj,
121
392
  });
122
393
  })(Datum = exports.Datum || (exports.Datum = {}));
394
+ var ParameterMapping;
395
+ (function (ParameterMapping) {
396
+ ParameterMapping.filterSensitiveLog = (obj) => ({
397
+ ...obj,
398
+ });
399
+ })(ParameterMapping = exports.ParameterMapping || (exports.ParameterMapping = {}));
400
+ var SelectColumn;
401
+ (function (SelectColumn) {
402
+ SelectColumn.filterSensitiveLog = (obj) => ({
403
+ ...obj,
404
+ });
405
+ })(SelectColumn = exports.SelectColumn || (exports.SelectColumn = {}));
123
406
  var TimeSeriesDataPoint;
124
407
  (function (TimeSeriesDataPoint) {
125
408
  TimeSeriesDataPoint.filterSensitiveLog = (obj) => ({
@@ -138,3 +421,10 @@ var QueryResponse;
138
421
  ...obj,
139
422
  });
140
423
  })(QueryResponse = exports.QueryResponse || (exports.QueryResponse = {}));
424
+ var PrepareQueryResponse;
425
+ (function (PrepareQueryResponse) {
426
+ PrepareQueryResponse.filterSensitiveLog = (obj) => ({
427
+ ...obj,
428
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
429
+ });
430
+ })(PrepareQueryResponse = exports.PrepareQueryResponse || (exports.PrepareQueryResponse = {}));
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListScheduledQueries = void 0;
4
+ const ListScheduledQueriesCommand_1 = require("../commands/ListScheduledQueriesCommand");
5
+ const TimestreamQuery_1 = require("../TimestreamQuery");
6
+ const TimestreamQueryClient_1 = require("../TimestreamQueryClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListScheduledQueriesCommand_1.ListScheduledQueriesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listScheduledQueries(input, ...args);
12
+ };
13
+ async function* paginateListScheduledQueries(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof TimestreamQuery_1.TimestreamQuery) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof TimestreamQueryClient_1.TimestreamQueryClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected TimestreamQuery | TimestreamQueryClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListScheduledQueries = paginateListScheduledQueries;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListTagsForResource = void 0;
4
+ const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
+ const TimestreamQuery_1 = require("../TimestreamQuery");
6
+ const TimestreamQueryClient_1 = require("../TimestreamQueryClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listTagsForResource(input, ...args);
12
+ };
13
+ async function* paginateListTagsForResource(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof TimestreamQuery_1.TimestreamQuery) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof TimestreamQueryClient_1.TimestreamQueryClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected TimestreamQuery | TimestreamQueryClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListTagsForResource = paginateListTagsForResource;
@@ -2,4 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListScheduledQueriesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListTagsForResourcePaginator"), exports);
5
7
  tslib_1.__exportStar(require("./QueryPaginator"), exports);