@aws-sdk/client-timestream-query 3.169.0 → 3.171.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 +16 -0
  2. package/dist-types/ts3.4/TimestreamQuery.d.ts +222 -70
  3. package/dist-types/ts3.4/TimestreamQueryClient.d.ts +187 -89
  4. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +32 -17
  5. package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +34 -17
  7. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +36 -17
  8. package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +39 -17
  9. package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +34 -17
  10. package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +39 -17
  11. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  12. package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +32 -17
  13. package/dist-types/ts3.4/commands/QueryCommand.d.ts +30 -17
  14. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  15. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  16. package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +34 -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 +7 -6
  21. package/dist-types/ts3.4/models/index.d.ts +1 -1
  22. package/dist-types/ts3.4/models/models_0.d.ts +501 -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 +72 -41
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +72 -41
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +73 -40
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
  33. package/package.json +35 -35
@@ -1,647 +1,501 @@
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
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export interface CancelQueryRequest {
12
+ QueryId: string | undefined;
13
+ }
14
+ export interface CancelQueryResponse {
15
+ CancellationMessage?: string;
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ Message?: string;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
+ );
24
+ }
25
+ export declare class InvalidEndpointException extends __BaseException {
26
+ readonly name: "InvalidEndpointException";
27
+ readonly $fault: "client";
28
+ Message?: string;
29
+ constructor(
30
+ opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ThrottlingException extends __BaseException {
34
+ readonly name: "ThrottlingException";
35
+ readonly $fault: "client";
36
+ Message?: string;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+ Message?: string;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
47
+ );
48
+ }
49
+ export declare enum ScalarType {
50
+ BIGINT = "BIGINT",
51
+ BOOLEAN = "BOOLEAN",
52
+ DATE = "DATE",
53
+ DOUBLE = "DOUBLE",
54
+ INTEGER = "INTEGER",
55
+ INTERVAL_DAY_TO_SECOND = "INTERVAL_DAY_TO_SECOND",
56
+ INTERVAL_YEAR_TO_MONTH = "INTERVAL_YEAR_TO_MONTH",
57
+ TIME = "TIME",
58
+ TIMESTAMP = "TIMESTAMP",
59
+ UNKNOWN = "UNKNOWN",
60
+ VARCHAR = "VARCHAR",
61
+ }
62
+ export declare class ConflictException extends __BaseException {
63
+ readonly name: "ConflictException";
64
+ readonly $fault: "client";
65
+ Message?: string;
66
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
67
+ }
68
+ export declare enum S3EncryptionOption {
69
+ SSE_KMS = "SSE_KMS",
70
+ SSE_S3 = "SSE_S3",
71
+ }
72
+ export interface S3Configuration {
73
+ BucketName: string | undefined;
74
+ ObjectKeyPrefix?: string;
75
+ EncryptionOption?: S3EncryptionOption | string;
76
+ }
77
+ export interface ErrorReportConfiguration {
78
+ S3Configuration: S3Configuration | undefined;
79
+ }
80
+ export interface SnsConfiguration {
81
+ TopicArn: string | undefined;
82
+ }
83
+ export interface NotificationConfiguration {
84
+ SnsConfiguration: SnsConfiguration | undefined;
85
+ }
86
+ export interface ScheduleConfiguration {
87
+ ScheduleExpression: string | undefined;
88
+ }
89
+ export interface Tag {
90
+ Key: string | undefined;
91
+ Value: string | undefined;
92
+ }
93
+ export declare enum DimensionValueType {
94
+ VARCHAR = "VARCHAR",
95
+ }
96
+ export interface DimensionMapping {
97
+ Name: string | undefined;
98
+ DimensionValueType: DimensionValueType | string | undefined;
99
+ }
100
+ export declare enum MeasureValueType {
101
+ BIGINT = "BIGINT",
102
+ BOOLEAN = "BOOLEAN",
103
+ DOUBLE = "DOUBLE",
104
+ MULTI = "MULTI",
105
+ VARCHAR = "VARCHAR",
106
+ }
107
+ export declare enum ScalarMeasureValueType {
108
+ BIGINT = "BIGINT",
109
+ BOOLEAN = "BOOLEAN",
110
+ DOUBLE = "DOUBLE",
111
+ TIMESTAMP = "TIMESTAMP",
112
+ VARCHAR = "VARCHAR",
113
+ }
114
+ export interface MultiMeasureAttributeMapping {
115
+ SourceColumn: string | undefined;
116
+ TargetMultiMeasureAttributeName?: string;
117
+ MeasureValueType: ScalarMeasureValueType | string | undefined;
118
+ }
119
+ export interface MixedMeasureMapping {
120
+ MeasureName?: string;
121
+ SourceColumn?: string;
122
+ TargetMeasureName?: string;
123
+ MeasureValueType: MeasureValueType | string | undefined;
124
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
125
+ }
126
+ export interface MultiMeasureMappings {
127
+ TargetMultiMeasureName?: string;
128
+ MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
129
+ }
130
+ export interface TimestreamConfiguration {
131
+ DatabaseName: string | undefined;
132
+ TableName: string | undefined;
133
+ TimeColumn: string | undefined;
134
+ DimensionMappings: DimensionMapping[] | undefined;
135
+ MultiMeasureMappings?: MultiMeasureMappings;
136
+ MixedMeasureMappings?: MixedMeasureMapping[];
137
+ MeasureNameColumn?: string;
138
+ }
139
+ export interface TargetConfiguration {
140
+ TimestreamConfiguration: TimestreamConfiguration | undefined;
141
+ }
142
+ export interface CreateScheduledQueryRequest {
143
+ Name: string | undefined;
144
+ QueryString: string | undefined;
145
+ ScheduleConfiguration: ScheduleConfiguration | undefined;
146
+ NotificationConfiguration: NotificationConfiguration | undefined;
147
+ TargetConfiguration?: TargetConfiguration;
148
+ ClientToken?: string;
149
+ ScheduledQueryExecutionRoleArn: string | undefined;
150
+ Tags?: Tag[];
151
+ KmsKeyId?: string;
152
+ ErrorReportConfiguration: ErrorReportConfiguration | undefined;
153
+ }
154
+ export interface CreateScheduledQueryResponse {
155
+ Arn: string | undefined;
156
+ }
157
+ export declare class ServiceQuotaExceededException extends __BaseException {
158
+ readonly name: "ServiceQuotaExceededException";
159
+ readonly $fault: "client";
160
+ Message?: string;
161
+ constructor(
162
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
163
+ );
164
+ }
165
+ export interface DeleteScheduledQueryRequest {
166
+ ScheduledQueryArn: string | undefined;
167
+ }
168
+ export declare class ResourceNotFoundException extends __BaseException {
169
+ readonly name: "ResourceNotFoundException";
170
+ readonly $fault: "client";
171
+ Message?: string;
172
+ ScheduledQueryArn?: string;
173
+ constructor(
174
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
175
+ );
176
+ }
177
+ export interface DescribeEndpointsRequest {}
178
+ export interface Endpoint {
179
+ Address: string | undefined;
180
+ CachePeriodInMinutes: number | undefined;
181
+ }
182
+ export interface DescribeEndpointsResponse {
183
+ Endpoints: Endpoint[] | undefined;
184
+ }
185
+ export interface DescribeScheduledQueryRequest {
186
+ ScheduledQueryArn: string | undefined;
187
+ }
188
+ export interface S3ReportLocation {
189
+ BucketName?: string;
190
+ ObjectKey?: string;
191
+ }
192
+ export interface ErrorReportLocation {
193
+ S3ReportLocation?: S3ReportLocation;
194
+ }
195
+ export interface ExecutionStats {
196
+ ExecutionTimeInMillis?: number;
197
+ DataWrites?: number;
198
+ BytesMetered?: number;
199
+ RecordsIngested?: number;
200
+ QueryResultRows?: number;
201
+ }
202
+ export declare enum ScheduledQueryRunStatus {
203
+ AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
204
+ AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
205
+ MANUAL_TRIGGER_FAILURE = "MANUAL_TRIGGER_FAILURE",
206
+ MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS",
207
+ }
208
+ export interface ScheduledQueryRunSummary {
209
+ InvocationTime?: Date;
210
+ TriggerTime?: Date;
211
+ RunStatus?: ScheduledQueryRunStatus | string;
212
+ ExecutionStats?: ExecutionStats;
213
+ ErrorReportLocation?: ErrorReportLocation;
214
+ FailureReason?: string;
215
+ }
216
+ export declare enum ScheduledQueryState {
217
+ DISABLED = "DISABLED",
218
+ ENABLED = "ENABLED",
219
+ }
220
+ export interface ScheduledQueryDescription {
221
+ Arn: string | undefined;
222
+ Name: string | undefined;
223
+ QueryString: string | undefined;
224
+ CreationTime?: Date;
225
+ State: ScheduledQueryState | string | undefined;
226
+ PreviousInvocationTime?: Date;
227
+ NextInvocationTime?: Date;
228
+ ScheduleConfiguration: ScheduleConfiguration | undefined;
229
+ NotificationConfiguration: NotificationConfiguration | undefined;
230
+ TargetConfiguration?: TargetConfiguration;
231
+ ScheduledQueryExecutionRoleArn?: string;
232
+ KmsKeyId?: string;
233
+ ErrorReportConfiguration?: ErrorReportConfiguration;
234
+ LastRunSummary?: ScheduledQueryRunSummary;
235
+ RecentlyFailedRuns?: ScheduledQueryRunSummary[];
236
+ }
237
+ export interface DescribeScheduledQueryResponse {
238
+ ScheduledQuery: ScheduledQueryDescription | undefined;
239
+ }
240
+ export interface ExecuteScheduledQueryRequest {
241
+ ScheduledQueryArn: string | undefined;
242
+ InvocationTime: Date | undefined;
243
+ ClientToken?: string;
244
+ }
245
+ export interface ListScheduledQueriesRequest {
246
+ MaxResults?: number;
247
+ NextToken?: string;
248
+ }
249
+ export interface TimestreamDestination {
250
+ DatabaseName?: string;
251
+ TableName?: string;
252
+ }
253
+ export interface TargetDestination {
254
+ TimestreamDestination?: TimestreamDestination;
255
+ }
256
+ export interface ScheduledQuery {
257
+ Arn: string | undefined;
258
+ Name: string | undefined;
259
+ CreationTime?: Date;
260
+ State: ScheduledQueryState | string | undefined;
261
+ PreviousInvocationTime?: Date;
262
+ NextInvocationTime?: Date;
263
+ ErrorReportConfiguration?: ErrorReportConfiguration;
264
+ TargetDestination?: TargetDestination;
265
+ LastRunStatus?: ScheduledQueryRunStatus | string;
266
+ }
267
+ export interface ListScheduledQueriesResponse {
268
+ ScheduledQueries: ScheduledQuery[] | undefined;
269
+ NextToken?: string;
270
+ }
271
+ export interface ListTagsForResourceRequest {
272
+ ResourceARN: string | undefined;
273
+ MaxResults?: number;
274
+ NextToken?: string;
275
+ }
276
+ export interface ListTagsForResourceResponse {
277
+ Tags: Tag[] | undefined;
278
+ NextToken?: string;
279
+ }
280
+ export interface PrepareQueryRequest {
281
+ QueryString: string | undefined;
282
+ ValidateOnly?: boolean;
283
+ }
284
+ export declare class QueryExecutionException extends __BaseException {
285
+ readonly name: "QueryExecutionException";
286
+ readonly $fault: "client";
287
+ Message?: string;
288
+ constructor(
289
+ opts: __ExceptionOptionType<QueryExecutionException, __BaseException>
290
+ );
291
+ }
292
+ export interface QueryRequest {
293
+ QueryString: string | undefined;
294
+ ClientToken?: string;
295
+ NextToken?: string;
296
+ MaxRows?: number;
297
+ }
298
+ export interface QueryStatus {
299
+ ProgressPercentage?: number;
300
+ CumulativeBytesScanned?: number;
301
+ CumulativeBytesMetered?: number;
302
+ }
303
+ export interface TagResourceRequest {
304
+ ResourceARN: string | undefined;
305
+ Tags: Tag[] | undefined;
306
+ }
307
+ export interface TagResourceResponse {}
308
+ export interface UntagResourceRequest {
309
+ ResourceARN: string | undefined;
310
+ TagKeys: string[] | undefined;
311
+ }
312
+ export interface UntagResourceResponse {}
313
+ export interface UpdateScheduledQueryRequest {
314
+ ScheduledQueryArn: string | undefined;
315
+ State: ScheduledQueryState | string | undefined;
316
+ }
317
+ export interface ColumnInfo {
318
+ Name?: string;
319
+ Type: Type | undefined;
320
+ }
321
+ export interface Type {
322
+ ScalarType?: ScalarType | string;
323
+ ArrayColumnInfo?: ColumnInfo;
324
+ TimeSeriesMeasureValueColumnInfo?: ColumnInfo;
325
+ RowColumnInfo?: ColumnInfo[];
326
+ }
327
+ export interface Datum {
328
+ ScalarValue?: string;
329
+ TimeSeriesValue?: TimeSeriesDataPoint[];
330
+ ArrayValue?: Datum[];
331
+ RowValue?: Row;
332
+ NullValue?: boolean;
333
+ }
334
+ export interface ParameterMapping {
335
+ Name: string | undefined;
336
+ Type: Type | undefined;
337
+ }
338
+ export interface SelectColumn {
339
+ Name?: string;
340
+ Type?: Type;
341
+ DatabaseName?: string;
342
+ TableName?: string;
343
+ Aliased?: boolean;
344
+ }
345
+ export interface TimeSeriesDataPoint {
346
+ Time: string | undefined;
347
+ Value: Datum | undefined;
348
+ }
349
+ export interface Row {
350
+ Data: Datum[] | undefined;
351
+ }
352
+ export interface QueryResponse {
353
+ QueryId: string | undefined;
354
+ NextToken?: string;
355
+ Rows: Row[] | undefined;
356
+ ColumnInfo: ColumnInfo[] | undefined;
357
+ QueryStatus?: QueryStatus;
358
+ }
359
+ export interface PrepareQueryResponse {
360
+ QueryString: string | undefined;
361
+ Columns: SelectColumn[] | undefined;
362
+ Parameters: ParameterMapping[] | undefined;
363
+ }
364
+ export declare const CancelQueryRequestFilterSensitiveLog: (
365
+ obj: CancelQueryRequest
366
+ ) => any;
367
+ export declare const CancelQueryResponseFilterSensitiveLog: (
368
+ obj: CancelQueryResponse
369
+ ) => any;
370
+ export declare const S3ConfigurationFilterSensitiveLog: (
371
+ obj: S3Configuration
372
+ ) => any;
373
+ export declare const ErrorReportConfigurationFilterSensitiveLog: (
374
+ obj: ErrorReportConfiguration
375
+ ) => any;
376
+ export declare const SnsConfigurationFilterSensitiveLog: (
377
+ obj: SnsConfiguration
378
+ ) => any;
379
+ export declare const NotificationConfigurationFilterSensitiveLog: (
380
+ obj: NotificationConfiguration
381
+ ) => any;
382
+ export declare const ScheduleConfigurationFilterSensitiveLog: (
383
+ obj: ScheduleConfiguration
384
+ ) => any;
385
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
386
+ export declare const DimensionMappingFilterSensitiveLog: (
387
+ obj: DimensionMapping
388
+ ) => any;
389
+ export declare const MultiMeasureAttributeMappingFilterSensitiveLog: (
390
+ obj: MultiMeasureAttributeMapping
391
+ ) => any;
392
+ export declare const MixedMeasureMappingFilterSensitiveLog: (
393
+ obj: MixedMeasureMapping
394
+ ) => any;
395
+ export declare const MultiMeasureMappingsFilterSensitiveLog: (
396
+ obj: MultiMeasureMappings
397
+ ) => any;
398
+ export declare const TimestreamConfigurationFilterSensitiveLog: (
399
+ obj: TimestreamConfiguration
400
+ ) => any;
401
+ export declare const TargetConfigurationFilterSensitiveLog: (
402
+ obj: TargetConfiguration
403
+ ) => any;
404
+ export declare const CreateScheduledQueryRequestFilterSensitiveLog: (
405
+ obj: CreateScheduledQueryRequest
406
+ ) => any;
407
+ export declare const CreateScheduledQueryResponseFilterSensitiveLog: (
408
+ obj: CreateScheduledQueryResponse
409
+ ) => any;
410
+ export declare const DeleteScheduledQueryRequestFilterSensitiveLog: (
411
+ obj: DeleteScheduledQueryRequest
412
+ ) => any;
413
+ export declare const DescribeEndpointsRequestFilterSensitiveLog: (
414
+ obj: DescribeEndpointsRequest
415
+ ) => any;
416
+ export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
417
+ export declare const DescribeEndpointsResponseFilterSensitiveLog: (
418
+ obj: DescribeEndpointsResponse
419
+ ) => any;
420
+ export declare const DescribeScheduledQueryRequestFilterSensitiveLog: (
421
+ obj: DescribeScheduledQueryRequest
422
+ ) => any;
423
+ export declare const S3ReportLocationFilterSensitiveLog: (
424
+ obj: S3ReportLocation
425
+ ) => any;
426
+ export declare const ErrorReportLocationFilterSensitiveLog: (
427
+ obj: ErrorReportLocation
428
+ ) => any;
429
+ export declare const ExecutionStatsFilterSensitiveLog: (
430
+ obj: ExecutionStats
431
+ ) => any;
432
+ export declare const ScheduledQueryRunSummaryFilterSensitiveLog: (
433
+ obj: ScheduledQueryRunSummary
434
+ ) => any;
435
+ export declare const ScheduledQueryDescriptionFilterSensitiveLog: (
436
+ obj: ScheduledQueryDescription
437
+ ) => any;
438
+ export declare const DescribeScheduledQueryResponseFilterSensitiveLog: (
439
+ obj: DescribeScheduledQueryResponse
440
+ ) => any;
441
+ export declare const ExecuteScheduledQueryRequestFilterSensitiveLog: (
442
+ obj: ExecuteScheduledQueryRequest
443
+ ) => any;
444
+ export declare const ListScheduledQueriesRequestFilterSensitiveLog: (
445
+ obj: ListScheduledQueriesRequest
446
+ ) => any;
447
+ export declare const TimestreamDestinationFilterSensitiveLog: (
448
+ obj: TimestreamDestination
449
+ ) => any;
450
+ export declare const TargetDestinationFilterSensitiveLog: (
451
+ obj: TargetDestination
452
+ ) => any;
453
+ export declare const ScheduledQueryFilterSensitiveLog: (
454
+ obj: ScheduledQuery
455
+ ) => any;
456
+ export declare const ListScheduledQueriesResponseFilterSensitiveLog: (
457
+ obj: ListScheduledQueriesResponse
458
+ ) => any;
459
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
460
+ obj: ListTagsForResourceRequest
461
+ ) => any;
462
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
463
+ obj: ListTagsForResourceResponse
464
+ ) => any;
465
+ export declare const PrepareQueryRequestFilterSensitiveLog: (
466
+ obj: PrepareQueryRequest
467
+ ) => any;
468
+ export declare const QueryRequestFilterSensitiveLog: (obj: QueryRequest) => any;
469
+ export declare const QueryStatusFilterSensitiveLog: (obj: QueryStatus) => any;
470
+ export declare const TagResourceRequestFilterSensitiveLog: (
471
+ obj: TagResourceRequest
472
+ ) => any;
473
+ export declare const TagResourceResponseFilterSensitiveLog: (
474
+ obj: TagResourceResponse
475
+ ) => any;
476
+ export declare const UntagResourceRequestFilterSensitiveLog: (
477
+ obj: UntagResourceRequest
478
+ ) => any;
479
+ export declare const UntagResourceResponseFilterSensitiveLog: (
480
+ obj: UntagResourceResponse
481
+ ) => any;
482
+ export declare const UpdateScheduledQueryRequestFilterSensitiveLog: (
483
+ obj: UpdateScheduledQueryRequest
484
+ ) => any;
485
+ export declare const ColumnInfoFilterSensitiveLog: (obj: ColumnInfo) => any;
486
+ export declare const TypeFilterSensitiveLog: (obj: Type) => any;
487
+ export declare const DatumFilterSensitiveLog: (obj: Datum) => any;
488
+ export declare const ParameterMappingFilterSensitiveLog: (
489
+ obj: ParameterMapping
490
+ ) => any;
491
+ export declare const SelectColumnFilterSensitiveLog: (obj: SelectColumn) => any;
492
+ export declare const TimeSeriesDataPointFilterSensitiveLog: (
493
+ obj: TimeSeriesDataPoint
494
+ ) => any;
495
+ export declare const RowFilterSensitiveLog: (obj: Row) => any;
496
+ export declare const QueryResponseFilterSensitiveLog: (
497
+ obj: QueryResponse
498
+ ) => any;
499
+ export declare const PrepareQueryResponseFilterSensitiveLog: (
500
+ obj: PrepareQueryResponse
501
+ ) => any;