@aws-sdk/client-timestream-write 3.533.0 → 3.540.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 (49) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/TimestreamWrite.d.ts +5 -1
  6. package/dist-types/TimestreamWriteClient.d.ts +1 -1
  7. package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateDatabaseCommand.d.ts +2 -1
  9. package/dist-types/commands/CreateTableCommand.d.ts +2 -1
  10. package/dist-types/commands/DeleteDatabaseCommand.d.ts +2 -1
  11. package/dist-types/commands/DeleteTableCommand.d.ts +2 -1
  12. package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeDatabaseCommand.d.ts +2 -1
  14. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribeTableCommand.d.ts +2 -1
  16. package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +2 -1
  17. package/dist-types/commands/ListDatabasesCommand.d.ts +2 -1
  18. package/dist-types/commands/ListTablesCommand.d.ts +2 -1
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  20. package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +2 -1
  21. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  22. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  23. package/dist-types/commands/UpdateDatabaseCommand.d.ts +2 -1
  24. package/dist-types/commands/UpdateTableCommand.d.ts +2 -1
  25. package/dist-types/commands/WriteRecordsCommand.d.ts +2 -1
  26. package/dist-types/index.d.ts +0 -1
  27. package/dist-types/models/models_0.d.ts +220 -220
  28. package/dist-types/ts3.4/TimestreamWrite.d.ts +4 -0
  29. package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +9 -0
  30. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +9 -0
  31. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +9 -0
  32. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +9 -0
  33. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +9 -0
  34. package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +9 -0
  35. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +9 -0
  37. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +9 -0
  38. package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +9 -0
  39. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +9 -0
  40. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +9 -0
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  42. package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +9 -0
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  45. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +9 -0
  46. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +9 -0
  47. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +9 -0
  48. package/dist-types/ts3.4/index.d.ts +0 -1
  49. package/package.json +41 -41
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>You are not authorized to perform this action.</p>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -25,38 +25,38 @@ export declare const BatchLoadDataFormat: {
25
25
  */
26
26
  export type BatchLoadDataFormat = (typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
27
27
  /**
28
- * @public
29
28
  * <p>Details about the progress of a batch load task.</p>
29
+ * @public
30
30
  */
31
31
  export interface BatchLoadProgressReport {
32
32
  /**
33
- * @public
34
33
  * <p></p>
34
+ * @public
35
35
  */
36
36
  RecordsProcessed?: number;
37
37
  /**
38
- * @public
39
38
  * <p></p>
39
+ * @public
40
40
  */
41
41
  RecordsIngested?: number;
42
42
  /**
43
- * @public
44
43
  * <p></p>
44
+ * @public
45
45
  */
46
46
  ParseFailures?: number;
47
47
  /**
48
- * @public
49
48
  * <p></p>
49
+ * @public
50
50
  */
51
51
  RecordIngestionFailures?: number;
52
52
  /**
53
- * @public
54
53
  * <p></p>
54
+ * @public
55
55
  */
56
56
  FileFailures?: number;
57
57
  /**
58
- * @public
59
58
  * <p></p>
59
+ * @public
60
60
  */
61
61
  BytesMetered?: number;
62
62
  }
@@ -77,61 +77,61 @@ export declare const BatchLoadStatus: {
77
77
  */
78
78
  export type BatchLoadStatus = (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
79
79
  /**
80
- * @public
81
80
  * <p>Details about a batch load task.</p>
81
+ * @public
82
82
  */
83
83
  export interface BatchLoadTask {
84
84
  /**
85
- * @public
86
85
  * <p>The ID of the batch load task.</p>
86
+ * @public
87
87
  */
88
88
  TaskId?: string;
89
89
  /**
90
- * @public
91
90
  * <p>Status of the batch load task.</p>
91
+ * @public
92
92
  */
93
93
  TaskStatus?: BatchLoadStatus;
94
94
  /**
95
- * @public
96
95
  * <p>Database name for the database into which a batch load task loads data.</p>
96
+ * @public
97
97
  */
98
98
  DatabaseName?: string;
99
99
  /**
100
- * @public
101
100
  * <p>Table name for the table into which a batch load task loads data.</p>
101
+ * @public
102
102
  */
103
103
  TableName?: string;
104
104
  /**
105
- * @public
106
105
  * <p>The time when the Timestream batch load task was created.</p>
106
+ * @public
107
107
  */
108
108
  CreationTime?: Date;
109
109
  /**
110
- * @public
111
110
  * <p>The time when the Timestream batch load task was last updated.</p>
111
+ * @public
112
112
  */
113
113
  LastUpdatedTime?: Date;
114
114
  /**
115
- * @public
116
115
  * <p>
117
116
  * </p>
117
+ * @public
118
118
  */
119
119
  ResumableUntil?: Date;
120
120
  }
121
121
  /**
122
- * @public
123
122
  * <p></p>
123
+ * @public
124
124
  */
125
125
  export interface DimensionMapping {
126
126
  /**
127
- * @public
128
127
  * <p></p>
128
+ * @public
129
129
  */
130
130
  SourceColumn?: string;
131
131
  /**
132
- * @public
133
132
  * <p>
134
133
  * </p>
134
+ * @public
135
135
  */
136
136
  DestinationColumn?: string;
137
137
  }
@@ -167,70 +167,70 @@ export declare const ScalarMeasureValueType: {
167
167
  */
168
168
  export type ScalarMeasureValueType = (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
169
169
  /**
170
- * @public
171
170
  * <p></p>
171
+ * @public
172
172
  */
173
173
  export interface MultiMeasureAttributeMapping {
174
174
  /**
175
- * @public
176
175
  * <p></p>
176
+ * @public
177
177
  */
178
178
  SourceColumn: string | undefined;
179
179
  /**
180
- * @public
181
180
  * <p></p>
181
+ * @public
182
182
  */
183
183
  TargetMultiMeasureAttributeName?: string;
184
184
  /**
185
- * @public
186
185
  * <p></p>
186
+ * @public
187
187
  */
188
188
  MeasureValueType?: ScalarMeasureValueType;
189
189
  }
190
190
  /**
191
- * @public
192
191
  * <p></p>
192
+ * @public
193
193
  */
194
194
  export interface MixedMeasureMapping {
195
195
  /**
196
- * @public
197
196
  * <p></p>
197
+ * @public
198
198
  */
199
199
  MeasureName?: string;
200
200
  /**
201
- * @public
202
201
  * <p></p>
202
+ * @public
203
203
  */
204
204
  SourceColumn?: string;
205
205
  /**
206
- * @public
207
206
  * <p></p>
207
+ * @public
208
208
  */
209
209
  TargetMeasureName?: string;
210
210
  /**
211
- * @public
212
211
  * <p></p>
212
+ * @public
213
213
  */
214
214
  MeasureValueType: MeasureValueType | undefined;
215
215
  /**
216
- * @public
217
216
  * <p></p>
217
+ * @public
218
218
  */
219
219
  MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
220
220
  }
221
221
  /**
222
- * @public
223
222
  * <p></p>
223
+ * @public
224
224
  */
225
225
  export interface MultiMeasureMappings {
226
226
  /**
227
- * @public
228
227
  * <p></p>
228
+ * @public
229
229
  */
230
230
  TargetMultiMeasureName?: string;
231
231
  /**
232
- * @public
233
232
  * <p></p>
233
+ * @public
234
234
  */
235
235
  MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
236
236
  }
@@ -249,145 +249,145 @@ export declare const TimeUnit: {
249
249
  */
250
250
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
251
251
  /**
252
- * @public
253
252
  * <p>Data model for a batch load task.</p>
253
+ * @public
254
254
  */
255
255
  export interface DataModel {
256
256
  /**
257
- * @public
258
257
  * <p>Source column to be mapped to time.</p>
258
+ * @public
259
259
  */
260
260
  TimeColumn?: string;
261
261
  /**
262
- * @public
263
262
  * <p> The granularity of the timestamp unit. It indicates if the time value is in seconds,
264
263
  * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
265
264
  * </p>
265
+ * @public
266
266
  */
267
267
  TimeUnit?: TimeUnit;
268
268
  /**
269
- * @public
270
269
  * <p>Source to target mappings for dimensions.</p>
270
+ * @public
271
271
  */
272
272
  DimensionMappings: DimensionMapping[] | undefined;
273
273
  /**
274
- * @public
275
274
  * <p>Source to target mappings for multi-measure records.</p>
275
+ * @public
276
276
  */
277
277
  MultiMeasureMappings?: MultiMeasureMappings;
278
278
  /**
279
- * @public
280
279
  * <p>Source to target mappings for measures.</p>
280
+ * @public
281
281
  */
282
282
  MixedMeasureMappings?: MixedMeasureMapping[];
283
283
  /**
284
- * @public
285
284
  * <p></p>
285
+ * @public
286
286
  */
287
287
  MeasureNameColumn?: string;
288
288
  }
289
289
  /**
290
- * @public
291
290
  * <p></p>
291
+ * @public
292
292
  */
293
293
  export interface DataModelS3Configuration {
294
294
  /**
295
- * @public
296
295
  * <p></p>
296
+ * @public
297
297
  */
298
298
  BucketName?: string;
299
299
  /**
300
- * @public
301
300
  * <p></p>
301
+ * @public
302
302
  */
303
303
  ObjectKey?: string;
304
304
  }
305
305
  /**
306
- * @public
307
306
  * <p></p>
307
+ * @public
308
308
  */
309
309
  export interface DataModelConfiguration {
310
310
  /**
311
- * @public
312
311
  * <p></p>
312
+ * @public
313
313
  */
314
314
  DataModel?: DataModel;
315
315
  /**
316
- * @public
317
316
  * <p></p>
317
+ * @public
318
318
  */
319
319
  DataModelS3Configuration?: DataModelS3Configuration;
320
320
  }
321
321
  /**
322
- * @public
323
322
  * <p>A delimited data format where the column separator can be a comma and the record
324
323
  * separator is a newline character.</p>
324
+ * @public
325
325
  */
326
326
  export interface CsvConfiguration {
327
327
  /**
328
- * @public
329
328
  * <p>Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or
330
329
  * blank space (' '). </p>
330
+ * @public
331
331
  */
332
332
  ColumnSeparator?: string;
333
333
  /**
334
- * @public
335
334
  * <p>Escape character can be one of </p>
335
+ * @public
336
336
  */
337
337
  EscapeChar?: string;
338
338
  /**
339
- * @public
340
339
  * <p>Can be single quote (') or double quote (").</p>
340
+ * @public
341
341
  */
342
342
  QuoteChar?: string;
343
343
  /**
344
- * @public
345
344
  * <p>Can be blank space (' ').</p>
345
+ * @public
346
346
  */
347
347
  NullValue?: string;
348
348
  /**
349
- * @public
350
349
  * <p>Specifies to trim leading and trailing white space.</p>
350
+ * @public
351
351
  */
352
352
  TrimWhiteSpace?: boolean;
353
353
  }
354
354
  /**
355
- * @public
356
355
  * <p>
357
356
  * </p>
357
+ * @public
358
358
  */
359
359
  export interface DataSourceS3Configuration {
360
360
  /**
361
- * @public
362
361
  * <p>The bucket name of the customer S3 bucket.</p>
362
+ * @public
363
363
  */
364
364
  BucketName: string | undefined;
365
365
  /**
366
- * @public
367
366
  * <p>
368
367
  * </p>
368
+ * @public
369
369
  */
370
370
  ObjectKeyPrefix?: string;
371
371
  }
372
372
  /**
373
- * @public
374
373
  * <p>Defines configuration details about the data source.</p>
374
+ * @public
375
375
  */
376
376
  export interface DataSourceConfiguration {
377
377
  /**
378
- * @public
379
378
  * <p>Configuration of an S3 location for a file which contains data to load.</p>
379
+ * @public
380
380
  */
381
381
  DataSourceS3Configuration: DataSourceS3Configuration | undefined;
382
382
  /**
383
- * @public
384
383
  * <p>A delimited data format where the column separator can be a comma and the record
385
384
  * separator is a newline character.</p>
385
+ * @public
386
386
  */
387
387
  CsvConfiguration?: CsvConfiguration;
388
388
  /**
389
- * @public
390
389
  * <p>This is currently CSV.</p>
390
+ * @public
391
391
  */
392
392
  DataFormat: BatchLoadDataFormat | undefined;
393
393
  }
@@ -404,122 +404,122 @@ export declare const S3EncryptionOption: {
404
404
  */
405
405
  export type S3EncryptionOption = (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
406
406
  /**
407
- * @public
408
407
  * <p></p>
408
+ * @public
409
409
  */
410
410
  export interface ReportS3Configuration {
411
411
  /**
412
- * @public
413
412
  * <p></p>
413
+ * @public
414
414
  */
415
415
  BucketName: string | undefined;
416
416
  /**
417
- * @public
418
417
  * <p></p>
418
+ * @public
419
419
  */
420
420
  ObjectKeyPrefix?: string;
421
421
  /**
422
- * @public
423
422
  * <p></p>
423
+ * @public
424
424
  */
425
425
  EncryptionOption?: S3EncryptionOption;
426
426
  /**
427
- * @public
428
427
  * <p></p>
428
+ * @public
429
429
  */
430
430
  KmsKeyId?: string;
431
431
  }
432
432
  /**
433
- * @public
434
433
  * <p>Report configuration for a batch load task. This contains details about where error
435
434
  * reports are stored.</p>
435
+ * @public
436
436
  */
437
437
  export interface ReportConfiguration {
438
438
  /**
439
- * @public
440
439
  * <p>Configuration of an S3 location to write error reports and events for a batch
441
440
  * load.</p>
441
+ * @public
442
442
  */
443
443
  ReportS3Configuration?: ReportS3Configuration;
444
444
  }
445
445
  /**
446
- * @public
447
446
  * <p>Details about a batch load task.</p>
447
+ * @public
448
448
  */
449
449
  export interface BatchLoadTaskDescription {
450
450
  /**
451
- * @public
452
451
  * <p>The ID of the batch load task.</p>
452
+ * @public
453
453
  */
454
454
  TaskId?: string;
455
455
  /**
456
- * @public
457
456
  * <p></p>
457
+ * @public
458
458
  */
459
459
  ErrorMessage?: string;
460
460
  /**
461
- * @public
462
461
  * <p>Configuration details about the data source for a batch load task.</p>
462
+ * @public
463
463
  */
464
464
  DataSourceConfiguration?: DataSourceConfiguration;
465
465
  /**
466
- * @public
467
466
  * <p></p>
467
+ * @public
468
468
  */
469
469
  ProgressReport?: BatchLoadProgressReport;
470
470
  /**
471
- * @public
472
471
  * <p>Report configuration for a batch load task. This contains details about where error
473
472
  * reports are stored.</p>
473
+ * @public
474
474
  */
475
475
  ReportConfiguration?: ReportConfiguration;
476
476
  /**
477
- * @public
478
477
  * <p>Data model configuration for a batch load task. This contains details about where a data
479
478
  * model for a batch load task is stored.</p>
479
+ * @public
480
480
  */
481
481
  DataModelConfiguration?: DataModelConfiguration;
482
482
  /**
483
- * @public
484
483
  * <p></p>
484
+ * @public
485
485
  */
486
486
  TargetDatabaseName?: string;
487
487
  /**
488
- * @public
489
488
  * <p></p>
489
+ * @public
490
490
  */
491
491
  TargetTableName?: string;
492
492
  /**
493
- * @public
494
493
  * <p>Status of the batch load task.</p>
494
+ * @public
495
495
  */
496
496
  TaskStatus?: BatchLoadStatus;
497
497
  /**
498
- * @public
499
498
  * <p></p>
499
+ * @public
500
500
  */
501
501
  RecordVersion?: number;
502
502
  /**
503
- * @public
504
503
  * <p>The time when the Timestream batch load task was created.</p>
504
+ * @public
505
505
  */
506
506
  CreationTime?: Date;
507
507
  /**
508
- * @public
509
508
  * <p>The time when the Timestream batch load task was last updated.</p>
509
+ * @public
510
510
  */
511
511
  LastUpdatedTime?: Date;
512
512
  /**
513
- * @public
514
513
  * <p>
515
514
  * </p>
515
+ * @public
516
516
  */
517
517
  ResumableUntil?: Date;
518
518
  }
519
519
  /**
520
- * @public
521
520
  * <p>Timestream was unable to process this request because it contains resource that
522
521
  * already exists.</p>
522
+ * @public
523
523
  */
524
524
  export declare class ConflictException extends __BaseException {
525
525
  readonly name: "ConflictException";
@@ -535,39 +535,39 @@ export declare class ConflictException extends __BaseException {
535
535
  */
536
536
  export interface CreateBatchLoadTaskRequest {
537
537
  /**
538
- * @public
539
538
  * <p></p>
539
+ * @public
540
540
  */
541
541
  ClientToken?: string;
542
542
  /**
543
- * @public
544
543
  * <p></p>
544
+ * @public
545
545
  */
546
546
  DataModelConfiguration?: DataModelConfiguration;
547
547
  /**
548
- * @public
549
548
  * <p>Defines configuration details about the data source for a batch load task.</p>
549
+ * @public
550
550
  */
551
551
  DataSourceConfiguration: DataSourceConfiguration | undefined;
552
552
  /**
553
- * @public
554
553
  * <p>Report configuration for a batch load task. This contains details about where error
555
554
  * reports are stored.</p>
555
+ * @public
556
556
  */
557
557
  ReportConfiguration: ReportConfiguration | undefined;
558
558
  /**
559
- * @public
560
559
  * <p>Target Timestream database for a batch load task.</p>
560
+ * @public
561
561
  */
562
562
  TargetDatabaseName: string | undefined;
563
563
  /**
564
- * @public
565
564
  * <p>Target Timestream table for a batch load task.</p>
565
+ * @public
566
566
  */
567
567
  TargetTableName: string | undefined;
568
568
  /**
569
- * @public
570
569
  * <p></p>
570
+ * @public
571
571
  */
572
572
  RecordVersion?: number;
573
573
  }
@@ -576,16 +576,16 @@ export interface CreateBatchLoadTaskRequest {
576
576
  */
577
577
  export interface CreateBatchLoadTaskResponse {
578
578
  /**
579
- * @public
580
579
  * <p>The ID of the batch load task.</p>
580
+ * @public
581
581
  */
582
582
  TaskId: string | undefined;
583
583
  }
584
584
  /**
585
- * @public
586
585
  * <p>
587
586
  * Timestream was unable to fully process this request because of an internal server
588
587
  * error.</p>
588
+ * @public
589
589
  */
590
590
  export declare class InternalServerException extends __BaseException {
591
591
  readonly name: "InternalServerException";
@@ -597,8 +597,8 @@ export declare class InternalServerException extends __BaseException {
597
597
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
598
598
  }
599
599
  /**
600
- * @public
601
600
  * <p>The requested endpoint was not valid.</p>
601
+ * @public
602
602
  */
603
603
  export declare class InvalidEndpointException extends __BaseException {
604
604
  readonly name: "InvalidEndpointException";
@@ -610,9 +610,9 @@ export declare class InvalidEndpointException extends __BaseException {
610
610
  constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
611
611
  }
612
612
  /**
613
- * @public
614
613
  * <p>The operation tried to access a nonexistent resource. The resource might not be
615
614
  * specified correctly, or its status might not be ACTIVE.</p>
615
+ * @public
616
616
  */
617
617
  export declare class ResourceNotFoundException extends __BaseException {
618
618
  readonly name: "ResourceNotFoundException";
@@ -624,8 +624,8 @@ export declare class ResourceNotFoundException extends __BaseException {
624
624
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
625
625
  }
626
626
  /**
627
- * @public
628
627
  * <p> The instance quota of resource exceeded for this account.</p>
628
+ * @public
629
629
  */
630
630
  export declare class ServiceQuotaExceededException extends __BaseException {
631
631
  readonly name: "ServiceQuotaExceededException";
@@ -637,9 +637,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
637
637
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
638
638
  }
639
639
  /**
640
- * @public
641
640
  * <p> Too many requests were made by a user and they exceeded the service quotas. The request
642
641
  * was throttled.</p>
642
+ * @public
643
643
  */
644
644
  export declare class ThrottlingException extends __BaseException {
645
645
  readonly name: "ThrottlingException";
@@ -651,8 +651,8 @@ export declare class ThrottlingException extends __BaseException {
651
651
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
652
652
  }
653
653
  /**
654
- * @public
655
654
  * <p> An invalid or malformed request.</p>
655
+ * @public
656
656
  */
657
657
  export declare class ValidationException extends __BaseException {
658
658
  readonly name: "ValidationException";
@@ -664,20 +664,20 @@ export declare class ValidationException extends __BaseException {
664
664
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
665
665
  }
666
666
  /**
667
- * @public
668
667
  * <p> A tag is a label that you assign to a Timestream database and/or table. Each
669
668
  * tag consists of a key and an optional value, both of which you define. With tags, you can
670
669
  * categorize databases and/or tables, for example, by purpose, owner, or environment. </p>
670
+ * @public
671
671
  */
672
672
  export interface Tag {
673
673
  /**
674
- * @public
675
674
  * <p> The key of the tag. Tag keys are case sensitive. </p>
675
+ * @public
676
676
  */
677
677
  Key: string | undefined;
678
678
  /**
679
- * @public
680
679
  * <p> The value of the tag. Tag values are case-sensitive and can be null. </p>
680
+ * @public
681
681
  */
682
682
  Value: string | undefined;
683
683
  }
@@ -686,58 +686,58 @@ export interface Tag {
686
686
  */
687
687
  export interface CreateDatabaseRequest {
688
688
  /**
689
- * @public
690
689
  * <p>The name of the Timestream database.</p>
690
+ * @public
691
691
  */
692
692
  DatabaseName: string | undefined;
693
693
  /**
694
- * @public
695
694
  * <p>The KMS key for the database. If the KMS key is not
696
695
  * specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed keys</a>.</p>
696
+ * @public
697
697
  */
698
698
  KmsKeyId?: string;
699
699
  /**
700
- * @public
701
700
  * <p> A list of key-value pairs to label the table. </p>
701
+ * @public
702
702
  */
703
703
  Tags?: Tag[];
704
704
  }
705
705
  /**
706
- * @public
707
706
  * <p>A top-level container for a table. Databases and tables are the fundamental management
708
707
  * concepts in Amazon Timestream. All tables in a database are encrypted with the
709
708
  * same KMS key.</p>
709
+ * @public
710
710
  */
711
711
  export interface Database {
712
712
  /**
713
- * @public
714
713
  * <p>The Amazon Resource Name that uniquely identifies this database.</p>
714
+ * @public
715
715
  */
716
716
  Arn?: string;
717
717
  /**
718
- * @public
719
718
  * <p>The name of the Timestream database.</p>
719
+ * @public
720
720
  */
721
721
  DatabaseName?: string;
722
722
  /**
723
- * @public
724
723
  * <p>The total number of tables found within a Timestream database. </p>
724
+ * @public
725
725
  */
726
726
  TableCount?: number;
727
727
  /**
728
- * @public
729
728
  * <p>The identifier of the KMS key used to encrypt the data stored in the
730
729
  * database.</p>
730
+ * @public
731
731
  */
732
732
  KmsKeyId?: string;
733
733
  /**
734
- * @public
735
734
  * <p>The time when the database was created, calculated from the Unix epoch time.</p>
735
+ * @public
736
736
  */
737
737
  CreationTime?: Date;
738
738
  /**
739
- * @public
740
739
  * <p> The last time that this database was updated. </p>
740
+ * @public
741
741
  */
742
742
  LastUpdatedTime?: Date;
743
743
  }
@@ -746,83 +746,83 @@ export interface Database {
746
746
  */
747
747
  export interface CreateDatabaseResponse {
748
748
  /**
749
- * @public
750
749
  * <p>The newly created Timestream database.</p>
750
+ * @public
751
751
  */
752
752
  Database?: Database;
753
753
  }
754
754
  /**
755
- * @public
756
755
  * <p>The configuration that specifies an S3 location.</p>
756
+ * @public
757
757
  */
758
758
  export interface S3Configuration {
759
759
  /**
760
- * @public
761
760
  * <p>The bucket name of the customer S3 bucket.</p>
761
+ * @public
762
762
  */
763
763
  BucketName?: string;
764
764
  /**
765
- * @public
766
765
  * <p>The object key preview for the customer S3 location.</p>
766
+ * @public
767
767
  */
768
768
  ObjectKeyPrefix?: string;
769
769
  /**
770
- * @public
771
770
  * <p>The encryption option for the customer S3 location. Options are S3 server-side
772
771
  * encryption with an S3 managed key or Amazon Web Services managed key.</p>
772
+ * @public
773
773
  */
774
774
  EncryptionOption?: S3EncryptionOption;
775
775
  /**
776
- * @public
777
776
  * <p>The KMS key ID for the customer S3 location when encrypting with an
778
777
  * Amazon Web Services managed key.</p>
778
+ * @public
779
779
  */
780
780
  KmsKeyId?: string;
781
781
  }
782
782
  /**
783
- * @public
784
783
  * <p>The location to write error reports for records rejected, asynchronously, during
785
784
  * magnetic store writes.</p>
785
+ * @public
786
786
  */
787
787
  export interface MagneticStoreRejectedDataLocation {
788
788
  /**
789
- * @public
790
789
  * <p>Configuration of an S3 location to write error reports for records rejected,
791
790
  * asynchronously, during magnetic store writes.</p>
791
+ * @public
792
792
  */
793
793
  S3Configuration?: S3Configuration;
794
794
  }
795
795
  /**
796
- * @public
797
796
  * <p>The set of properties on a table for configuring magnetic store writes.</p>
797
+ * @public
798
798
  */
799
799
  export interface MagneticStoreWriteProperties {
800
800
  /**
801
- * @public
802
801
  * <p>A flag to enable magnetic store writes.</p>
802
+ * @public
803
803
  */
804
804
  EnableMagneticStoreWrites: boolean | undefined;
805
805
  /**
806
- * @public
807
806
  * <p>The location to write error reports for records rejected asynchronously during magnetic
808
807
  * store writes.</p>
808
+ * @public
809
809
  */
810
810
  MagneticStoreRejectedDataLocation?: MagneticStoreRejectedDataLocation;
811
811
  }
812
812
  /**
813
- * @public
814
813
  * <p>Retention properties contain the duration for which your time-series data must be stored
815
814
  * in the magnetic store and the memory store. </p>
815
+ * @public
816
816
  */
817
817
  export interface RetentionProperties {
818
818
  /**
819
- * @public
820
819
  * <p>The duration for which data must be stored in the memory store. </p>
820
+ * @public
821
821
  */
822
822
  MemoryStoreRetentionPeriodInHours: number | undefined;
823
823
  /**
824
- * @public
825
824
  * <p>The duration for which data must be stored in the magnetic store. </p>
825
+ * @public
826
826
  */
827
827
  MagneticStoreRetentionPeriodInDays: number | undefined;
828
828
  }
@@ -851,43 +851,43 @@ export declare const PartitionKeyType: {
851
851
  */
852
852
  export type PartitionKeyType = (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
853
853
  /**
854
- * @public
855
854
  * <p> An attribute used in partitioning data in a table. A dimension key partitions data
856
855
  * using the values of the dimension specified by the dimension-name as partition key, while a
857
856
  * measure key partitions data using measure names (values of the 'measure_name' column).
858
857
  * </p>
858
+ * @public
859
859
  */
860
860
  export interface PartitionKey {
861
861
  /**
862
- * @public
863
862
  * <p> The type of the partition key. Options are DIMENSION (dimension key) and MEASURE
864
863
  * (measure key). </p>
864
+ * @public
865
865
  */
866
866
  Type: PartitionKeyType | undefined;
867
867
  /**
868
- * @public
869
868
  * <p> The name of the attribute used for a dimension key. </p>
869
+ * @public
870
870
  */
871
871
  Name?: string;
872
872
  /**
873
- * @public
874
873
  * <p> The level of enforcement for the specification of a dimension key in ingested records.
875
874
  * Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not
876
875
  * have to be specified). </p>
876
+ * @public
877
877
  */
878
878
  EnforcementInRecord?: PartitionKeyEnforcementLevel;
879
879
  }
880
880
  /**
881
- * @public
882
881
  * <p> A Schema specifies the expected data model of the table. </p>
882
+ * @public
883
883
  */
884
884
  export interface Schema {
885
885
  /**
886
- * @public
887
886
  * <p>A non-empty list of partition keys defining the attributes used to partition the table
888
887
  * data. The order of the list determines the partition hierarchy. The name and type of each
889
888
  * partition key as well as the partition key order cannot be changed after the table is
890
889
  * created. However, the enforcement level of each partition key can be changed. </p>
890
+ * @public
891
891
  */
892
892
  CompositePartitionKey?: PartitionKey[];
893
893
  }
@@ -896,34 +896,34 @@ export interface Schema {
896
896
  */
897
897
  export interface CreateTableRequest {
898
898
  /**
899
- * @public
900
899
  * <p>The name of the Timestream database.</p>
900
+ * @public
901
901
  */
902
902
  DatabaseName: string | undefined;
903
903
  /**
904
- * @public
905
904
  * <p>The name of the Timestream table.</p>
905
+ * @public
906
906
  */
907
907
  TableName: string | undefined;
908
908
  /**
909
- * @public
910
909
  * <p>The duration for which your time-series data must be stored in the memory store and the
911
910
  * magnetic store.</p>
911
+ * @public
912
912
  */
913
913
  RetentionProperties?: RetentionProperties;
914
914
  /**
915
- * @public
916
915
  * <p> A list of key-value pairs to label the table. </p>
916
+ * @public
917
917
  */
918
918
  Tags?: Tag[];
919
919
  /**
920
- * @public
921
920
  * <p>Contains properties to set on the table when enabling magnetic store writes.</p>
921
+ * @public
922
922
  */
923
923
  MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
924
924
  /**
925
- * @public
926
925
  * <p> The schema of the table. </p>
926
+ * @public
927
927
  */
928
928
  Schema?: Schema;
929
929
  }
@@ -941,29 +941,28 @@ export declare const TableStatus: {
941
941
  */
942
942
  export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
943
943
  /**
944
- * @public
945
944
  * <p>Represents a database table in Timestream. Tables contain one or more related
946
945
  * time series. You can modify the retention duration of the memory store and the magnetic
947
946
  * store for a table. </p>
947
+ * @public
948
948
  */
949
949
  export interface Table {
950
950
  /**
951
- * @public
952
951
  * <p>The Amazon Resource Name that uniquely identifies this table.</p>
952
+ * @public
953
953
  */
954
954
  Arn?: string;
955
955
  /**
956
- * @public
957
956
  * <p>The name of the Timestream table.</p>
957
+ * @public
958
958
  */
959
959
  TableName?: string;
960
960
  /**
961
- * @public
962
961
  * <p>The name of the Timestream database that contains this table.</p>
962
+ * @public
963
963
  */
964
964
  DatabaseName?: string;
965
965
  /**
966
- * @public
967
966
  * <p>The current state of the table:</p>
968
967
  * <ul>
969
968
  * <li>
@@ -975,31 +974,32 @@ export interface Table {
975
974
  * <code>ACTIVE</code> - The table is ready for use.</p>
976
975
  * </li>
977
976
  * </ul>
977
+ * @public
978
978
  */
979
979
  TableStatus?: TableStatus;
980
980
  /**
981
- * @public
982
981
  * <p>The retention duration for the memory store and magnetic store.</p>
982
+ * @public
983
983
  */
984
984
  RetentionProperties?: RetentionProperties;
985
985
  /**
986
- * @public
987
986
  * <p>The time when the Timestream table was created. </p>
987
+ * @public
988
988
  */
989
989
  CreationTime?: Date;
990
990
  /**
991
- * @public
992
991
  * <p>The time when the Timestream table was last updated.</p>
992
+ * @public
993
993
  */
994
994
  LastUpdatedTime?: Date;
995
995
  /**
996
- * @public
997
996
  * <p>Contains properties to set on the table when enabling magnetic store writes.</p>
997
+ * @public
998
998
  */
999
999
  MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
1000
1000
  /**
1001
- * @public
1002
1001
  * <p> The schema of the table. </p>
1002
+ * @public
1003
1003
  */
1004
1004
  Schema?: Schema;
1005
1005
  }
@@ -1008,8 +1008,8 @@ export interface Table {
1008
1008
  */
1009
1009
  export interface CreateTableResponse {
1010
1010
  /**
1011
- * @public
1012
1011
  * <p>The newly created Timestream table.</p>
1012
+ * @public
1013
1013
  */
1014
1014
  Table?: Table;
1015
1015
  }
@@ -1018,8 +1018,8 @@ export interface CreateTableResponse {
1018
1018
  */
1019
1019
  export interface DeleteDatabaseRequest {
1020
1020
  /**
1021
- * @public
1022
1021
  * <p>The name of the Timestream database to be deleted.</p>
1022
+ * @public
1023
1023
  */
1024
1024
  DatabaseName: string | undefined;
1025
1025
  }
@@ -1028,13 +1028,13 @@ export interface DeleteDatabaseRequest {
1028
1028
  */
1029
1029
  export interface DeleteTableRequest {
1030
1030
  /**
1031
- * @public
1032
1031
  * <p>The name of the database where the Timestream database is to be deleted.</p>
1032
+ * @public
1033
1033
  */
1034
1034
  DatabaseName: string | undefined;
1035
1035
  /**
1036
- * @public
1037
1036
  * <p>The name of the Timestream table to be deleted.</p>
1037
+ * @public
1038
1038
  */
1039
1039
  TableName: string | undefined;
1040
1040
  }
@@ -1043,8 +1043,8 @@ export interface DeleteTableRequest {
1043
1043
  */
1044
1044
  export interface DescribeBatchLoadTaskRequest {
1045
1045
  /**
1046
- * @public
1047
1046
  * <p>The ID of the batch load task.</p>
1047
+ * @public
1048
1048
  */
1049
1049
  TaskId: string | undefined;
1050
1050
  }
@@ -1053,8 +1053,8 @@ export interface DescribeBatchLoadTaskRequest {
1053
1053
  */
1054
1054
  export interface DescribeBatchLoadTaskResponse {
1055
1055
  /**
1056
- * @public
1057
1056
  * <p>Description of the batch load task.</p>
1057
+ * @public
1058
1058
  */
1059
1059
  BatchLoadTaskDescription: BatchLoadTaskDescription | undefined;
1060
1060
  }
@@ -1063,8 +1063,8 @@ export interface DescribeBatchLoadTaskResponse {
1063
1063
  */
1064
1064
  export interface DescribeDatabaseRequest {
1065
1065
  /**
1066
- * @public
1067
1066
  * <p>The name of the Timestream database.</p>
1067
+ * @public
1068
1068
  */
1069
1069
  DatabaseName: string | undefined;
1070
1070
  }
@@ -1073,8 +1073,8 @@ export interface DescribeDatabaseRequest {
1073
1073
  */
1074
1074
  export interface DescribeDatabaseResponse {
1075
1075
  /**
1076
- * @public
1077
1076
  * <p>The name of the Timestream table.</p>
1077
+ * @public
1078
1078
  */
1079
1079
  Database?: Database;
1080
1080
  }
@@ -1084,19 +1084,19 @@ export interface DescribeDatabaseResponse {
1084
1084
  export interface DescribeEndpointsRequest {
1085
1085
  }
1086
1086
  /**
1087
- * @public
1088
1087
  * <p>Represents an available endpoint against which to make API calls against, as well as the
1089
1088
  * TTL for that endpoint.</p>
1089
+ * @public
1090
1090
  */
1091
1091
  export interface Endpoint {
1092
1092
  /**
1093
- * @public
1094
1093
  * <p>An endpoint address.</p>
1094
+ * @public
1095
1095
  */
1096
1096
  Address: string | undefined;
1097
1097
  /**
1098
- * @public
1099
1098
  * <p>The TTL for the endpoint, in minutes.</p>
1099
+ * @public
1100
1100
  */
1101
1101
  CachePeriodInMinutes: number | undefined;
1102
1102
  }
@@ -1105,9 +1105,9 @@ export interface Endpoint {
1105
1105
  */
1106
1106
  export interface DescribeEndpointsResponse {
1107
1107
  /**
1108
- * @public
1109
1108
  * <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code>
1110
1109
  * request is made.</p>
1110
+ * @public
1111
1111
  */
1112
1112
  Endpoints: Endpoint[] | undefined;
1113
1113
  }
@@ -1116,13 +1116,13 @@ export interface DescribeEndpointsResponse {
1116
1116
  */
1117
1117
  export interface DescribeTableRequest {
1118
1118
  /**
1119
- * @public
1120
1119
  * <p>The name of the Timestream database.</p>
1120
+ * @public
1121
1121
  */
1122
1122
  DatabaseName: string | undefined;
1123
1123
  /**
1124
- * @public
1125
1124
  * <p>The name of the Timestream table.</p>
1125
+ * @public
1126
1126
  */
1127
1127
  TableName: string | undefined;
1128
1128
  }
@@ -1131,8 +1131,8 @@ export interface DescribeTableRequest {
1131
1131
  */
1132
1132
  export interface DescribeTableResponse {
1133
1133
  /**
1134
- * @public
1135
1134
  * <p>The Timestream table.</p>
1135
+ * @public
1136
1136
  */
1137
1137
  Table?: Table;
1138
1138
  }
@@ -1148,29 +1148,29 @@ export declare const DimensionValueType: {
1148
1148
  */
1149
1149
  export type DimensionValueType = (typeof DimensionValueType)[keyof typeof DimensionValueType];
1150
1150
  /**
1151
- * @public
1152
1151
  * <p>Represents the metadata attributes of the time series. For example, the name and
1153
1152
  * Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are
1154
1153
  * dimensions. </p>
1154
+ * @public
1155
1155
  */
1156
1156
  export interface Dimension {
1157
1157
  /**
1158
- * @public
1159
1158
  * <p> Dimension represents the metadata attributes of the time series. For example, the name
1160
1159
  * and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine
1161
1160
  * are dimensions. </p>
1162
1161
  * <p>For constraints on dimension names, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming">Naming
1163
1162
  * Constraints</a>.</p>
1163
+ * @public
1164
1164
  */
1165
1165
  Name: string | undefined;
1166
1166
  /**
1167
- * @public
1168
1167
  * <p>The value of the dimension.</p>
1168
+ * @public
1169
1169
  */
1170
1170
  Value: string | undefined;
1171
1171
  /**
1172
- * @public
1173
1172
  * <p>The data type of the dimension for the time-series data point.</p>
1173
+ * @public
1174
1174
  */
1175
1175
  DimensionValueType?: DimensionValueType;
1176
1176
  }
@@ -1179,22 +1179,22 @@ export interface Dimension {
1179
1179
  */
1180
1180
  export interface ListBatchLoadTasksRequest {
1181
1181
  /**
1182
- * @public
1183
1182
  * <p>A token to specify where to start paginating. This is the NextToken from a previously
1184
1183
  * truncated response.</p>
1184
+ * @public
1185
1185
  */
1186
1186
  NextToken?: string;
1187
1187
  /**
1188
- * @public
1189
1188
  * <p>The total number of items to return in the output. If the total number of items
1190
1189
  * available is more than the value specified, a NextToken is provided in the output. To
1191
1190
  * resume pagination, provide the NextToken value as argument of a subsequent API
1192
1191
  * invocation.</p>
1192
+ * @public
1193
1193
  */
1194
1194
  MaxResults?: number;
1195
1195
  /**
1196
- * @public
1197
1196
  * <p>Status of the batch load task.</p>
1197
+ * @public
1198
1198
  */
1199
1199
  TaskStatus?: BatchLoadStatus;
1200
1200
  }
@@ -1203,14 +1203,14 @@ export interface ListBatchLoadTasksRequest {
1203
1203
  */
1204
1204
  export interface ListBatchLoadTasksResponse {
1205
1205
  /**
1206
- * @public
1207
1206
  * <p>A token to specify where to start paginating. Provide the next
1208
1207
  * ListBatchLoadTasksRequest.</p>
1208
+ * @public
1209
1209
  */
1210
1210
  NextToken?: string;
1211
1211
  /**
1212
- * @public
1213
1212
  * <p>A list of batch load task details.</p>
1213
+ * @public
1214
1214
  */
1215
1215
  BatchLoadTasks?: BatchLoadTask[];
1216
1216
  }
@@ -1219,17 +1219,17 @@ export interface ListBatchLoadTasksResponse {
1219
1219
  */
1220
1220
  export interface ListDatabasesRequest {
1221
1221
  /**
1222
- * @public
1223
1222
  * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a
1224
1223
  * subsequent API invocation.</p>
1224
+ * @public
1225
1225
  */
1226
1226
  NextToken?: string;
1227
1227
  /**
1228
- * @public
1229
1228
  * <p>The total number of items to return in the output. If the total number of items
1230
1229
  * available is more than the value specified, a NextToken is provided in the output. To
1231
1230
  * resume pagination, provide the NextToken value as argument of a subsequent API
1232
1231
  * invocation.</p>
1232
+ * @public
1233
1233
  */
1234
1234
  MaxResults?: number;
1235
1235
  }
@@ -1238,13 +1238,13 @@ export interface ListDatabasesRequest {
1238
1238
  */
1239
1239
  export interface ListDatabasesResponse {
1240
1240
  /**
1241
- * @public
1242
1241
  * <p>A list of database names.</p>
1242
+ * @public
1243
1243
  */
1244
1244
  Databases?: Database[];
1245
1245
  /**
1246
- * @public
1247
1246
  * <p>The pagination token. This parameter is returned when the response is truncated.</p>
1247
+ * @public
1248
1248
  */
1249
1249
  NextToken?: string;
1250
1250
  }
@@ -1253,22 +1253,22 @@ export interface ListDatabasesResponse {
1253
1253
  */
1254
1254
  export interface ListTablesRequest {
1255
1255
  /**
1256
- * @public
1257
1256
  * <p>The name of the Timestream database.</p>
1257
+ * @public
1258
1258
  */
1259
1259
  DatabaseName?: string;
1260
1260
  /**
1261
- * @public
1262
1261
  * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a
1263
1262
  * subsequent API invocation.</p>
1263
+ * @public
1264
1264
  */
1265
1265
  NextToken?: string;
1266
1266
  /**
1267
- * @public
1268
1267
  * <p>The total number of items to return in the output. If the total number of items
1269
1268
  * available is more than the value specified, a NextToken is provided in the output. To
1270
1269
  * resume pagination, provide the NextToken value as argument of a subsequent API
1271
1270
  * invocation.</p>
1271
+ * @public
1272
1272
  */
1273
1273
  MaxResults?: number;
1274
1274
  }
@@ -1277,14 +1277,14 @@ export interface ListTablesRequest {
1277
1277
  */
1278
1278
  export interface ListTablesResponse {
1279
1279
  /**
1280
- * @public
1281
1280
  * <p>A list of tables.</p>
1281
+ * @public
1282
1282
  */
1283
1283
  Tables?: Table[];
1284
1284
  /**
1285
- * @public
1286
1285
  * <p>A token to specify where to start paginating. This is the NextToken from a previously
1287
1286
  * truncated response.</p>
1287
+ * @public
1288
1288
  */
1289
1289
  NextToken?: string;
1290
1290
  }
@@ -1293,9 +1293,9 @@ export interface ListTablesResponse {
1293
1293
  */
1294
1294
  export interface ListTagsForResourceRequest {
1295
1295
  /**
1296
- * @public
1297
1296
  * <p> The Timestream resource with tags to be listed. This value is an Amazon
1298
1297
  * Resource Name (ARN). </p>
1298
+ * @public
1299
1299
  */
1300
1300
  ResourceARN: string | undefined;
1301
1301
  }
@@ -1304,41 +1304,40 @@ export interface ListTagsForResourceRequest {
1304
1304
  */
1305
1305
  export interface ListTagsForResourceResponse {
1306
1306
  /**
1307
- * @public
1308
1307
  * <p> The tags currently associated with the Timestream resource. </p>
1308
+ * @public
1309
1309
  */
1310
1310
  Tags?: Tag[];
1311
1311
  }
1312
1312
  /**
1313
- * @public
1314
1313
  * <p> Represents the data attribute of the time series. For example, the CPU utilization of
1315
1314
  * an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and
1316
1315
  * value. </p>
1317
1316
  * <p> MeasureValue is only allowed for type <code>MULTI</code>. Using <code>MULTI</code>
1318
1317
  * type, you can pass multiple data attributes associated with the same time series in a
1319
1318
  * single record </p>
1319
+ * @public
1320
1320
  */
1321
1321
  export interface MeasureValue {
1322
1322
  /**
1323
- * @public
1324
1323
  * <p> The name of the MeasureValue. </p>
1325
1324
  * <p> For constraints on MeasureValue names, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming"> Naming Constraints</a> in the Amazon Timestream Developer Guide.</p>
1325
+ * @public
1326
1326
  */
1327
1327
  Name: string | undefined;
1328
1328
  /**
1329
- * @public
1330
1329
  * <p> The value for the MeasureValue. For information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types">Data
1331
1330
  * types</a>.</p>
1331
+ * @public
1332
1332
  */
1333
1333
  Value: string | undefined;
1334
1334
  /**
1335
- * @public
1336
1335
  * <p>Contains the data type of the MeasureValue for the time-series data point.</p>
1336
+ * @public
1337
1337
  */
1338
1338
  Type: MeasureValueType | undefined;
1339
1339
  }
1340
1340
  /**
1341
- * @public
1342
1341
  * <p>Represents a time-series data point being written into Timestream. Each record
1343
1342
  * contains an array of dimensions. Dimensions represent the metadata attributes of a
1344
1343
  * time-series data point, such as the instance name or Availability Zone of an EC2 instance.
@@ -1353,48 +1352,48 @@ export interface MeasureValue {
1353
1352
  * <code>Version</code> attribute of the record in the write request is higher than that of
1354
1353
  * the existing record. Timestream defaults to a <code>Version</code> of
1355
1354
  * <code>1</code> for records without the <code>Version</code> field. </p>
1355
+ * @public
1356
1356
  */
1357
1357
  export interface _Record {
1358
1358
  /**
1359
- * @public
1360
1359
  * <p>Contains the list of dimensions for time-series data points.</p>
1360
+ * @public
1361
1361
  */
1362
1362
  Dimensions?: Dimension[];
1363
1363
  /**
1364
- * @public
1365
1364
  * <p>Measure represents the data attribute of the time series. For example, the CPU
1366
1365
  * utilization of an EC2 instance or the RPM of a wind turbine are measures. </p>
1366
+ * @public
1367
1367
  */
1368
1368
  MeasureName?: string;
1369
1369
  /**
1370
- * @public
1371
1370
  * <p> Contains the measure value for the time-series data point. </p>
1371
+ * @public
1372
1372
  */
1373
1373
  MeasureValue?: string;
1374
1374
  /**
1375
- * @public
1376
1375
  * <p> Contains the data type of the measure value for the time-series data point. Default
1377
1376
  * type is <code>DOUBLE</code>. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types">Data
1378
1377
  * types</a>.</p>
1378
+ * @public
1379
1379
  */
1380
1380
  MeasureValueType?: MeasureValueType;
1381
1381
  /**
1382
- * @public
1383
1382
  * <p> Contains the time at which the measure value for the data point was collected. The time
1384
1383
  * value plus the unit provides the time elapsed since the epoch. For example, if the time
1385
1384
  * value is <code>12345</code> and the unit is <code>ms</code>, then <code>12345 ms</code>
1386
1385
  * have elapsed since the epoch. </p>
1386
+ * @public
1387
1387
  */
1388
1388
  Time?: string;
1389
1389
  /**
1390
- * @public
1391
1390
  * <p> The granularity of the timestamp unit. It indicates if the time value is in seconds,
1392
1391
  * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
1393
1392
  * </p>
1393
+ * @public
1394
1394
  */
1395
1395
  TimeUnit?: TimeUnit;
1396
1396
  /**
1397
- * @public
1398
1397
  * <p>64-bit attribute used for record updates. Write requests for duplicate data with a
1399
1398
  * higher version number will update the existing measure value and version. In cases where
1400
1399
  * the measure value is the same, <code>Version</code> will still be updated. Default value is
@@ -1404,52 +1403,52 @@ export interface _Record {
1404
1403
  * <code>Version</code> must be <code>1</code> or greater, or you will receive a
1405
1404
  * <code>ValidationException</code> error.</p>
1406
1405
  * </note>
1406
+ * @public
1407
1407
  */
1408
1408
  Version?: number;
1409
1409
  /**
1410
- * @public
1411
1410
  * <p> Contains the list of MeasureValue for time-series data points. </p>
1412
1411
  * <p> This is only allowed for type <code>MULTI</code>. For scalar values, use
1413
1412
  * <code>MeasureValue</code> attribute of the record directly. </p>
1413
+ * @public
1414
1414
  */
1415
1415
  MeasureValues?: MeasureValue[];
1416
1416
  }
1417
1417
  /**
1418
- * @public
1419
1418
  * <p>Information on the records ingested by this request.</p>
1419
+ * @public
1420
1420
  */
1421
1421
  export interface RecordsIngested {
1422
1422
  /**
1423
- * @public
1424
1423
  * <p>Total count of successfully ingested records.</p>
1424
+ * @public
1425
1425
  */
1426
1426
  Total?: number;
1427
1427
  /**
1428
- * @public
1429
1428
  * <p>Count of records ingested into the memory store.</p>
1429
+ * @public
1430
1430
  */
1431
1431
  MemoryStore?: number;
1432
1432
  /**
1433
- * @public
1434
1433
  * <p>Count of records ingested into the magnetic store.</p>
1434
+ * @public
1435
1435
  */
1436
1436
  MagneticStore?: number;
1437
1437
  }
1438
1438
  /**
1439
- * @public
1440
1439
  * <p> Represents records that were not successfully inserted into Timestream due to
1441
1440
  * data validation issues that must be resolved before reinserting time-series data into the
1442
1441
  * system. </p>
1442
+ * @public
1443
1443
  */
1444
1444
  export interface RejectedRecord {
1445
1445
  /**
1446
- * @public
1447
1446
  * <p> The index of the record in the input request for WriteRecords. Indexes begin with 0.
1448
1447
  * </p>
1448
+ * @public
1449
1449
  */
1450
1450
  RecordIndex?: number;
1451
1451
  /**
1452
- * @public
1453
1452
  * <p> The reason why a record was not successfully inserted into Timestream.
1454
1453
  * Possible causes of failure include: </p>
1455
1454
  * <ul>
@@ -1491,17 +1490,17 @@ export interface RejectedRecord {
1491
1490
  * </ul>
1492
1491
  * <p> For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the
1493
1492
  * Timestream Developer Guide. </p>
1493
+ * @public
1494
1494
  */
1495
1495
  Reason?: string;
1496
1496
  /**
1497
- * @public
1498
1497
  * <p>The existing version of the record. This value is populated in scenarios where an
1499
1498
  * identical record exists with a higher version than the version in the write request.</p>
1499
+ * @public
1500
1500
  */
1501
1501
  ExistingVersion?: number;
1502
1502
  }
1503
1503
  /**
1504
- * @public
1505
1504
  * <p> WriteRecords would throw this exception in the following cases: </p>
1506
1505
  * <ul>
1507
1506
  * <li>
@@ -1532,15 +1531,16 @@ export interface RejectedRecord {
1532
1531
  * </li>
1533
1532
  * </ul>
1534
1533
  * <p> For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Quotas</a> in the Amazon Timestream Developer Guide. </p>
1534
+ * @public
1535
1535
  */
1536
1536
  export declare class RejectedRecordsException extends __BaseException {
1537
1537
  readonly name: "RejectedRecordsException";
1538
1538
  readonly $fault: "client";
1539
1539
  Message?: string;
1540
1540
  /**
1541
- * @public
1542
1541
  * <p>
1543
1542
  * </p>
1543
+ * @public
1544
1544
  */
1545
1545
  RejectedRecords?: RejectedRecord[];
1546
1546
  /**
@@ -1553,8 +1553,8 @@ export declare class RejectedRecordsException extends __BaseException {
1553
1553
  */
1554
1554
  export interface ResumeBatchLoadTaskRequest {
1555
1555
  /**
1556
- * @public
1557
1556
  * <p>The ID of the batch load task to resume.</p>
1557
+ * @public
1558
1558
  */
1559
1559
  TaskId: string | undefined;
1560
1560
  }
@@ -1568,14 +1568,14 @@ export interface ResumeBatchLoadTaskResponse {
1568
1568
  */
1569
1569
  export interface TagResourceRequest {
1570
1570
  /**
1571
- * @public
1572
1571
  * <p> Identifies the Timestream resource to which tags should be added. This value
1573
1572
  * is an Amazon Resource Name (ARN). </p>
1573
+ * @public
1574
1574
  */
1575
1575
  ResourceARN: string | undefined;
1576
1576
  /**
1577
- * @public
1578
1577
  * <p> The tags to be assigned to the Timestream resource. </p>
1578
+ * @public
1579
1579
  */
1580
1580
  Tags: Tag[] | undefined;
1581
1581
  }
@@ -1589,15 +1589,15 @@ export interface TagResourceResponse {
1589
1589
  */
1590
1590
  export interface UntagResourceRequest {
1591
1591
  /**
1592
- * @public
1593
1592
  * <p> The Timestream resource that the tags will be removed from. This value is an
1594
1593
  * Amazon Resource Name (ARN). </p>
1594
+ * @public
1595
1595
  */
1596
1596
  ResourceARN: string | undefined;
1597
1597
  /**
1598
- * @public
1599
1598
  * <p> A list of tags keys. Existing tags of the resource whose keys are members of this list
1600
1599
  * will be removed from the Timestream resource. </p>
1600
+ * @public
1601
1601
  */
1602
1602
  TagKeys: string[] | undefined;
1603
1603
  }
@@ -1611,12 +1611,11 @@ export interface UntagResourceResponse {
1611
1611
  */
1612
1612
  export interface UpdateDatabaseRequest {
1613
1613
  /**
1614
- * @public
1615
1614
  * <p> The name of the database. </p>
1615
+ * @public
1616
1616
  */
1617
1617
  DatabaseName: string | undefined;
1618
1618
  /**
1619
- * @public
1620
1619
  * <p> The identifier of the new KMS key (<code>KmsKeyId</code>) to be used to
1621
1620
  * encrypt the data stored in the database. If the <code>KmsKeyId</code> currently registered
1622
1621
  * with the database is the same as the <code>KmsKeyId</code> in the request, there will not
@@ -1642,6 +1641,7 @@ export interface UpdateDatabaseRequest {
1642
1641
  * </p>
1643
1642
  * </li>
1644
1643
  * </ul>
1644
+ * @public
1645
1645
  */
1646
1646
  KmsKeyId: string | undefined;
1647
1647
  }
@@ -1650,10 +1650,10 @@ export interface UpdateDatabaseRequest {
1650
1650
  */
1651
1651
  export interface UpdateDatabaseResponse {
1652
1652
  /**
1653
- * @public
1654
1653
  * <p>A top-level container for a table. Databases and tables are the fundamental management
1655
1654
  * concepts in Amazon Timestream. All tables in a database are encrypted with the
1656
1655
  * same KMS key.</p>
1656
+ * @public
1657
1657
  */
1658
1658
  Database?: Database;
1659
1659
  }
@@ -1662,28 +1662,28 @@ export interface UpdateDatabaseResponse {
1662
1662
  */
1663
1663
  export interface UpdateTableRequest {
1664
1664
  /**
1665
- * @public
1666
1665
  * <p>The name of the Timestream database.</p>
1666
+ * @public
1667
1667
  */
1668
1668
  DatabaseName: string | undefined;
1669
1669
  /**
1670
- * @public
1671
1670
  * <p>The name of the Timestream table.</p>
1671
+ * @public
1672
1672
  */
1673
1673
  TableName: string | undefined;
1674
1674
  /**
1675
- * @public
1676
1675
  * <p>The retention duration of the memory store and the magnetic store.</p>
1676
+ * @public
1677
1677
  */
1678
1678
  RetentionProperties?: RetentionProperties;
1679
1679
  /**
1680
- * @public
1681
1680
  * <p>Contains properties to set on the table when enabling magnetic store writes.</p>
1681
+ * @public
1682
1682
  */
1683
1683
  MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
1684
1684
  /**
1685
- * @public
1686
1685
  * <p> The schema of the table. </p>
1686
+ * @public
1687
1687
  */
1688
1688
  Schema?: Schema;
1689
1689
  }
@@ -1692,8 +1692,8 @@ export interface UpdateTableRequest {
1692
1692
  */
1693
1693
  export interface UpdateTableResponse {
1694
1694
  /**
1695
- * @public
1696
1695
  * <p>The updated Timestream table.</p>
1696
+ * @public
1697
1697
  */
1698
1698
  Table?: Table;
1699
1699
  }
@@ -1702,29 +1702,29 @@ export interface UpdateTableResponse {
1702
1702
  */
1703
1703
  export interface WriteRecordsRequest {
1704
1704
  /**
1705
- * @public
1706
1705
  * <p>The name of the Timestream database.</p>
1706
+ * @public
1707
1707
  */
1708
1708
  DatabaseName: string | undefined;
1709
1709
  /**
1710
- * @public
1711
1710
  * <p>The name of the Timestream table.</p>
1711
+ * @public
1712
1712
  */
1713
1713
  TableName: string | undefined;
1714
1714
  /**
1715
- * @public
1716
1715
  * <p>A record that contains the common measure, dimension, time, and version attributes
1717
1716
  * shared across all the records in the request. The measure and dimension attributes
1718
1717
  * specified will be merged with the measure and dimension attributes in the records object
1719
1718
  * when the data is written into Timestream. Dimensions may not overlap, or a
1720
1719
  * <code>ValidationException</code> will be thrown. In other words, a record must contain
1721
1720
  * dimensions with unique names. </p>
1721
+ * @public
1722
1722
  */
1723
1723
  CommonAttributes?: _Record;
1724
1724
  /**
1725
- * @public
1726
1725
  * <p>An array of records that contain the unique measure, dimension, time, and version
1727
1726
  * attributes for each time-series data point. </p>
1727
+ * @public
1728
1728
  */
1729
1729
  Records: _Record[] | undefined;
1730
1730
  }
@@ -1733,8 +1733,8 @@ export interface WriteRecordsRequest {
1733
1733
  */
1734
1734
  export interface WriteRecordsResponse {
1735
1735
  /**
1736
- * @public
1737
1736
  * <p>Information on the records ingested by this request.</p>
1737
+ * @public
1738
1738
  */
1739
1739
  RecordsIngested?: RecordsIngested;
1740
1740
  }