@aws-sdk/client-timestream-query 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/TimestreamQuery.js +61 -54
- package/dist-es/TimestreamQueryClient.js +29 -23
- package/dist-es/commands/CancelQueryCommand.js +29 -22
- package/dist-es/commands/CreateScheduledQueryCommand.js +29 -22
- package/dist-es/commands/DeleteScheduledQueryCommand.js +30 -23
- package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
- package/dist-es/commands/DescribeScheduledQueryCommand.js +29 -22
- package/dist-es/commands/ExecuteScheduledQueryCommand.js +30 -23
- package/dist-es/commands/ListScheduledQueriesCommand.js +29 -22
- package/dist-es/commands/ListTagsForResourceCommand.js +29 -22
- package/dist-es/commands/PrepareQueryCommand.js +29 -22
- package/dist-es/commands/QueryCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateScheduledQueryCommand.js +30 -23
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/TimestreamQueryServiceException.js +10 -5
- package/dist-es/models/models_0.js +162 -274
- package/dist-es/pagination/ListScheduledQueriesPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
- package/dist-es/pagination/QueryPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +1374 -1108
- package/dist-es/runtimeConfig.browser.js +12 -27
- package/dist-es/runtimeConfig.js +12 -31
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,70 +1,71 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
17
|
+
var InternalServerException = (function (_super) {
|
|
18
|
+
__extends(InternalServerException, _super);
|
|
19
|
+
function InternalServerException(opts) {
|
|
20
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
21
|
+
_this.name = "InternalServerException";
|
|
22
|
+
_this.$fault = "server";
|
|
23
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
24
|
+
_this.Message = opts.Message;
|
|
25
|
+
return _this;
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
return InternalServerException;
|
|
28
|
+
}(__BaseException));
|
|
29
|
+
export { InternalServerException };
|
|
30
|
+
var InvalidEndpointException = (function (_super) {
|
|
31
|
+
__extends(InvalidEndpointException, _super);
|
|
32
|
+
function InvalidEndpointException(opts) {
|
|
33
|
+
var _this = _super.call(this, __assign({ name: "InvalidEndpointException", $fault: "client" }, opts)) || this;
|
|
34
|
+
_this.name = "InvalidEndpointException";
|
|
35
|
+
_this.$fault = "client";
|
|
36
|
+
Object.setPrototypeOf(_this, InvalidEndpointException.prototype);
|
|
37
|
+
_this.Message = opts.Message;
|
|
38
|
+
return _this;
|
|
40
39
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
return InvalidEndpointException;
|
|
41
|
+
}(__BaseException));
|
|
42
|
+
export { InvalidEndpointException };
|
|
43
|
+
var ThrottlingException = (function (_super) {
|
|
44
|
+
__extends(ThrottlingException, _super);
|
|
45
|
+
function ThrottlingException(opts) {
|
|
46
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
47
|
+
_this.name = "ThrottlingException";
|
|
48
|
+
_this.$fault = "client";
|
|
49
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
50
|
+
_this.Message = opts.Message;
|
|
51
|
+
return _this;
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
53
|
+
return ThrottlingException;
|
|
54
|
+
}(__BaseException));
|
|
55
|
+
export { ThrottlingException };
|
|
56
|
+
var ValidationException = (function (_super) {
|
|
57
|
+
__extends(ValidationException, _super);
|
|
58
|
+
function ValidationException(opts) {
|
|
59
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
60
|
+
_this.name = "ValidationException";
|
|
61
|
+
_this.$fault = "client";
|
|
62
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
63
|
+
_this.Message = opts.Message;
|
|
64
|
+
return _this;
|
|
66
65
|
}
|
|
67
|
-
|
|
66
|
+
return ValidationException;
|
|
67
|
+
}(__BaseException));
|
|
68
|
+
export { ValidationException };
|
|
68
69
|
export var ScalarType;
|
|
69
70
|
(function (ScalarType) {
|
|
70
71
|
ScalarType["BIGINT"] = "BIGINT";
|
|
@@ -79,19 +80,19 @@ export var ScalarType;
|
|
|
79
80
|
ScalarType["UNKNOWN"] = "UNKNOWN";
|
|
80
81
|
ScalarType["VARCHAR"] = "VARCHAR";
|
|
81
82
|
})(ScalarType || (ScalarType = {}));
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
92
|
-
this.Message = opts.Message;
|
|
83
|
+
var ConflictException = (function (_super) {
|
|
84
|
+
__extends(ConflictException, _super);
|
|
85
|
+
function ConflictException(opts) {
|
|
86
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
87
|
+
_this.name = "ConflictException";
|
|
88
|
+
_this.$fault = "client";
|
|
89
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
90
|
+
_this.Message = opts.Message;
|
|
91
|
+
return _this;
|
|
93
92
|
}
|
|
94
|
-
|
|
93
|
+
return ConflictException;
|
|
94
|
+
}(__BaseException));
|
|
95
|
+
export { ConflictException };
|
|
95
96
|
export var S3EncryptionOption;
|
|
96
97
|
(function (S3EncryptionOption) {
|
|
97
98
|
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
@@ -117,33 +118,33 @@ export var ScalarMeasureValueType;
|
|
|
117
118
|
ScalarMeasureValueType["TIMESTAMP"] = "TIMESTAMP";
|
|
118
119
|
ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
|
|
119
120
|
})(ScalarMeasureValueType || (ScalarMeasureValueType = {}));
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
130
|
-
this.Message = opts.Message;
|
|
121
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
122
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
123
|
+
function ServiceQuotaExceededException(opts) {
|
|
124
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
125
|
+
_this.name = "ServiceQuotaExceededException";
|
|
126
|
+
_this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
128
|
+
_this.Message = opts.Message;
|
|
129
|
+
return _this;
|
|
131
130
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
131
|
+
return ServiceQuotaExceededException;
|
|
132
|
+
}(__BaseException));
|
|
133
|
+
export { ServiceQuotaExceededException };
|
|
134
|
+
var ResourceNotFoundException = (function (_super) {
|
|
135
|
+
__extends(ResourceNotFoundException, _super);
|
|
136
|
+
function ResourceNotFoundException(opts) {
|
|
137
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
138
|
+
_this.name = "ResourceNotFoundException";
|
|
139
|
+
_this.$fault = "client";
|
|
140
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
141
|
+
_this.Message = opts.Message;
|
|
142
|
+
_this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
143
|
+
return _this;
|
|
145
144
|
}
|
|
146
|
-
|
|
145
|
+
return ResourceNotFoundException;
|
|
146
|
+
}(__BaseException));
|
|
147
|
+
export { ResourceNotFoundException };
|
|
147
148
|
export var ScheduledQueryRunStatus;
|
|
148
149
|
(function (ScheduledQueryRunStatus) {
|
|
149
150
|
ScheduledQueryRunStatus["AUTO_TRIGGER_FAILURE"] = "AUTO_TRIGGER_FAILURE";
|
|
@@ -156,181 +157,68 @@ export var ScheduledQueryState;
|
|
|
156
157
|
ScheduledQueryState["DISABLED"] = "DISABLED";
|
|
157
158
|
ScheduledQueryState["ENABLED"] = "ENABLED";
|
|
158
159
|
})(ScheduledQueryState || (ScheduledQueryState = {}));
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Object.setPrototypeOf(this, QueryExecutionException.prototype);
|
|
169
|
-
this.Message = opts.Message;
|
|
160
|
+
var QueryExecutionException = (function (_super) {
|
|
161
|
+
__extends(QueryExecutionException, _super);
|
|
162
|
+
function QueryExecutionException(opts) {
|
|
163
|
+
var _this = _super.call(this, __assign({ name: "QueryExecutionException", $fault: "client" }, opts)) || this;
|
|
164
|
+
_this.name = "QueryExecutionException";
|
|
165
|
+
_this.$fault = "client";
|
|
166
|
+
Object.setPrototypeOf(_this, QueryExecutionException.prototype);
|
|
167
|
+
_this.Message = opts.Message;
|
|
168
|
+
return _this;
|
|
170
169
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
});
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
});
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
});
|
|
181
|
-
export
|
|
182
|
-
|
|
183
|
-
});
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
});
|
|
187
|
-
export
|
|
188
|
-
|
|
189
|
-
});
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
});
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
});
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
});
|
|
199
|
-
export
|
|
200
|
-
|
|
201
|
-
});
|
|
202
|
-
export
|
|
203
|
-
|
|
204
|
-
});
|
|
205
|
-
export
|
|
206
|
-
|
|
207
|
-
});
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
});
|
|
211
|
-
export
|
|
212
|
-
|
|
213
|
-
});
|
|
214
|
-
export
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
});
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
});
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
});
|
|
225
|
-
export
|
|
226
|
-
...obj,
|
|
227
|
-
});
|
|
228
|
-
export const EndpointFilterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
});
|
|
231
|
-
export const DescribeEndpointsResponseFilterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
});
|
|
234
|
-
export const DescribeScheduledQueryRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
});
|
|
237
|
-
export const S3ReportLocationFilterSensitiveLog = (obj) => ({
|
|
238
|
-
...obj,
|
|
239
|
-
});
|
|
240
|
-
export const ErrorReportLocationFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
export const ExecutionStatsFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
export const ScheduledQueryRunSummaryFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
});
|
|
249
|
-
export const ScheduledQueryDescriptionFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
252
|
-
});
|
|
253
|
-
export const DescribeScheduledQueryResponseFilterSensitiveLog = (obj) => ({
|
|
254
|
-
...obj,
|
|
255
|
-
...(obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescriptionFilterSensitiveLog(obj.ScheduledQuery) }),
|
|
256
|
-
});
|
|
257
|
-
export const ExecuteScheduledQueryRequestFilterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
260
|
-
});
|
|
261
|
-
export const ListScheduledQueriesRequestFilterSensitiveLog = (obj) => ({
|
|
262
|
-
...obj,
|
|
263
|
-
});
|
|
264
|
-
export const TimestreamDestinationFilterSensitiveLog = (obj) => ({
|
|
265
|
-
...obj,
|
|
266
|
-
});
|
|
267
|
-
export const TargetDestinationFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
});
|
|
270
|
-
export const ScheduledQueryFilterSensitiveLog = (obj) => ({
|
|
271
|
-
...obj,
|
|
272
|
-
});
|
|
273
|
-
export const ListScheduledQueriesResponseFilterSensitiveLog = (obj) => ({
|
|
274
|
-
...obj,
|
|
275
|
-
});
|
|
276
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
});
|
|
279
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
});
|
|
282
|
-
export const PrepareQueryRequestFilterSensitiveLog = (obj) => ({
|
|
283
|
-
...obj,
|
|
284
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
285
|
-
});
|
|
286
|
-
export const QueryRequestFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
289
|
-
...(obj.ClientToken && { ClientToken: SENSITIVE_STRING }),
|
|
290
|
-
});
|
|
291
|
-
export const QueryStatusFilterSensitiveLog = (obj) => ({
|
|
292
|
-
...obj,
|
|
293
|
-
});
|
|
294
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
});
|
|
297
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
});
|
|
300
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
301
|
-
...obj,
|
|
302
|
-
});
|
|
303
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
});
|
|
306
|
-
export const UpdateScheduledQueryRequestFilterSensitiveLog = (obj) => ({
|
|
307
|
-
...obj,
|
|
308
|
-
});
|
|
309
|
-
export const ColumnInfoFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
});
|
|
312
|
-
export const TypeFilterSensitiveLog = (obj) => ({
|
|
313
|
-
...obj,
|
|
314
|
-
});
|
|
315
|
-
export const DatumFilterSensitiveLog = (obj) => ({
|
|
316
|
-
...obj,
|
|
317
|
-
});
|
|
318
|
-
export const ParameterMappingFilterSensitiveLog = (obj) => ({
|
|
319
|
-
...obj,
|
|
320
|
-
});
|
|
321
|
-
export const SelectColumnFilterSensitiveLog = (obj) => ({
|
|
322
|
-
...obj,
|
|
323
|
-
});
|
|
324
|
-
export const TimeSeriesDataPointFilterSensitiveLog = (obj) => ({
|
|
325
|
-
...obj,
|
|
326
|
-
});
|
|
327
|
-
export const RowFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
});
|
|
330
|
-
export const QueryResponseFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
export const PrepareQueryResponseFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
|
|
336
|
-
});
|
|
170
|
+
return QueryExecutionException;
|
|
171
|
+
}(__BaseException));
|
|
172
|
+
export { QueryExecutionException };
|
|
173
|
+
export var CancelQueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var CancelQueryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var S3ConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
export var ErrorReportConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
export var SnsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
export var NotificationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
export var ScheduleConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var DimensionMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
export var MultiMeasureAttributeMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var MixedMeasureMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var MultiMeasureMappingsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var TimestreamConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
export var TargetConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
export var CreateScheduledQueryRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING })), (obj.ClientToken && { ClientToken: SENSITIVE_STRING }))); };
|
|
188
|
+
export var CreateScheduledQueryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
|
+
export var DeleteScheduledQueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
export var DescribeEndpointsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
export var EndpointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
export var DescribeEndpointsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var DescribeScheduledQueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var S3ReportLocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var ErrorReportLocationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var ExecutionStatsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var ScheduledQueryRunSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var ScheduledQueryDescriptionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING }))); };
|
|
199
|
+
export var DescribeScheduledQueryResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ScheduledQuery && { ScheduledQuery: ScheduledQueryDescriptionFilterSensitiveLog(obj.ScheduledQuery) }))); };
|
|
200
|
+
export var ExecuteScheduledQueryRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ClientToken && { ClientToken: SENSITIVE_STRING }))); };
|
|
201
|
+
export var ListScheduledQueriesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
export var TimestreamDestinationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
+
export var TargetDestinationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
+
export var ScheduledQueryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
205
|
+
export var ListScheduledQueriesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
export var PrepareQueryRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING }))); };
|
|
209
|
+
export var QueryRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING })), (obj.ClientToken && { ClientToken: SENSITIVE_STRING }))); };
|
|
210
|
+
export var QueryStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
215
|
+
export var UpdateScheduledQueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
export var ColumnInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
export var TypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
export var DatumFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var ParameterMappingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
export var SelectColumnFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var TimeSeriesDataPointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var RowFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var QueryResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var PrepareQueryResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING }))); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListScheduledQueriesCommand, } from "../commands/ListScheduledQueriesCommand";
|
|
2
3
|
import { TimestreamQuery } from "../TimestreamQuery";
|
|
3
4
|
import { TimestreamQueryClient } from "../TimestreamQueryClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListScheduledQueriesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listScheduledQueries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof TimestreamQuery) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof TimestreamQueryClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected TimestreamQuery | TimestreamQueryClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListScheduledQueries(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListScheduledQueries_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof TimestreamQuery)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof TimestreamQueryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected TimestreamQuery | TimestreamQueryClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|