@aws-sdk/client-timestream-query 3.169.0 → 3.170.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 (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/TimestreamQuery.d.ts +235 -70
  3. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +213 -89
  4. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +36 -17
  7. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +38 -17
  8. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +36 -17
  10. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  12. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/QueryCommand.d.ts +32 -17
  14. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  15. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  16. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +36 -17
  17. package/dist-types/ts3.4/commands/index.d.ts +13 -13
  18. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  19. package/dist-types/ts3.4/index.d.ts +6 -6
  20. package/dist-types/ts3.4/models/TimestreamQueryServiceException.d.ts +8 -6
  21. package/dist-types/ts3.4/models/index.d.ts +1 -1
  22. package/dist-types/ts3.4/models/models_0.d.ts +697 -647
  23. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  24. package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +11 -4
  25. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -4
  26. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -4
  27. package/dist-types/ts3.4/pagination/index.d.ts +4 -4
  28. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -41
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +73 -41
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +73 -41
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +74 -40
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
  33. package/package.json +35 -35
@@ -1,647 +1,697 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- Message?: string;
8
-
9
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
- }
11
- export interface CancelQueryRequest {
12
-
13
- QueryId: string | undefined;
14
- }
15
- export interface CancelQueryResponse {
16
-
17
- CancellationMessage?: string;
18
- }
19
-
20
- export declare class InternalServerException extends __BaseException {
21
- readonly name: "InternalServerException";
22
- readonly $fault: "server";
23
- Message?: string;
24
-
25
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
- }
27
-
28
- export declare class InvalidEndpointException extends __BaseException {
29
- readonly name: "InvalidEndpointException";
30
- readonly $fault: "client";
31
- Message?: string;
32
-
33
- constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
34
- }
35
-
36
- export declare class ThrottlingException extends __BaseException {
37
- readonly name: "ThrottlingException";
38
- readonly $fault: "client";
39
- Message?: string;
40
-
41
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
42
- }
43
-
44
- export declare class ValidationException extends __BaseException {
45
- readonly name: "ValidationException";
46
- readonly $fault: "client";
47
- Message?: string;
48
-
49
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
50
- }
51
- export declare enum ScalarType {
52
- BIGINT = "BIGINT",
53
- BOOLEAN = "BOOLEAN",
54
- DATE = "DATE",
55
- DOUBLE = "DOUBLE",
56
- INTEGER = "INTEGER",
57
- INTERVAL_DAY_TO_SECOND = "INTERVAL_DAY_TO_SECOND",
58
- INTERVAL_YEAR_TO_MONTH = "INTERVAL_YEAR_TO_MONTH",
59
- TIME = "TIME",
60
- TIMESTAMP = "TIMESTAMP",
61
- UNKNOWN = "UNKNOWN",
62
- VARCHAR = "VARCHAR"
63
- }
64
-
65
- export declare class ConflictException extends __BaseException {
66
- readonly name: "ConflictException";
67
- readonly $fault: "client";
68
- Message?: string;
69
-
70
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
71
- }
72
- export declare enum S3EncryptionOption {
73
- SSE_KMS = "SSE_KMS",
74
- SSE_S3 = "SSE_S3"
75
- }
76
-
77
- export interface S3Configuration {
78
-
79
- BucketName: string | undefined;
80
-
81
- ObjectKeyPrefix?: string;
82
-
83
- EncryptionOption?: S3EncryptionOption | string;
84
- }
85
-
86
- export interface ErrorReportConfiguration {
87
-
88
- S3Configuration: S3Configuration | undefined;
89
- }
90
-
91
- export interface SnsConfiguration {
92
-
93
- TopicArn: string | undefined;
94
- }
95
-
96
- export interface NotificationConfiguration {
97
-
98
- SnsConfiguration: SnsConfiguration | undefined;
99
- }
100
-
101
- export interface ScheduleConfiguration {
102
-
103
- ScheduleExpression: string | undefined;
104
- }
105
-
106
- export interface Tag {
107
-
108
- Key: string | undefined;
109
-
110
- Value: string | undefined;
111
- }
112
- export declare enum DimensionValueType {
113
- VARCHAR = "VARCHAR"
114
- }
115
-
116
- export interface DimensionMapping {
117
-
118
- Name: string | undefined;
119
-
120
- DimensionValueType: DimensionValueType | string | undefined;
121
- }
122
- export declare enum MeasureValueType {
123
- BIGINT = "BIGINT",
124
- BOOLEAN = "BOOLEAN",
125
- DOUBLE = "DOUBLE",
126
- MULTI = "MULTI",
127
- VARCHAR = "VARCHAR"
128
- }
129
- export declare enum ScalarMeasureValueType {
130
- BIGINT = "BIGINT",
131
- BOOLEAN = "BOOLEAN",
132
- DOUBLE = "DOUBLE",
133
- TIMESTAMP = "TIMESTAMP",
134
- VARCHAR = "VARCHAR"
135
- }
136
-
137
- export interface MultiMeasureAttributeMapping {
138
-
139
- SourceColumn: string | undefined;
140
-
141
- TargetMultiMeasureAttributeName?: string;
142
-
143
- MeasureValueType: ScalarMeasureValueType | string | undefined;
144
- }
145
-
146
- export interface MixedMeasureMapping {
147
-
148
- MeasureName?: string;
149
-
150
- SourceColumn?: string;
151
-
152
- TargetMeasureName?: string;
153
-
154
- MeasureValueType: MeasureValueType | string | undefined;
155
-
156
- MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
157
- }
158
-
159
- export interface MultiMeasureMappings {
160
-
161
- TargetMultiMeasureName?: string;
162
-
163
- MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
164
- }
165
-
166
- export interface TimestreamConfiguration {
167
-
168
- DatabaseName: string | undefined;
169
-
170
- TableName: string | undefined;
171
-
172
- TimeColumn: string | undefined;
173
-
174
- DimensionMappings: DimensionMapping[] | undefined;
175
-
176
- MultiMeasureMappings?: MultiMeasureMappings;
177
-
178
- MixedMeasureMappings?: MixedMeasureMapping[];
179
-
180
- MeasureNameColumn?: string;
181
- }
182
-
183
- export interface TargetConfiguration {
184
-
185
- TimestreamConfiguration: TimestreamConfiguration | undefined;
186
- }
187
- export interface CreateScheduledQueryRequest {
188
-
189
- Name: string | undefined;
190
-
191
- QueryString: string | undefined;
192
-
193
- ScheduleConfiguration: ScheduleConfiguration | undefined;
194
-
195
- NotificationConfiguration: NotificationConfiguration | undefined;
196
-
197
- TargetConfiguration?: TargetConfiguration;
198
-
199
- ClientToken?: string;
200
-
201
- ScheduledQueryExecutionRoleArn: string | undefined;
202
-
203
- Tags?: Tag[];
204
-
205
- KmsKeyId?: string;
206
-
207
- ErrorReportConfiguration: ErrorReportConfiguration | undefined;
208
- }
209
- export interface CreateScheduledQueryResponse {
210
-
211
- Arn: string | undefined;
212
- }
213
-
214
- export declare class ServiceQuotaExceededException extends __BaseException {
215
- readonly name: "ServiceQuotaExceededException";
216
- readonly $fault: "client";
217
- Message?: string;
218
-
219
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
220
- }
221
- export interface DeleteScheduledQueryRequest {
222
-
223
- ScheduledQueryArn: string | undefined;
224
- }
225
-
226
- export declare class ResourceNotFoundException extends __BaseException {
227
- readonly name: "ResourceNotFoundException";
228
- readonly $fault: "client";
229
- Message?: string;
230
-
231
- ScheduledQueryArn?: string;
232
-
233
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
234
- }
235
- export interface DescribeEndpointsRequest {
236
- }
237
-
238
- export interface Endpoint {
239
-
240
- Address: string | undefined;
241
-
242
- CachePeriodInMinutes: number | undefined;
243
- }
244
- export interface DescribeEndpointsResponse {
245
-
246
- Endpoints: Endpoint[] | undefined;
247
- }
248
- export interface DescribeScheduledQueryRequest {
249
-
250
- ScheduledQueryArn: string | undefined;
251
- }
252
-
253
- export interface S3ReportLocation {
254
-
255
- BucketName?: string;
256
-
257
- ObjectKey?: string;
258
- }
259
-
260
- export interface ErrorReportLocation {
261
-
262
- S3ReportLocation?: S3ReportLocation;
263
- }
264
-
265
- export interface ExecutionStats {
266
-
267
- ExecutionTimeInMillis?: number;
268
-
269
- DataWrites?: number;
270
-
271
- BytesMetered?: number;
272
-
273
- RecordsIngested?: number;
274
-
275
- QueryResultRows?: number;
276
- }
277
- export declare enum ScheduledQueryRunStatus {
278
- AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
279
- AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
280
- MANUAL_TRIGGER_FAILURE = "MANUAL_TRIGGER_FAILURE",
281
- MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS"
282
- }
283
-
284
- export interface ScheduledQueryRunSummary {
285
-
286
- InvocationTime?: Date;
287
-
288
- TriggerTime?: Date;
289
-
290
- RunStatus?: ScheduledQueryRunStatus | string;
291
-
292
- ExecutionStats?: ExecutionStats;
293
-
294
- ErrorReportLocation?: ErrorReportLocation;
295
-
296
- FailureReason?: string;
297
- }
298
- export declare enum ScheduledQueryState {
299
- DISABLED = "DISABLED",
300
- ENABLED = "ENABLED"
301
- }
302
-
303
- export interface ScheduledQueryDescription {
304
-
305
- Arn: string | undefined;
306
-
307
- Name: string | undefined;
308
-
309
- QueryString: string | undefined;
310
-
311
- CreationTime?: Date;
312
-
313
- State: ScheduledQueryState | string | undefined;
314
-
315
- PreviousInvocationTime?: Date;
316
-
317
- NextInvocationTime?: Date;
318
-
319
- ScheduleConfiguration: ScheduleConfiguration | undefined;
320
-
321
- NotificationConfiguration: NotificationConfiguration | undefined;
322
-
323
- TargetConfiguration?: TargetConfiguration;
324
-
325
- ScheduledQueryExecutionRoleArn?: string;
326
-
327
- KmsKeyId?: string;
328
-
329
- ErrorReportConfiguration?: ErrorReportConfiguration;
330
-
331
- LastRunSummary?: ScheduledQueryRunSummary;
332
-
333
- RecentlyFailedRuns?: ScheduledQueryRunSummary[];
334
- }
335
- export interface DescribeScheduledQueryResponse {
336
-
337
- ScheduledQuery: ScheduledQueryDescription | undefined;
338
- }
339
- export interface ExecuteScheduledQueryRequest {
340
-
341
- ScheduledQueryArn: string | undefined;
342
-
343
- InvocationTime: Date | undefined;
344
-
345
- ClientToken?: string;
346
- }
347
- export interface ListScheduledQueriesRequest {
348
-
349
- MaxResults?: number;
350
-
351
- NextToken?: string;
352
- }
353
-
354
- export interface TimestreamDestination {
355
-
356
- DatabaseName?: string;
357
-
358
- TableName?: string;
359
- }
360
-
361
- export interface TargetDestination {
362
-
363
- TimestreamDestination?: TimestreamDestination;
364
- }
365
-
366
- export interface ScheduledQuery {
367
-
368
- Arn: string | undefined;
369
-
370
- Name: string | undefined;
371
-
372
- CreationTime?: Date;
373
-
374
- State: ScheduledQueryState | string | undefined;
375
-
376
- PreviousInvocationTime?: Date;
377
-
378
- NextInvocationTime?: Date;
379
-
380
- ErrorReportConfiguration?: ErrorReportConfiguration;
381
-
382
- TargetDestination?: TargetDestination;
383
-
384
- LastRunStatus?: ScheduledQueryRunStatus | string;
385
- }
386
- export interface ListScheduledQueriesResponse {
387
-
388
- ScheduledQueries: ScheduledQuery[] | undefined;
389
-
390
- NextToken?: string;
391
- }
392
- export interface ListTagsForResourceRequest {
393
-
394
- ResourceARN: string | undefined;
395
-
396
- MaxResults?: number;
397
-
398
- NextToken?: string;
399
- }
400
- export interface ListTagsForResourceResponse {
401
-
402
- Tags: Tag[] | undefined;
403
-
404
- NextToken?: string;
405
- }
406
- export interface PrepareQueryRequest {
407
-
408
- QueryString: string | undefined;
409
-
410
- ValidateOnly?: boolean;
411
- }
412
-
413
- export declare class QueryExecutionException extends __BaseException {
414
- readonly name: "QueryExecutionException";
415
- readonly $fault: "client";
416
- Message?: string;
417
-
418
- constructor(opts: __ExceptionOptionType<QueryExecutionException, __BaseException>);
419
- }
420
- export interface QueryRequest {
421
-
422
- QueryString: string | undefined;
423
-
424
- ClientToken?: string;
425
-
426
- NextToken?: string;
427
-
428
- MaxRows?: number;
429
- }
430
-
431
- export interface QueryStatus {
432
-
433
- ProgressPercentage?: number;
434
-
435
- CumulativeBytesScanned?: number;
436
-
437
- CumulativeBytesMetered?: number;
438
- }
439
- export interface TagResourceRequest {
440
-
441
- ResourceARN: string | undefined;
442
-
443
- Tags: Tag[] | undefined;
444
- }
445
- export interface TagResourceResponse {
446
- }
447
- export interface UntagResourceRequest {
448
-
449
- ResourceARN: string | undefined;
450
-
451
- TagKeys: string[] | undefined;
452
- }
453
- export interface UntagResourceResponse {
454
- }
455
- export interface UpdateScheduledQueryRequest {
456
-
457
- ScheduledQueryArn: string | undefined;
458
-
459
- State: ScheduledQueryState | string | undefined;
460
- }
461
-
462
- export interface ColumnInfo {
463
-
464
- Name?: string;
465
-
466
- Type: Type | undefined;
467
- }
468
-
469
- export interface Type {
470
-
471
- ScalarType?: ScalarType | string;
472
-
473
- ArrayColumnInfo?: ColumnInfo;
474
-
475
- TimeSeriesMeasureValueColumnInfo?: ColumnInfo;
476
-
477
- RowColumnInfo?: ColumnInfo[];
478
- }
479
-
480
- export interface Datum {
481
-
482
- ScalarValue?: string;
483
-
484
- TimeSeriesValue?: TimeSeriesDataPoint[];
485
-
486
- ArrayValue?: Datum[];
487
-
488
- RowValue?: Row;
489
-
490
- NullValue?: boolean;
491
- }
492
-
493
- export interface ParameterMapping {
494
-
495
- Name: string | undefined;
496
-
497
- Type: Type | undefined;
498
- }
499
-
500
- export interface SelectColumn {
501
-
502
- Name?: string;
503
-
504
- Type?: Type;
505
-
506
- DatabaseName?: string;
507
-
508
- TableName?: string;
509
-
510
- Aliased?: boolean;
511
- }
512
-
513
- export interface TimeSeriesDataPoint {
514
-
515
- Time: string | undefined;
516
-
517
- Value: Datum | undefined;
518
- }
519
-
520
- export interface Row {
521
-
522
- Data: Datum[] | undefined;
523
- }
524
- export interface QueryResponse {
525
-
526
- QueryId: string | undefined;
527
-
528
- NextToken?: string;
529
-
530
- Rows: Row[] | undefined;
531
-
532
- ColumnInfo: ColumnInfo[] | undefined;
533
-
534
- QueryStatus?: QueryStatus;
535
- }
536
- export interface PrepareQueryResponse {
537
-
538
- QueryString: string | undefined;
539
-
540
- Columns: SelectColumn[] | undefined;
541
-
542
- Parameters: ParameterMapping[] | undefined;
543
- }
544
-
545
- export declare const CancelQueryRequestFilterSensitiveLog: (obj: CancelQueryRequest) => any;
546
-
547
- export declare const CancelQueryResponseFilterSensitiveLog: (obj: CancelQueryResponse) => any;
548
-
549
- export declare const S3ConfigurationFilterSensitiveLog: (obj: S3Configuration) => any;
550
-
551
- export declare const ErrorReportConfigurationFilterSensitiveLog: (obj: ErrorReportConfiguration) => any;
552
-
553
- export declare const SnsConfigurationFilterSensitiveLog: (obj: SnsConfiguration) => any;
554
-
555
- export declare const NotificationConfigurationFilterSensitiveLog: (obj: NotificationConfiguration) => any;
556
-
557
- export declare const ScheduleConfigurationFilterSensitiveLog: (obj: ScheduleConfiguration) => any;
558
-
559
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
560
-
561
- export declare const DimensionMappingFilterSensitiveLog: (obj: DimensionMapping) => any;
562
-
563
- export declare const MultiMeasureAttributeMappingFilterSensitiveLog: (obj: MultiMeasureAttributeMapping) => any;
564
-
565
- export declare const MixedMeasureMappingFilterSensitiveLog: (obj: MixedMeasureMapping) => any;
566
-
567
- export declare const MultiMeasureMappingsFilterSensitiveLog: (obj: MultiMeasureMappings) => any;
568
-
569
- export declare const TimestreamConfigurationFilterSensitiveLog: (obj: TimestreamConfiguration) => any;
570
-
571
- export declare const TargetConfigurationFilterSensitiveLog: (obj: TargetConfiguration) => any;
572
-
573
- export declare const CreateScheduledQueryRequestFilterSensitiveLog: (obj: CreateScheduledQueryRequest) => any;
574
-
575
- export declare const CreateScheduledQueryResponseFilterSensitiveLog: (obj: CreateScheduledQueryResponse) => any;
576
-
577
- export declare const DeleteScheduledQueryRequestFilterSensitiveLog: (obj: DeleteScheduledQueryRequest) => any;
578
-
579
- export declare const DescribeEndpointsRequestFilterSensitiveLog: (obj: DescribeEndpointsRequest) => any;
580
-
581
- export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
582
-
583
- export declare const DescribeEndpointsResponseFilterSensitiveLog: (obj: DescribeEndpointsResponse) => any;
584
-
585
- export declare const DescribeScheduledQueryRequestFilterSensitiveLog: (obj: DescribeScheduledQueryRequest) => any;
586
-
587
- export declare const S3ReportLocationFilterSensitiveLog: (obj: S3ReportLocation) => any;
588
-
589
- export declare const ErrorReportLocationFilterSensitiveLog: (obj: ErrorReportLocation) => any;
590
-
591
- export declare const ExecutionStatsFilterSensitiveLog: (obj: ExecutionStats) => any;
592
-
593
- export declare const ScheduledQueryRunSummaryFilterSensitiveLog: (obj: ScheduledQueryRunSummary) => any;
594
-
595
- export declare const ScheduledQueryDescriptionFilterSensitiveLog: (obj: ScheduledQueryDescription) => any;
596
-
597
- export declare const DescribeScheduledQueryResponseFilterSensitiveLog: (obj: DescribeScheduledQueryResponse) => any;
598
-
599
- export declare const ExecuteScheduledQueryRequestFilterSensitiveLog: (obj: ExecuteScheduledQueryRequest) => any;
600
-
601
- export declare const ListScheduledQueriesRequestFilterSensitiveLog: (obj: ListScheduledQueriesRequest) => any;
602
-
603
- export declare const TimestreamDestinationFilterSensitiveLog: (obj: TimestreamDestination) => any;
604
-
605
- export declare const TargetDestinationFilterSensitiveLog: (obj: TargetDestination) => any;
606
-
607
- export declare const ScheduledQueryFilterSensitiveLog: (obj: ScheduledQuery) => any;
608
-
609
- export declare const ListScheduledQueriesResponseFilterSensitiveLog: (obj: ListScheduledQueriesResponse) => any;
610
-
611
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
612
-
613
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
614
-
615
- export declare const PrepareQueryRequestFilterSensitiveLog: (obj: PrepareQueryRequest) => any;
616
-
617
- export declare const QueryRequestFilterSensitiveLog: (obj: QueryRequest) => any;
618
-
619
- export declare const QueryStatusFilterSensitiveLog: (obj: QueryStatus) => any;
620
-
621
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
622
-
623
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
624
-
625
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
626
-
627
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
628
-
629
- export declare const UpdateScheduledQueryRequestFilterSensitiveLog: (obj: UpdateScheduledQueryRequest) => any;
630
-
631
- export declare const ColumnInfoFilterSensitiveLog: (obj: ColumnInfo) => any;
632
-
633
- export declare const TypeFilterSensitiveLog: (obj: Type) => any;
634
-
635
- export declare const DatumFilterSensitiveLog: (obj: Datum) => any;
636
-
637
- export declare const ParameterMappingFilterSensitiveLog: (obj: ParameterMapping) => any;
638
-
639
- export declare const SelectColumnFilterSensitiveLog: (obj: SelectColumn) => any;
640
-
641
- export declare const TimeSeriesDataPointFilterSensitiveLog: (obj: TimeSeriesDataPoint) => any;
642
-
643
- export declare const RowFilterSensitiveLog: (obj: Row) => any;
644
-
645
- export declare const QueryResponseFilterSensitiveLog: (obj: QueryResponse) => any;
646
-
647
- export declare const PrepareQueryResponseFilterSensitiveLog: (obj: PrepareQueryResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message?: string;
8
+
9
+ constructor(
10
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
+ );
12
+ }
13
+ export interface CancelQueryRequest {
14
+ QueryId: string | undefined;
15
+ }
16
+ export interface CancelQueryResponse {
17
+ CancellationMessage?: string;
18
+ }
19
+
20
+ export declare class InternalServerException extends __BaseException {
21
+ readonly name: "InternalServerException";
22
+ readonly $fault: "server";
23
+ Message?: string;
24
+
25
+ constructor(
26
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
27
+ );
28
+ }
29
+
30
+ export declare class InvalidEndpointException extends __BaseException {
31
+ readonly name: "InvalidEndpointException";
32
+ readonly $fault: "client";
33
+ Message?: string;
34
+
35
+ constructor(
36
+ opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
37
+ );
38
+ }
39
+
40
+ export declare class ThrottlingException extends __BaseException {
41
+ readonly name: "ThrottlingException";
42
+ readonly $fault: "client";
43
+ Message?: string;
44
+
45
+ constructor(
46
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
47
+ );
48
+ }
49
+
50
+ export declare class ValidationException extends __BaseException {
51
+ readonly name: "ValidationException";
52
+ readonly $fault: "client";
53
+ Message?: string;
54
+
55
+ constructor(
56
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
57
+ );
58
+ }
59
+ export declare enum ScalarType {
60
+ BIGINT = "BIGINT",
61
+ BOOLEAN = "BOOLEAN",
62
+ DATE = "DATE",
63
+ DOUBLE = "DOUBLE",
64
+ INTEGER = "INTEGER",
65
+ INTERVAL_DAY_TO_SECOND = "INTERVAL_DAY_TO_SECOND",
66
+ INTERVAL_YEAR_TO_MONTH = "INTERVAL_YEAR_TO_MONTH",
67
+ TIME = "TIME",
68
+ TIMESTAMP = "TIMESTAMP",
69
+ UNKNOWN = "UNKNOWN",
70
+ VARCHAR = "VARCHAR",
71
+ }
72
+
73
+ export declare class ConflictException extends __BaseException {
74
+ readonly name: "ConflictException";
75
+ readonly $fault: "client";
76
+ Message?: string;
77
+
78
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
79
+ }
80
+ export declare enum S3EncryptionOption {
81
+ SSE_KMS = "SSE_KMS",
82
+ SSE_S3 = "SSE_S3",
83
+ }
84
+
85
+ export interface S3Configuration {
86
+ BucketName: string | undefined;
87
+
88
+ ObjectKeyPrefix?: string;
89
+
90
+ EncryptionOption?: S3EncryptionOption | string;
91
+ }
92
+
93
+ export interface ErrorReportConfiguration {
94
+ S3Configuration: S3Configuration | undefined;
95
+ }
96
+
97
+ export interface SnsConfiguration {
98
+ TopicArn: string | undefined;
99
+ }
100
+
101
+ export interface NotificationConfiguration {
102
+ SnsConfiguration: SnsConfiguration | undefined;
103
+ }
104
+
105
+ export interface ScheduleConfiguration {
106
+ ScheduleExpression: string | undefined;
107
+ }
108
+
109
+ export interface Tag {
110
+ Key: string | undefined;
111
+
112
+ Value: string | undefined;
113
+ }
114
+ export declare enum DimensionValueType {
115
+ VARCHAR = "VARCHAR",
116
+ }
117
+
118
+ export interface DimensionMapping {
119
+ Name: string | undefined;
120
+
121
+ DimensionValueType: DimensionValueType | string | undefined;
122
+ }
123
+ export declare enum MeasureValueType {
124
+ BIGINT = "BIGINT",
125
+ BOOLEAN = "BOOLEAN",
126
+ DOUBLE = "DOUBLE",
127
+ MULTI = "MULTI",
128
+ VARCHAR = "VARCHAR",
129
+ }
130
+ export declare enum ScalarMeasureValueType {
131
+ BIGINT = "BIGINT",
132
+ BOOLEAN = "BOOLEAN",
133
+ DOUBLE = "DOUBLE",
134
+ TIMESTAMP = "TIMESTAMP",
135
+ VARCHAR = "VARCHAR",
136
+ }
137
+
138
+ export interface MultiMeasureAttributeMapping {
139
+ SourceColumn: string | undefined;
140
+
141
+ TargetMultiMeasureAttributeName?: string;
142
+
143
+ MeasureValueType: ScalarMeasureValueType | string | undefined;
144
+ }
145
+
146
+ export interface MixedMeasureMapping {
147
+ MeasureName?: string;
148
+
149
+ SourceColumn?: string;
150
+
151
+ TargetMeasureName?: string;
152
+
153
+ MeasureValueType: MeasureValueType | string | undefined;
154
+
155
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
156
+ }
157
+
158
+ export interface MultiMeasureMappings {
159
+ TargetMultiMeasureName?: string;
160
+
161
+ MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
162
+ }
163
+
164
+ export interface TimestreamConfiguration {
165
+ DatabaseName: string | undefined;
166
+
167
+ TableName: string | undefined;
168
+
169
+ TimeColumn: string | undefined;
170
+
171
+ DimensionMappings: DimensionMapping[] | undefined;
172
+
173
+ MultiMeasureMappings?: MultiMeasureMappings;
174
+
175
+ MixedMeasureMappings?: MixedMeasureMapping[];
176
+
177
+ MeasureNameColumn?: string;
178
+ }
179
+
180
+ export interface TargetConfiguration {
181
+ TimestreamConfiguration: TimestreamConfiguration | undefined;
182
+ }
183
+ export interface CreateScheduledQueryRequest {
184
+ Name: string | undefined;
185
+
186
+ QueryString: string | undefined;
187
+
188
+ ScheduleConfiguration: ScheduleConfiguration | undefined;
189
+
190
+ NotificationConfiguration: NotificationConfiguration | undefined;
191
+
192
+ TargetConfiguration?: TargetConfiguration;
193
+
194
+ ClientToken?: string;
195
+
196
+ ScheduledQueryExecutionRoleArn: string | undefined;
197
+
198
+ Tags?: Tag[];
199
+
200
+ KmsKeyId?: string;
201
+
202
+ ErrorReportConfiguration: ErrorReportConfiguration | undefined;
203
+ }
204
+ export interface CreateScheduledQueryResponse {
205
+ Arn: string | undefined;
206
+ }
207
+
208
+ export declare class ServiceQuotaExceededException extends __BaseException {
209
+ readonly name: "ServiceQuotaExceededException";
210
+ readonly $fault: "client";
211
+ Message?: string;
212
+
213
+ constructor(
214
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
215
+ );
216
+ }
217
+ export interface DeleteScheduledQueryRequest {
218
+ ScheduledQueryArn: string | undefined;
219
+ }
220
+
221
+ export declare class ResourceNotFoundException extends __BaseException {
222
+ readonly name: "ResourceNotFoundException";
223
+ readonly $fault: "client";
224
+ Message?: string;
225
+
226
+ ScheduledQueryArn?: string;
227
+
228
+ constructor(
229
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
230
+ );
231
+ }
232
+ export interface DescribeEndpointsRequest {}
233
+
234
+ export interface Endpoint {
235
+ Address: string | undefined;
236
+
237
+ CachePeriodInMinutes: number | undefined;
238
+ }
239
+ export interface DescribeEndpointsResponse {
240
+ Endpoints: Endpoint[] | undefined;
241
+ }
242
+ export interface DescribeScheduledQueryRequest {
243
+ ScheduledQueryArn: string | undefined;
244
+ }
245
+
246
+ export interface S3ReportLocation {
247
+ BucketName?: string;
248
+
249
+ ObjectKey?: string;
250
+ }
251
+
252
+ export interface ErrorReportLocation {
253
+ S3ReportLocation?: S3ReportLocation;
254
+ }
255
+
256
+ export interface ExecutionStats {
257
+ ExecutionTimeInMillis?: number;
258
+
259
+ DataWrites?: number;
260
+
261
+ BytesMetered?: number;
262
+
263
+ RecordsIngested?: number;
264
+
265
+ QueryResultRows?: number;
266
+ }
267
+ export declare enum ScheduledQueryRunStatus {
268
+ AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
269
+ AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
270
+ MANUAL_TRIGGER_FAILURE = "MANUAL_TRIGGER_FAILURE",
271
+ MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS",
272
+ }
273
+
274
+ export interface ScheduledQueryRunSummary {
275
+ InvocationTime?: Date;
276
+
277
+ TriggerTime?: Date;
278
+
279
+ RunStatus?: ScheduledQueryRunStatus | string;
280
+
281
+ ExecutionStats?: ExecutionStats;
282
+
283
+ ErrorReportLocation?: ErrorReportLocation;
284
+
285
+ FailureReason?: string;
286
+ }
287
+ export declare enum ScheduledQueryState {
288
+ DISABLED = "DISABLED",
289
+ ENABLED = "ENABLED",
290
+ }
291
+
292
+ export interface ScheduledQueryDescription {
293
+ Arn: string | undefined;
294
+
295
+ Name: string | undefined;
296
+
297
+ QueryString: string | undefined;
298
+
299
+ CreationTime?: Date;
300
+
301
+ State: ScheduledQueryState | string | undefined;
302
+
303
+ PreviousInvocationTime?: Date;
304
+
305
+ NextInvocationTime?: Date;
306
+
307
+ ScheduleConfiguration: ScheduleConfiguration | undefined;
308
+
309
+ NotificationConfiguration: NotificationConfiguration | undefined;
310
+
311
+ TargetConfiguration?: TargetConfiguration;
312
+
313
+ ScheduledQueryExecutionRoleArn?: string;
314
+
315
+ KmsKeyId?: string;
316
+
317
+ ErrorReportConfiguration?: ErrorReportConfiguration;
318
+
319
+ LastRunSummary?: ScheduledQueryRunSummary;
320
+
321
+ RecentlyFailedRuns?: ScheduledQueryRunSummary[];
322
+ }
323
+ export interface DescribeScheduledQueryResponse {
324
+ ScheduledQuery: ScheduledQueryDescription | undefined;
325
+ }
326
+ export interface ExecuteScheduledQueryRequest {
327
+ ScheduledQueryArn: string | undefined;
328
+
329
+ InvocationTime: Date | undefined;
330
+
331
+ ClientToken?: string;
332
+ }
333
+ export interface ListScheduledQueriesRequest {
334
+ MaxResults?: number;
335
+
336
+ NextToken?: string;
337
+ }
338
+
339
+ export interface TimestreamDestination {
340
+ DatabaseName?: string;
341
+
342
+ TableName?: string;
343
+ }
344
+
345
+ export interface TargetDestination {
346
+ TimestreamDestination?: TimestreamDestination;
347
+ }
348
+
349
+ export interface ScheduledQuery {
350
+ Arn: string | undefined;
351
+
352
+ Name: string | undefined;
353
+
354
+ CreationTime?: Date;
355
+
356
+ State: ScheduledQueryState | string | undefined;
357
+
358
+ PreviousInvocationTime?: Date;
359
+
360
+ NextInvocationTime?: Date;
361
+
362
+ ErrorReportConfiguration?: ErrorReportConfiguration;
363
+
364
+ TargetDestination?: TargetDestination;
365
+
366
+ LastRunStatus?: ScheduledQueryRunStatus | string;
367
+ }
368
+ export interface ListScheduledQueriesResponse {
369
+ ScheduledQueries: ScheduledQuery[] | undefined;
370
+
371
+ NextToken?: string;
372
+ }
373
+ export interface ListTagsForResourceRequest {
374
+ ResourceARN: string | undefined;
375
+
376
+ MaxResults?: number;
377
+
378
+ NextToken?: string;
379
+ }
380
+ export interface ListTagsForResourceResponse {
381
+ Tags: Tag[] | undefined;
382
+
383
+ NextToken?: string;
384
+ }
385
+ export interface PrepareQueryRequest {
386
+ QueryString: string | undefined;
387
+
388
+ ValidateOnly?: boolean;
389
+ }
390
+
391
+ export declare class QueryExecutionException extends __BaseException {
392
+ readonly name: "QueryExecutionException";
393
+ readonly $fault: "client";
394
+ Message?: string;
395
+
396
+ constructor(
397
+ opts: __ExceptionOptionType<QueryExecutionException, __BaseException>
398
+ );
399
+ }
400
+ export interface QueryRequest {
401
+ QueryString: string | undefined;
402
+
403
+ ClientToken?: string;
404
+
405
+ NextToken?: string;
406
+
407
+ MaxRows?: number;
408
+ }
409
+
410
+ export interface QueryStatus {
411
+ ProgressPercentage?: number;
412
+
413
+ CumulativeBytesScanned?: number;
414
+
415
+ CumulativeBytesMetered?: number;
416
+ }
417
+ export interface TagResourceRequest {
418
+ ResourceARN: string | undefined;
419
+
420
+ Tags: Tag[] | undefined;
421
+ }
422
+ export interface TagResourceResponse {}
423
+ export interface UntagResourceRequest {
424
+ ResourceARN: string | undefined;
425
+
426
+ TagKeys: string[] | undefined;
427
+ }
428
+ export interface UntagResourceResponse {}
429
+ export interface UpdateScheduledQueryRequest {
430
+ ScheduledQueryArn: string | undefined;
431
+
432
+ State: ScheduledQueryState | string | undefined;
433
+ }
434
+
435
+ export interface ColumnInfo {
436
+ Name?: string;
437
+
438
+ Type: Type | undefined;
439
+ }
440
+
441
+ export interface Type {
442
+ ScalarType?: ScalarType | string;
443
+
444
+ ArrayColumnInfo?: ColumnInfo;
445
+
446
+ TimeSeriesMeasureValueColumnInfo?: ColumnInfo;
447
+
448
+ RowColumnInfo?: ColumnInfo[];
449
+ }
450
+
451
+ export interface Datum {
452
+ ScalarValue?: string;
453
+
454
+ TimeSeriesValue?: TimeSeriesDataPoint[];
455
+
456
+ ArrayValue?: Datum[];
457
+
458
+ RowValue?: Row;
459
+
460
+ NullValue?: boolean;
461
+ }
462
+
463
+ export interface ParameterMapping {
464
+ Name: string | undefined;
465
+
466
+ Type: Type | undefined;
467
+ }
468
+
469
+ export interface SelectColumn {
470
+ Name?: string;
471
+
472
+ Type?: Type;
473
+
474
+ DatabaseName?: string;
475
+
476
+ TableName?: string;
477
+
478
+ Aliased?: boolean;
479
+ }
480
+
481
+ export interface TimeSeriesDataPoint {
482
+ Time: string | undefined;
483
+
484
+ Value: Datum | undefined;
485
+ }
486
+
487
+ export interface Row {
488
+ Data: Datum[] | undefined;
489
+ }
490
+ export interface QueryResponse {
491
+ QueryId: string | undefined;
492
+
493
+ NextToken?: string;
494
+
495
+ Rows: Row[] | undefined;
496
+
497
+ ColumnInfo: ColumnInfo[] | undefined;
498
+
499
+ QueryStatus?: QueryStatus;
500
+ }
501
+ export interface PrepareQueryResponse {
502
+ QueryString: string | undefined;
503
+
504
+ Columns: SelectColumn[] | undefined;
505
+
506
+ Parameters: ParameterMapping[] | undefined;
507
+ }
508
+
509
+ export declare const CancelQueryRequestFilterSensitiveLog: (
510
+ obj: CancelQueryRequest
511
+ ) => any;
512
+
513
+ export declare const CancelQueryResponseFilterSensitiveLog: (
514
+ obj: CancelQueryResponse
515
+ ) => any;
516
+
517
+ export declare const S3ConfigurationFilterSensitiveLog: (
518
+ obj: S3Configuration
519
+ ) => any;
520
+
521
+ export declare const ErrorReportConfigurationFilterSensitiveLog: (
522
+ obj: ErrorReportConfiguration
523
+ ) => any;
524
+
525
+ export declare const SnsConfigurationFilterSensitiveLog: (
526
+ obj: SnsConfiguration
527
+ ) => any;
528
+
529
+ export declare const NotificationConfigurationFilterSensitiveLog: (
530
+ obj: NotificationConfiguration
531
+ ) => any;
532
+
533
+ export declare const ScheduleConfigurationFilterSensitiveLog: (
534
+ obj: ScheduleConfiguration
535
+ ) => any;
536
+
537
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
538
+
539
+ export declare const DimensionMappingFilterSensitiveLog: (
540
+ obj: DimensionMapping
541
+ ) => any;
542
+
543
+ export declare const MultiMeasureAttributeMappingFilterSensitiveLog: (
544
+ obj: MultiMeasureAttributeMapping
545
+ ) => any;
546
+
547
+ export declare const MixedMeasureMappingFilterSensitiveLog: (
548
+ obj: MixedMeasureMapping
549
+ ) => any;
550
+
551
+ export declare const MultiMeasureMappingsFilterSensitiveLog: (
552
+ obj: MultiMeasureMappings
553
+ ) => any;
554
+
555
+ export declare const TimestreamConfigurationFilterSensitiveLog: (
556
+ obj: TimestreamConfiguration
557
+ ) => any;
558
+
559
+ export declare const TargetConfigurationFilterSensitiveLog: (
560
+ obj: TargetConfiguration
561
+ ) => any;
562
+
563
+ export declare const CreateScheduledQueryRequestFilterSensitiveLog: (
564
+ obj: CreateScheduledQueryRequest
565
+ ) => any;
566
+
567
+ export declare const CreateScheduledQueryResponseFilterSensitiveLog: (
568
+ obj: CreateScheduledQueryResponse
569
+ ) => any;
570
+
571
+ export declare const DeleteScheduledQueryRequestFilterSensitiveLog: (
572
+ obj: DeleteScheduledQueryRequest
573
+ ) => any;
574
+
575
+ export declare const DescribeEndpointsRequestFilterSensitiveLog: (
576
+ obj: DescribeEndpointsRequest
577
+ ) => any;
578
+
579
+ export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
580
+
581
+ export declare const DescribeEndpointsResponseFilterSensitiveLog: (
582
+ obj: DescribeEndpointsResponse
583
+ ) => any;
584
+
585
+ export declare const DescribeScheduledQueryRequestFilterSensitiveLog: (
586
+ obj: DescribeScheduledQueryRequest
587
+ ) => any;
588
+
589
+ export declare const S3ReportLocationFilterSensitiveLog: (
590
+ obj: S3ReportLocation
591
+ ) => any;
592
+
593
+ export declare const ErrorReportLocationFilterSensitiveLog: (
594
+ obj: ErrorReportLocation
595
+ ) => any;
596
+
597
+ export declare const ExecutionStatsFilterSensitiveLog: (
598
+ obj: ExecutionStats
599
+ ) => any;
600
+
601
+ export declare const ScheduledQueryRunSummaryFilterSensitiveLog: (
602
+ obj: ScheduledQueryRunSummary
603
+ ) => any;
604
+
605
+ export declare const ScheduledQueryDescriptionFilterSensitiveLog: (
606
+ obj: ScheduledQueryDescription
607
+ ) => any;
608
+
609
+ export declare const DescribeScheduledQueryResponseFilterSensitiveLog: (
610
+ obj: DescribeScheduledQueryResponse
611
+ ) => any;
612
+
613
+ export declare const ExecuteScheduledQueryRequestFilterSensitiveLog: (
614
+ obj: ExecuteScheduledQueryRequest
615
+ ) => any;
616
+
617
+ export declare const ListScheduledQueriesRequestFilterSensitiveLog: (
618
+ obj: ListScheduledQueriesRequest
619
+ ) => any;
620
+
621
+ export declare const TimestreamDestinationFilterSensitiveLog: (
622
+ obj: TimestreamDestination
623
+ ) => any;
624
+
625
+ export declare const TargetDestinationFilterSensitiveLog: (
626
+ obj: TargetDestination
627
+ ) => any;
628
+
629
+ export declare const ScheduledQueryFilterSensitiveLog: (
630
+ obj: ScheduledQuery
631
+ ) => any;
632
+
633
+ export declare const ListScheduledQueriesResponseFilterSensitiveLog: (
634
+ obj: ListScheduledQueriesResponse
635
+ ) => any;
636
+
637
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
638
+ obj: ListTagsForResourceRequest
639
+ ) => any;
640
+
641
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
642
+ obj: ListTagsForResourceResponse
643
+ ) => any;
644
+
645
+ export declare const PrepareQueryRequestFilterSensitiveLog: (
646
+ obj: PrepareQueryRequest
647
+ ) => any;
648
+
649
+ export declare const QueryRequestFilterSensitiveLog: (obj: QueryRequest) => any;
650
+
651
+ export declare const QueryStatusFilterSensitiveLog: (obj: QueryStatus) => any;
652
+
653
+ export declare const TagResourceRequestFilterSensitiveLog: (
654
+ obj: TagResourceRequest
655
+ ) => any;
656
+
657
+ export declare const TagResourceResponseFilterSensitiveLog: (
658
+ obj: TagResourceResponse
659
+ ) => any;
660
+
661
+ export declare const UntagResourceRequestFilterSensitiveLog: (
662
+ obj: UntagResourceRequest
663
+ ) => any;
664
+
665
+ export declare const UntagResourceResponseFilterSensitiveLog: (
666
+ obj: UntagResourceResponse
667
+ ) => any;
668
+
669
+ export declare const UpdateScheduledQueryRequestFilterSensitiveLog: (
670
+ obj: UpdateScheduledQueryRequest
671
+ ) => any;
672
+
673
+ export declare const ColumnInfoFilterSensitiveLog: (obj: ColumnInfo) => any;
674
+
675
+ export declare const TypeFilterSensitiveLog: (obj: Type) => any;
676
+
677
+ export declare const DatumFilterSensitiveLog: (obj: Datum) => any;
678
+
679
+ export declare const ParameterMappingFilterSensitiveLog: (
680
+ obj: ParameterMapping
681
+ ) => any;
682
+
683
+ export declare const SelectColumnFilterSensitiveLog: (obj: SelectColumn) => any;
684
+
685
+ export declare const TimeSeriesDataPointFilterSensitiveLog: (
686
+ obj: TimeSeriesDataPoint
687
+ ) => any;
688
+
689
+ export declare const RowFilterSensitiveLog: (obj: Row) => any;
690
+
691
+ export declare const QueryResponseFilterSensitiveLog: (
692
+ obj: QueryResponse
693
+ ) => any;
694
+
695
+ export declare const PrepareQueryResponseFilterSensitiveLog: (
696
+ obj: PrepareQueryResponse
697
+ ) => any;