@aws-sdk/client-timestream-write 3.686.0 → 3.691.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.
@@ -14,12 +14,12 @@ export declare const BatchLoadDataFormat: {
14
14
  export type BatchLoadDataFormat =
15
15
  (typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
16
16
  export interface BatchLoadProgressReport {
17
- RecordsProcessed?: number;
18
- RecordsIngested?: number;
19
- ParseFailures?: number;
20
- RecordIngestionFailures?: number;
21
- FileFailures?: number;
22
- BytesMetered?: number;
17
+ RecordsProcessed?: number | undefined;
18
+ RecordsIngested?: number | undefined;
19
+ ParseFailures?: number | undefined;
20
+ RecordIngestionFailures?: number | undefined;
21
+ FileFailures?: number | undefined;
22
+ BytesMetered?: number | undefined;
23
23
  }
24
24
  export declare const BatchLoadStatus: {
25
25
  readonly CREATED: "CREATED";
@@ -32,17 +32,17 @@ export declare const BatchLoadStatus: {
32
32
  export type BatchLoadStatus =
33
33
  (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
34
34
  export interface BatchLoadTask {
35
- TaskId?: string;
36
- TaskStatus?: BatchLoadStatus;
37
- DatabaseName?: string;
38
- TableName?: string;
39
- CreationTime?: Date;
40
- LastUpdatedTime?: Date;
41
- ResumableUntil?: Date;
35
+ TaskId?: string | undefined;
36
+ TaskStatus?: BatchLoadStatus | undefined;
37
+ DatabaseName?: string | undefined;
38
+ TableName?: string | undefined;
39
+ CreationTime?: Date | undefined;
40
+ LastUpdatedTime?: Date | undefined;
41
+ ResumableUntil?: Date | undefined;
42
42
  }
43
43
  export interface DimensionMapping {
44
- SourceColumn?: string;
45
- DestinationColumn?: string;
44
+ SourceColumn?: string | undefined;
45
+ DestinationColumn?: string | undefined;
46
46
  }
47
47
  export declare const MeasureValueType: {
48
48
  readonly BIGINT: "BIGINT";
@@ -65,18 +65,18 @@ export type ScalarMeasureValueType =
65
65
  (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
66
66
  export interface MultiMeasureAttributeMapping {
67
67
  SourceColumn: string | undefined;
68
- TargetMultiMeasureAttributeName?: string;
69
- MeasureValueType?: ScalarMeasureValueType;
68
+ TargetMultiMeasureAttributeName?: string | undefined;
69
+ MeasureValueType?: ScalarMeasureValueType | undefined;
70
70
  }
71
71
  export interface MixedMeasureMapping {
72
- MeasureName?: string;
73
- SourceColumn?: string;
74
- TargetMeasureName?: string;
72
+ MeasureName?: string | undefined;
73
+ SourceColumn?: string | undefined;
74
+ TargetMeasureName?: string | undefined;
75
75
  MeasureValueType: MeasureValueType | undefined;
76
- MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
76
+ MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[] | undefined;
77
77
  }
78
78
  export interface MultiMeasureMappings {
79
- TargetMultiMeasureName?: string;
79
+ TargetMultiMeasureName?: string | undefined;
80
80
  MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
81
81
  }
82
82
  export declare const TimeUnit: {
@@ -87,35 +87,35 @@ export declare const TimeUnit: {
87
87
  };
88
88
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
89
89
  export interface DataModel {
90
- TimeColumn?: string;
91
- TimeUnit?: TimeUnit;
90
+ TimeColumn?: string | undefined;
91
+ TimeUnit?: TimeUnit | undefined;
92
92
  DimensionMappings: DimensionMapping[] | undefined;
93
- MultiMeasureMappings?: MultiMeasureMappings;
94
- MixedMeasureMappings?: MixedMeasureMapping[];
95
- MeasureNameColumn?: string;
93
+ MultiMeasureMappings?: MultiMeasureMappings | undefined;
94
+ MixedMeasureMappings?: MixedMeasureMapping[] | undefined;
95
+ MeasureNameColumn?: string | undefined;
96
96
  }
97
97
  export interface DataModelS3Configuration {
98
- BucketName?: string;
99
- ObjectKey?: string;
98
+ BucketName?: string | undefined;
99
+ ObjectKey?: string | undefined;
100
100
  }
101
101
  export interface DataModelConfiguration {
102
- DataModel?: DataModel;
103
- DataModelS3Configuration?: DataModelS3Configuration;
102
+ DataModel?: DataModel | undefined;
103
+ DataModelS3Configuration?: DataModelS3Configuration | undefined;
104
104
  }
105
105
  export interface CsvConfiguration {
106
- ColumnSeparator?: string;
107
- EscapeChar?: string;
108
- QuoteChar?: string;
109
- NullValue?: string;
110
- TrimWhiteSpace?: boolean;
106
+ ColumnSeparator?: string | undefined;
107
+ EscapeChar?: string | undefined;
108
+ QuoteChar?: string | undefined;
109
+ NullValue?: string | undefined;
110
+ TrimWhiteSpace?: boolean | undefined;
111
111
  }
112
112
  export interface DataSourceS3Configuration {
113
113
  BucketName: string | undefined;
114
- ObjectKeyPrefix?: string;
114
+ ObjectKeyPrefix?: string | undefined;
115
115
  }
116
116
  export interface DataSourceConfiguration {
117
117
  DataSourceS3Configuration: DataSourceS3Configuration | undefined;
118
- CsvConfiguration?: CsvConfiguration;
118
+ CsvConfiguration?: CsvConfiguration | undefined;
119
119
  DataFormat: BatchLoadDataFormat | undefined;
120
120
  }
121
121
  export declare const S3EncryptionOption: {
@@ -126,27 +126,27 @@ export type S3EncryptionOption =
126
126
  (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
127
127
  export interface ReportS3Configuration {
128
128
  BucketName: string | undefined;
129
- ObjectKeyPrefix?: string;
130
- EncryptionOption?: S3EncryptionOption;
131
- KmsKeyId?: string;
129
+ ObjectKeyPrefix?: string | undefined;
130
+ EncryptionOption?: S3EncryptionOption | undefined;
131
+ KmsKeyId?: string | undefined;
132
132
  }
133
133
  export interface ReportConfiguration {
134
- ReportS3Configuration?: ReportS3Configuration;
134
+ ReportS3Configuration?: ReportS3Configuration | undefined;
135
135
  }
136
136
  export interface BatchLoadTaskDescription {
137
- TaskId?: string;
138
- ErrorMessage?: string;
139
- DataSourceConfiguration?: DataSourceConfiguration;
140
- ProgressReport?: BatchLoadProgressReport;
141
- ReportConfiguration?: ReportConfiguration;
142
- DataModelConfiguration?: DataModelConfiguration;
143
- TargetDatabaseName?: string;
144
- TargetTableName?: string;
145
- TaskStatus?: BatchLoadStatus;
146
- RecordVersion?: number;
147
- CreationTime?: Date;
148
- LastUpdatedTime?: Date;
149
- ResumableUntil?: Date;
137
+ TaskId?: string | undefined;
138
+ ErrorMessage?: string | undefined;
139
+ DataSourceConfiguration?: DataSourceConfiguration | undefined;
140
+ ProgressReport?: BatchLoadProgressReport | undefined;
141
+ ReportConfiguration?: ReportConfiguration | undefined;
142
+ DataModelConfiguration?: DataModelConfiguration | undefined;
143
+ TargetDatabaseName?: string | undefined;
144
+ TargetTableName?: string | undefined;
145
+ TaskStatus?: BatchLoadStatus | undefined;
146
+ RecordVersion?: number | undefined;
147
+ CreationTime?: Date | undefined;
148
+ LastUpdatedTime?: Date | undefined;
149
+ ResumableUntil?: Date | undefined;
150
150
  }
151
151
  export declare class ConflictException extends __BaseException {
152
152
  readonly name: "ConflictException";
@@ -155,13 +155,13 @@ export declare class ConflictException extends __BaseException {
155
155
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
156
156
  }
157
157
  export interface CreateBatchLoadTaskRequest {
158
- ClientToken?: string;
159
- DataModelConfiguration?: DataModelConfiguration;
158
+ ClientToken?: string | undefined;
159
+ DataModelConfiguration?: DataModelConfiguration | undefined;
160
160
  DataSourceConfiguration: DataSourceConfiguration | undefined;
161
161
  ReportConfiguration: ReportConfiguration | undefined;
162
162
  TargetDatabaseName: string | undefined;
163
163
  TargetTableName: string | undefined;
164
- RecordVersion?: number;
164
+ RecordVersion?: number | undefined;
165
165
  }
166
166
  export interface CreateBatchLoadTaskResponse {
167
167
  TaskId: string | undefined;
@@ -177,7 +177,7 @@ export declare class InternalServerException extends __BaseException {
177
177
  export declare class InvalidEndpointException extends __BaseException {
178
178
  readonly name: "InvalidEndpointException";
179
179
  readonly $fault: "client";
180
- Message?: string;
180
+ Message?: string | undefined;
181
181
  constructor(
182
182
  opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
183
183
  );
@@ -185,7 +185,7 @@ export declare class InvalidEndpointException extends __BaseException {
185
185
  export declare class ResourceNotFoundException extends __BaseException {
186
186
  readonly name: "ResourceNotFoundException";
187
187
  readonly $fault: "client";
188
- Message?: string;
188
+ Message?: string | undefined;
189
189
  constructor(
190
190
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
191
191
  );
@@ -193,7 +193,7 @@ export declare class ResourceNotFoundException extends __BaseException {
193
193
  export declare class ServiceQuotaExceededException extends __BaseException {
194
194
  readonly name: "ServiceQuotaExceededException";
195
195
  readonly $fault: "client";
196
- Message?: string;
196
+ Message?: string | undefined;
197
197
  constructor(
198
198
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
199
199
  );
@@ -220,32 +220,34 @@ export interface Tag {
220
220
  }
221
221
  export interface CreateDatabaseRequest {
222
222
  DatabaseName: string | undefined;
223
- KmsKeyId?: string;
224
- Tags?: Tag[];
223
+ KmsKeyId?: string | undefined;
224
+ Tags?: Tag[] | undefined;
225
225
  }
226
226
  export interface Database {
227
- Arn?: string;
228
- DatabaseName?: string;
229
- TableCount?: number;
230
- KmsKeyId?: string;
231
- CreationTime?: Date;
232
- LastUpdatedTime?: Date;
227
+ Arn?: string | undefined;
228
+ DatabaseName?: string | undefined;
229
+ TableCount?: number | undefined;
230
+ KmsKeyId?: string | undefined;
231
+ CreationTime?: Date | undefined;
232
+ LastUpdatedTime?: Date | undefined;
233
233
  }
234
234
  export interface CreateDatabaseResponse {
235
- Database?: Database;
235
+ Database?: Database | undefined;
236
236
  }
237
237
  export interface S3Configuration {
238
- BucketName?: string;
239
- ObjectKeyPrefix?: string;
240
- EncryptionOption?: S3EncryptionOption;
241
- KmsKeyId?: string;
238
+ BucketName?: string | undefined;
239
+ ObjectKeyPrefix?: string | undefined;
240
+ EncryptionOption?: S3EncryptionOption | undefined;
241
+ KmsKeyId?: string | undefined;
242
242
  }
243
243
  export interface MagneticStoreRejectedDataLocation {
244
- S3Configuration?: S3Configuration;
244
+ S3Configuration?: S3Configuration | undefined;
245
245
  }
246
246
  export interface MagneticStoreWriteProperties {
247
247
  EnableMagneticStoreWrites: boolean | undefined;
248
- MagneticStoreRejectedDataLocation?: MagneticStoreRejectedDataLocation;
248
+ MagneticStoreRejectedDataLocation?:
249
+ | MagneticStoreRejectedDataLocation
250
+ | undefined;
249
251
  }
250
252
  export interface RetentionProperties {
251
253
  MemoryStoreRetentionPeriodInHours: number | undefined;
@@ -265,19 +267,19 @@ export type PartitionKeyType =
265
267
  (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
266
268
  export interface PartitionKey {
267
269
  Type: PartitionKeyType | undefined;
268
- Name?: string;
269
- EnforcementInRecord?: PartitionKeyEnforcementLevel;
270
+ Name?: string | undefined;
271
+ EnforcementInRecord?: PartitionKeyEnforcementLevel | undefined;
270
272
  }
271
273
  export interface Schema {
272
- CompositePartitionKey?: PartitionKey[];
274
+ CompositePartitionKey?: PartitionKey[] | undefined;
273
275
  }
274
276
  export interface CreateTableRequest {
275
277
  DatabaseName: string | undefined;
276
278
  TableName: string | undefined;
277
- RetentionProperties?: RetentionProperties;
278
- Tags?: Tag[];
279
- MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
280
- Schema?: Schema;
279
+ RetentionProperties?: RetentionProperties | undefined;
280
+ Tags?: Tag[] | undefined;
281
+ MagneticStoreWriteProperties?: MagneticStoreWriteProperties | undefined;
282
+ Schema?: Schema | undefined;
281
283
  }
282
284
  export declare const TableStatus: {
283
285
  readonly ACTIVE: "ACTIVE";
@@ -286,18 +288,18 @@ export declare const TableStatus: {
286
288
  };
287
289
  export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
288
290
  export interface Table {
289
- Arn?: string;
290
- TableName?: string;
291
- DatabaseName?: string;
292
- TableStatus?: TableStatus;
293
- RetentionProperties?: RetentionProperties;
294
- CreationTime?: Date;
295
- LastUpdatedTime?: Date;
296
- MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
297
- Schema?: Schema;
291
+ Arn?: string | undefined;
292
+ TableName?: string | undefined;
293
+ DatabaseName?: string | undefined;
294
+ TableStatus?: TableStatus | undefined;
295
+ RetentionProperties?: RetentionProperties | undefined;
296
+ CreationTime?: Date | undefined;
297
+ LastUpdatedTime?: Date | undefined;
298
+ MagneticStoreWriteProperties?: MagneticStoreWriteProperties | undefined;
299
+ Schema?: Schema | undefined;
298
300
  }
299
301
  export interface CreateTableResponse {
300
- Table?: Table;
302
+ Table?: Table | undefined;
301
303
  }
302
304
  export interface DeleteDatabaseRequest {
303
305
  DatabaseName: string | undefined;
@@ -316,7 +318,7 @@ export interface DescribeDatabaseRequest {
316
318
  DatabaseName: string | undefined;
317
319
  }
318
320
  export interface DescribeDatabaseResponse {
319
- Database?: Database;
321
+ Database?: Database | undefined;
320
322
  }
321
323
  export interface DescribeEndpointsRequest {}
322
324
  export interface Endpoint {
@@ -331,7 +333,7 @@ export interface DescribeTableRequest {
331
333
  TableName: string | undefined;
332
334
  }
333
335
  export interface DescribeTableResponse {
334
- Table?: Table;
336
+ Table?: Table | undefined;
335
337
  }
336
338
  export declare const DimensionValueType: {
337
339
  readonly VARCHAR: "VARCHAR";
@@ -341,39 +343,39 @@ export type DimensionValueType =
341
343
  export interface Dimension {
342
344
  Name: string | undefined;
343
345
  Value: string | undefined;
344
- DimensionValueType?: DimensionValueType;
346
+ DimensionValueType?: DimensionValueType | undefined;
345
347
  }
346
348
  export interface ListBatchLoadTasksRequest {
347
- NextToken?: string;
348
- MaxResults?: number;
349
- TaskStatus?: BatchLoadStatus;
349
+ NextToken?: string | undefined;
350
+ MaxResults?: number | undefined;
351
+ TaskStatus?: BatchLoadStatus | undefined;
350
352
  }
351
353
  export interface ListBatchLoadTasksResponse {
352
- NextToken?: string;
353
- BatchLoadTasks?: BatchLoadTask[];
354
+ NextToken?: string | undefined;
355
+ BatchLoadTasks?: BatchLoadTask[] | undefined;
354
356
  }
355
357
  export interface ListDatabasesRequest {
356
- NextToken?: string;
357
- MaxResults?: number;
358
+ NextToken?: string | undefined;
359
+ MaxResults?: number | undefined;
358
360
  }
359
361
  export interface ListDatabasesResponse {
360
- Databases?: Database[];
361
- NextToken?: string;
362
+ Databases?: Database[] | undefined;
363
+ NextToken?: string | undefined;
362
364
  }
363
365
  export interface ListTablesRequest {
364
- DatabaseName?: string;
365
- NextToken?: string;
366
- MaxResults?: number;
366
+ DatabaseName?: string | undefined;
367
+ NextToken?: string | undefined;
368
+ MaxResults?: number | undefined;
367
369
  }
368
370
  export interface ListTablesResponse {
369
- Tables?: Table[];
370
- NextToken?: string;
371
+ Tables?: Table[] | undefined;
372
+ NextToken?: string | undefined;
371
373
  }
372
374
  export interface ListTagsForResourceRequest {
373
375
  ResourceARN: string | undefined;
374
376
  }
375
377
  export interface ListTagsForResourceResponse {
376
- Tags?: Tag[];
378
+ Tags?: Tag[] | undefined;
377
379
  }
378
380
  export interface MeasureValue {
379
381
  Name: string | undefined;
@@ -381,30 +383,30 @@ export interface MeasureValue {
381
383
  Type: MeasureValueType | undefined;
382
384
  }
383
385
  export interface _Record {
384
- Dimensions?: Dimension[];
385
- MeasureName?: string;
386
- MeasureValue?: string;
387
- MeasureValueType?: MeasureValueType;
388
- Time?: string;
389
- TimeUnit?: TimeUnit;
390
- Version?: number;
391
- MeasureValues?: MeasureValue[];
386
+ Dimensions?: Dimension[] | undefined;
387
+ MeasureName?: string | undefined;
388
+ MeasureValue?: string | undefined;
389
+ MeasureValueType?: MeasureValueType | undefined;
390
+ Time?: string | undefined;
391
+ TimeUnit?: TimeUnit | undefined;
392
+ Version?: number | undefined;
393
+ MeasureValues?: MeasureValue[] | undefined;
392
394
  }
393
395
  export interface RecordsIngested {
394
- Total?: number;
395
- MemoryStore?: number;
396
- MagneticStore?: number;
396
+ Total?: number | undefined;
397
+ MemoryStore?: number | undefined;
398
+ MagneticStore?: number | undefined;
397
399
  }
398
400
  export interface RejectedRecord {
399
- RecordIndex?: number;
400
- Reason?: string;
401
- ExistingVersion?: number;
401
+ RecordIndex?: number | undefined;
402
+ Reason?: string | undefined;
403
+ ExistingVersion?: number | undefined;
402
404
  }
403
405
  export declare class RejectedRecordsException extends __BaseException {
404
406
  readonly name: "RejectedRecordsException";
405
407
  readonly $fault: "client";
406
- Message?: string;
407
- RejectedRecords?: RejectedRecord[];
408
+ Message?: string | undefined;
409
+ RejectedRecords?: RejectedRecord[] | undefined;
408
410
  constructor(
409
411
  opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>
410
412
  );
@@ -428,26 +430,26 @@ export interface UpdateDatabaseRequest {
428
430
  KmsKeyId: string | undefined;
429
431
  }
430
432
  export interface UpdateDatabaseResponse {
431
- Database?: Database;
433
+ Database?: Database | undefined;
432
434
  }
433
435
  export interface UpdateTableRequest {
434
436
  DatabaseName: string | undefined;
435
437
  TableName: string | undefined;
436
- RetentionProperties?: RetentionProperties;
437
- MagneticStoreWriteProperties?: MagneticStoreWriteProperties;
438
- Schema?: Schema;
438
+ RetentionProperties?: RetentionProperties | undefined;
439
+ MagneticStoreWriteProperties?: MagneticStoreWriteProperties | undefined;
440
+ Schema?: Schema | undefined;
439
441
  }
440
442
  export interface UpdateTableResponse {
441
- Table?: Table;
443
+ Table?: Table | undefined;
442
444
  }
443
445
  export interface WriteRecordsRequest {
444
446
  DatabaseName: string | undefined;
445
447
  TableName: string | undefined;
446
- CommonAttributes?: _Record;
448
+ CommonAttributes?: _Record | undefined;
447
449
  Records: _Record[] | undefined;
448
450
  }
449
451
  export interface WriteRecordsResponse {
450
- RecordsIngested?: RecordsIngested;
452
+ RecordsIngested?: RecordsIngested | undefined;
451
453
  }
452
454
  export declare const CreateBatchLoadTaskRequestFilterSensitiveLog: (
453
455
  obj: CreateBatchLoadTaskRequest
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.686.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-timestream-write",
@@ -20,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-endpoint-discovery": "3.686.0",
28
28
  "@aws-sdk/middleware-host-header": "3.686.0",
29
29
  "@aws-sdk/middleware-logger": "3.686.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
31
- "@aws-sdk/middleware-user-agent": "3.686.0",
31
+ "@aws-sdk/middleware-user-agent": "3.691.0",
32
32
  "@aws-sdk/region-config-resolver": "3.686.0",
33
33
  "@aws-sdk/types": "3.686.0",
34
34
  "@aws-sdk/util-endpoints": "3.686.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.686.0",
36
- "@aws-sdk/util-user-agent-node": "3.686.0",
36
+ "@aws-sdk/util-user-agent-node": "3.691.0",
37
37
  "@smithy/config-resolver": "^3.0.10",
38
38
  "@smithy/core": "^2.5.1",
39
39
  "@smithy/fetch-http-handler": "^4.0.0",