@aws-sdk/client-timestream-query 3.42.0 → 3.47.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 (88) hide show
  1. package/CHANGELOG.md +50 -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/endpoints.js +1 -0
  16. package/dist-cjs/models/models_0.js +275 -39
  17. package/dist-cjs/pagination/ListScheduledQueriesPaginator.js +35 -0
  18. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_json1_0.js +1580 -34
  21. package/dist-cjs/runtimeConfig.browser.js +7 -2
  22. package/dist-cjs/runtimeConfig.js +9 -3
  23. package/dist-es/TimestreamQuery.js +150 -0
  24. package/dist-es/commands/CreateScheduledQueryCommand.js +41 -0
  25. package/dist-es/commands/DeleteScheduledQueryCommand.js +41 -0
  26. package/dist-es/commands/DescribeScheduledQueryCommand.js +41 -0
  27. package/dist-es/commands/ExecuteScheduledQueryCommand.js +41 -0
  28. package/dist-es/commands/ListScheduledQueriesCommand.js +41 -0
  29. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  30. package/dist-es/commands/PrepareQueryCommand.js +41 -0
  31. package/dist-es/commands/TagResourceCommand.js +41 -0
  32. package/dist-es/commands/UntagResourceCommand.js +41 -0
  33. package/dist-es/commands/UpdateScheduledQueryCommand.js +41 -0
  34. package/dist-es/commands/index.js +10 -0
  35. package/dist-es/endpoints.js +1 -0
  36. package/dist-es/models/models_0.js +192 -28
  37. package/dist-es/pagination/ListScheduledQueriesPaginator.js +74 -0
  38. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  39. package/dist-es/pagination/index.js +2 -0
  40. package/dist-es/protocols/Aws_json1_0.js +1678 -106
  41. package/dist-es/runtimeConfig.browser.js +12 -3
  42. package/dist-es/runtimeConfig.js +13 -6
  43. package/dist-types/TimestreamQuery.d.ts +132 -19
  44. package/dist-types/TimestreamQueryClient.d.ts +20 -6
  45. package/dist-types/commands/CancelQueryCommand.d.ts +6 -5
  46. package/dist-types/commands/CreateScheduledQueryCommand.d.ts +39 -0
  47. package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +35 -0
  48. package/dist-types/commands/DescribeEndpointsCommand.d.ts +15 -9
  49. package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +35 -0
  50. package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +35 -0
  51. package/dist-types/commands/ListScheduledQueriesCommand.d.ts +35 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  53. package/dist-types/commands/PrepareQueryCommand.d.ts +37 -0
  54. package/dist-types/commands/QueryCommand.d.ts +30 -2
  55. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  56. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  57. package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +35 -0
  58. package/dist-types/commands/index.d.ts +10 -0
  59. package/dist-types/models/models_0.d.ts +1137 -191
  60. package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  61. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  62. package/dist-types/pagination/index.d.ts +2 -0
  63. package/dist-types/protocols/Aws_json1_0.d.ts +30 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  65. package/dist-types/runtimeConfig.d.ts +4 -3
  66. package/dist-types/runtimeConfig.native.d.ts +1 -0
  67. package/dist-types/ts3.4/TimestreamQuery.d.ts +50 -0
  68. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +15 -3
  69. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +526 -26
  81. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
  82. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  84. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +30 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  88. package/package.json +39 -46
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,13 +1,8 @@
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.UpdateScheduledQueryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.QueryStatus = exports.QueryRequest = exports.PrepareQueryRequest = 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.DeleteScheduledQueryRequest = 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.ScalarType = exports.CancelQueryResponse = exports.CancelQueryRequest = void 0;
4
+ exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo = void 0;
4
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
- var AccessDeniedException;
6
- (function (AccessDeniedException) {
7
- AccessDeniedException.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
11
6
  var CancelQueryRequest;
12
7
  (function (CancelQueryRequest) {
13
8
  CancelQueryRequest.filterSensitiveLog = (obj) => ({
@@ -20,30 +15,6 @@ var CancelQueryResponse;
20
15
  ...obj,
21
16
  });
22
17
  })(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
23
- var InternalServerException;
24
- (function (InternalServerException) {
25
- InternalServerException.filterSensitiveLog = (obj) => ({
26
- ...obj,
27
- });
28
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
29
- var InvalidEndpointException;
30
- (function (InvalidEndpointException) {
31
- InvalidEndpointException.filterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- })(InvalidEndpointException = exports.InvalidEndpointException || (exports.InvalidEndpointException = {}));
35
- var ThrottlingException;
36
- (function (ThrottlingException) {
37
- ThrottlingException.filterSensitiveLog = (obj) => ({
38
- ...obj,
39
- });
40
- })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
41
- var ValidationException;
42
- (function (ValidationException) {
43
- ValidationException.filterSensitiveLog = (obj) => ({
44
- ...obj,
45
- });
46
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
47
18
  var ScalarType;
48
19
  (function (ScalarType) {
49
20
  ScalarType["BIGINT"] = "BIGINT";
@@ -58,12 +29,122 @@ var ScalarType;
58
29
  ScalarType["UNKNOWN"] = "UNKNOWN";
59
30
  ScalarType["VARCHAR"] = "VARCHAR";
60
31
  })(ScalarType = exports.ScalarType || (exports.ScalarType = {}));
61
- var ConflictException;
62
- (function (ConflictException) {
63
- ConflictException.filterSensitiveLog = (obj) => ({
32
+ var S3EncryptionOption;
33
+ (function (S3EncryptionOption) {
34
+ S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
35
+ S3EncryptionOption["SSE_S3"] = "SSE_S3";
36
+ })(S3EncryptionOption = exports.S3EncryptionOption || (exports.S3EncryptionOption = {}));
37
+ var S3Configuration;
38
+ (function (S3Configuration) {
39
+ S3Configuration.filterSensitiveLog = (obj) => ({
40
+ ...obj,
41
+ });
42
+ })(S3Configuration = exports.S3Configuration || (exports.S3Configuration = {}));
43
+ var ErrorReportConfiguration;
44
+ (function (ErrorReportConfiguration) {
45
+ ErrorReportConfiguration.filterSensitiveLog = (obj) => ({
64
46
  ...obj,
65
47
  });
66
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
48
+ })(ErrorReportConfiguration = exports.ErrorReportConfiguration || (exports.ErrorReportConfiguration = {}));
49
+ var SnsConfiguration;
50
+ (function (SnsConfiguration) {
51
+ SnsConfiguration.filterSensitiveLog = (obj) => ({
52
+ ...obj,
53
+ });
54
+ })(SnsConfiguration = exports.SnsConfiguration || (exports.SnsConfiguration = {}));
55
+ var NotificationConfiguration;
56
+ (function (NotificationConfiguration) {
57
+ NotificationConfiguration.filterSensitiveLog = (obj) => ({
58
+ ...obj,
59
+ });
60
+ })(NotificationConfiguration = exports.NotificationConfiguration || (exports.NotificationConfiguration = {}));
61
+ var ScheduleConfiguration;
62
+ (function (ScheduleConfiguration) {
63
+ ScheduleConfiguration.filterSensitiveLog = (obj) => ({
64
+ ...obj,
65
+ });
66
+ })(ScheduleConfiguration = exports.ScheduleConfiguration || (exports.ScheduleConfiguration = {}));
67
+ var Tag;
68
+ (function (Tag) {
69
+ Tag.filterSensitiveLog = (obj) => ({
70
+ ...obj,
71
+ });
72
+ })(Tag = exports.Tag || (exports.Tag = {}));
73
+ var DimensionValueType;
74
+ (function (DimensionValueType) {
75
+ DimensionValueType["VARCHAR"] = "VARCHAR";
76
+ })(DimensionValueType = exports.DimensionValueType || (exports.DimensionValueType = {}));
77
+ var DimensionMapping;
78
+ (function (DimensionMapping) {
79
+ DimensionMapping.filterSensitiveLog = (obj) => ({
80
+ ...obj,
81
+ });
82
+ })(DimensionMapping = exports.DimensionMapping || (exports.DimensionMapping = {}));
83
+ var MeasureValueType;
84
+ (function (MeasureValueType) {
85
+ MeasureValueType["BIGINT"] = "BIGINT";
86
+ MeasureValueType["BOOLEAN"] = "BOOLEAN";
87
+ MeasureValueType["DOUBLE"] = "DOUBLE";
88
+ MeasureValueType["MULTI"] = "MULTI";
89
+ MeasureValueType["VARCHAR"] = "VARCHAR";
90
+ })(MeasureValueType = exports.MeasureValueType || (exports.MeasureValueType = {}));
91
+ var ScalarMeasureValueType;
92
+ (function (ScalarMeasureValueType) {
93
+ ScalarMeasureValueType["BIGINT"] = "BIGINT";
94
+ ScalarMeasureValueType["BOOLEAN"] = "BOOLEAN";
95
+ ScalarMeasureValueType["DOUBLE"] = "DOUBLE";
96
+ ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
97
+ })(ScalarMeasureValueType = exports.ScalarMeasureValueType || (exports.ScalarMeasureValueType = {}));
98
+ var MultiMeasureAttributeMapping;
99
+ (function (MultiMeasureAttributeMapping) {
100
+ MultiMeasureAttributeMapping.filterSensitiveLog = (obj) => ({
101
+ ...obj,
102
+ });
103
+ })(MultiMeasureAttributeMapping = exports.MultiMeasureAttributeMapping || (exports.MultiMeasureAttributeMapping = {}));
104
+ var MixedMeasureMapping;
105
+ (function (MixedMeasureMapping) {
106
+ MixedMeasureMapping.filterSensitiveLog = (obj) => ({
107
+ ...obj,
108
+ });
109
+ })(MixedMeasureMapping = exports.MixedMeasureMapping || (exports.MixedMeasureMapping = {}));
110
+ var MultiMeasureMappings;
111
+ (function (MultiMeasureMappings) {
112
+ MultiMeasureMappings.filterSensitiveLog = (obj) => ({
113
+ ...obj,
114
+ });
115
+ })(MultiMeasureMappings = exports.MultiMeasureMappings || (exports.MultiMeasureMappings = {}));
116
+ var TimestreamConfiguration;
117
+ (function (TimestreamConfiguration) {
118
+ TimestreamConfiguration.filterSensitiveLog = (obj) => ({
119
+ ...obj,
120
+ });
121
+ })(TimestreamConfiguration = exports.TimestreamConfiguration || (exports.TimestreamConfiguration = {}));
122
+ var TargetConfiguration;
123
+ (function (TargetConfiguration) {
124
+ TargetConfiguration.filterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ });
127
+ })(TargetConfiguration = exports.TargetConfiguration || (exports.TargetConfiguration = {}));
128
+ var CreateScheduledQueryRequest;
129
+ (function (CreateScheduledQueryRequest) {
130
+ CreateScheduledQueryRequest.filterSensitiveLog = (obj) => ({
131
+ ...obj,
132
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
133
+ ...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
134
+ });
135
+ })(CreateScheduledQueryRequest = exports.CreateScheduledQueryRequest || (exports.CreateScheduledQueryRequest = {}));
136
+ var CreateScheduledQueryResponse;
137
+ (function (CreateScheduledQueryResponse) {
138
+ CreateScheduledQueryResponse.filterSensitiveLog = (obj) => ({
139
+ ...obj,
140
+ });
141
+ })(CreateScheduledQueryResponse = exports.CreateScheduledQueryResponse || (exports.CreateScheduledQueryResponse = {}));
142
+ var DeleteScheduledQueryRequest;
143
+ (function (DeleteScheduledQueryRequest) {
144
+ DeleteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ });
147
+ })(DeleteScheduledQueryRequest = exports.DeleteScheduledQueryRequest || (exports.DeleteScheduledQueryRequest = {}));
67
148
  var DescribeEndpointsRequest;
68
149
  (function (DescribeEndpointsRequest) {
69
150
  DescribeEndpointsRequest.filterSensitiveLog = (obj) => ({
@@ -82,12 +163,118 @@ var DescribeEndpointsResponse;
82
163
  ...obj,
83
164
  });
84
165
  })(DescribeEndpointsResponse = exports.DescribeEndpointsResponse || (exports.DescribeEndpointsResponse = {}));
85
- var QueryExecutionException;
86
- (function (QueryExecutionException) {
87
- QueryExecutionException.filterSensitiveLog = (obj) => ({
166
+ var DescribeScheduledQueryRequest;
167
+ (function (DescribeScheduledQueryRequest) {
168
+ DescribeScheduledQueryRequest.filterSensitiveLog = (obj) => ({
169
+ ...obj,
170
+ });
171
+ })(DescribeScheduledQueryRequest = exports.DescribeScheduledQueryRequest || (exports.DescribeScheduledQueryRequest = {}));
172
+ var S3ReportLocation;
173
+ (function (S3ReportLocation) {
174
+ S3ReportLocation.filterSensitiveLog = (obj) => ({
175
+ ...obj,
176
+ });
177
+ })(S3ReportLocation = exports.S3ReportLocation || (exports.S3ReportLocation = {}));
178
+ var ErrorReportLocation;
179
+ (function (ErrorReportLocation) {
180
+ ErrorReportLocation.filterSensitiveLog = (obj) => ({
181
+ ...obj,
182
+ });
183
+ })(ErrorReportLocation = exports.ErrorReportLocation || (exports.ErrorReportLocation = {}));
184
+ var ExecutionStats;
185
+ (function (ExecutionStats) {
186
+ ExecutionStats.filterSensitiveLog = (obj) => ({
187
+ ...obj,
188
+ });
189
+ })(ExecutionStats = exports.ExecutionStats || (exports.ExecutionStats = {}));
190
+ var ScheduledQueryRunStatus;
191
+ (function (ScheduledQueryRunStatus) {
192
+ ScheduledQueryRunStatus["AUTO_TRIGGER_FAILURE"] = "AUTO_TRIGGER_FAILURE";
193
+ ScheduledQueryRunStatus["AUTO_TRIGGER_SUCCESS"] = "AUTO_TRIGGER_SUCCESS";
194
+ ScheduledQueryRunStatus["MANUAL_TRIGGER_FAILURE"] = "MANUAL_TRIGGER_FAILURE";
195
+ ScheduledQueryRunStatus["MANUAL_TRIGGER_SUCCESS"] = "MANUAL_TRIGGER_SUCCESS";
196
+ })(ScheduledQueryRunStatus = exports.ScheduledQueryRunStatus || (exports.ScheduledQueryRunStatus = {}));
197
+ var ScheduledQueryRunSummary;
198
+ (function (ScheduledQueryRunSummary) {
199
+ ScheduledQueryRunSummary.filterSensitiveLog = (obj) => ({
200
+ ...obj,
201
+ });
202
+ })(ScheduledQueryRunSummary = exports.ScheduledQueryRunSummary || (exports.ScheduledQueryRunSummary = {}));
203
+ var ScheduledQueryState;
204
+ (function (ScheduledQueryState) {
205
+ ScheduledQueryState["DISABLED"] = "DISABLED";
206
+ ScheduledQueryState["ENABLED"] = "ENABLED";
207
+ })(ScheduledQueryState = exports.ScheduledQueryState || (exports.ScheduledQueryState = {}));
208
+ var ScheduledQueryDescription;
209
+ (function (ScheduledQueryDescription) {
210
+ ScheduledQueryDescription.filterSensitiveLog = (obj) => ({
211
+ ...obj,
212
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
213
+ });
214
+ })(ScheduledQueryDescription = exports.ScheduledQueryDescription || (exports.ScheduledQueryDescription = {}));
215
+ var DescribeScheduledQueryResponse;
216
+ (function (DescribeScheduledQueryResponse) {
217
+ DescribeScheduledQueryResponse.filterSensitiveLog = (obj) => ({
218
+ ...obj,
219
+ ...(obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescription.filterSensitiveLog(obj.ScheduledQuery) }),
220
+ });
221
+ })(DescribeScheduledQueryResponse = exports.DescribeScheduledQueryResponse || (exports.DescribeScheduledQueryResponse = {}));
222
+ var ExecuteScheduledQueryRequest;
223
+ (function (ExecuteScheduledQueryRequest) {
224
+ ExecuteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
225
+ ...obj,
226
+ ...(obj.ClientToken && { ClientToken: smithy_client_1.SENSITIVE_STRING }),
227
+ });
228
+ })(ExecuteScheduledQueryRequest = exports.ExecuteScheduledQueryRequest || (exports.ExecuteScheduledQueryRequest = {}));
229
+ var ListScheduledQueriesRequest;
230
+ (function (ListScheduledQueriesRequest) {
231
+ ListScheduledQueriesRequest.filterSensitiveLog = (obj) => ({
232
+ ...obj,
233
+ });
234
+ })(ListScheduledQueriesRequest = exports.ListScheduledQueriesRequest || (exports.ListScheduledQueriesRequest = {}));
235
+ var TimestreamDestination;
236
+ (function (TimestreamDestination) {
237
+ TimestreamDestination.filterSensitiveLog = (obj) => ({
238
+ ...obj,
239
+ });
240
+ })(TimestreamDestination = exports.TimestreamDestination || (exports.TimestreamDestination = {}));
241
+ var TargetDestination;
242
+ (function (TargetDestination) {
243
+ TargetDestination.filterSensitiveLog = (obj) => ({
244
+ ...obj,
245
+ });
246
+ })(TargetDestination = exports.TargetDestination || (exports.TargetDestination = {}));
247
+ var ScheduledQuery;
248
+ (function (ScheduledQuery) {
249
+ ScheduledQuery.filterSensitiveLog = (obj) => ({
250
+ ...obj,
251
+ });
252
+ })(ScheduledQuery = exports.ScheduledQuery || (exports.ScheduledQuery = {}));
253
+ var ListScheduledQueriesResponse;
254
+ (function (ListScheduledQueriesResponse) {
255
+ ListScheduledQueriesResponse.filterSensitiveLog = (obj) => ({
256
+ ...obj,
257
+ });
258
+ })(ListScheduledQueriesResponse = exports.ListScheduledQueriesResponse || (exports.ListScheduledQueriesResponse = {}));
259
+ var ListTagsForResourceRequest;
260
+ (function (ListTagsForResourceRequest) {
261
+ ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
88
262
  ...obj,
89
263
  });
90
- })(QueryExecutionException = exports.QueryExecutionException || (exports.QueryExecutionException = {}));
264
+ })(ListTagsForResourceRequest = exports.ListTagsForResourceRequest || (exports.ListTagsForResourceRequest = {}));
265
+ var ListTagsForResourceResponse;
266
+ (function (ListTagsForResourceResponse) {
267
+ ListTagsForResourceResponse.filterSensitiveLog = (obj) => ({
268
+ ...obj,
269
+ });
270
+ })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
271
+ var PrepareQueryRequest;
272
+ (function (PrepareQueryRequest) {
273
+ PrepareQueryRequest.filterSensitiveLog = (obj) => ({
274
+ ...obj,
275
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
276
+ });
277
+ })(PrepareQueryRequest = exports.PrepareQueryRequest || (exports.PrepareQueryRequest = {}));
91
278
  var QueryRequest;
92
279
  (function (QueryRequest) {
93
280
  QueryRequest.filterSensitiveLog = (obj) => ({
@@ -102,6 +289,36 @@ var QueryStatus;
102
289
  ...obj,
103
290
  });
104
291
  })(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
292
+ var TagResourceRequest;
293
+ (function (TagResourceRequest) {
294
+ TagResourceRequest.filterSensitiveLog = (obj) => ({
295
+ ...obj,
296
+ });
297
+ })(TagResourceRequest = exports.TagResourceRequest || (exports.TagResourceRequest = {}));
298
+ var TagResourceResponse;
299
+ (function (TagResourceResponse) {
300
+ TagResourceResponse.filterSensitiveLog = (obj) => ({
301
+ ...obj,
302
+ });
303
+ })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
304
+ var UntagResourceRequest;
305
+ (function (UntagResourceRequest) {
306
+ UntagResourceRequest.filterSensitiveLog = (obj) => ({
307
+ ...obj,
308
+ });
309
+ })(UntagResourceRequest = exports.UntagResourceRequest || (exports.UntagResourceRequest = {}));
310
+ var UntagResourceResponse;
311
+ (function (UntagResourceResponse) {
312
+ UntagResourceResponse.filterSensitiveLog = (obj) => ({
313
+ ...obj,
314
+ });
315
+ })(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
316
+ var UpdateScheduledQueryRequest;
317
+ (function (UpdateScheduledQueryRequest) {
318
+ UpdateScheduledQueryRequest.filterSensitiveLog = (obj) => ({
319
+ ...obj,
320
+ });
321
+ })(UpdateScheduledQueryRequest = exports.UpdateScheduledQueryRequest || (exports.UpdateScheduledQueryRequest = {}));
105
322
  var ColumnInfo;
106
323
  (function (ColumnInfo) {
107
324
  ColumnInfo.filterSensitiveLog = (obj) => ({
@@ -120,6 +337,18 @@ var Datum;
120
337
  ...obj,
121
338
  });
122
339
  })(Datum = exports.Datum || (exports.Datum = {}));
340
+ var ParameterMapping;
341
+ (function (ParameterMapping) {
342
+ ParameterMapping.filterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ });
345
+ })(ParameterMapping = exports.ParameterMapping || (exports.ParameterMapping = {}));
346
+ var SelectColumn;
347
+ (function (SelectColumn) {
348
+ SelectColumn.filterSensitiveLog = (obj) => ({
349
+ ...obj,
350
+ });
351
+ })(SelectColumn = exports.SelectColumn || (exports.SelectColumn = {}));
123
352
  var TimeSeriesDataPoint;
124
353
  (function (TimeSeriesDataPoint) {
125
354
  TimeSeriesDataPoint.filterSensitiveLog = (obj) => ({
@@ -138,3 +367,10 @@ var QueryResponse;
138
367
  ...obj,
139
368
  });
140
369
  })(QueryResponse = exports.QueryResponse || (exports.QueryResponse = {}));
370
+ var PrepareQueryResponse;
371
+ (function (PrepareQueryResponse) {
372
+ PrepareQueryResponse.filterSensitiveLog = (obj) => ({
373
+ ...obj,
374
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
375
+ });
376
+ })(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);