@aws-sdk/client-timestream-query 3.295.0 → 3.297.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/dist-types/TimestreamQuery.d.ts +14 -0
- package/dist-types/TimestreamQueryClient.d.ts +24 -4
- package/dist-types/commands/CancelQueryCommand.d.ts +16 -0
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +16 -0
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +16 -0
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PrepareQueryCommand.d.ts +16 -0
- package/dist-types/commands/QueryCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +16 -0
- package/dist-types/models/TimestreamQueryServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +128 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +3 -0
- package/dist-types/pagination/QueryPaginator.d.ts +3 -0
- package/package.json +30 -30
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p> You are not authorized to perform this action. </p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -12,6 +13,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
*/
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
15
19
|
export interface CancelQueryRequest {
|
|
16
20
|
/**
|
|
17
21
|
* <p> The ID of the query that needs to be cancelled. <code>QueryID</code> is returned as
|
|
@@ -19,6 +23,9 @@ export interface CancelQueryRequest {
|
|
|
19
23
|
*/
|
|
20
24
|
QueryId: string | undefined;
|
|
21
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
22
29
|
export interface CancelQueryResponse {
|
|
23
30
|
/**
|
|
24
31
|
* <p> A <code>CancellationMessage</code> is returned when a <code>CancelQuery</code>
|
|
@@ -27,6 +34,7 @@ export interface CancelQueryResponse {
|
|
|
27
34
|
CancellationMessage?: string;
|
|
28
35
|
}
|
|
29
36
|
/**
|
|
37
|
+
* @public
|
|
30
38
|
* <p>
|
|
31
39
|
* Timestream was unable to fully process this request because of an internal
|
|
32
40
|
* server error. </p>
|
|
@@ -41,6 +49,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
41
49
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
42
50
|
}
|
|
43
51
|
/**
|
|
52
|
+
* @public
|
|
44
53
|
* <p>The requested endpoint was not valid.</p>
|
|
45
54
|
*/
|
|
46
55
|
export declare class InvalidEndpointException extends __BaseException {
|
|
@@ -53,6 +62,7 @@ export declare class InvalidEndpointException extends __BaseException {
|
|
|
53
62
|
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
54
63
|
}
|
|
55
64
|
/**
|
|
65
|
+
* @public
|
|
56
66
|
* <p>The request was denied due to request throttling.</p>
|
|
57
67
|
*/
|
|
58
68
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -65,6 +75,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
65
75
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
66
76
|
}
|
|
67
77
|
/**
|
|
78
|
+
* @public
|
|
68
79
|
* <p> Invalid or malformed request. </p>
|
|
69
80
|
*/
|
|
70
81
|
export declare class ValidationException extends __BaseException {
|
|
@@ -76,6 +87,9 @@ export declare class ValidationException extends __BaseException {
|
|
|
76
87
|
*/
|
|
77
88
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
78
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
79
93
|
export declare enum ScalarType {
|
|
80
94
|
BIGINT = "BIGINT",
|
|
81
95
|
BOOLEAN = "BOOLEAN",
|
|
@@ -90,6 +104,7 @@ export declare enum ScalarType {
|
|
|
90
104
|
VARCHAR = "VARCHAR"
|
|
91
105
|
}
|
|
92
106
|
/**
|
|
107
|
+
* @public
|
|
93
108
|
* <p> Unable to poll results for a cancelled query. </p>
|
|
94
109
|
*/
|
|
95
110
|
export declare class ConflictException extends __BaseException {
|
|
@@ -101,11 +116,15 @@ export declare class ConflictException extends __BaseException {
|
|
|
101
116
|
*/
|
|
102
117
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
103
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
104
122
|
export declare enum S3EncryptionOption {
|
|
105
123
|
SSE_KMS = "SSE_KMS",
|
|
106
124
|
SSE_S3 = "SSE_S3"
|
|
107
125
|
}
|
|
108
126
|
/**
|
|
127
|
+
* @public
|
|
109
128
|
* <p>Details on S3 location for error reports that result from running a query. </p>
|
|
110
129
|
*/
|
|
111
130
|
export interface S3Configuration {
|
|
@@ -125,6 +144,7 @@ export interface S3Configuration {
|
|
|
125
144
|
EncryptionOption?: S3EncryptionOption | string;
|
|
126
145
|
}
|
|
127
146
|
/**
|
|
147
|
+
* @public
|
|
128
148
|
* <p>Configuration required for error reporting.</p>
|
|
129
149
|
*/
|
|
130
150
|
export interface ErrorReportConfiguration {
|
|
@@ -134,6 +154,7 @@ export interface ErrorReportConfiguration {
|
|
|
134
154
|
S3Configuration: S3Configuration | undefined;
|
|
135
155
|
}
|
|
136
156
|
/**
|
|
157
|
+
* @public
|
|
137
158
|
* <p>Details on SNS that are required to send the notification.</p>
|
|
138
159
|
*/
|
|
139
160
|
export interface SnsConfiguration {
|
|
@@ -143,6 +164,7 @@ export interface SnsConfiguration {
|
|
|
143
164
|
TopicArn: string | undefined;
|
|
144
165
|
}
|
|
145
166
|
/**
|
|
167
|
+
* @public
|
|
146
168
|
* <p>Notification configuration for a scheduled query. A notification is sent by
|
|
147
169
|
* Timestream when a scheduled query is created, its state is updated or when it is deleted. </p>
|
|
148
170
|
*/
|
|
@@ -153,6 +175,7 @@ export interface NotificationConfiguration {
|
|
|
153
175
|
SnsConfiguration: SnsConfiguration | undefined;
|
|
154
176
|
}
|
|
155
177
|
/**
|
|
178
|
+
* @public
|
|
156
179
|
* <p>Configuration of the schedule of the query.</p>
|
|
157
180
|
*/
|
|
158
181
|
export interface ScheduleConfiguration {
|
|
@@ -163,6 +186,7 @@ export interface ScheduleConfiguration {
|
|
|
163
186
|
ScheduleExpression: string | undefined;
|
|
164
187
|
}
|
|
165
188
|
/**
|
|
189
|
+
* @public
|
|
166
190
|
* <p>A tag is a label that you assign to a Timestream database and/or table. Each tag
|
|
167
191
|
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
168
192
|
* categorize databases and/or tables, for example, by purpose, owner, or environment.
|
|
@@ -178,10 +202,14 @@ export interface Tag {
|
|
|
178
202
|
*/
|
|
179
203
|
Value: string | undefined;
|
|
180
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
181
208
|
export declare enum DimensionValueType {
|
|
182
209
|
VARCHAR = "VARCHAR"
|
|
183
210
|
}
|
|
184
211
|
/**
|
|
212
|
+
* @public
|
|
185
213
|
* <p>This type is used to map column(s) from the query result to a dimension in the
|
|
186
214
|
* destination table.</p>
|
|
187
215
|
*/
|
|
@@ -195,6 +223,9 @@ export interface DimensionMapping {
|
|
|
195
223
|
*/
|
|
196
224
|
DimensionValueType: DimensionValueType | string | undefined;
|
|
197
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
198
229
|
export declare enum MeasureValueType {
|
|
199
230
|
BIGINT = "BIGINT",
|
|
200
231
|
BOOLEAN = "BOOLEAN",
|
|
@@ -202,6 +233,9 @@ export declare enum MeasureValueType {
|
|
|
202
233
|
MULTI = "MULTI",
|
|
203
234
|
VARCHAR = "VARCHAR"
|
|
204
235
|
}
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
205
239
|
export declare enum ScalarMeasureValueType {
|
|
206
240
|
BIGINT = "BIGINT",
|
|
207
241
|
BOOLEAN = "BOOLEAN",
|
|
@@ -210,6 +244,7 @@ export declare enum ScalarMeasureValueType {
|
|
|
210
244
|
VARCHAR = "VARCHAR"
|
|
211
245
|
}
|
|
212
246
|
/**
|
|
247
|
+
* @public
|
|
213
248
|
* <p>Attribute mapping for MULTI value measures.</p>
|
|
214
249
|
*/
|
|
215
250
|
export interface MultiMeasureAttributeMapping {
|
|
@@ -228,6 +263,7 @@ export interface MultiMeasureAttributeMapping {
|
|
|
228
263
|
MeasureValueType: ScalarMeasureValueType | string | undefined;
|
|
229
264
|
}
|
|
230
265
|
/**
|
|
266
|
+
* @public
|
|
231
267
|
* <p>MixedMeasureMappings are mappings that can be used to ingest data into a mixture of
|
|
232
268
|
* narrow and multi measures in the derived table.</p>
|
|
233
269
|
*/
|
|
@@ -259,6 +295,7 @@ export interface MixedMeasureMapping {
|
|
|
259
295
|
MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
|
|
260
296
|
}
|
|
261
297
|
/**
|
|
298
|
+
* @public
|
|
262
299
|
* <p>Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided.
|
|
263
300
|
* MultiMeasureMappings can be used to ingest data as multi measures in the derived
|
|
264
301
|
* table.</p>
|
|
@@ -277,6 +314,7 @@ export interface MultiMeasureMappings {
|
|
|
277
314
|
MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
|
|
278
315
|
}
|
|
279
316
|
/**
|
|
317
|
+
* @public
|
|
280
318
|
* <p> Configuration to write data into Timestream database and table. This configuration
|
|
281
319
|
* allows the user to map the query result select columns into the destination table
|
|
282
320
|
* columns. </p>
|
|
@@ -315,6 +353,7 @@ export interface TimestreamConfiguration {
|
|
|
315
353
|
MeasureNameColumn?: string;
|
|
316
354
|
}
|
|
317
355
|
/**
|
|
356
|
+
* @public
|
|
318
357
|
* <p>Configuration used for writing the output of a query.</p>
|
|
319
358
|
*/
|
|
320
359
|
export interface TargetConfiguration {
|
|
@@ -323,6 +362,9 @@ export interface TargetConfiguration {
|
|
|
323
362
|
*/
|
|
324
363
|
TimestreamConfiguration: TimestreamConfiguration | undefined;
|
|
325
364
|
}
|
|
365
|
+
/**
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
326
368
|
export interface CreateScheduledQueryRequest {
|
|
327
369
|
/**
|
|
328
370
|
* <p>Name of the scheduled query.</p>
|
|
@@ -389,6 +431,9 @@ export interface CreateScheduledQueryRequest {
|
|
|
389
431
|
*/
|
|
390
432
|
ErrorReportConfiguration: ErrorReportConfiguration | undefined;
|
|
391
433
|
}
|
|
434
|
+
/**
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
392
437
|
export interface CreateScheduledQueryResponse {
|
|
393
438
|
/**
|
|
394
439
|
* <p>ARN for the created scheduled query.</p>
|
|
@@ -396,6 +441,7 @@ export interface CreateScheduledQueryResponse {
|
|
|
396
441
|
Arn: string | undefined;
|
|
397
442
|
}
|
|
398
443
|
/**
|
|
444
|
+
* @public
|
|
399
445
|
* <p>You have exceeded the service quota.</p>
|
|
400
446
|
*/
|
|
401
447
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -407,6 +453,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
407
453
|
*/
|
|
408
454
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
409
455
|
}
|
|
456
|
+
/**
|
|
457
|
+
* @public
|
|
458
|
+
*/
|
|
410
459
|
export interface DeleteScheduledQueryRequest {
|
|
411
460
|
/**
|
|
412
461
|
* <p>The ARN of the scheduled query. </p>
|
|
@@ -414,6 +463,7 @@ export interface DeleteScheduledQueryRequest {
|
|
|
414
463
|
ScheduledQueryArn: string | undefined;
|
|
415
464
|
}
|
|
416
465
|
/**
|
|
466
|
+
* @public
|
|
417
467
|
* <p>The requested resource could not be found.</p>
|
|
418
468
|
*/
|
|
419
469
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -429,9 +479,13 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
429
479
|
*/
|
|
430
480
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
431
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
432
485
|
export interface DescribeEndpointsRequest {
|
|
433
486
|
}
|
|
434
487
|
/**
|
|
488
|
+
* @public
|
|
435
489
|
* <p>Represents an available endpoint against which to make API calls against, as well as
|
|
436
490
|
* the TTL for that endpoint.</p>
|
|
437
491
|
*/
|
|
@@ -445,6 +499,9 @@ export interface Endpoint {
|
|
|
445
499
|
*/
|
|
446
500
|
CachePeriodInMinutes: number | undefined;
|
|
447
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
448
505
|
export interface DescribeEndpointsResponse {
|
|
449
506
|
/**
|
|
450
507
|
* <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code>
|
|
@@ -452,6 +509,9 @@ export interface DescribeEndpointsResponse {
|
|
|
452
509
|
*/
|
|
453
510
|
Endpoints: Endpoint[] | undefined;
|
|
454
511
|
}
|
|
512
|
+
/**
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
455
515
|
export interface DescribeScheduledQueryRequest {
|
|
456
516
|
/**
|
|
457
517
|
* <p>The ARN of the scheduled query.</p>
|
|
@@ -459,6 +519,7 @@ export interface DescribeScheduledQueryRequest {
|
|
|
459
519
|
ScheduledQueryArn: string | undefined;
|
|
460
520
|
}
|
|
461
521
|
/**
|
|
522
|
+
* @public
|
|
462
523
|
* <p> S3 report location for the scheduled query run.</p>
|
|
463
524
|
*/
|
|
464
525
|
export interface S3ReportLocation {
|
|
@@ -472,6 +533,7 @@ export interface S3ReportLocation {
|
|
|
472
533
|
ObjectKey?: string;
|
|
473
534
|
}
|
|
474
535
|
/**
|
|
536
|
+
* @public
|
|
475
537
|
* <p>This contains the location of the error report for a single scheduled query call.
|
|
476
538
|
* </p>
|
|
477
539
|
*/
|
|
@@ -482,6 +544,7 @@ export interface ErrorReportLocation {
|
|
|
482
544
|
S3ReportLocation?: S3ReportLocation;
|
|
483
545
|
}
|
|
484
546
|
/**
|
|
547
|
+
* @public
|
|
485
548
|
* <p>Statistics for a single scheduled query run.</p>
|
|
486
549
|
*/
|
|
487
550
|
export interface ExecutionStats {
|
|
@@ -507,6 +570,9 @@ export interface ExecutionStats {
|
|
|
507
570
|
*/
|
|
508
571
|
QueryResultRows?: number;
|
|
509
572
|
}
|
|
573
|
+
/**
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
510
576
|
export declare enum ScheduledQueryRunStatus {
|
|
511
577
|
AUTO_TRIGGER_FAILURE = "AUTO_TRIGGER_FAILURE",
|
|
512
578
|
AUTO_TRIGGER_SUCCESS = "AUTO_TRIGGER_SUCCESS",
|
|
@@ -514,6 +580,7 @@ export declare enum ScheduledQueryRunStatus {
|
|
|
514
580
|
MANUAL_TRIGGER_SUCCESS = "MANUAL_TRIGGER_SUCCESS"
|
|
515
581
|
}
|
|
516
582
|
/**
|
|
583
|
+
* @public
|
|
517
584
|
* <p>Run summary for the scheduled query</p>
|
|
518
585
|
*/
|
|
519
586
|
export interface ScheduledQueryRunSummary {
|
|
@@ -544,11 +611,15 @@ export interface ScheduledQueryRunSummary {
|
|
|
544
611
|
*/
|
|
545
612
|
FailureReason?: string;
|
|
546
613
|
}
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
547
617
|
export declare enum ScheduledQueryState {
|
|
548
618
|
DISABLED = "DISABLED",
|
|
549
619
|
ENABLED = "ENABLED"
|
|
550
620
|
}
|
|
551
621
|
/**
|
|
622
|
+
* @public
|
|
552
623
|
* <p>Structure that describes scheduled query.</p>
|
|
553
624
|
*/
|
|
554
625
|
export interface ScheduledQueryDescription {
|
|
@@ -613,12 +684,18 @@ export interface ScheduledQueryDescription {
|
|
|
613
684
|
*/
|
|
614
685
|
RecentlyFailedRuns?: ScheduledQueryRunSummary[];
|
|
615
686
|
}
|
|
687
|
+
/**
|
|
688
|
+
* @public
|
|
689
|
+
*/
|
|
616
690
|
export interface DescribeScheduledQueryResponse {
|
|
617
691
|
/**
|
|
618
692
|
* <p>The scheduled query.</p>
|
|
619
693
|
*/
|
|
620
694
|
ScheduledQuery: ScheduledQueryDescription | undefined;
|
|
621
695
|
}
|
|
696
|
+
/**
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
622
699
|
export interface ExecuteScheduledQueryRequest {
|
|
623
700
|
/**
|
|
624
701
|
* <p>ARN of the scheduled query.</p>
|
|
@@ -633,6 +710,9 @@ export interface ExecuteScheduledQueryRequest {
|
|
|
633
710
|
*/
|
|
634
711
|
ClientToken?: string;
|
|
635
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
636
716
|
export interface ListScheduledQueriesRequest {
|
|
637
717
|
/**
|
|
638
718
|
* <p>The maximum number of items to return in the output. If the total number of items
|
|
@@ -647,6 +727,7 @@ export interface ListScheduledQueriesRequest {
|
|
|
647
727
|
NextToken?: string;
|
|
648
728
|
}
|
|
649
729
|
/**
|
|
730
|
+
* @public
|
|
650
731
|
* <p>Destination for scheduled query.</p>
|
|
651
732
|
*/
|
|
652
733
|
export interface TimestreamDestination {
|
|
@@ -660,6 +741,7 @@ export interface TimestreamDestination {
|
|
|
660
741
|
TableName?: string;
|
|
661
742
|
}
|
|
662
743
|
/**
|
|
744
|
+
* @public
|
|
663
745
|
* <p>Destination details to write data for a target data source. Current supported data
|
|
664
746
|
* source is Timestream.</p>
|
|
665
747
|
*/
|
|
@@ -670,6 +752,7 @@ export interface TargetDestination {
|
|
|
670
752
|
TimestreamDestination?: TimestreamDestination;
|
|
671
753
|
}
|
|
672
754
|
/**
|
|
755
|
+
* @public
|
|
673
756
|
* <p>Scheduled Query</p>
|
|
674
757
|
*/
|
|
675
758
|
export interface ScheduledQuery {
|
|
@@ -710,6 +793,9 @@ export interface ScheduledQuery {
|
|
|
710
793
|
*/
|
|
711
794
|
LastRunStatus?: ScheduledQueryRunStatus | string;
|
|
712
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
713
799
|
export interface ListScheduledQueriesResponse {
|
|
714
800
|
/**
|
|
715
801
|
* <p>A list of scheduled queries.</p>
|
|
@@ -721,6 +807,9 @@ export interface ListScheduledQueriesResponse {
|
|
|
721
807
|
*/
|
|
722
808
|
NextToken?: string;
|
|
723
809
|
}
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
724
813
|
export interface ListTagsForResourceRequest {
|
|
725
814
|
/**
|
|
726
815
|
* <p>The Timestream resource with tags to be listed. This value is an Amazon Resource Name
|
|
@@ -736,6 +825,9 @@ export interface ListTagsForResourceRequest {
|
|
|
736
825
|
*/
|
|
737
826
|
NextToken?: string;
|
|
738
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* @public
|
|
830
|
+
*/
|
|
739
831
|
export interface ListTagsForResourceResponse {
|
|
740
832
|
/**
|
|
741
833
|
* <p>The tags currently associated with the Timestream resource. </p>
|
|
@@ -747,6 +839,9 @@ export interface ListTagsForResourceResponse {
|
|
|
747
839
|
*/
|
|
748
840
|
NextToken?: string;
|
|
749
841
|
}
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
750
845
|
export interface PrepareQueryRequest {
|
|
751
846
|
/**
|
|
752
847
|
* <p>The Timestream query string that you want to use as a prepared statement. Parameter
|
|
@@ -762,6 +857,7 @@ export interface PrepareQueryRequest {
|
|
|
762
857
|
ValidateOnly?: boolean;
|
|
763
858
|
}
|
|
764
859
|
/**
|
|
860
|
+
* @public
|
|
765
861
|
* <p>
|
|
766
862
|
* Timestream was unable to run the query successfully. </p>
|
|
767
863
|
*/
|
|
@@ -774,6 +870,9 @@ export declare class QueryExecutionException extends __BaseException {
|
|
|
774
870
|
*/
|
|
775
871
|
constructor(opts: __ExceptionOptionType<QueryExecutionException, __BaseException>);
|
|
776
872
|
}
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
777
876
|
export interface QueryRequest {
|
|
778
877
|
/**
|
|
779
878
|
* <p> The query to be run by Timestream. </p>
|
|
@@ -876,6 +975,7 @@ export interface QueryRequest {
|
|
|
876
975
|
MaxRows?: number;
|
|
877
976
|
}
|
|
878
977
|
/**
|
|
978
|
+
* @public
|
|
879
979
|
* <p>Information about the status of the query, including progress and bytes
|
|
880
980
|
* scanned.</p>
|
|
881
981
|
*/
|
|
@@ -897,6 +997,9 @@ export interface QueryStatus {
|
|
|
897
997
|
*/
|
|
898
998
|
CumulativeBytesMetered?: number;
|
|
899
999
|
}
|
|
1000
|
+
/**
|
|
1001
|
+
* @public
|
|
1002
|
+
*/
|
|
900
1003
|
export interface TagResourceRequest {
|
|
901
1004
|
/**
|
|
902
1005
|
* <p>Identifies the Timestream resource to which tags should be added. This value is an
|
|
@@ -908,8 +1011,14 @@ export interface TagResourceRequest {
|
|
|
908
1011
|
*/
|
|
909
1012
|
Tags: Tag[] | undefined;
|
|
910
1013
|
}
|
|
1014
|
+
/**
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
911
1017
|
export interface TagResourceResponse {
|
|
912
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
913
1022
|
export interface UntagResourceRequest {
|
|
914
1023
|
/**
|
|
915
1024
|
* <p>The Timestream resource that the tags will be removed from. This value is an Amazon
|
|
@@ -922,8 +1031,14 @@ export interface UntagResourceRequest {
|
|
|
922
1031
|
*/
|
|
923
1032
|
TagKeys: string[] | undefined;
|
|
924
1033
|
}
|
|
1034
|
+
/**
|
|
1035
|
+
* @public
|
|
1036
|
+
*/
|
|
925
1037
|
export interface UntagResourceResponse {
|
|
926
1038
|
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
927
1042
|
export interface UpdateScheduledQueryRequest {
|
|
928
1043
|
/**
|
|
929
1044
|
* <p>ARN of the scheuled query.</p>
|
|
@@ -935,6 +1050,7 @@ export interface UpdateScheduledQueryRequest {
|
|
|
935
1050
|
State: ScheduledQueryState | string | undefined;
|
|
936
1051
|
}
|
|
937
1052
|
/**
|
|
1053
|
+
* @public
|
|
938
1054
|
* <p> Contains the metadata for query results such as the column names, data types, and
|
|
939
1055
|
* other attributes. </p>
|
|
940
1056
|
*/
|
|
@@ -952,6 +1068,7 @@ export interface ColumnInfo {
|
|
|
952
1068
|
Type: Type | undefined;
|
|
953
1069
|
}
|
|
954
1070
|
/**
|
|
1071
|
+
* @public
|
|
955
1072
|
* <p>Contains the data type of a column in a query result set. The data type can be scalar
|
|
956
1073
|
* or complex. The supported scalar data types are integers, Boolean, string, double,
|
|
957
1074
|
* timestamp, date, time, and intervals. The supported complex data types are arrays, rows,
|
|
@@ -977,6 +1094,7 @@ export interface Type {
|
|
|
977
1094
|
RowColumnInfo?: ColumnInfo[];
|
|
978
1095
|
}
|
|
979
1096
|
/**
|
|
1097
|
+
* @public
|
|
980
1098
|
* <p> Datum represents a single data point in a query result. </p>
|
|
981
1099
|
*/
|
|
982
1100
|
export interface Datum {
|
|
@@ -1003,6 +1121,7 @@ export interface Datum {
|
|
|
1003
1121
|
NullValue?: boolean;
|
|
1004
1122
|
}
|
|
1005
1123
|
/**
|
|
1124
|
+
* @public
|
|
1006
1125
|
* <p>Mapping for named parameters.</p>
|
|
1007
1126
|
*/
|
|
1008
1127
|
export interface ParameterMapping {
|
|
@@ -1019,6 +1138,7 @@ export interface ParameterMapping {
|
|
|
1019
1138
|
Type: Type | undefined;
|
|
1020
1139
|
}
|
|
1021
1140
|
/**
|
|
1141
|
+
* @public
|
|
1022
1142
|
* <p>Details of the column that is returned by the query. </p>
|
|
1023
1143
|
*/
|
|
1024
1144
|
export interface SelectColumn {
|
|
@@ -1047,6 +1167,7 @@ export interface SelectColumn {
|
|
|
1047
1167
|
Aliased?: boolean;
|
|
1048
1168
|
}
|
|
1049
1169
|
/**
|
|
1170
|
+
* @public
|
|
1050
1171
|
* <p>The timeseries data type represents the values of a measure over time. A time series
|
|
1051
1172
|
* is an array of rows of timestamps and measure values, with rows sorted in ascending
|
|
1052
1173
|
* order of time. A TimeSeriesDataPoint is a single data point in the time series. It
|
|
@@ -1063,6 +1184,7 @@ export interface TimeSeriesDataPoint {
|
|
|
1063
1184
|
Value: Datum | undefined;
|
|
1064
1185
|
}
|
|
1065
1186
|
/**
|
|
1187
|
+
* @public
|
|
1066
1188
|
* <p>Represents a single row in the query results.</p>
|
|
1067
1189
|
*/
|
|
1068
1190
|
export interface Row {
|
|
@@ -1071,6 +1193,9 @@ export interface Row {
|
|
|
1071
1193
|
*/
|
|
1072
1194
|
Data: Datum[] | undefined;
|
|
1073
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1074
1199
|
export interface QueryResponse {
|
|
1075
1200
|
/**
|
|
1076
1201
|
* <p> A unique ID for the given query. </p>
|
|
@@ -1095,6 +1220,9 @@ export interface QueryResponse {
|
|
|
1095
1220
|
*/
|
|
1096
1221
|
QueryStatus?: QueryStatus;
|
|
1097
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* @public
|
|
1225
|
+
*/
|
|
1098
1226
|
export interface PrepareQueryResponse {
|
|
1099
1227
|
/**
|
|
1100
1228
|
* <p>The query string that you want prepare.</p>
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { TimestreamQueryClient } from "../TimestreamQueryClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface TimestreamQueryPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: TimestreamQueryClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListScheduledQueriesCommandInput, ListScheduledQueriesCommandOutput } from "../commands/ListScheduledQueriesCommand";
|
|
3
3
|
import { TimestreamQueryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListScheduledQueries(config: TimestreamQueryPaginationConfiguration, input: ListScheduledQueriesCommandInput, ...additionalArguments: any): Paginator<ListScheduledQueriesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
3
3
|
import { TimestreamQueryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListTagsForResource(config: TimestreamQueryPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
|
|
3
3
|
import { TimestreamQueryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateQuery(config: TimestreamQueryPaginationConfiguration, input: QueryCommandInput, ...additionalArguments: any): Paginator<QueryCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
44
|
+
"@aws-sdk/types": "3.296.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|