@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
@@ -8,31 +8,152 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare class ConflictException extends __BaseException {
12
- readonly name: "ConflictException";
13
- readonly $fault: "client";
14
- Message: string | undefined;
15
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
11
+ export declare enum BatchLoadDataFormat {
12
+ CSV = "CSV",
13
+ }
14
+ export interface BatchLoadProgressReport {
15
+ RecordsProcessed?: number;
16
+ RecordsIngested?: number;
17
+ ParseFailures?: number;
18
+ RecordIngestionFailures?: number;
19
+ FileFailures?: number;
20
+ BytesMetered?: number;
21
+ }
22
+ export declare enum BatchLoadStatus {
23
+ CREATED = "CREATED",
24
+ FAILED = "FAILED",
25
+ IN_PROGRESS = "IN_PROGRESS",
26
+ PENDING_RESUME = "PENDING_RESUME",
27
+ PROGRESS_STOPPED = "PROGRESS_STOPPED",
28
+ SUCCEEDED = "SUCCEEDED",
29
+ }
30
+ export interface BatchLoadTask {
31
+ TaskId?: string;
32
+ TaskStatus?: BatchLoadStatus | string;
33
+ DatabaseName?: string;
34
+ TableName?: string;
35
+ CreationTime?: Date;
36
+ LastUpdatedTime?: Date;
37
+ ResumableUntil?: Date;
16
38
  }
17
- export interface Tag {
18
- Key: string | undefined;
19
- Value: string | undefined;
39
+ export interface DimensionMapping {
40
+ SourceColumn?: string;
41
+ DestinationColumn?: string;
20
42
  }
21
- export interface CreateDatabaseRequest {
22
- DatabaseName: string | undefined;
23
- KmsKeyId?: string;
24
- Tags?: Tag[];
43
+ export declare enum MeasureValueType {
44
+ BIGINT = "BIGINT",
45
+ BOOLEAN = "BOOLEAN",
46
+ DOUBLE = "DOUBLE",
47
+ MULTI = "MULTI",
48
+ TIMESTAMP = "TIMESTAMP",
49
+ VARCHAR = "VARCHAR",
25
50
  }
26
- export interface Database {
27
- Arn?: string;
28
- DatabaseName?: string;
29
- TableCount?: number;
51
+ export declare enum ScalarMeasureValueType {
52
+ BIGINT = "BIGINT",
53
+ BOOLEAN = "BOOLEAN",
54
+ DOUBLE = "DOUBLE",
55
+ TIMESTAMP = "TIMESTAMP",
56
+ VARCHAR = "VARCHAR",
57
+ }
58
+ export interface MultiMeasureAttributeMapping {
59
+ SourceColumn: string | undefined;
60
+ TargetMultiMeasureAttributeName?: string;
61
+ MeasureValueType?: ScalarMeasureValueType | string;
62
+ }
63
+ export interface MixedMeasureMapping {
64
+ MeasureName?: string;
65
+ SourceColumn?: string;
66
+ TargetMeasureName?: string;
67
+ MeasureValueType: MeasureValueType | string | undefined;
68
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
69
+ }
70
+ export interface MultiMeasureMappings {
71
+ TargetMultiMeasureName?: string;
72
+ MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
73
+ }
74
+ export declare enum TimeUnit {
75
+ MICROSECONDS = "MICROSECONDS",
76
+ MILLISECONDS = "MILLISECONDS",
77
+ NANOSECONDS = "NANOSECONDS",
78
+ SECONDS = "SECONDS",
79
+ }
80
+ export interface DataModel {
81
+ TimeColumn?: string;
82
+ TimeUnit?: TimeUnit | string;
83
+ DimensionMappings: DimensionMapping[] | undefined;
84
+ MultiMeasureMappings?: MultiMeasureMappings;
85
+ MixedMeasureMappings?: MixedMeasureMapping[];
86
+ MeasureNameColumn?: string;
87
+ }
88
+ export interface DataModelS3Configuration {
89
+ BucketName?: string;
90
+ ObjectKey?: string;
91
+ }
92
+ export interface DataModelConfiguration {
93
+ DataModel?: DataModel;
94
+ DataModelS3Configuration?: DataModelS3Configuration;
95
+ }
96
+ export interface CsvConfiguration {
97
+ ColumnSeparator?: string;
98
+ EscapeChar?: string;
99
+ QuoteChar?: string;
100
+ NullValue?: string;
101
+ TrimWhiteSpace?: boolean;
102
+ }
103
+ export interface DataSourceS3Configuration {
104
+ BucketName: string | undefined;
105
+ ObjectKeyPrefix?: string;
106
+ }
107
+ export interface DataSourceConfiguration {
108
+ DataSourceS3Configuration: DataSourceS3Configuration | undefined;
109
+ CsvConfiguration?: CsvConfiguration;
110
+ DataFormat: BatchLoadDataFormat | string | undefined;
111
+ }
112
+ export declare enum S3EncryptionOption {
113
+ SSE_KMS = "SSE_KMS",
114
+ SSE_S3 = "SSE_S3",
115
+ }
116
+ export interface ReportS3Configuration {
117
+ BucketName: string | undefined;
118
+ ObjectKeyPrefix?: string;
119
+ EncryptionOption?: S3EncryptionOption | string;
30
120
  KmsKeyId?: string;
121
+ }
122
+ export interface ReportConfiguration {
123
+ ReportS3Configuration?: ReportS3Configuration;
124
+ }
125
+ export interface BatchLoadTaskDescription {
126
+ TaskId?: string;
127
+ ErrorMessage?: string;
128
+ DataSourceConfiguration?: DataSourceConfiguration;
129
+ ProgressReport?: BatchLoadProgressReport;
130
+ ReportConfiguration?: ReportConfiguration;
131
+ DataModelConfiguration?: DataModelConfiguration;
132
+ TargetDatabaseName?: string;
133
+ TargetTableName?: string;
134
+ TaskStatus?: BatchLoadStatus | string;
135
+ RecordVersion?: number;
31
136
  CreationTime?: Date;
32
137
  LastUpdatedTime?: Date;
138
+ ResumableUntil?: Date;
33
139
  }
34
- export interface CreateDatabaseResponse {
35
- Database?: Database;
140
+ export declare class ConflictException extends __BaseException {
141
+ readonly name: "ConflictException";
142
+ readonly $fault: "client";
143
+ Message: string | undefined;
144
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
145
+ }
146
+ export interface CreateBatchLoadTaskRequest {
147
+ ClientToken?: string;
148
+ DataModelConfiguration?: DataModelConfiguration;
149
+ DataSourceConfiguration: DataSourceConfiguration | undefined;
150
+ ReportConfiguration: ReportConfiguration | undefined;
151
+ TargetDatabaseName: string | undefined;
152
+ TargetTableName: string | undefined;
153
+ RecordVersion?: number;
154
+ }
155
+ export interface CreateBatchLoadTaskResponse {
156
+ TaskId: string | undefined;
36
157
  }
37
158
  export declare class InternalServerException extends __BaseException {
38
159
  readonly name: "InternalServerException";
@@ -50,6 +171,14 @@ export declare class InvalidEndpointException extends __BaseException {
50
171
  opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
51
172
  );
52
173
  }
174
+ export declare class ResourceNotFoundException extends __BaseException {
175
+ readonly name: "ResourceNotFoundException";
176
+ readonly $fault: "client";
177
+ Message?: string;
178
+ constructor(
179
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
180
+ );
181
+ }
53
182
  export declare class ServiceQuotaExceededException extends __BaseException {
54
183
  readonly name: "ServiceQuotaExceededException";
55
184
  readonly $fault: "client";
@@ -74,9 +203,25 @@ export declare class ValidationException extends __BaseException {
74
203
  opts: __ExceptionOptionType<ValidationException, __BaseException>
75
204
  );
76
205
  }
77
- export declare enum S3EncryptionOption {
78
- SSE_KMS = "SSE_KMS",
79
- SSE_S3 = "SSE_S3",
206
+ export interface Tag {
207
+ Key: string | undefined;
208
+ Value: string | undefined;
209
+ }
210
+ export interface CreateDatabaseRequest {
211
+ DatabaseName: string | undefined;
212
+ KmsKeyId?: string;
213
+ Tags?: Tag[];
214
+ }
215
+ export interface Database {
216
+ Arn?: string;
217
+ DatabaseName?: string;
218
+ TableCount?: number;
219
+ KmsKeyId?: string;
220
+ CreationTime?: Date;
221
+ LastUpdatedTime?: Date;
222
+ }
223
+ export interface CreateDatabaseResponse {
224
+ Database?: Database;
80
225
  }
81
226
  export interface S3Configuration {
82
227
  BucketName?: string;
@@ -105,6 +250,7 @@ export interface CreateTableRequest {
105
250
  export declare enum TableStatus {
106
251
  ACTIVE = "ACTIVE",
107
252
  DELETING = "DELETING",
253
+ RESTORING = "RESTORING",
108
254
  }
109
255
  export interface Table {
110
256
  Arn?: string;
@@ -119,14 +265,6 @@ export interface Table {
119
265
  export interface CreateTableResponse {
120
266
  Table?: Table;
121
267
  }
122
- export declare class ResourceNotFoundException extends __BaseException {
123
- readonly name: "ResourceNotFoundException";
124
- readonly $fault: "client";
125
- Message?: string;
126
- constructor(
127
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
128
- );
129
- }
130
268
  export interface DeleteDatabaseRequest {
131
269
  DatabaseName: string | undefined;
132
270
  }
@@ -134,6 +272,12 @@ export interface DeleteTableRequest {
134
272
  DatabaseName: string | undefined;
135
273
  TableName: string | undefined;
136
274
  }
275
+ export interface DescribeBatchLoadTaskRequest {
276
+ TaskId: string | undefined;
277
+ }
278
+ export interface DescribeBatchLoadTaskResponse {
279
+ BatchLoadTaskDescription: BatchLoadTaskDescription | undefined;
280
+ }
137
281
  export interface DescribeDatabaseRequest {
138
282
  DatabaseName: string | undefined;
139
283
  }
@@ -163,6 +307,15 @@ export interface Dimension {
163
307
  Value: string | undefined;
164
308
  DimensionValueType?: DimensionValueType | string;
165
309
  }
310
+ export interface ListBatchLoadTasksRequest {
311
+ NextToken?: string;
312
+ MaxResults?: number;
313
+ TaskStatus?: BatchLoadStatus | string;
314
+ }
315
+ export interface ListBatchLoadTasksResponse {
316
+ NextToken?: string;
317
+ BatchLoadTasks?: BatchLoadTask[];
318
+ }
166
319
  export interface ListDatabasesRequest {
167
320
  NextToken?: string;
168
321
  MaxResults?: number;
@@ -186,25 +339,11 @@ export interface ListTagsForResourceRequest {
186
339
  export interface ListTagsForResourceResponse {
187
340
  Tags?: Tag[];
188
341
  }
189
- export declare enum MeasureValueType {
190
- BIGINT = "BIGINT",
191
- BOOLEAN = "BOOLEAN",
192
- DOUBLE = "DOUBLE",
193
- MULTI = "MULTI",
194
- TIMESTAMP = "TIMESTAMP",
195
- VARCHAR = "VARCHAR",
196
- }
197
342
  export interface MeasureValue {
198
343
  Name: string | undefined;
199
344
  Value: string | undefined;
200
345
  Type: MeasureValueType | string | undefined;
201
346
  }
202
- export declare enum TimeUnit {
203
- MICROSECONDS = "MICROSECONDS",
204
- MILLISECONDS = "MILLISECONDS",
205
- NANOSECONDS = "NANOSECONDS",
206
- SECONDS = "SECONDS",
207
- }
208
347
  export interface _Record {
209
348
  Dimensions?: Dimension[];
210
349
  MeasureName?: string;
@@ -234,6 +373,10 @@ export declare class RejectedRecordsException extends __BaseException {
234
373
  opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>
235
374
  );
236
375
  }
376
+ export interface ResumeBatchLoadTaskRequest {
377
+ TaskId: string | undefined;
378
+ }
379
+ export interface ResumeBatchLoadTaskResponse {}
237
380
  export interface TagResourceRequest {
238
381
  ResourceARN: string | undefined;
239
382
  Tags: Tag[] | undefined;
@@ -269,6 +412,55 @@ export interface WriteRecordsRequest {
269
412
  export interface WriteRecordsResponse {
270
413
  RecordsIngested?: RecordsIngested;
271
414
  }
415
+ export declare const BatchLoadProgressReportFilterSensitiveLog: (
416
+ obj: BatchLoadProgressReport
417
+ ) => any;
418
+ export declare const BatchLoadTaskFilterSensitiveLog: (
419
+ obj: BatchLoadTask
420
+ ) => any;
421
+ export declare const DimensionMappingFilterSensitiveLog: (
422
+ obj: DimensionMapping
423
+ ) => any;
424
+ export declare const MultiMeasureAttributeMappingFilterSensitiveLog: (
425
+ obj: MultiMeasureAttributeMapping
426
+ ) => any;
427
+ export declare const MixedMeasureMappingFilterSensitiveLog: (
428
+ obj: MixedMeasureMapping
429
+ ) => any;
430
+ export declare const MultiMeasureMappingsFilterSensitiveLog: (
431
+ obj: MultiMeasureMappings
432
+ ) => any;
433
+ export declare const DataModelFilterSensitiveLog: (obj: DataModel) => any;
434
+ export declare const DataModelS3ConfigurationFilterSensitiveLog: (
435
+ obj: DataModelS3Configuration
436
+ ) => any;
437
+ export declare const DataModelConfigurationFilterSensitiveLog: (
438
+ obj: DataModelConfiguration
439
+ ) => any;
440
+ export declare const CsvConfigurationFilterSensitiveLog: (
441
+ obj: CsvConfiguration
442
+ ) => any;
443
+ export declare const DataSourceS3ConfigurationFilterSensitiveLog: (
444
+ obj: DataSourceS3Configuration
445
+ ) => any;
446
+ export declare const DataSourceConfigurationFilterSensitiveLog: (
447
+ obj: DataSourceConfiguration
448
+ ) => any;
449
+ export declare const ReportS3ConfigurationFilterSensitiveLog: (
450
+ obj: ReportS3Configuration
451
+ ) => any;
452
+ export declare const ReportConfigurationFilterSensitiveLog: (
453
+ obj: ReportConfiguration
454
+ ) => any;
455
+ export declare const BatchLoadTaskDescriptionFilterSensitiveLog: (
456
+ obj: BatchLoadTaskDescription
457
+ ) => any;
458
+ export declare const CreateBatchLoadTaskRequestFilterSensitiveLog: (
459
+ obj: CreateBatchLoadTaskRequest
460
+ ) => any;
461
+ export declare const CreateBatchLoadTaskResponseFilterSensitiveLog: (
462
+ obj: CreateBatchLoadTaskResponse
463
+ ) => any;
272
464
  export declare const TagFilterSensitiveLog: (obj: Tag) => any;
273
465
  export declare const CreateDatabaseRequestFilterSensitiveLog: (
274
466
  obj: CreateDatabaseRequest
@@ -302,6 +494,12 @@ export declare const DeleteDatabaseRequestFilterSensitiveLog: (
302
494
  export declare const DeleteTableRequestFilterSensitiveLog: (
303
495
  obj: DeleteTableRequest
304
496
  ) => any;
497
+ export declare const DescribeBatchLoadTaskRequestFilterSensitiveLog: (
498
+ obj: DescribeBatchLoadTaskRequest
499
+ ) => any;
500
+ export declare const DescribeBatchLoadTaskResponseFilterSensitiveLog: (
501
+ obj: DescribeBatchLoadTaskResponse
502
+ ) => any;
305
503
  export declare const DescribeDatabaseRequestFilterSensitiveLog: (
306
504
  obj: DescribeDatabaseRequest
307
505
  ) => any;
@@ -322,6 +520,12 @@ export declare const DescribeTableResponseFilterSensitiveLog: (
322
520
  obj: DescribeTableResponse
323
521
  ) => any;
324
522
  export declare const DimensionFilterSensitiveLog: (obj: Dimension) => any;
523
+ export declare const ListBatchLoadTasksRequestFilterSensitiveLog: (
524
+ obj: ListBatchLoadTasksRequest
525
+ ) => any;
526
+ export declare const ListBatchLoadTasksResponseFilterSensitiveLog: (
527
+ obj: ListBatchLoadTasksResponse
528
+ ) => any;
325
529
  export declare const ListDatabasesRequestFilterSensitiveLog: (
326
530
  obj: ListDatabasesRequest
327
531
  ) => any;
@@ -348,6 +552,12 @@ export declare const RecordsIngestedFilterSensitiveLog: (
348
552
  export declare const RejectedRecordFilterSensitiveLog: (
349
553
  obj: RejectedRecord
350
554
  ) => any;
555
+ export declare const ResumeBatchLoadTaskRequestFilterSensitiveLog: (
556
+ obj: ResumeBatchLoadTaskRequest
557
+ ) => any;
558
+ export declare const ResumeBatchLoadTaskResponseFilterSensitiveLog: (
559
+ obj: ResumeBatchLoadTaskResponse
560
+ ) => any;
351
561
  export declare const TagResourceRequestFilterSensitiveLog: (
352
562
  obj: TagResourceRequest
353
563
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListBatchLoadTasksCommandInput,
4
+ ListBatchLoadTasksCommandOutput,
5
+ } from "../commands/ListBatchLoadTasksCommand";
6
+ import { TimestreamWritePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListBatchLoadTasks(
8
+ config: TimestreamWritePaginationConfiguration,
9
+ input: ListBatchLoadTasksCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListBatchLoadTasksCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListBatchLoadTasksPaginator";
2
3
  export * from "./ListDatabasesPaginator";
3
4
  export * from "./ListTablesPaginator";
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@aws-sdk/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ CreateBatchLoadTaskCommandInput,
8
+ CreateBatchLoadTaskCommandOutput,
9
+ } from "../commands/CreateBatchLoadTaskCommand";
6
10
  import {
7
11
  CreateDatabaseCommandInput,
8
12
  CreateDatabaseCommandOutput,
@@ -19,6 +23,10 @@ import {
19
23
  DeleteTableCommandInput,
20
24
  DeleteTableCommandOutput,
21
25
  } from "../commands/DeleteTableCommand";
26
+ import {
27
+ DescribeBatchLoadTaskCommandInput,
28
+ DescribeBatchLoadTaskCommandOutput,
29
+ } from "../commands/DescribeBatchLoadTaskCommand";
22
30
  import {
23
31
  DescribeDatabaseCommandInput,
24
32
  DescribeDatabaseCommandOutput,
@@ -31,6 +39,10 @@ import {
31
39
  DescribeTableCommandInput,
32
40
  DescribeTableCommandOutput,
33
41
  } from "../commands/DescribeTableCommand";
42
+ import {
43
+ ListBatchLoadTasksCommandInput,
44
+ ListBatchLoadTasksCommandOutput,
45
+ } from "../commands/ListBatchLoadTasksCommand";
34
46
  import {
35
47
  ListDatabasesCommandInput,
36
48
  ListDatabasesCommandOutput,
@@ -43,6 +55,10 @@ import {
43
55
  ListTagsForResourceCommandInput,
44
56
  ListTagsForResourceCommandOutput,
45
57
  } from "../commands/ListTagsForResourceCommand";
58
+ import {
59
+ ResumeBatchLoadTaskCommandInput,
60
+ ResumeBatchLoadTaskCommandOutput,
61
+ } from "../commands/ResumeBatchLoadTaskCommand";
46
62
  import {
47
63
  TagResourceCommandInput,
48
64
  TagResourceCommandOutput,
@@ -63,6 +79,10 @@ import {
63
79
  WriteRecordsCommandInput,
64
80
  WriteRecordsCommandOutput,
65
81
  } from "../commands/WriteRecordsCommand";
82
+ export declare const serializeAws_json1_0CreateBatchLoadTaskCommand: (
83
+ input: CreateBatchLoadTaskCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
66
86
  export declare const serializeAws_json1_0CreateDatabaseCommand: (
67
87
  input: CreateDatabaseCommandInput,
68
88
  context: __SerdeContext
@@ -79,6 +99,10 @@ export declare const serializeAws_json1_0DeleteTableCommand: (
79
99
  input: DeleteTableCommandInput,
80
100
  context: __SerdeContext
81
101
  ) => Promise<__HttpRequest>;
102
+ export declare const serializeAws_json1_0DescribeBatchLoadTaskCommand: (
103
+ input: DescribeBatchLoadTaskCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
82
106
  export declare const serializeAws_json1_0DescribeDatabaseCommand: (
83
107
  input: DescribeDatabaseCommandInput,
84
108
  context: __SerdeContext
@@ -91,6 +115,10 @@ export declare const serializeAws_json1_0DescribeTableCommand: (
91
115
  input: DescribeTableCommandInput,
92
116
  context: __SerdeContext
93
117
  ) => Promise<__HttpRequest>;
118
+ export declare const serializeAws_json1_0ListBatchLoadTasksCommand: (
119
+ input: ListBatchLoadTasksCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
94
122
  export declare const serializeAws_json1_0ListDatabasesCommand: (
95
123
  input: ListDatabasesCommandInput,
96
124
  context: __SerdeContext
@@ -103,6 +131,10 @@ export declare const serializeAws_json1_0ListTagsForResourceCommand: (
103
131
  input: ListTagsForResourceCommandInput,
104
132
  context: __SerdeContext
105
133
  ) => Promise<__HttpRequest>;
134
+ export declare const serializeAws_json1_0ResumeBatchLoadTaskCommand: (
135
+ input: ResumeBatchLoadTaskCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
106
138
  export declare const serializeAws_json1_0TagResourceCommand: (
107
139
  input: TagResourceCommandInput,
108
140
  context: __SerdeContext
@@ -123,6 +155,10 @@ export declare const serializeAws_json1_0WriteRecordsCommand: (
123
155
  input: WriteRecordsCommandInput,
124
156
  context: __SerdeContext
125
157
  ) => Promise<__HttpRequest>;
158
+ export declare const deserializeAws_json1_0CreateBatchLoadTaskCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<CreateBatchLoadTaskCommandOutput>;
126
162
  export declare const deserializeAws_json1_0CreateDatabaseCommand: (
127
163
  output: __HttpResponse,
128
164
  context: __SerdeContext
@@ -139,6 +175,10 @@ export declare const deserializeAws_json1_0DeleteTableCommand: (
139
175
  output: __HttpResponse,
140
176
  context: __SerdeContext
141
177
  ) => Promise<DeleteTableCommandOutput>;
178
+ export declare const deserializeAws_json1_0DescribeBatchLoadTaskCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<DescribeBatchLoadTaskCommandOutput>;
142
182
  export declare const deserializeAws_json1_0DescribeDatabaseCommand: (
143
183
  output: __HttpResponse,
144
184
  context: __SerdeContext
@@ -151,6 +191,10 @@ export declare const deserializeAws_json1_0DescribeTableCommand: (
151
191
  output: __HttpResponse,
152
192
  context: __SerdeContext
153
193
  ) => Promise<DescribeTableCommandOutput>;
194
+ export declare const deserializeAws_json1_0ListBatchLoadTasksCommand: (
195
+ output: __HttpResponse,
196
+ context: __SerdeContext
197
+ ) => Promise<ListBatchLoadTasksCommandOutput>;
154
198
  export declare const deserializeAws_json1_0ListDatabasesCommand: (
155
199
  output: __HttpResponse,
156
200
  context: __SerdeContext
@@ -163,6 +207,10 @@ export declare const deserializeAws_json1_0ListTagsForResourceCommand: (
163
207
  output: __HttpResponse,
164
208
  context: __SerdeContext
165
209
  ) => Promise<ListTagsForResourceCommandOutput>;
210
+ export declare const deserializeAws_json1_0ResumeBatchLoadTaskCommand: (
211
+ output: __HttpResponse,
212
+ context: __SerdeContext
213
+ ) => Promise<ResumeBatchLoadTaskCommandOutput>;
166
214
  export declare const deserializeAws_json1_0TagResourceCommand: (
167
215
  output: __HttpResponse,
168
216
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-write",
3
3
  "description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
4
- "version": "3.278.0",
4
+ "version": "3.280.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.278.0",
23
+ "@aws-sdk/client-sts": "3.279.0",
24
24
  "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.278.0",
25
+ "@aws-sdk/credential-provider-node": "3.279.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.272.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
@@ -40,25 +40,27 @@
40
40
  "@aws-sdk/node-config-provider": "3.272.0",
41
41
  "@aws-sdk/node-http-handler": "3.272.0",
42
42
  "@aws-sdk/protocol-http": "3.272.0",
43
- "@aws-sdk/smithy-client": "3.272.0",
43
+ "@aws-sdk/smithy-client": "3.279.0",
44
44
  "@aws-sdk/types": "3.272.0",
45
45
  "@aws-sdk/url-parser": "3.272.0",
46
46
  "@aws-sdk/util-base64": "3.208.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.272.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.272.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.279.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.279.0",
51
51
  "@aws-sdk/util-endpoints": "3.272.0",
52
52
  "@aws-sdk/util-retry": "3.272.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.272.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.272.0",
55
55
  "@aws-sdk/util-utf8": "3.254.0",
56
- "tslib": "^2.3.1"
56
+ "tslib": "^2.3.1",
57
+ "uuid": "^8.3.2"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@aws-sdk/service-client-documentation-generator": "3.208.0",
60
61
  "@tsconfig/node14": "1.0.3",
61
62
  "@types/node": "^14.14.31",
63
+ "@types/uuid": "^8.3.0",
62
64
  "concurrently": "7.0.0",
63
65
  "downlevel-dts": "0.10.1",
64
66
  "rimraf": "3.0.2",