@aws-sdk/client-timestream-write 3.278.0 → 3.280.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 (61) hide show
  1. package/README.md +19 -13
  2. package/dist-cjs/TimestreamWrite.js +60 -0
  3. package/dist-cjs/commands/CreateBatchLoadTaskCommand.js +48 -0
  4. package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +48 -0
  5. package/dist-cjs/commands/ListBatchLoadTasksCommand.js +48 -0
  6. package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +48 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +153 -37
  10. package/dist-cjs/pagination/ListBatchLoadTasksPaginator.js +36 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_0.js +626 -1
  13. package/dist-es/TimestreamWrite.js +60 -0
  14. package/dist-es/commands/CreateBatchLoadTaskCommand.js +44 -0
  15. package/dist-es/commands/DescribeBatchLoadTaskCommand.js +44 -0
  16. package/dist-es/commands/ListBatchLoadTasksCommand.js +44 -0
  17. package/dist-es/commands/ResumeBatchLoadTaskCommand.js +44 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/endpoint/ruleset.js +3 -3
  20. package/dist-es/models/models_0.js +127 -34
  21. package/dist-es/pagination/ListBatchLoadTasksPaginator.js +32 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_json1_0.js +617 -0
  24. package/dist-types/TimestreamWrite.d.ts +154 -131
  25. package/dist-types/TimestreamWriteClient.d.ts +18 -8
  26. package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +45 -0
  27. package/dist-types/commands/CreateDatabaseCommand.d.ts +3 -6
  28. package/dist-types/commands/CreateTableCommand.d.ts +6 -9
  29. package/dist-types/commands/DeleteDatabaseCommand.d.ts +9 -11
  30. package/dist-types/commands/DeleteTableCommand.d.ts +7 -8
  31. package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +40 -0
  32. package/dist-types/commands/DescribeDatabaseCommand.d.ts +4 -4
  33. package/dist-types/commands/DescribeEndpointsCommand.d.ts +10 -8
  34. package/dist-types/commands/DescribeTableCommand.d.ts +4 -5
  35. package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +39 -0
  36. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -4
  37. package/dist-types/commands/ListTablesCommand.d.ts +3 -4
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -3
  39. package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +38 -0
  40. package/dist-types/commands/TagResourceCommand.d.ts +3 -5
  41. package/dist-types/commands/UntagResourceCommand.d.ts +1 -3
  42. package/dist-types/commands/UpdateDatabaseCommand.d.ts +5 -7
  43. package/dist-types/commands/UpdateTableCommand.d.ts +6 -8
  44. package/dist-types/commands/WriteRecordsCommand.d.ts +36 -41
  45. package/dist-types/commands/index.d.ts +4 -0
  46. package/dist-types/models/models_0.d.ts +786 -274
  47. package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +4 -0
  48. package/dist-types/pagination/index.d.ts +1 -0
  49. package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
  50. package/dist-types/ts3.4/TimestreamWrite.d.ts +68 -0
  51. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +24 -0
  52. package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +41 -0
  54. package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +253 -43
  58. package/dist-types/ts3.4/pagination/ListBatchLoadTasksPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +48 -0
  61. package/package.json +9 -7
@@ -12,99 +12,433 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  */
13
13
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
14
  }
15
+ export declare enum BatchLoadDataFormat {
16
+ CSV = "CSV"
17
+ }
15
18
  /**
16
- * <p>Timestream was unable to process this request because it contains resource that already exists.</p>
19
+ * <p>Details about the progress of a batch load task.</p>
17
20
  */
