@aws-sdk/client-timestream-write 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/TimestreamWrite.d.ts +20 -0
- package/dist-types/TimestreamWriteClient.d.ts +24 -4
- package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +16 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +16 -0
- package/dist-types/commands/CreateTableCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +16 -0
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +16 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +16 -0
- package/dist-types/commands/ListTablesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ResumeBatchLoadTaskCommand.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/UpdateDatabaseCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +16 -0
- package/dist-types/commands/WriteRecordsCommand.d.ts +16 -0
- package/dist-types/models/TimestreamWriteServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +169 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +3 -0
- package/dist-types/pagination/ListDatabasesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTablesPaginator.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 { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
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,10 +13,14 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
*/
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
15
19
|
export declare enum BatchLoadDataFormat {
|
|
16
20
|
CSV = "CSV"
|
|
17
21
|
}
|
|
18
22
|
/**
|
|
23
|
+
* @public
|
|
19
24
|
* <p>Details about the progress of a batch load task.</p>
|
|
20
25
|
*/
|
|
21
26
|
export interface BatchLoadProgressReport {
|
|
@@ -44,6 +49,9 @@ export interface BatchLoadProgressReport {
|
|
|
44
49
|
*/
|
|
45
50
|
BytesMetered?: number;
|
|
46
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
47
55
|
export declare enum BatchLoadStatus {
|
|
48
56
|
CREATED = "CREATED",
|
|
49
57
|
FAILED = "FAILED",
|
|
@@ -53,6 +61,7 @@ export declare enum BatchLoadStatus {
|
|
|
53
61
|
SUCCEEDED = "SUCCEEDED"
|
|
54
62
|
}
|
|
55
63
|
/**
|
|
64
|
+
* @public
|
|
56
65
|
* <p>Details about a batch load task.</p>
|
|
57
66
|
*/
|
|
58
67
|
export interface BatchLoadTask {
|
|
@@ -87,6 +96,7 @@ export interface BatchLoadTask {
|
|
|
87
96
|
ResumableUntil?: Date;
|
|
88
97
|
}
|
|
89
98
|
/**
|
|
99
|
+
* @public
|
|
90
100
|
* <p></p>
|
|
91
101
|
*/
|
|
92
102
|
export interface DimensionMapping {
|
|
@@ -100,6 +110,9 @@ export interface DimensionMapping {
|
|
|
100
110
|
*/
|
|
101
111
|
DestinationColumn?: string;
|
|
102
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
103
116
|
export declare enum MeasureValueType {
|
|
104
117
|
BIGINT = "BIGINT",
|
|
105
118
|
BOOLEAN = "BOOLEAN",
|
|
@@ -108,6 +121,9 @@ export declare enum MeasureValueType {
|
|
|
108
121
|
TIMESTAMP = "TIMESTAMP",
|
|
109
122
|
VARCHAR = "VARCHAR"
|
|
110
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
111
127
|
export declare enum ScalarMeasureValueType {
|
|
112
128
|
BIGINT = "BIGINT",
|
|
113
129
|
BOOLEAN = "BOOLEAN",
|
|
@@ -116,6 +132,7 @@ export declare enum ScalarMeasureValueType {
|
|
|
116
132
|
VARCHAR = "VARCHAR"
|
|
117
133
|
}
|
|
118
134
|
/**
|
|
135
|
+
* @public
|
|
119
136
|
* <p></p>
|
|
120
137
|
*/
|
|
121
138
|
export interface MultiMeasureAttributeMapping {
|
|
@@ -133,6 +150,7 @@ export interface MultiMeasureAttributeMapping {
|
|
|
133
150
|
MeasureValueType?: ScalarMeasureValueType | string;
|
|
134
151
|
}
|
|
135
152
|
/**
|
|
153
|
+
* @public
|
|
136
154
|
* <p></p>
|
|
137
155
|
*/
|
|
138
156
|
export interface MixedMeasureMapping {
|
|
@@ -158,6 +176,7 @@ export interface MixedMeasureMapping {
|
|
|
158
176
|
MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
|
|
159
177
|
}
|
|
160
178
|
/**
|
|
179
|
+
* @public
|
|
161
180
|
* <p></p>
|
|
162
181
|
*/
|
|
163
182
|
export interface MultiMeasureMappings {
|
|
@@ -170,6 +189,9 @@ export interface MultiMeasureMappings {
|
|
|
170
189
|
*/
|
|
171
190
|
MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
|
|
172
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
173
195
|
export declare enum TimeUnit {
|
|
174
196
|
MICROSECONDS = "MICROSECONDS",
|
|
175
197
|
MILLISECONDS = "MILLISECONDS",
|
|
@@ -177,6 +199,7 @@ export declare enum TimeUnit {
|
|
|
177
199
|
SECONDS = "SECONDS"
|
|
178
200
|
}
|
|
179
201
|
/**
|
|
202
|
+
* @public
|
|
180
203
|
* <p>Data model for a batch load task.</p>
|
|
181
204
|
*/
|
|
182
205
|
export interface DataModel {
|
|
@@ -208,6 +231,7 @@ export interface DataModel {
|
|
|
208
231
|
MeasureNameColumn?: string;
|
|
209
232
|
}
|
|
210
233
|
/**
|
|
234
|
+
* @public
|
|
211
235
|
* <p></p>
|
|
212
236
|
*/
|
|
213
237
|
export interface DataModelS3Configuration {
|
|
@@ -221,6 +245,7 @@ export interface DataModelS3Configuration {
|
|
|
221
245
|
ObjectKey?: string;
|
|
222
246
|
}
|
|
223
247
|
/**
|
|
248
|
+
* @public
|
|
224
249
|
* <p></p>
|
|
225
250
|
*/
|
|
226
251
|
export interface DataModelConfiguration {
|
|
@@ -234,6 +259,7 @@ export interface DataModelConfiguration {
|
|
|
234
259
|
DataModelS3Configuration?: DataModelS3Configuration;
|
|
235
260
|
}
|
|
236
261
|
/**
|
|
262
|
+
* @public
|
|
237
263
|
* <p>A delimited data format where the column separator can be a comma and the record
|
|
238
264
|
* separator is a newline character.</p>
|
|
239
265
|
*/
|
|
@@ -261,6 +287,7 @@ export interface CsvConfiguration {
|
|
|
261
287
|
TrimWhiteSpace?: boolean;
|
|
262
288
|
}
|
|
263
289
|
/**
|
|
290
|
+
* @public
|
|
264
291
|
* <p>
|
|
265
292
|
* </p>
|
|
266
293
|
*/
|
|
@@ -276,6 +303,7 @@ export interface DataSourceS3Configuration {
|
|
|
276
303
|
ObjectKeyPrefix?: string;
|
|
277
304
|
}
|
|
278
305
|
/**
|
|
306
|
+
* @public
|
|
279
307
|
* <p>Defines configuration details about the data source.</p>
|
|
280
308
|
*/
|
|
281
309
|
export interface DataSourceConfiguration {
|
|
@@ -293,11 +321,15 @@ export interface DataSourceConfiguration {
|
|
|
293
321
|
*/
|
|
294
322
|
DataFormat: BatchLoadDataFormat | string | undefined;
|
|
295
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
296
327
|
export declare enum S3EncryptionOption {
|
|
297
328
|
SSE_KMS = "SSE_KMS",
|
|
298
329
|
SSE_S3 = "SSE_S3"
|
|
299
330
|
}
|
|
300
331
|
/**
|
|
332
|
+
* @public
|
|
301
333
|
* <p></p>
|
|
302
334
|
*/
|
|
303
335
|
export interface ReportS3Configuration {
|
|
@@ -319,6 +351,7 @@ export interface ReportS3Configuration {
|
|
|
319
351
|
KmsKeyId?: string;
|
|
320
352
|
}
|
|
321
353
|
/**
|
|
354
|
+
* @public
|
|
322
355
|
* <p>Report configuration for a batch load task. This contains details about where error reports are stored.</p>
|
|
323
356
|
*/
|
|
324
357
|
export interface ReportConfiguration {
|
|
@@ -329,6 +362,7 @@ export interface ReportConfiguration {
|
|
|
329
362
|
ReportS3Configuration?: ReportS3Configuration;
|
|
330
363
|
}
|
|
331
364
|
/**
|
|
365
|
+
* @public
|
|
332
366
|
* <p>Details about a batch load task.</p>
|
|
333
367
|
*/
|
|
334
368
|
export interface BatchLoadTaskDescription {
|
|
@@ -387,6 +421,7 @@ export interface BatchLoadTaskDescription {
|
|
|
387
421
|
ResumableUntil?: Date;
|
|
388
422
|
}
|
|
389
423
|
/**
|
|
424
|
+
* @public
|
|
390
425
|
* <p>Timestream was unable to process this request because it contains resource that
|
|
391
426
|
* already exists.</p>
|
|
392
427
|
*/
|
|
@@ -399,6 +434,9 @@ export declare class ConflictException extends __BaseException {
|
|
|
399
434
|
*/
|
|
400
435
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
401
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
402
440
|
export interface CreateBatchLoadTaskRequest {
|
|
403
441
|
/**
|
|
404
442
|
* <p></p>
|
|
@@ -429,6 +467,9 @@ export interface CreateBatchLoadTaskRequest {
|
|
|
429
467
|
*/
|
|
430
468
|
RecordVersion?: number;
|
|
431
469
|
}
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
432
473
|
export interface CreateBatchLoadTaskResponse {
|
|
433
474
|
/**
|
|
434
475
|
* <p>The ID of the batch load task.</p>
|
|
@@ -436,6 +477,7 @@ export interface CreateBatchLoadTaskResponse {
|
|
|
436
477
|
TaskId: string | undefined;
|
|
437
478
|
}
|
|
438
479
|
/**
|
|
480
|
+
* @public
|
|
439
481
|
* <p>
|
|
440
482
|
* Timestream was unable to fully process this request because of an internal server
|
|
441
483
|
* error.</p>
|
|
@@ -450,6 +492,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
450
492
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
451
493
|
}
|
|
452
494
|
/**
|
|
495
|
+
* @public
|
|
453
496
|
* <p>The requested endpoint was not valid.</p>
|
|
454
497
|
*/
|
|
455
498
|
export declare class InvalidEndpointException extends __BaseException {
|
|
@@ -462,6 +505,7 @@ export declare class InvalidEndpointException extends __BaseException {
|
|
|
462
505
|
constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
|
|
463
506
|
}
|
|
464
507
|
/**
|
|
508
|
+
* @public
|
|
465
509
|
* <p>The operation tried to access a nonexistent resource. The resource might not be
|
|
466
510
|
* specified correctly, or its status might not be ACTIVE.</p>
|
|
467
511
|
*/
|
|
@@ -475,6 +519,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
475
519
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
476
520
|
}
|
|
477
521
|
/**
|
|
522
|
+
* @public
|
|
478
523
|
* <p> The instance quota of resource exceeded for this account.</p>
|
|
479
524
|
*/
|
|
480
525
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -487,6 +532,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
487
532
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
488
533
|
}
|
|
489
534
|
/**
|
|
535
|
+
* @public
|
|
490
536
|
* <p> Too many requests were made by a user and they exceeded the service quotas. The request
|
|
491
537
|
* was throttled.</p>
|
|
492
538
|
*/
|
|
@@ -500,6 +546,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
500
546
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
501
547
|
}
|
|
502
548
|
/**
|
|
549
|
+
* @public
|
|
503
550
|
* <p> An invalid or malformed request.</p>
|
|
504
551
|
*/
|
|
505
552
|
export declare class ValidationException extends __BaseException {
|
|
@@ -512,6 +559,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
512
559
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
513
560
|
}
|
|
514
561
|
/**
|
|
562
|
+
* @public
|
|
515
563
|
* <p> A tag is a label that you assign to a Timestream database and/or table. Each
|
|
516
564
|
* tag consists of a key and an optional value, both of which you define. With tags, you can
|
|
517
565
|
* categorize databases and/or tables, for example, by purpose, owner, or environment. </p>
|
|
@@ -526,6 +574,9 @@ export interface Tag {
|
|
|
526
574
|
*/
|
|
527
575
|
Value: string | undefined;
|
|
528
576
|
}
|
|
577
|
+
/**
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
529
580
|
export interface CreateDatabaseRequest {
|
|
530
581
|
/**
|
|
531
582
|
* <p>The name of the Timestream database.</p>
|
|
@@ -542,6 +593,7 @@ export interface CreateDatabaseRequest {
|
|
|
542
593
|
Tags?: Tag[];
|
|
543
594
|
}
|
|
544
595
|
/**
|
|
596
|
+
* @public
|
|
545
597
|
* <p>A top-level container for a table. Databases and tables are the fundamental management
|
|
546
598
|
* concepts in Amazon Timestream. All tables in a database are encrypted with the
|
|
547
599
|
* same KMS key.</p>
|
|
@@ -573,6 +625,9 @@ export interface Database {
|
|
|
573
625
|
*/
|
|
574
626
|
LastUpdatedTime?: Date;
|
|
575
627
|
}
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
576
631
|
export interface CreateDatabaseResponse {
|
|
577
632
|
/**
|
|
578
633
|
* <p>The newly created Timestream database.</p>
|
|
@@ -580,6 +635,7 @@ export interface CreateDatabaseResponse {
|
|
|
580
635
|
Database?: Database;
|
|
581
636
|
}
|
|
582
637
|
/**
|
|
638
|
+
* @public
|
|
583
639
|
* <p>The configuration that specifies an S3 location.</p>
|
|
584
640
|
*/
|
|
585
641
|
export interface S3Configuration {
|
|
@@ -603,6 +659,7 @@ export interface S3Configuration {
|
|
|
603
659
|
KmsKeyId?: string;
|
|
604
660
|
}
|
|
605
661
|
/**
|
|
662
|
+
* @public
|
|
606
663
|
* <p>The location to write error reports for records rejected, asynchronously, during
|
|
607
664
|
* magnetic store writes.</p>
|
|
608
665
|
*/
|
|
@@ -614,6 +671,7 @@ export interface MagneticStoreRejectedDataLocation {
|
|
|
614
671
|
S3Configuration?: S3Configuration;
|
|
615
672
|
}
|
|
616
673
|
/**
|
|
674
|
+
* @public
|
|
617
675
|
* <p>The set of properties on a table for configuring magnetic store writes.</p>
|
|
618
676
|
*/
|
|
619
677
|
export interface MagneticStoreWriteProperties {
|
|
@@ -628,6 +686,7 @@ export interface MagneticStoreWriteProperties {
|
|
|
628
686
|
MagneticStoreRejectedDataLocation?: MagneticStoreRejectedDataLocation;
|
|
629
687
|
}
|
|
630
688
|
/**
|
|
689
|
+
* @public
|
|
631
690
|
* <p>Retention properties contain the duration for which your time-series data must be stored
|
|
632
691
|
* in the magnetic store and the memory store. </p>
|
|
633
692
|
*/
|
|
@@ -641,6 +700,9 @@ export interface RetentionProperties {
|
|
|
641
700
|
*/
|
|
642
701
|
MagneticStoreRetentionPeriodInDays: number | undefined;
|
|
643
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
644
706
|
export interface CreateTableRequest {
|
|
645
707
|
/**
|
|
646
708
|
* <p>The name of the Timestream database.</p>
|
|
@@ -664,12 +726,16 @@ export interface CreateTableRequest {
|
|
|
664
726
|
*/
|
|
665
727
|
MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
|
|
666
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
667
732
|
export declare enum TableStatus {
|
|
668
733
|
ACTIVE = "ACTIVE",
|
|
669
734
|
DELETING = "DELETING",
|
|
670
735
|
RESTORING = "RESTORING"
|
|
671
736
|
}
|
|
672
737
|
/**
|
|
738
|
+
* @public
|
|
673
739
|
* <p>Represents a database table in Timestream. Tables contain one or more related
|
|
674
740
|
* time series. You can modify the retention duration of the memory store and the magnetic
|
|
675
741
|
* store for a table. </p>
|
|
@@ -718,18 +784,27 @@ export interface Table {
|
|
|
718
784
|
*/
|
|
719
785
|
MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
|
|
720
786
|
}
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
721
790
|
export interface CreateTableResponse {
|
|
722
791
|
/**
|
|
723
792
|
* <p>The newly created Timestream table.</p>
|
|
724
793
|
*/
|
|
725
794
|
Table?: Table;
|
|
726
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
727
799
|
export interface DeleteDatabaseRequest {
|
|
728
800
|
/**
|
|
729
801
|
* <p>The name of the Timestream database to be deleted.</p>
|
|
730
802
|
*/
|
|
731
803
|
DatabaseName: string | undefined;
|
|
732
804
|
}
|
|
805
|
+
/**
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
733
808
|
export interface DeleteTableRequest {
|
|
734
809
|
/**
|
|
735
810
|
* <p>The name of the database where the Timestream database is to be deleted.</p>
|
|
@@ -740,33 +815,49 @@ export interface DeleteTableRequest {
|
|
|
740
815
|
*/
|
|
741
816
|
TableName: string | undefined;
|
|
742
817
|
}
|
|
818
|
+
/**
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
743
821
|
export interface DescribeBatchLoadTaskRequest {
|
|
744
822
|
/**
|
|
745
823
|
* <p>The ID of the batch load task.</p>
|
|
746
824
|
*/
|
|
747
825
|
TaskId: string | undefined;
|
|
748
826
|
}
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
749
830
|
export interface DescribeBatchLoadTaskResponse {
|
|
750
831
|
/**
|
|
751
832
|
* <p>Description of the batch load task.</p>
|
|
752
833
|
*/
|
|
753
834
|
BatchLoadTaskDescription: BatchLoadTaskDescription | undefined;
|
|
754
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
755
839
|
export interface DescribeDatabaseRequest {
|
|
756
840
|
/**
|
|
757
841
|
* <p>The name of the Timestream database.</p>
|
|
758
842
|
*/
|
|
759
843
|
DatabaseName: string | undefined;
|
|
760
844
|
}
|
|
845
|
+
/**
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
761
848
|
export interface DescribeDatabaseResponse {
|
|
762
849
|
/**
|
|
763
850
|
* <p>The name of the Timestream table.</p>
|
|
764
851
|
*/
|
|
765
852
|
Database?: Database;
|
|
766
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
767
857
|
export interface DescribeEndpointsRequest {
|
|
768
858
|
}
|
|
769
859
|
/**
|
|
860
|
+
* @public
|
|
770
861
|
* <p>Represents an available endpoint against which to make API calls against, as well as the
|
|
771
862
|
* TTL for that endpoint.</p>
|
|
772
863
|
*/
|
|
@@ -780,6 +871,9 @@ export interface Endpoint {
|
|
|
780
871
|
*/
|
|
781
872
|
CachePeriodInMinutes: number | undefined;
|
|
782
873
|
}
|
|
874
|
+
/**
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
783
877
|
export interface DescribeEndpointsResponse {
|
|
784
878
|
/**
|
|
785
879
|
* <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code>
|
|
@@ -787,6 +881,9 @@ export interface DescribeEndpointsResponse {
|
|
|
787
881
|
*/
|
|
788
882
|
Endpoints: Endpoint[] | undefined;
|
|
789
883
|
}
|
|
884
|
+
/**
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
790
887
|
export interface DescribeTableRequest {
|
|
791
888
|
/**
|
|
792
889
|
* <p>The name of the Timestream database.</p>
|
|
@@ -797,16 +894,23 @@ export interface DescribeTableRequest {
|
|
|
797
894
|
*/
|
|
798
895
|
TableName: string | undefined;
|
|
799
896
|
}
|
|
897
|
+
/**
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
800
900
|
export interface DescribeTableResponse {
|
|
801
901
|
/**
|
|
802
902
|
* <p>The Timestream table.</p>
|
|
803
903
|
*/
|
|
804
904
|
Table?: Table;
|
|
805
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
806
909
|
export declare enum DimensionValueType {
|
|
807
910
|
VARCHAR = "VARCHAR"
|
|
808
911
|
}
|
|
809
912
|
/**
|
|
913
|
+
* @public
|
|
810
914
|
* <p>Represents the metadata attributes of the time series. For example, the name and
|
|
811
915
|
* Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are
|
|
812
916
|
* dimensions. </p>
|
|
@@ -829,6 +933,9 @@ export interface Dimension {
|
|
|
829
933
|
*/
|
|
830
934
|
DimensionValueType?: DimensionValueType | string;
|
|
831
935
|
}
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
832
939
|
export interface ListBatchLoadTasksRequest {
|
|
833
940
|
/**
|
|
834
941
|
* <p>A token to specify where to start paginating. This is the NextToken from a previously
|
|
@@ -847,6 +954,9 @@ export interface ListBatchLoadTasksRequest {
|
|
|
847
954
|
*/
|
|
848
955
|
TaskStatus?: BatchLoadStatus | string;
|
|
849
956
|
}
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
850
960
|
export interface ListBatchLoadTasksResponse {
|
|
851
961
|
/**
|
|
852
962
|
* <p>A token to specify where to start paginating. Provide the next
|
|
@@ -858,6 +968,9 @@ export interface ListBatchLoadTasksResponse {
|
|
|
858
968
|
*/
|
|
859
969
|
BatchLoadTasks?: BatchLoadTask[];
|
|
860
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* @public
|
|
973
|
+
*/
|
|
861
974
|
export interface ListDatabasesRequest {
|
|
862
975
|
/**
|
|
863
976
|
* <p>The pagination token. To resume pagination, provide the NextToken value as argument of a
|
|
@@ -872,6 +985,9 @@ export interface ListDatabasesRequest {
|
|
|
872
985
|
*/
|
|
873
986
|
MaxResults?: number;
|
|
874
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* @public
|
|
990
|
+
*/
|
|
875
991
|
export interface ListDatabasesResponse {
|
|
876
992
|
/**
|
|
877
993
|
* <p>A list of database names.</p>
|
|
@@ -882,6 +998,9 @@ export interface ListDatabasesResponse {
|
|
|
882
998
|
*/
|
|
883
999
|
NextToken?: string;
|
|
884
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
885
1004
|
export interface ListTablesRequest {
|
|
886
1005
|
/**
|
|
887
1006
|
* <p>The name of the Timestream database.</p>
|
|
@@ -900,6 +1019,9 @@ export interface ListTablesRequest {
|
|
|
900
1019
|
*/
|
|
901
1020
|
MaxResults?: number;
|
|
902
1021
|
}
|
|
1022
|
+
/**
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
903
1025
|
export interface ListTablesResponse {
|
|
904
1026
|
/**
|
|
905
1027
|
* <p>A list of tables.</p>
|
|
@@ -911,6 +1033,9 @@ export interface ListTablesResponse {
|
|
|
911
1033
|
*/
|
|
912
1034
|
NextToken?: string;
|
|
913
1035
|
}
|
|
1036
|
+
/**
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
914
1039
|
export interface ListTagsForResourceRequest {
|
|
915
1040
|
/**
|
|
916
1041
|
* <p> The Timestream resource with tags to be listed. This value is an Amazon
|
|
@@ -918,6 +1043,9 @@ export interface ListTagsForResourceRequest {
|
|
|
918
1043
|
*/
|
|
919
1044
|
ResourceARN: string | undefined;
|
|
920
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* @public
|
|
1048
|
+
*/
|
|
921
1049
|
export interface ListTagsForResourceResponse {
|
|
922
1050
|
/**
|
|
923
1051
|
* <p> The tags currently associated with the Timestream resource. </p>
|
|
@@ -925,6 +1053,7 @@ export interface ListTagsForResourceResponse {
|
|
|
925
1053
|
Tags?: Tag[];
|
|
926
1054
|
}
|
|
927
1055
|
/**
|
|
1056
|
+
* @public
|
|
928
1057
|
* <p> Represents the data attribute of the time series. For example, the CPU utilization of
|
|
929
1058
|
* an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and
|
|
930
1059
|
* value. </p>
|
|
@@ -948,6 +1077,7 @@ export interface MeasureValue {
|
|
|
948
1077
|
Type: MeasureValueType | string | undefined;
|
|
949
1078
|
}
|
|
950
1079
|
/**
|
|
1080
|
+
* @public
|
|
951
1081
|
* <p>Represents a time-series data point being written into Timestream. Each record
|
|
952
1082
|
* contains an array of dimensions. Dimensions represent the metadata attributes of a
|
|
953
1083
|
* time-series data point, such as the instance name or Availability Zone of an EC2 instance.
|
|
@@ -1015,6 +1145,7 @@ export interface _Record {
|
|
|
1015
1145
|
MeasureValues?: MeasureValue[];
|
|
1016
1146
|
}
|
|
1017
1147
|
/**
|
|
1148
|
+
* @public
|
|
1018
1149
|
* <p>Information on the records ingested by this request.</p>
|
|
1019
1150
|
*/
|
|
1020
1151
|
export interface RecordsIngested {
|
|
@@ -1032,6 +1163,7 @@ export interface RecordsIngested {
|
|
|
1032
1163
|
MagneticStore?: number;
|
|
1033
1164
|
}
|
|
1034
1165
|
/**
|
|
1166
|
+
* @public
|
|
1035
1167
|
* <p> Represents records that were not successfully inserted into Timestream due to
|
|
1036
1168
|
* data validation issues that must be resolved before reinserting time-series data into the
|
|
1037
1169
|
* system. </p>
|
|
@@ -1093,6 +1225,7 @@ export interface RejectedRecord {
|
|
|
1093
1225
|
ExistingVersion?: number;
|
|
1094
1226
|
}
|
|
1095
1227
|
/**
|
|
1228
|
+
* @public
|
|
1096
1229
|
* <p> WriteRecords would throw this exception in the following cases: </p>
|
|
1097
1230
|
* <ul>
|
|
1098
1231
|
* <li>
|
|
@@ -1138,14 +1271,23 @@ export declare class RejectedRecordsException extends __BaseException {
|
|
|
1138
1271
|
*/
|
|
1139
1272
|
constructor(opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>);
|
|
1140
1273
|
}
|
|
1274
|
+
/**
|
|
1275
|
+
* @public
|
|
1276
|
+
*/
|
|
1141
1277
|
export interface ResumeBatchLoadTaskRequest {
|
|
1142
1278
|
/**
|
|
1143
1279
|
* <p>The ID of the batch load task to resume.</p>
|
|
1144
1280
|
*/
|
|
1145
1281
|
TaskId: string | undefined;
|
|
1146
1282
|
}
|
|
1283
|
+
/**
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1147
1286
|
export interface ResumeBatchLoadTaskResponse {
|
|
1148
1287
|
}
|
|
1288
|
+
/**
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1149
1291
|
export interface TagResourceRequest {
|
|
1150
1292
|
/**
|
|
1151
1293
|
* <p> Identifies the Timestream resource to which tags should be added. This value
|
|
@@ -1157,8 +1299,14 @@ export interface TagResourceRequest {
|
|
|
1157
1299
|
*/
|
|
1158
1300
|
Tags: Tag[] | undefined;
|
|
1159
1301
|
}
|
|
1302
|
+
/**
|
|
1303
|
+
* @public
|
|
1304
|
+
*/
|
|
1160
1305
|
export interface TagResourceResponse {
|
|
1161
1306
|
}
|
|
1307
|
+
/**
|
|
1308
|
+
* @public
|
|
1309
|
+
*/
|
|
1162
1310
|
export interface UntagResourceRequest {
|
|
1163
1311
|
/**
|
|
1164
1312
|
* <p> The Timestream resource that the tags will be removed from. This value is an
|
|
@@ -1171,8 +1319,14 @@ export interface UntagResourceRequest {
|
|
|
1171
1319
|
*/
|
|
1172
1320
|
TagKeys: string[] | undefined;
|
|
1173
1321
|
}
|
|
1322
|
+
/**
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1174
1325
|
export interface UntagResourceResponse {
|
|
1175
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1176
1330
|
export interface UpdateDatabaseRequest {
|
|
1177
1331
|
/**
|
|
1178
1332
|
* <p> The name of the database. </p>
|
|
@@ -1207,6 +1361,9 @@ export interface UpdateDatabaseRequest {
|
|
|
1207
1361
|
*/
|
|
1208
1362
|
KmsKeyId: string | undefined;
|
|
1209
1363
|
}
|
|
1364
|
+
/**
|
|
1365
|
+
* @public
|
|
1366
|
+
*/
|
|
1210
1367
|
export interface UpdateDatabaseResponse {
|
|
1211
1368
|
/**
|
|
1212
1369
|
* <p>A top-level container for a table. Databases and tables are the fundamental management
|
|
@@ -1215,6 +1372,9 @@ export interface UpdateDatabaseResponse {
|
|
|
1215
1372
|
*/
|
|
1216
1373
|
Database?: Database;
|
|
1217
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* @public
|
|
1377
|
+
*/
|
|
1218
1378
|
export interface UpdateTableRequest {
|
|
1219
1379
|
/**
|
|
1220
1380
|
* <p>The name of the Timestream database.</p>
|
|
@@ -1233,12 +1393,18 @@ export interface UpdateTableRequest {
|
|
|
1233
1393
|
*/
|
|
1234
1394
|
MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
|
|
1235
1395
|
}
|
|
1396
|
+
/**
|
|
1397
|
+
* @public
|
|
1398
|
+
*/
|
|
1236
1399
|
export interface UpdateTableResponse {
|
|
1237
1400
|
/**
|
|
1238
1401
|
* <p>The updated Timestream table.</p>
|
|
1239
1402
|
*/
|
|
1240
1403
|
Table?: Table;
|
|
1241
1404
|
}
|
|
1405
|
+
/**
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1242
1408
|
export interface WriteRecordsRequest {
|
|
1243
1409
|
/**
|
|
1244
1410
|
* <p>The name of the Timestream database.</p>
|
|
@@ -1263,6 +1429,9 @@ export interface WriteRecordsRequest {
|
|
|
1263
1429
|
*/
|
|
1264
1430
|
Records: _Record[] | undefined;
|
|
1265
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
* @public
|
|
1434
|
+
*/
|
|
1266
1435
|
export interface WriteRecordsResponse {
|
|
1267
1436
|
/**
|
|
1268
1437
|
* <p>Information on the records ingested by this request.</p>
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { TimestreamWriteClient } from "../TimestreamWriteClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface TimestreamWritePaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: TimestreamWriteClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "../commands/ListBatchLoadTasksCommand";
|
|
3
3
|
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListBatchLoadTasks(config: TimestreamWritePaginationConfiguration, input: ListBatchLoadTasksCommandInput, ...additionalArguments: any): Paginator<ListBatchLoadTasksCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
|
|
3
3
|
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListDatabases(config: TimestreamWritePaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
3
3
|
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListTables(config: TimestreamWritePaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
|