18
- export declare class ConflictException extends __BaseException {
19
- readonly name: "ConflictException";
20
- readonly $fault: "client";
21
- Message: string | undefined;
21
+ export interface BatchLoadProgressReport {
22
22
  /**
23
- * @internal
23
+ * <p></p>
24
24
  */
25
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
25
+ RecordsProcessed?: number;
26
+ /**
27
+ * <p></p>
28
+ */
29
+ RecordsIngested?: number;
30
+ /**
31
+ * <p></p>
32
+ */
33
+ ParseFailures?: number;
34
+ /**
35
+ * <p></p>
36
+ */
37
+ RecordIngestionFailures?: number;
38
+ /**
39
+ * <p></p>
40
+ */
41
+ FileFailures?: number;
42
+ /**
43
+ * <p></p>
44
+ */
45
+ BytesMetered?: number;
46
+ }
47
+ export declare enum BatchLoadStatus {
48
+ CREATED = "CREATED",
49
+ FAILED = "FAILED",
50
+ IN_PROGRESS = "IN_PROGRESS",
51
+ PENDING_RESUME = "PENDING_RESUME",
52
+ PROGRESS_STOPPED = "PROGRESS_STOPPED",
53
+ SUCCEEDED = "SUCCEEDED"
26
54
  }
27
55
  /**
28
- * <p>
29
- * A tag is a label that you assign to a Timestream database and/or table. Each tag consists
30
- * of a key and an optional value, both of which you define. Tags enable you to
31
- * categorize databases and/or tables, for example, by purpose, owner, or environment.
32
- * </p>
56
+ * <p>Details about a batch load task.</p>
33
57
  */
34
- export interface Tag {
58
+ export interface BatchLoadTask {
59
+ /**
60
+ * <p>The ID of the batch load task.</p>
61
+ */
62
+ TaskId?: string;
63
+ /**
64
+ * <p>Status of the batch load task.</p>
65
+ */
66
+ TaskStatus?: BatchLoadStatus | string;
67
+ /**
68
+ * <p>Database name for the database into which a batch load task loads data.</p>
69
+ */
70
+ DatabaseName?: string;
71
+ /**
72
+ * <p>Table name for the table into which a batch load task loads data.</p>
73
+ */
74
+ TableName?: string;
75
+ /**
76
+ * <p>The time when the Timestream batch load task was created.</p>
77
+ */
78
+ CreationTime?: Date;
79
+ /**
80
+ * <p>The time when the Timestream batch load task was last updated.</p>
81
+ */
82
+ LastUpdatedTime?: Date;
35
83
  /**
36
84
  * <p>
37
- * The key of the tag. Tag keys are case sensitive.
38
- * </p>
85
+ * </p>
39
86
  */
40
- Key: string | undefined;
87
+ ResumableUntil?: Date;
88
+ }
89
+ /**
90
+ * <p></p>
91
+ */
92
+ export interface DimensionMapping {
93
+ /**
94
+ * <p></p>
95
+ */
96
+ SourceColumn?: string;
41
97
  /**
42
98
  * <p>
43
- * The value of the tag. Tag values are case-sensitive and can be null.
44
- * </p>
99
+ * </p>
45
100
  */
46
- Value: string | undefined;
101
+ DestinationColumn?: string;
47
102
  }
48
- export interface CreateDatabaseRequest {
103
+ export declare enum MeasureValueType {
104
+ BIGINT = "BIGINT",
105
+ BOOLEAN = "BOOLEAN",
106
+ DOUBLE = "DOUBLE",
107
+ MULTI = "MULTI",
108
+ TIMESTAMP = "TIMESTAMP",
109
+ VARCHAR = "VARCHAR"
110
+ }
111
+ export declare enum ScalarMeasureValueType {
112
+ BIGINT = "BIGINT",
113
+ BOOLEAN = "BOOLEAN",
114
+ DOUBLE = "DOUBLE",
115
+ TIMESTAMP = "TIMESTAMP",
116
+ VARCHAR = "VARCHAR"
117
+ }
118
+ /**
119
+ * <p></p>
120
+ */
121
+ export interface MultiMeasureAttributeMapping {
49
122
  /**
50
- * <p>The name of the Timestream database.</p>
123
+ * <p></p>
51
124
  */
52
- DatabaseName: string | undefined;
125
+ SourceColumn: string | undefined;
53
126
  /**
54
- * <p>The KMS key for the database.
55
- * If the KMS key is not specified, the database will be encrypted with a Timestream
56
- * managed KMS key located in your account.
57
- * Refer to <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed KMS keys</a> for more info.</p>
127
+ * <p></p>
58
128
  */
59
- KmsKeyId?: string;
129
+ TargetMultiMeasureAttributeName?: string;
130
+ /**
131
+ * <p></p>
132
+ */
133
+ MeasureValueType?: ScalarMeasureValueType | string;
134
+ }
135
+ /**
136
+ * <p></p>
137
+ */
138
+ export interface MixedMeasureMapping {
139
+ /**
140
+ * <p></p>
141
+ */
142
+ MeasureName?: string;
143
+ /**
144
+ * <p></p>
145
+ */
146
+ SourceColumn?: string;
147
+ /**
148
+ * <p></p>
149
+ */
150
+ TargetMeasureName?: string;
151
+ /**
152
+ * <p></p>
153
+ */
154
+ MeasureValueType: MeasureValueType | string | undefined;
155
+ /**
156
+ * <p></p>
157
+ */
158
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
159
+ }
160
+ /**
161
+ * <p></p>
162
+ */
163
+ export interface MultiMeasureMappings {
164
+ /**
165
+ * <p></p>
166
+ */
167
+ TargetMultiMeasureName?: string;
168
+ /**
169
+ * <p></p>
170
+ */
171
+ MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
172
+ }
173
+ export declare enum TimeUnit {
174
+ MICROSECONDS = "MICROSECONDS",
175
+ MILLISECONDS = "MILLISECONDS",
176
+ NANOSECONDS = "NANOSECONDS",
177
+ SECONDS = "SECONDS"
178
+ }
179
+ /**
180
+ * <p>Data model for a batch load task.</p>
181
+ */
182
+ export interface DataModel {
183
+ /**
184
+ * <p>Source column to be mapped to time.</p>
185
+ */
186
+ TimeColumn?: string;
187
+ /**
188
+ * <p> The granularity of the timestamp unit. It indicates if the time value is in seconds,
189
+ * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
190
+ * </p>
191
+ */
192
+ TimeUnit?: TimeUnit | string;
193
+ /**
194
+ * <p>Source to target mappings for dimensions.</p>
195
+ */
196
+ DimensionMappings: DimensionMapping[] | undefined;
197
+ /**
198
+ * <p>Source to target mappings for multi-measure records.</p>
199
+ */
200
+ MultiMeasureMappings?: MultiMeasureMappings;
201
+ /**
202
+ * <p>Source to target mappings for measures.</p>
203
+ */
204
+ MixedMeasureMappings?: MixedMeasureMapping[];
205
+ /**
206
+ * <p></p>
207
+ */
208
+ MeasureNameColumn?: string;
209
+ }
210
+ /**
211
+ * <p></p>
212
+ */
213
+ export interface DataModelS3Configuration {
214
+ /**
215
+ * <p></p>
216
+ */
217
+ BucketName?: string;
218
+ /**
219
+ * <p></p>
220
+ */
221
+ ObjectKey?: string;
222
+ }
223
+ /**
224
+ * <p></p>
225
+ */
226
+ export interface DataModelConfiguration {
227
+ /**
228
+ * <p></p>
229
+ */
230
+ DataModel?: DataModel;
231
+ /**
232
+ * <p></p>
233
+ */
234
+ DataModelS3Configuration?: DataModelS3Configuration;
235
+ }
236
+ /**
237
+ * <p>A delimited data format where the column separator can be a comma and the record
238
+ * separator is a newline character.</p>
239
+ */
240
+ export interface CsvConfiguration {
241
+ /**
242
+ * <p>Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or
243
+ * blank space (' '). </p>
244
+ */
245
+ ColumnSeparator?: string;
246
+ /**
247
+ * <p>Escape character can be one of </p>
248
+ */
249
+ EscapeChar?: string;
250
+ /**
251
+ * <p>Can be single quote (') or double quote (").</p>
252
+ */
253
+ QuoteChar?: string;
254
+ /**
255
+ * <p>Can be blank space (' ').</p>
256
+ */
257
+ NullValue?: string;
258
+ /**
259
+ * <p>Specifies to trim leading and trailing white space.</p>
260
+ */
261
+ TrimWhiteSpace?: boolean;
262
+ }
263
+ /**
264
+ * <p>
265
+ * </p>
266
+ */
267
+ export interface DataSourceS3Configuration {
268
+ /**
269
+ * <p>The bucket name of the customer S3 bucket.</p>
270
+ */
271
+ BucketName: string | undefined;
60
272
  /**
61
273
  * <p>
62
- * A list of key-value pairs to label the table.
63
- * </p>
274
+ * </p>
64
275
  */
65
- Tags?: Tag[];
276
+ ObjectKeyPrefix?: string;
66
277
  }
67
278
  /**
68
- * <p>A top level container for a table. Databases and tables are the
69
- * fundamental management concepts in Amazon Timestream. All tables in a
70
- * database are encrypted with the same KMS key.</p>
279
+ * <p>Defines configuration details about the data source.</p>
71
280
  */
72
- export interface Database {
281
+ export interface DataSourceConfiguration {
73
282
  /**
74
- * <p>The Amazon Resource Name that uniquely identifies this database.</p>
283
+ * <p>Configuration of an S3 location for a file which contains data to load.</p>
75
284
  */
76
- Arn?: string;
285
+ DataSourceS3Configuration: DataSourceS3Configuration | undefined;
77
286
  /**
78
- * <p>The name of the Timestream database.</p>
287
+ * <p>A delimited data format where the column separator can be a comma and the record
288
+ * separator is a newline character.</p>
79
289
  */
80
- DatabaseName?: string;
290
+ CsvConfiguration?: CsvConfiguration;
81
291
  /**
82
- * <p>The total number of tables found within a Timestream database. </p>
292
+ * <p>This is currently CSV.</p>
83
293
  */
84
- TableCount?: number;
294
+ DataFormat: BatchLoadDataFormat | string | undefined;
295
+ }
296
+ export declare enum S3EncryptionOption {
297
+ SSE_KMS = "SSE_KMS",
298
+ SSE_S3 = "SSE_S3"
299
+ }
300
+ /**
301
+ * <p></p>
302
+ */
303
+ export interface ReportS3Configuration {
304
+ /**
305
+ * <p></p>
306
+ */
307
+ BucketName: string | undefined;
308
+ /**
309
+ * <p></p>
310
+ */
311
+ ObjectKeyPrefix?: string;
312
+ /**
313
+ * <p></p>
314
+ */
315
+ EncryptionOption?: S3EncryptionOption | string;
85
316
  /**
86
- * <p>The identifier of the KMS key used to encrypt the data stored in the database.</p>
317
+ * <p></p>
87
318
  */
88
319
  KmsKeyId?: string;
320
+ }
321
+ /**
322
+ * <p>Report configuration for a batch load task. This contains details about where error reports are stored.</p>
323
+ */
324
+ export interface ReportConfiguration {
89
325
  /**
90
- * <p>The time when the database was created, calculated from the Unix epoch time.</p>
326
+ * <p>Configuration of an S3 location to write error reports and events for a batch
327
+ * load.</p>
328
+ */
329
+ ReportS3Configuration?: ReportS3Configuration;
330
+ }
331
+ /**
332
+ * <p>Details about a batch load task.</p>
333
+ */
334
+ export interface BatchLoadTaskDescription {
335
+ /**
336
+ * <p>The ID of the batch load task.</p>
337
+ */
338
+ TaskId?: string;
339
+ /**
340
+ * <p></p>
341
+ */
342
+ ErrorMessage?: string;
343
+ /**
344
+ * <p>Configuration details about the data source for a batch load task.</p>
345
+ */
346
+ DataSourceConfiguration?: DataSourceConfiguration;
347
+ /**
348
+ * <p></p>
349
+ */
350
+ ProgressReport?: BatchLoadProgressReport;
351
+ /**
352
+ * <p>Report configuration for a batch load task. This contains details about where error reports are stored.</p>
353
+ */
354
+ ReportConfiguration?: ReportConfiguration;
355
+ /**
356
+ * <p>Data model configuration for a batch load task. This contains details about where a data model for a batch load task is stored.</p>
357
+ */
358
+ DataModelConfiguration?: DataModelConfiguration;
359
+ /**
360
+ * <p></p>
361
+ */
362
+ TargetDatabaseName?: string;
363
+ /**
364
+ * <p></p>
365
+ */
366
+ TargetTableName?: string;
367
+ /**
368
+ * <p>Status of the batch load task.</p>
369
+ */
370
+ TaskStatus?: BatchLoadStatus | string;
371
+ /**
372
+ * <p></p>
373
+ */
374
+ RecordVersion?: number;
375
+ /**
376
+ * <p>The time when the Timestream batch load task was created.</p>
91
377
  */
92
378
  CreationTime?: Date;
93
379
  /**
94
- * <p>
95
- * The last time that this database was updated.
96
- * </p>
380
+ * <p>The time when the Timestream batch load task was last updated.</p>
97
381
  */
98
382
  LastUpdatedTime?: Date;
383
+ /**
384
+ * <p>
385
+ * </p>
386
+ */
387
+ ResumableUntil?: Date;
99
388
  }
100
- export interface CreateDatabaseResponse {
389
+ /**
390
+ * <p>Timestream was unable to process this request because it contains resource that
391
+ * already exists.</p>
392
+ */
393
+ export declare class ConflictException extends __BaseException {
394
+ readonly name: "ConflictException";
395
+ readonly $fault: "client";
396
+ Message: string | undefined;
101
397
  /**
102
- * <p>The newly created Timestream database.</p>
398
+ * @internal
103
399
  */
104
- Database?: Database;
400
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
401
+ }
402
+ export interface CreateBatchLoadTaskRequest {
403
+ /**
404
+ * <p></p>
405
+ */
406
+ ClientToken?: string;
407
+ /**
408
+ * <p></p>
409
+ */
410
+ DataModelConfiguration?: DataModelConfiguration;
411
+ /**
412
+ * <p>Defines configuration details about the data source for a batch load task.</p>
413
+ */
414
+ DataSourceConfiguration: DataSourceConfiguration | undefined;
415
+ /**
416
+ * <p>Report configuration for a batch load task. This contains details about where error reports are stored.</p>
417
+ */
418
+ ReportConfiguration: ReportConfiguration | undefined;
419
+ /**
420
+ * <p>Target Timestream database for a batch load task.</p>
421
+ */
422
+ TargetDatabaseName: string | undefined;
423
+ /**
424
+ * <p>Target Timestream table for a batch load task.</p>
425
+ */
426
+ TargetTableName: string | undefined;
427
+ /**
428
+ * <p></p>
429
+ */
430
+ RecordVersion?: number;
431
+ }
432
+ export interface CreateBatchLoadTaskResponse {
433
+ /**
434
+ * <p>The ID of the batch load task.</p>
435
+ */
436
+ TaskId: string | undefined;
105
437
  }
106
438
  /**
107
- * <p> Timestream was unable to fully process this request because of an internal server error.</p>
439
+ * <p>
440
+ * Timestream was unable to fully process this request because of an internal server
441
+ * error.</p>
108
442
  */
109
443
  export declare class InternalServerException extends __BaseException {
110
444
  readonly name: "InternalServerException";
@@ -116,7 +450,7 @@ export declare class InternalServerException extends __BaseException {
116
450
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
117
451
  }
118
452
  /**
119
- * <p>The requested endpoint was invalid.</p>
453
+ * <p>The requested endpoint was not valid.</p>
120
454
  */
121
455
  export declare class InvalidEndpointException extends __BaseException {
122
456
  readonly name: "InvalidEndpointException";
@@ -128,7 +462,20 @@ export declare class InvalidEndpointException extends __BaseException {
128
462
  constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
129
463
  }
130
464
  /**
131
- * <p> Instance quota of resource exceeded for this account.</p>
465
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
466
+ * specified correctly, or its status might not be ACTIVE.</p>
467
+ */
468
+ export declare class ResourceNotFoundException extends __BaseException {
469
+ readonly name: "ResourceNotFoundException";
470
+ readonly $fault: "client";
471
+ Message?: string;
472
+ /**
473
+ * @internal
474
+ */
475
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
476
+ }
477
+ /**
478
+ * <p> The instance quota of resource exceeded for this account.</p>
132
479
  */
133
480
  export declare class ServiceQuotaExceededException extends __BaseException {
134
481
  readonly name: "ServiceQuotaExceededException";
@@ -140,7 +487,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
140
487
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
141
488
  }
142
489
  /**
143
- * <p> Too many requests were made by a user exceeding service quotas. The request was throttled.</p>
490
+ * <p> Too many requests were made by a user and they exceeded the service quotas. The request
491
+ * was throttled.</p>
144
492
  */
145
493
  export declare class ThrottlingException extends __BaseException {
146
494
  readonly name: "ThrottlingException";
@@ -152,7 +500,7 @@ export declare class ThrottlingException extends __BaseException {
152
500
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
153
501
  }
154
502
  /**
155
- * <p> Invalid or malformed request.</p>
503
+ * <p> An invalid or malformed request.</p>
156
504
  */
157
505
  export declare class ValidationException extends __BaseException {
158
506
  readonly name: "ValidationException";
@@ -163,37 +511,105 @@ export declare class ValidationException extends __BaseException {
163
511
  */
164
512
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
165
513
  }
166
- export declare enum S3EncryptionOption {
167
- SSE_KMS = "SSE_KMS",
168
- SSE_S3 = "SSE_S3"
514
+ /**
515
+ * <p> A tag is a label that you assign to a Timestream database and/or table. Each
516
+ * tag consists of a key and an optional value, both of which you define. With tags, you can
517
+ * categorize databases and/or tables, for example, by purpose, owner, or environment. </p>
518
+ */
519
+ export interface Tag {
520
+ /**
521
+ * <p> The key of the tag. Tag keys are case sensitive. </p>
522
+ */
523
+ Key: string | undefined;
524
+ /**
525
+ * <p> The value of the tag. Tag values are case-sensitive and can be null. </p>
526
+ */
527
+ Value: string | undefined;
528
+ }
529
+ export interface CreateDatabaseRequest {
530
+ /**
531
+ * <p>The name of the Timestream database.</p>
532
+ */
533
+ DatabaseName: string | undefined;
534
+ /**
535
+ * <p>The KMS key for the database. If the KMS key is not
536
+ * 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>
537
+ */
538
+ KmsKeyId?: string;
539
+ /**
540
+ * <p> A list of key-value pairs to label the table. </p>
541
+ */
542
+ Tags?: Tag[];
543
+ }
544
+ /**
545
+ * <p>A top-level container for a table. Databases and tables are the fundamental management
546
+ * concepts in Amazon Timestream. All tables in a database are encrypted with the
547
+ * same KMS key.</p>
548
+ */
549
+ export interface Database {
550
+ /**
551
+ * <p>The Amazon Resource Name that uniquely identifies this database.</p>
552
+ */
553
+ Arn?: string;
554
+ /**
555
+ * <p>The name of the Timestream database.</p>
556
+ */
557
+ DatabaseName?: string;
558
+ /**
559
+ * <p>The total number of tables found within a Timestream database. </p>
560
+ */
561
+ TableCount?: number;
562
+ /**
563
+ * <p>The identifier of the KMS key used to encrypt the data stored in the
564
+ * database.</p>
565
+ */
566
+ KmsKeyId?: string;
567
+ /**
568
+ * <p>The time when the database was created, calculated from the Unix epoch time.</p>
569
+ */
570
+ CreationTime?: Date;
571
+ /**
572
+ * <p> The last time that this database was updated. </p>
573
+ */
574
+ LastUpdatedTime?: Date;
575
+ }
576
+ export interface CreateDatabaseResponse {
577
+ /**
578
+ * <p>The newly created Timestream database.</p>
579
+ */
580
+ Database?: Database;
169
581
  }
170
582
  /**
171
- * <p>Configuration specifing an S3 location.</p>
583
+ * <p>The configuration that specifies an S3 location.</p>
172
584
  */
173
585
  export interface S3Configuration {
174
586
  /**
175
- * <p>>Bucket name of the customer S3 bucket.</p>
587
+ * <p>The bucket name of the customer S3 bucket.</p>
176
588
  */
177
589
  BucketName?: string;
178
590
  /**
179
- * <p>Object key preview for the customer S3 location.</p>
591
+ * <p>The object key preview for the customer S3 location.</p>
180
592
  */
181
593
  ObjectKeyPrefix?: string;
182
594
  /**
183
- * <p>Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.</p>
595
+ * <p>The encryption option for the customer S3 location. Options are S3 server-side
596
+ * encryption with an S3 managed key or Amazon Web Services managed key.</p>
184
597
  */
185
598
  EncryptionOption?: S3EncryptionOption | string;
186
599
  /**
187
- * <p>KMS key id for the customer s3 location when encrypting with a KMS managed key.</p>
600
+ * <p>The KMS key ID for the customer S3 location when encrypting with an
601
+ * Amazon Web Services managed key.</p>
188
602
  */
189
603
  KmsKeyId?: string;
190
604
  }
191
605
  /**
192
- * <p>The location to write error reports for records rejected, asynchronously, during magnetic store writes.</p>
606
+ * <p>The location to write error reports for records rejected, asynchronously, during
607
+ * magnetic store writes.</p>
193
608
  */
194
609
  export interface MagneticStoreRejectedDataLocation {
195
610
  /**
196
- * <p>Configuration of an S3 location to write error reports for records rejected, asynchronously, during magnetic store writes.</p>
611
+ * <p>Configuration of an S3 location to write error reports for records rejected,
612
+ * asynchronously, during magnetic store writes.</p>
197
613
  */
198
614
  S3Configuration?: S3Configuration;
199
615
  }
@@ -206,13 +622,14 @@ export interface MagneticStoreWriteProperties {
206
622
  */
207
623
  EnableMagneticStoreWrites: boolean | undefined;
208
624
  /**
209
- * <p>The location to write error reports for records rejected asynchronously during magnetic store writes.</p>
625
+ * <p>The location to write error reports for records rejected asynchronously during magnetic
626
+ * store writes.</p>
210
627
  */
211
628
  MagneticStoreRejectedDataLocation?: MagneticStoreRejectedDataLocation;
212
629
  }
213
630
  /**
214
- * <p>Retention properties contain the duration for which your time series data must be stored in the magnetic store and the memory store.
215
- * </p>
631
+ * <p>Retention properties contain the duration for which your time-series data must be stored
632
+ * in the magnetic store and the memory store. </p>
216
633
  */
217
634
  export interface RetentionProperties {
218
635
  /**
@@ -234,13 +651,12 @@ export interface CreateTableRequest {
234
651
  */
235
652
  TableName: string | undefined;
236
653
  /**
237
- * <p>The duration for which your time series data must be stored in the memory store and the magnetic store.</p>
654
+ * <p>The duration for which your time-series data must be stored in the memory store and the
655
+ * magnetic store.</p>
238
656
  */
239
657
  RetentionProperties?: RetentionProperties;
240
658
  /**
241
- * <p>
242
- * A list of key-value pairs to label the table.
243
- * </p>
659
+ * <p> A list of key-value pairs to label the table. </p>
244
660
  */
245
661
  Tags?: Tag[];
246
662
  /**
@@ -250,11 +666,13 @@ export interface CreateTableRequest {
250
666
  }
251
667
  export declare enum TableStatus {
252
668
  ACTIVE = "ACTIVE",
253
- DELETING = "DELETING"
669
+ DELETING = "DELETING",
670
+ RESTORING = "RESTORING"
254
671
  }
255
672
  /**
256
- * <p>Table represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.
257
- * </p>
673
+ * <p>Represents a database table in Timestream. Tables contain one or more related
674
+ * time series. You can modify the retention duration of the memory store and the magnetic
675
+ * store for a table. </p>
258
676
  */
259
677
  export interface Table {
260
678
  /**
@@ -306,18 +724,6 @@ export interface CreateTableResponse {
306
724
  */
307
725
  Table?: Table;
308
726
  }
309
- /**
310
- * <p>The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.</p>
311
- */
312
- export declare class ResourceNotFoundException extends __BaseException {
313
- readonly name: "ResourceNotFoundException";
314
- readonly $fault: "client";
315
- Message?: string;
316
- /**
317
- * @internal
318
- */
319
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
320
- }
321
727
  export interface DeleteDatabaseRequest {
322
728
  /**
323
729
  * <p>The name of the Timestream database to be deleted.</p>
@@ -334,6 +740,18 @@ export interface DeleteTableRequest {
334
740
  */
335
741
  TableName: string | undefined;
336
742
  }
743
+ export interface DescribeBatchLoadTaskRequest {
744
+ /**
745
+ * <p>The ID of the batch load task.</p>
746
+ */
747
+ TaskId: string | undefined;
748
+ }
749
+ export interface DescribeBatchLoadTaskResponse {
750
+ /**
751
+ * <p>Description of the batch load task.</p>
752
+ */
753
+ BatchLoadTaskDescription: BatchLoadTaskDescription | undefined;
754
+ }
337
755
  export interface DescribeDatabaseRequest {
338
756
  /**
339
757
  * <p>The name of the Timestream database.</p>
@@ -349,7 +767,8 @@ export interface DescribeDatabaseResponse {
349
767
  export interface DescribeEndpointsRequest {
350
768
  }
351
769
  /**
352
- * <p>Represents an available endpoint against which to make API calls agaisnt, as well as the TTL for that endpoint.</p>
770
+ * <p>Represents an available endpoint against which to make API calls against, as well as the
771
+ * TTL for that endpoint.</p>
353
772
  */
354
773
  export interface Endpoint {
355
774
  /**
@@ -363,7 +782,8 @@ export interface Endpoint {
363
782
  }
364
783
  export interface DescribeEndpointsResponse {
365
784
  /**
366
- * <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code> request is made.</p>
785
+ * <p>An <code>Endpoints</code> object is returned when a <code>DescribeEndpoints</code>
786
+ * request is made.</p>
367
787
  */
368
788
  Endpoints: Endpoint[] | undefined;
369
789
  }
@@ -387,18 +807,17 @@ export declare enum DimensionValueType {
387
807
  VARCHAR = "VARCHAR"
388
808
  }
389
809
  /**
390
- * <p>Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions. </p>
810
+ * <p>Represents the metadata attributes of the time series. For example, the name and
811
+ * Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are
812
+ * dimensions. </p>
391
813
  */
392
814
  export interface Dimension {
393
815
  /**
394
- * <p>
395
- * Dimension represents the meta data attributes of the time series.
396
- * For example, the name and availability zone of an EC2 instance or
397
- * the name of the manufacturer of a wind turbine are dimensions.
398
- *
399
- * </p>
400
- * <p>For constraints on Dimension names,
401
- * see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming">Naming Constraints</a>.</p>
816
+ * <p> Dimension represents the metadata attributes of the time series. For example, the name
817
+ * and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine
818
+ * are dimensions. </p>
819
+ * <p>For constraints on dimension names, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming">Naming
820
+ * Constraints</a>.</p>
402
821
  */
403
822
  Name: string | undefined;
404
823
  /**
@@ -406,17 +825,50 @@ export interface Dimension {
406
825
  */
407
826
  Value: string | undefined;
408
827
  /**
409
- * <p>The data type of the dimension for the time series data point.</p>
828
+ * <p>The data type of the dimension for the time-series data point.</p>
410
829
  */
411
830
  DimensionValueType?: DimensionValueType | string;
412
831
  }
832
+ export interface ListBatchLoadTasksRequest {
833
+ /**
834
+ * <p>A token to specify where to start paginating. This is the NextToken from a previously
835
+ * truncated response.</p>
836
+ */
837
+ NextToken?: string;
838
+ /**
839
+ * <p>The total number of items to return in the output. If the total number of items
840
+ * available is more than the value specified, a NextToken is provided in the output. To
841
+ * resume pagination, provide the NextToken value as argument of a subsequent API
842
+ * invocation.</p>
843
+ */
844
+ MaxResults?: number;
845
+ /**
846
+ * <p>Status of the batch load task.</p>
847
+ */
848
+ TaskStatus?: BatchLoadStatus | string;
849
+ }
850
+ export interface ListBatchLoadTasksResponse {
851
+ /**
852
+ * <p>A token to specify where to start paginating. Provide the next
853
+ * ListBatchLoadTasksRequest.</p>
854
+ */
855
+ NextToken?: string;
856
+ /**
857
+ * <p>A list of batch load task details.</p>
858
+ */
859
+ BatchLoadTasks?: BatchLoadTask[];
860
+ }
413
861
  export interface ListDatabasesRequest {
414
862
  /**
415
- * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
863
+ * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a
864
+ * subsequent API invocation.</p>
416
865
  */
417
866
  NextToken?: string;
418
867
  /**
419
- * <p>The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
868
+ * <p>The total number of items to return in the output. If the total number of items
869
+ * available is more than the value specified, a NextToken is provided in the output. To
870
+ * resume pagination, provide the NextToken value as argument of a subsequent API
871
+ * invocation.</p>
420
872
  */
421
873
  MaxResults?: number;
422
874
  }
@@ -436,11 +888,15 @@ export interface ListTablesRequest {
436
888
  */
437
889
  DatabaseName?: string;
438
890
  /**
439
- * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
891
+ * <p>The pagination token. To resume pagination, provide the NextToken value as argument of a
892
+ * subsequent API invocation.</p>
440
893
  */
441
894
  NextToken?: string;
442
895
  /**
443
- * <p>The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p>
896
+ * <p>The total number of items to return in the output. If the total number of items
897
+ * available is more than the value specified, a NextToken is provided in the output. To
898
+ * resume pagination, provide the NextToken value as argument of a subsequent API
899
+ * invocation.</p>
444
900
  */
445
901
  MaxResults?: number;
446
902
  }
@@ -450,131 +906,111 @@ export interface ListTablesResponse {
450
906
  */
451
907
  Tables?: Table[];
452
908
  /**
453
- * <p>A token to specify where to start paginating. This is the NextToken from a previously truncated response.</p>
909
+ * <p>A token to specify where to start paginating. This is the NextToken from a previously
910
+ * truncated response.</p>
454
911
  */
455
912
  NextToken?: string;
456
913
  }
457
914
  export interface ListTagsForResourceRequest {
458
915
  /**
459
- * <p>
460
- * The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).
461
- * </p>
916
+ * <p> The Timestream resource with tags to be listed. This value is an Amazon
917
+ * Resource Name (ARN). </p>
462
918
  */
463
919
  ResourceARN: string | undefined;
464
920
  }
465
921
  export interface ListTagsForResourceResponse {
466
922
  /**
467
- * <p>
468
- * The tags currently associated with the Timestream resource.
469
- * </p>
923
+ * <p> The tags currently associated with the Timestream resource. </p>
470
924
  */
471
925
  Tags?: Tag[];
472
926
  }
473
- export declare enum MeasureValueType {
474
- BIGINT = "BIGINT",
475
- BOOLEAN = "BOOLEAN",
476
- DOUBLE = "DOUBLE",
477
- MULTI = "MULTI",
478
- TIMESTAMP = "TIMESTAMP",
479
- VARCHAR = "VARCHAR"
480
- }
481
927
  /**
482
- * <p> MeasureValue represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value. </p>
483
- * <p> MeasureValue is only allowed for type <code>MULTI</code>. Using <code>MULTI</code> type, you can pass multiple data attributes associated with the same time series in a single record </p>
928
+ * <p> Represents the data attribute of the time series. For example, the CPU utilization of
929
+ * an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and
930
+ * value. </p>
931
+ * <p> MeasureValue is only allowed for type <code>MULTI</code>. Using <code>MULTI</code>
932
+ * type, you can pass multiple data attributes associated with the same time series in a
933
+ * single record </p>
484
934
  */
485
935
  export interface MeasureValue {
486
936
  /**
487
- * <p> Name of the MeasureValue. </p>
488
- * <p> For constraints on MeasureValue names, refer to <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming">
489
- * Naming Constraints</a> in the Timestream developer guide.</p>
937
+ * <p> The name of the MeasureValue. </p>
938
+ * <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>
490
939
  */
491
940
  Name: string | undefined;
492
941
  /**
493
- * <p> Value for the MeasureValue. </p>
942
+ * <p> The value for the MeasureValue. </p>
494
943
  */
495
944
  Value: string | undefined;
496
945
  /**
497
- * <p>Contains the data type of the MeasureValue for the time series data point.</p>
946
+ * <p>Contains the data type of the MeasureValue for the time-series data point.</p>
498
947
  */
499
948
  Type: MeasureValueType | string | undefined;
500
949
  }
501
- export declare enum TimeUnit {
502
- MICROSECONDS = "MICROSECONDS",
503
- MILLISECONDS = "MILLISECONDS",
504
- NANOSECONDS = "NANOSECONDS",
505
- SECONDS = "SECONDS"
506
- }
507
950
  /**
508
- * <p>Record represents a time series data point being written into
509
- * Timestream. Each record contains an array of dimensions. Dimensions
510
- * represent the meta data attributes of a time series data point such as
511
- * the instance name or availability zone of an EC2 instance. A record also
512
- * contains the measure name which is the name of the measure being collected
513
- * for example the CPU utilization of an EC2 instance. A record also contains
514
- * the measure value and the value type which is the data type of the measure value.
515
- * In addition, the record contains the timestamp when the measure was collected that
516
- * the timestamp unit which represents the granularity of the timestamp.
517
- * </p>
518
- * <p>
519
- * Records have a <code>Version</code> field, which is a 64-bit <code>long</code> that you can use for updating data points.
520
- * Writes of a duplicate record with the same dimension,
521
- * timestamp, and measure name
522
- * but different measure value will only succeed if the <code>Version</code> attribute of the record in the write request
523
- * is higher than that of the existing record.
524
- * Timestream defaults to a <code>Version</code> of <code>1</code> for records without the <code>Version</code> field.
525
- * </p>
951
+ * <p>Represents a time-series data point being written into Timestream. Each record
952
+ * contains an array of dimensions. Dimensions represent the metadata attributes of a
953
+ * time-series data point, such as the instance name or Availability Zone of an EC2 instance.
954
+ * A record also contains the measure name, which is the name of the measure being collected
955
+ * (for example, the CPU utilization of an EC2 instance). Additionally, a record contains the
956
+ * measure value and the value type, which is the data type of the measure value. Also, the
957
+ * record contains the timestamp of when the measure was collected and the timestamp unit,
958
+ * which represents the granularity of the timestamp. </p>
959
+ * <p> Records have a <code>Version</code> field, which is a 64-bit <code>long</code> that you
960
+ * can use for updating data points. Writes of a duplicate record with the same dimension,
961
+ * timestamp, and measure name but different measure value will only succeed if the
962
+ * <code>Version</code> attribute of the record in the write request is higher than that of
963
+ * the existing record. Timestream defaults to a <code>Version</code> of
964
+ * <code>1</code> for records without the <code>Version</code> field. </p>
526
965
  */
527
966
  export interface _Record {
528
967
  /**
529
- * <p>Contains the list of dimensions for time series data points.</p>
968
+ * <p>Contains the list of dimensions for time-series data points.</p>
530
969
  */
531
970
  Dimensions?: Dimension[];
532
971
  /**
533
- * <p>Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. </p>
972
+ * <p>Measure represents the data attribute of the time series. For example, the CPU
973
+ * utilization of an EC2 instance or the RPM of a wind turbine are measures. </p>
534
974
  */
535
975
  MeasureName?: string;
536
976
  /**
537
- * <p>
538
- * Contains the measure value for the time series data point.
539
- * </p>
977
+ * <p> Contains the measure value for the time-series data point. </p>
540
978
  */
541
979
  MeasureValue?: string;
542
980
  /**
543
- * <p>
544
- * Contains the data type of the measure value for the time series data point. Default type is <code>DOUBLE</code>.
545
- * </p>
981
+ * <p> Contains the data type of the measure value for the time-series data point. Default
982
+ * type is <code>DOUBLE</code>. </p>
546
983
  */
547
984
  MeasureValueType?: MeasureValueType | string;
548
985
  /**
549
- * <p>
550
- * Contains the time at which the measure value for the data point was collected.
551
- * The time value plus the unit provides the time elapsed since the epoch.
552
- * For example, if the time value is <code>12345</code> and the unit is <code>ms</code>,
553
- * then <code>12345 ms</code> have elapsed since the epoch.
554
- * </p>
986
+ * <p> Contains the time at which the measure value for the data point was collected. The time
987
+ * value plus the unit provides the time elapsed since the epoch. For example, if the time
988
+ * value is <code>12345</code> and the unit is <code>ms</code>, then <code>12345 ms</code>
989
+ * have elapsed since the epoch. </p>
555
990
  */
556
991
  Time?: string;
557
992
  /**
558
- * <p>
559
- * The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds or other supported values.
560
- * Default is <code>MILLISECONDS</code>.
561
- * </p>
993
+ * <p> The granularity of the timestamp unit. It indicates if the time value is in seconds,
994
+ * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
995
+ * </p>
562
996
  */
563
997
  TimeUnit?: TimeUnit | string;
564
998
  /**
565
- * <p>64-bit attribute used for record updates.
566
- * Write requests for duplicate data with a higher version number will update the existing measure value and version.
567
- * In cases where the measure value is the same, <code>Version</code> will still be updated . Default value is <code>1</code>.</p>
568
- *
999
+ * <p>64-bit attribute used for record updates. Write requests for duplicate data with a
1000
+ * higher version number will update the existing measure value and version. In cases where
1001
+ * the measure value is the same, <code>Version</code> will still be updated. Default value is
1002
+ * <code>1</code>.</p>
569
1003
  * <note>
570
1004
  * <p>
571
- * <code>Version</code> must be <code>1</code> or greater, or you will receive a <code>ValidationException</code> error.</p>
1005
+ * <code>Version</code> must be <code>1</code> or greater, or you will receive a
1006
+ * <code>ValidationException</code> error.</p>
572
1007
  * </note>
573
1008
  */
574
1009
  Version?: number;
575
1010
  /**
576
- * <p> Contains the list of MeasureValue for time series data points. </p>
577
- * <p> This is only allowed for type <code>MULTI</code>. For scalar values, use <code>MeasureValue</code> attribute of the Record directly. </p>
1011
+ * <p> Contains the list of MeasureValue for time-series data points. </p>
1012
+ * <p> This is only allowed for type <code>MULTI</code>. For scalar values, use
1013
+ * <code>MeasureValue</code> attribute of the record directly. </p>
578
1014
  */
579
1015
  MeasureValues?: MeasureValue[];
580
1016
  }
@@ -596,135 +1032,128 @@ export interface RecordsIngested {
596
1032
  MagneticStore?: number;
597
1033
  }
598
1034
  /**
599
- * <p>
600
- * Records that were not successfully inserted into Timestream due to data validation issues
601
- * that must be resolved prior to reinserting time series data into the system.
602
- * </p>
1035
+ * <p> Represents records that were not successfully inserted into Timestream due to
1036
+ * data validation issues that must be resolved before reinserting time-series data into the
1037
+ * system. </p>
603
1038
  */
604
1039
  export interface RejectedRecord {
605
1040
  /**
606
- * <p>
607
- * The index of the record in the input request for WriteRecords. Indexes begin with 0.
608
- * </p>
1041
+ * <p> The index of the record in the input request for WriteRecords. Indexes begin with 0.
1042
+ * </p>
609
1043
  */
610
1044
  RecordIndex?: number;
611
1045
  /**
612
- * <p>
613
- * The reason why a record was not successfully inserted into Timestream. Possible causes of failure include:
614
- * </p>
1046
+ * <p> The reason why a record was not successfully inserted into Timestream.
1047
+ * Possible causes of failure include: </p>
615
1048
  * <ul>
616
1049
  * <li>
617
- * <p>Records with duplicate data where there are multiple records with the same dimensions,
618
- * timestamps, and measure names but:
619
- * </p>
1050
+ * <p>Records with duplicate data where there are multiple records with the same
1051
+ * dimensions, timestamps, and measure names but: </p>
620
1052
  * <ul>
621
1053
  * <li>
622
1054
  * <p>Measure values are different</p>
623
1055
  * </li>
624
1056
  * <li>
625
- * <p>Version is not present in the request <i>or</i>
626
- * the value of version in the new record is equal to or lower than the existing value</p>
1057
+ * <p>Version is not present in the request, <i>or</i> the value of
1058
+ * version in the new record is equal to or lower than the existing value</p>
627
1059
  * </li>
628
1060
  * </ul>
629
- * <p>
630
- * If Timestream rejects data for this case, the <code>ExistingVersion</code> field in the <code>RejectedRecords</code>
631
- * response will indicate the current record’s version.
632
- * To force an update, you can resend the request with a version for the record set to a value greater than the <code>ExistingVersion</code>.</p>
1061
+ * <p>If Timestream rejects data for this case, the
1062
+ * <code>ExistingVersion</code> field in the <code>RejectedRecords</code> response
1063
+ * will indicate the current record’s version. To force an update, you can resend the
1064
+ * request with a version for the record set to a value greater than the
1065
+ * <code>ExistingVersion</code>.</p>
633
1066
  * </li>
634
1067
  * <li>
635
- * <p>
636
- * Records with timestamps that lie outside the retention duration of the memory store
637
- * </p>
1068
+ * <p> Records with timestamps that lie outside the retention duration of the memory
1069
+ * store. </p>
638
1070
  * <note>
639
- * <p>When the retention window is updated, you will receive a <code>RejectedRecords</code> exception
640
- * if you immediately try to ingest data within the new window.
641
- * To avoid a <code>RejectedRecords</code> exception,
642
- * wait until the duration of the new window to ingest new data.
643
- * For further information,
644
- * see
645
- * <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration">
646
- * Best Practices for Configuring Timestream</a>
647
- * and
648
- * <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html">the explanation of how storage works in Timestream</a>.</p>
1071
+ * <p>When the retention window is updated, you will receive a
1072
+ * <code>RejectedRecords</code> exception if you immediately try to ingest data
1073
+ * within the new window. To avoid a <code>RejectedRecords</code> exception, wait
1074
+ * until the duration of the new window to ingest new data. For further information,
1075
+ * see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/best-practices.html#configuration"> Best
1076
+ * Practices for Configuring Timestream</a> and <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/storage.html">the
1077
+ * explanation of how storage works in Timestream</a>.</p>
649
1078
  * </note>
650
1079
  * </li>
651
1080
  * <li>
652
- * <p>
653
- * Records with dimensions or measures that exceed the Timestream defined limits.
654
- * </p>
1081
+ * <p> Records with dimensions or measures that exceed the Timestream defined
1082
+ * limits. </p>
655
1083
  * </li>
656
1084
  * </ul>
657
- * <p>
658
- * For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
659
- * </p>
1085
+ * <p> For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the
1086
+ * Timestream Developer Guide. </p>
660
1087
  */
661
1088
  Reason?: string;
662
1089
  /**
663
- * <p>The existing version of the record.
664
- * This value is populated in scenarios where an identical record exists with a higher version than the version in the write request.</p>
1090
+ * <p>The existing version of the record. This value is populated in scenarios where an
1091
+ * identical record exists with a higher version than the version in the write request.</p>
665
1092
  */
666
1093
  ExistingVersion?: number;
667
1094
  }
668
1095
  /**
669
- * <p>
670
- * WriteRecords would throw this exception in the following cases:
671
- * </p>
1096
+ * <p> WriteRecords would throw this exception in the following cases: </p>
672
1097
  * <ul>
673
1098
  * <li>
674
- * <p>Records with duplicate data where there are multiple records with the same dimensions,
675
- * timestamps, and measure names but:
676
- * </p>
677
- * <ul>
1099
+ * <p>Records with duplicate data where there are multiple records with the same
1100
+ * dimensions, timestamps, and measure names but: </p>
1101
+ * <ul>
678
1102
  * <li>
679
1103
  * <p>Measure values are different</p>
680
1104
  * </li>
681
1105
  * <li>
682
- * <p>Version is not present in the request <i>or</i>
683
- * the value of version in the new record is equal to or lower than the existing value</p>
1106
+ * <p>Version is not present in the request <i>or</i> the value of
1107
+ * version in the new record is equal to or lower than the existing value</p>
684
1108
  * </li>
685
1109
  * </ul>
686
- * <p>
687
- * In this case, if Timestream rejects data, the <code>ExistingVersion</code> field in the <code>RejectedRecords</code>
688
- * response will indicate the current record’s version.
689
- * To force an update, you can resend the request with a version for the record set to a value greater than the <code>ExistingVersion</code>.</p>
1110
+ * <p> In this case, if Timestream rejects data, the
1111
+ * <code>ExistingVersion</code> field in the <code>RejectedRecords</code> response
1112
+ * will indicate the current record’s version. To force an update, you can resend the
1113
+ * request with a version for the record set to a value greater than the
1114
+ * <code>ExistingVersion</code>.</p>
690
1115
  * </li>
691
1116
  * <li>
692
- * <p>
693
- * Records with timestamps that lie outside the retention duration of the memory store
694
- * </p>
1117
+ * <p> Records with timestamps that lie outside the retention duration of the memory
1118
+ * store. </p>
695
1119
  * </li>
696
1120
  * <li>
697
- * <p>
698
- * Records with dimensions or measures that exceed the Timestream defined limits.
699
- * </p>
1121
+ * <p> Records with dimensions or measures that exceed the Timestream defined
1122
+ * limits. </p>
700
1123
  * </li>
701
1124
  * </ul>
702
- * <p>
703
- * For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Quotas</a> in the Timestream Developer Guide.
704
- * </p>
1125
+ * <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>
705
1126
  */
706
1127
  export declare class RejectedRecordsException extends __BaseException {
707
1128
  readonly name: "RejectedRecordsException";
708
1129
  readonly $fault: "client";
709
1130
  Message?: string;
1131
+ /**
1132
+ * <p>
1133
+ * </p>
1134
+ */
710
1135
  RejectedRecords?: RejectedRecord[];
711
1136
  /**
712
1137
  * @internal
713
1138
  */
714
1139
  constructor(opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>);
715
1140
  }
1141
+ export interface ResumeBatchLoadTaskRequest {
1142
+ /**
1143
+ * <p>The ID of the batch load task to resume.</p>
1144
+ */
1145
+ TaskId: string | undefined;
1146
+ }
1147
+ export interface ResumeBatchLoadTaskResponse {
1148
+ }
716
1149
  export interface TagResourceRequest {
717
1150
  /**
718
- * <p>
719
- * Identifies the Timestream resource to which tags should be added. This value is an
720
- * Amazon Resource Name (ARN).
721
- * </p>
1151
+ * <p> Identifies the Timestream resource to which tags should be added. This value
1152
+ * is an Amazon Resource Name (ARN). </p>
722
1153
  */
723
1154
  ResourceARN: string | undefined;
724
1155
  /**
725
- * <p>
726
- * The tags to be assigned to the Timestream resource.
727
- * </p>
1156
+ * <p> The tags to be assigned to the Timestream resource. </p>
728
1157
  */
729
1158
  Tags: Tag[] | undefined;
730
1159
  }
@@ -732,17 +1161,13 @@ export interface TagResourceResponse {
732
1161
  }
733
1162
  export interface UntagResourceRequest {
734
1163
  /**
735
- * <p>
736
- * The Timestream resource that the tags will be removed from. This value
737
- * is an Amazon Resource Name (ARN).
738
- * </p>
1164
+ * <p> The Timestream resource that the tags will be removed from. This value is an
1165
+ * Amazon Resource Name (ARN). </p>
739
1166
  */
740
1167
  ResourceARN: string | undefined;
741
1168
  /**
742
- * <p>
743
- * A list of tags keys. Existing tags of the resource whose keys are members of this
744
- * list will be removed from the Timestream resource.
745
- * </p>
1169
+ * <p> A list of tags keys. Existing tags of the resource whose keys are members of this list
1170
+ * will be removed from the Timestream resource. </p>
746
1171
  */
747
1172
  TagKeys: string[] | undefined;
748
1173
  }
@@ -750,17 +1175,14 @@ export interface UntagResourceResponse {
750
1175
  }
751
1176
  export interface UpdateDatabaseRequest {
752
1177
  /**
753
- * <p>
754
- * The name of the database.
755
- * </p>
1178
+ * <p> The name of the database. </p>
756
1179
  */
757
1180
  DatabaseName: string | undefined;
758
1181
  /**
759
- * <p>
760
- * The identifier of the new KMS key (<code>KmsKeyId</code>) to be used to encrypt the data stored in the database.
761
- * If the <code>KmsKeyId</code> currently registered with the database is the same as the <code>KmsKeyId</code> in the
762
- * request, there will not be any update.
763
- * </p>
1182
+ * <p> The identifier of the new KMS key (<code>KmsKeyId</code>) to be used to
1183
+ * encrypt the data stored in the database. If the <code>KmsKeyId</code> currently registered
1184
+ * with the database is the same as the <code>KmsKeyId</code> in the request, there will not
1185
+ * be any update. </p>
764
1186
  * <p>You can specify the <code>KmsKeyId</code> using any of the following:</p>
765
1187
  * <ul>
766
1188
  * <li>
@@ -768,7 +1190,8 @@ export interface UpdateDatabaseRequest {
768
1190
  * </p>
769
1191
  * </li>
770
1192
  * <li>
771
- * <p>Key ARN: <code>arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
1193
+ * <p>Key ARN:
1194
+ * <code>arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
772
1195
  * </p>
773
1196
  * </li>
774
1197
  * <li>
@@ -776,7 +1199,8 @@ export interface UpdateDatabaseRequest {
776
1199
  * </p>
777
1200
  * </li>
778
1201
  * <li>
779
- * <p>Alias ARN: <code>arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias</code>
1202
+ * <p>Alias ARN:
1203
+ * <code>arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias</code>
780
1204
  * </p>
781
1205
  * </li>
782
1206
  * </ul>
@@ -785,9 +1209,9 @@ export interface UpdateDatabaseRequest {
785
1209
  }
786
1210
  export interface UpdateDatabaseResponse {
787
1211
  /**
788
- * <p>A top level container for a table. Databases and tables are the
789
- * fundamental management concepts in Amazon Timestream. All tables in a
790
- * database are encrypted with the same KMS key.</p>
1212
+ * <p>A top-level container for a table. Databases and tables are the fundamental management
1213
+ * concepts in Amazon Timestream. All tables in a database are encrypted with the
1214
+ * same KMS key.</p>
791
1215
  */
792
1216
  Database?: Database;
793
1217
  }
@@ -825,21 +1249,17 @@ export interface WriteRecordsRequest {
825
1249
  */
826
1250
  TableName: string | undefined;
827
1251
  /**
828
- * <p>A record containing the common measure, dimension, time,
829
- * and version attributes
830
- * shared across all the records in the request. The measure and dimension
831
- * attributes specified will be merged with the measure and dimension
832
- * attributes in the records object when the data is written into Timestream.
833
- * Dimensions may not overlap,
834
- * or a <code>ValidationException</code> will be thrown.
835
- * In other words, a record must contain dimensions with unique names.
836
- * </p>
1252
+ * <p>A record that contains the common measure, dimension, time, and version attributes
1253
+ * shared across all the records in the request. The measure and dimension attributes
1254
+ * specified will be merged with the measure and dimension attributes in the records object
1255
+ * when the data is written into Timestream. Dimensions may not overlap, or a
1256
+ * <code>ValidationException</code> will be thrown. In other words, a record must contain
1257
+ * dimensions with unique names. </p>
837
1258
  */
838
1259
  CommonAttributes?: _Record;
839
1260
  /**
840
- * <p>An array of records containing the unique measure, dimension, time, and version
841
- * attributes for each time series data point.
842
- * </p>
1261
+ * <p>An array of records that contain the unique measure, dimension, time, and version
1262
+ * attributes for each time-series data point. </p>
843
1263
  */
844
1264
  Records: _Record[] | undefined;
845
1265
  }
@@ -849,6 +1269,74 @@ export interface WriteRecordsResponse {
849
1269
  */
850
1270
  RecordsIngested?: RecordsIngested;
851
1271
  }
1272
+ /**
1273
+ * @internal
1274
+ */
1275
+ export declare const BatchLoadProgressReportFilterSensitiveLog: (obj: BatchLoadProgressReport) => any;
1276
+ /**
1277
+ * @internal
1278
+ */
1279
+ export declare const BatchLoadTaskFilterSensitiveLog: (obj: BatchLoadTask) => any;
1280
+ /**
1281
+ * @internal
1282
+ */
1283
+ export declare const DimensionMappingFilterSensitiveLog: (obj: DimensionMapping) => any;
1284
+ /**
1285
+ * @internal
1286
+ */
1287
+ export declare const MultiMeasureAttributeMappingFilterSensitiveLog: (obj: MultiMeasureAttributeMapping) => any;
1288
+ /**
1289
+ * @internal
1290
+ */
1291
+ export declare const MixedMeasureMappingFilterSensitiveLog: (obj: MixedMeasureMapping) => any;
1292
+ /**
1293
+ * @internal
1294
+ */
1295
+ export declare const MultiMeasureMappingsFilterSensitiveLog: (obj: MultiMeasureMappings) => any;
1296
+ /**
1297
+ * @internal
1298
+ */
1299
+ export declare const DataModelFilterSensitiveLog: (obj: DataModel) => any;
1300
+ /**
1301
+ * @internal
1302
+ */
1303
+ export declare const DataModelS3ConfigurationFilterSensitiveLog: (obj: DataModelS3Configuration) => any;
1304
+ /**
1305
+ * @internal
1306
+ */
1307
+ export declare const DataModelConfigurationFilterSensitiveLog: (obj: DataModelConfiguration) => any;
1308
+ /**
1309
+ * @internal
1310
+ */
1311
+ export declare const CsvConfigurationFilterSensitiveLog: (obj: CsvConfiguration) => any;
1312
+ /**
1313
+ * @internal
1314
+ */
1315
+ export declare const DataSourceS3ConfigurationFilterSensitiveLog: (obj: DataSourceS3Configuration) => any;
1316
+ /**
1317
+ * @internal
1318
+ */
1319
+ export declare const DataSourceConfigurationFilterSensitiveLog: (obj: DataSourceConfiguration) => any;
1320
+ /**
1321
+ * @internal
1322
+ */
1323
+ export declare const ReportS3ConfigurationFilterSensitiveLog: (obj: ReportS3Configuration) => any;
1324
+ /**
1325
+ * @internal
1326
+ */
1327
+ export declare const ReportConfigurationFilterSensitiveLog: (obj: ReportConfiguration) => any;
1328
+ /**
1329
+ * @internal
1330
+ */
1331
+ export declare const BatchLoadTaskDescriptionFilterSensitiveLog: (obj: BatchLoadTaskDescription) => any;
1332
+ /**
1333
+ * @internal
1334
+ */
1335
+ export declare const CreateBatchLoadTaskRequestFilterSensitiveLog: (obj: CreateBatchLoadTaskRequest) => any;
1336
+ /**
1337
+ * @internal
1338
+ */
1339
+ export declare const CreateBatchLoadTaskResponseFilterSensitiveLog: (obj: CreateBatchLoadTaskResponse) => any;
852
1340
  /**
853
1341
  * @internal
854
1342
  */
@@ -901,6 +1389,14 @@ export declare const DeleteDatabaseRequestFilterSensitiveLog: (obj: DeleteDataba
901
1389
  * @internal
902
1390
  */
903
1391
  export declare const DeleteTableRequestFilterSensitiveLog: (obj: DeleteTableRequest) => any;
1392
+ /**
1393
+ * @internal
1394
+ */
1395
+ export declare const DescribeBatchLoadTaskRequestFilterSensitiveLog: (obj: DescribeBatchLoadTaskRequest) => any;
1396
+ /**
1397
+ * @internal
1398
+ */
1399
+ export declare const DescribeBatchLoadTaskResponseFilterSensitiveLog: (obj: DescribeBatchLoadTaskResponse) => any;
904
1400
  /**
905
1401
  * @internal
906
1402
  */
@@ -933,6 +1429,14 @@ export declare const DescribeTableResponseFilterSensitiveLog: (obj: DescribeTabl
933
1429
  * @internal
934
1430
  */
935
1431
  export declare const DimensionFilterSensitiveLog: (obj: Dimension) => any;
1432
+ /**
1433
+ * @internal
1434
+ */
1435
+ export declare const ListBatchLoadTasksRequestFilterSensitiveLog: (obj: ListBatchLoadTasksRequest) => any;
1436
+ /**
1437
+ * @internal
1438
+ */
1439
+ export declare const ListBatchLoadTasksResponseFilterSensitiveLog: (obj: ListBatchLoadTasksResponse) => any;
936
1440
  /**
937
1441
  * @internal
938
1442
  */
@@ -973,6 +1477,14 @@ export declare const RecordsIngestedFilterSensitiveLog: (obj: RecordsIngested) =
973
1477
  * @internal
974
1478
  */
975
1479
  export declare const RejectedRecordFilterSensitiveLog: (obj: RejectedRecord) => any;
1480
+ /**
1481
+ * @internal
1482
+ */
1483
+ export declare const ResumeBatchLoadTaskRequestFilterSensitiveLog: (obj: ResumeBatchLoadTaskRequest) => any;
1484
+ /**
1485
+ * @internal
1486
+ */
1487
+ export declare const ResumeBatchLoadTaskResponseFilterSensitiveLog: (obj: ResumeBatchLoadTaskResponse) => any;
976
1488
  /**
977
1489
  * @internal
978
1490
  */