@aws-sdk/client-timestream-write 3.428.0 → 3.430.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.
@@ -90,7 +90,7 @@ export interface BatchLoadTask {
90
90
  * @public
91
91
  * <p>Status of the batch load task.</p>
92
92
  */
93
- TaskStatus?: BatchLoadStatus | string;
93
+ TaskStatus?: BatchLoadStatus;
94
94
  /**
95
95
  * @public
96
96
  * <p>Database name for the database into which a batch load task loads data.</p>
@@ -185,7 +185,7 @@ export interface MultiMeasureAttributeMapping {
185
185
  * @public
186
186
  * <p></p>
187
187
  */
188
- MeasureValueType?: ScalarMeasureValueType | string;
188
+ MeasureValueType?: ScalarMeasureValueType;
189
189
  }
190
190
  /**
191
191
  * @public
@@ -211,7 +211,7 @@ export interface MixedMeasureMapping {
211
211
  * @public
212
212
  * <p></p>
213
213
  */
214
- MeasureValueType: MeasureValueType | string | undefined;
214
+ MeasureValueType: MeasureValueType | undefined;
215
215
  /**
216
216
  * @public
217
217
  * <p></p>
@@ -264,7 +264,7 @@ export interface DataModel {
264
264
  * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
265
265
  * </p>
266
266
  */
267
- TimeUnit?: TimeUnit | string;
267
+ TimeUnit?: TimeUnit;
268
268
  /**
269
269
  * @public
270
270
  * <p>Source to target mappings for dimensions.</p>
@@ -389,7 +389,7 @@ export interface DataSourceConfiguration {
389
389
  * @public
390
390
  * <p>This is currently CSV.</p>
391
391
  */
392
- DataFormat: BatchLoadDataFormat | string | undefined;
392
+ DataFormat: BatchLoadDataFormat | undefined;
393
393
  }
394
394
  /**
395
395
  * @public
@@ -422,7 +422,7 @@ export interface ReportS3Configuration {
422
422
  * @public
423
423
  * <p></p>
424
424
  */
425
- EncryptionOption?: S3EncryptionOption | string;
425
+ EncryptionOption?: S3EncryptionOption;
426
426
  /**
427
427
  * @public
428
428
  * <p></p>
@@ -493,7 +493,7 @@ export interface BatchLoadTaskDescription {
493
493
  * @public
494
494
  * <p>Status of the batch load task.</p>
495
495
  */
496
- TaskStatus?: BatchLoadStatus | string;
496
+ TaskStatus?: BatchLoadStatus;
497
497
  /**
498
498
  * @public
499
499
  * <p></p>
@@ -771,7 +771,7 @@ export interface S3Configuration {
771
771
  * <p>The encryption option for the customer S3 location. Options are S3 server-side
772
772
  * encryption with an S3 managed key or Amazon Web Services managed key.</p>
773
773
  */
774
- EncryptionOption?: S3EncryptionOption | string;
774
+ EncryptionOption?: S3EncryptionOption;
775
775
  /**
776
776
  * @public
777
777
  * <p>The KMS key ID for the customer S3 location when encrypting with an
@@ -863,7 +863,7 @@ export interface PartitionKey {
863
863
  * <p> The type of the partition key. Options are DIMENSION (dimension key) and MEASURE
864
864
  * (measure key). </p>
865
865
  */
866
- Type: PartitionKeyType | string | undefined;
866
+ Type: PartitionKeyType | undefined;
867
867
  /**
868
868
  * @public
869
869
  * <p> The name of the attribute used for a dimension key. </p>
@@ -875,7 +875,7 @@ export interface PartitionKey {
875
875
  * Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not
876
876
  * have to be specified). </p>
877
877
  */
878
- EnforcementInRecord?: PartitionKeyEnforcementLevel | string;
878
+ EnforcementInRecord?: PartitionKeyEnforcementLevel;
879
879
  }
880
880
  /**
881
881
  * @public
@@ -976,7 +976,7 @@ export interface Table {
976
976
  * </li>
977
977
  * </ul>
978
978
  */
979
- TableStatus?: TableStatus | string;
979
+ TableStatus?: TableStatus;
980
980
  /**
981
981
  * @public
982
982
  * <p>The retention duration for the memory store and magnetic store.</p>
@@ -1172,7 +1172,7 @@ export interface Dimension {
1172
1172
  * @public
1173
1173
  * <p>The data type of the dimension for the time-series data point.</p>
1174
1174
  */
1175
- DimensionValueType?: DimensionValueType | string;
1175
+ DimensionValueType?: DimensionValueType;
1176
1176
  }
1177
1177
  /**
1178
1178
  * @public
@@ -1196,7 +1196,7 @@ export interface ListBatchLoadTasksRequest {
1196
1196
  * @public
1197
1197
  * <p>Status of the batch load task.</p>
1198
1198
  */
1199
- TaskStatus?: BatchLoadStatus | string;
1199
+ TaskStatus?: BatchLoadStatus;
1200
1200
  }
1201
1201
  /**
1202
1202
  * @public
@@ -1335,7 +1335,7 @@ export interface MeasureValue {
1335
1335
  * @public
1336
1336
  * <p>Contains the data type of the MeasureValue for the time-series data point.</p>
1337
1337
  */
1338
- Type: MeasureValueType | string | undefined;
1338
+ Type: MeasureValueType | undefined;
1339
1339
  }
1340
1340
  /**
1341
1341
  * @public
@@ -1377,7 +1377,7 @@ export interface _Record {
1377
1377
  * type is <code>DOUBLE</code>. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types">Data
1378
1378
  * types</a>.</p>
1379
1379
  */
1380
- MeasureValueType?: MeasureValueType | string;
1380
+ MeasureValueType?: MeasureValueType;
1381
1381
  /**
1382
1382
  * @public
1383
1383
  * <p> Contains the time at which the measure value for the data point was collected. The time
@@ -1392,7 +1392,7 @@ export interface _Record {
1392
1392
  * milliseconds, nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
1393
1393
  * </p>
1394
1394
  */
1395
- TimeUnit?: TimeUnit | string;
1395
+ TimeUnit?: TimeUnit;
1396
1396
  /**
1397
1397
  * @public
1398
1398
  * <p>64-bit attribute used for record updates. Write requests for duplicate data with a
@@ -33,7 +33,7 @@ export type BatchLoadStatus =
33
33
  (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
34
34
  export interface BatchLoadTask {
35
35
  TaskId?: string;
36
- TaskStatus?: BatchLoadStatus | string;
36
+ TaskStatus?: BatchLoadStatus;
37
37
  DatabaseName?: string;
38
38
  TableName?: string;
39
39
  CreationTime?: Date;
@@ -66,13 +66,13 @@ export type ScalarMeasureValueType =
66
66
  export interface MultiMeasureAttributeMapping {
67
67
  SourceColumn: string | undefined;
68
68
  TargetMultiMeasureAttributeName?: string;
69
- MeasureValueType?: ScalarMeasureValueType | string;
69
+ MeasureValueType?: ScalarMeasureValueType;
70
70
  }
71
71
  export interface MixedMeasureMapping {
72
72
  MeasureName?: string;
73
73
  SourceColumn?: string;
74
74
  TargetMeasureName?: string;
75
- MeasureValueType: MeasureValueType | string | undefined;
75
+ MeasureValueType: MeasureValueType | undefined;
76
76
  MultiMeasureAttributeMappings?: MultiMeasureAttributeMapping[];
77
77
  }
78
78
  export interface MultiMeasureMappings {
@@ -88,7 +88,7 @@ export declare const TimeUnit: {
88
88
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
89
89
  export interface DataModel {
90
90
  TimeColumn?: string;
91
- TimeUnit?: TimeUnit | string;
91
+ TimeUnit?: TimeUnit;
92
92
  DimensionMappings: DimensionMapping[] | undefined;
93
93
  MultiMeasureMappings?: MultiMeasureMappings;
94
94
  MixedMeasureMappings?: MixedMeasureMapping[];
@@ -116,7 +116,7 @@ export interface DataSourceS3Configuration {
116
116
  export interface DataSourceConfiguration {
117
117
  DataSourceS3Configuration: DataSourceS3Configuration | undefined;
118
118
  CsvConfiguration?: CsvConfiguration;
119
- DataFormat: BatchLoadDataFormat | string | undefined;
119
+ DataFormat: BatchLoadDataFormat | undefined;
120
120
  }
121
121
  export declare const S3EncryptionOption: {
122
122
  readonly SSE_KMS: "SSE_KMS";
@@ -127,7 +127,7 @@ export type S3EncryptionOption =
127
127
  export interface ReportS3Configuration {
128
128
  BucketName: string | undefined;
129
129
  ObjectKeyPrefix?: string;
130
- EncryptionOption?: S3EncryptionOption | string;
130
+ EncryptionOption?: S3EncryptionOption;
131
131
  KmsKeyId?: string;
132
132
  }
133
133
  export interface ReportConfiguration {
@@ -142,7 +142,7 @@ export interface BatchLoadTaskDescription {
142
142
  DataModelConfiguration?: DataModelConfiguration;
143
143
  TargetDatabaseName?: string;
144
144
  TargetTableName?: string;
145
- TaskStatus?: BatchLoadStatus | string;
145
+ TaskStatus?: BatchLoadStatus;
146
146
  RecordVersion?: number;
147
147
  CreationTime?: Date;
148
148
  LastUpdatedTime?: Date;
@@ -237,7 +237,7 @@ export interface CreateDatabaseResponse {
237
237
  export interface S3Configuration {
238
238
  BucketName?: string;
239
239
  ObjectKeyPrefix?: string;
240
- EncryptionOption?: S3EncryptionOption | string;
240
+ EncryptionOption?: S3EncryptionOption;
241
241
  KmsKeyId?: string;
242
242
  }
243
243
  export interface MagneticStoreRejectedDataLocation {
@@ -264,9 +264,9 @@ export declare const PartitionKeyType: {
264
264
  export type PartitionKeyType =
265
265
  (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
266
266
  export interface PartitionKey {
267
- Type: PartitionKeyType | string | undefined;
267
+ Type: PartitionKeyType | undefined;
268
268
  Name?: string;
269
- EnforcementInRecord?: PartitionKeyEnforcementLevel | string;
269
+ EnforcementInRecord?: PartitionKeyEnforcementLevel;
270
270
  }
271
271
  export interface Schema {
272
272
  CompositePartitionKey?: PartitionKey[];
@@ -289,7 +289,7 @@ export interface Table {
289
289
  Arn?: string;
290
290
  TableName?: string;
291
291
  DatabaseName?: string;
292
- TableStatus?: TableStatus | string;
292
+ TableStatus?: TableStatus;
293
293
  RetentionProperties?: RetentionProperties;
294
294
  CreationTime?: Date;
295
295
  LastUpdatedTime?: Date;
@@ -341,12 +341,12 @@ export type DimensionValueType =
341
341
  export interface Dimension {
342
342
  Name: string | undefined;
343
343
  Value: string | undefined;
344
- DimensionValueType?: DimensionValueType | string;
344
+ DimensionValueType?: DimensionValueType;
345
345
  }
346
346
  export interface ListBatchLoadTasksRequest {
347
347
  NextToken?: string;
348
348
  MaxResults?: number;
349
- TaskStatus?: BatchLoadStatus | string;
349
+ TaskStatus?: BatchLoadStatus;
350
350
  }
351
351
  export interface ListBatchLoadTasksResponse {
352
352
  NextToken?: string;
@@ -378,15 +378,15 @@ export interface ListTagsForResourceResponse {
378
378
  export interface MeasureValue {
379
379
  Name: string | undefined;
380
380
  Value: string | undefined;
381
- Type: MeasureValueType | string | undefined;
381
+ Type: MeasureValueType | undefined;
382
382
  }
383
383
  export interface _Record {
384
384
  Dimensions?: Dimension[];
385
385
  MeasureName?: string;
386
386
  MeasureValue?: string;
387
- MeasureValueType?: MeasureValueType | string;
387
+ MeasureValueType?: MeasureValueType;
388
388
  Time?: string;
389
- TimeUnit?: TimeUnit | string;
389
+ TimeUnit?: TimeUnit;
390
390
  Version?: number;
391
391
  MeasureValues?: MeasureValue[];
392
392
  }
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.428.0",
4
+ "version": "3.430.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",
@@ -21,29 +21,29 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-endpoint-discovery": "3.428.0",
27
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-endpoint-discovery": "3.430.0",
27
+ "@aws-sdk/middleware-host-header": "3.429.0",
28
28
  "@aws-sdk/middleware-logger": "3.428.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
30
30
  "@aws-sdk/middleware-signing": "3.428.0",
31
31
  "@aws-sdk/middleware-user-agent": "3.428.0",
32
- "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/region-config-resolver": "3.430.0",
33
33
  "@aws-sdk/types": "3.428.0",
34
34
  "@aws-sdk/util-endpoints": "3.428.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.428.0",
36
- "@aws-sdk/util-user-agent-node": "3.428.0",
37
- "@smithy/config-resolver": "^2.0.14",
36
+ "@aws-sdk/util-user-agent-node": "3.430.0",
37
+ "@smithy/config-resolver": "^2.0.15",
38
38
  "@smithy/fetch-http-handler": "^2.2.3",
39
39
  "@smithy/hash-node": "^2.0.11",
40
40
  "@smithy/invalid-dependency": "^2.0.11",
41
41
  "@smithy/middleware-content-length": "^2.0.13",
42
- "@smithy/middleware-endpoint": "^2.1.0",
43
- "@smithy/middleware-retry": "^2.0.16",
42
+ "@smithy/middleware-endpoint": "^2.1.2",
43
+ "@smithy/middleware-retry": "^2.0.17",
44
44
  "@smithy/middleware-serde": "^2.0.11",
45
45
  "@smithy/middleware-stack": "^2.0.5",
46
- "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-config-provider": "^2.1.2",
47
47
  "@smithy/node-http-handler": "^2.1.7",
48
48
  "@smithy/protocol-http": "^3.0.7",
49
49
  "@smithy/smithy-client": "^2.1.11",
@@ -53,7 +53,7 @@
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.15",
56
- "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.20",
57
57
  "@smithy/util-retry": "^2.0.4",
58
58
  "@smithy/util-utf8": "^2.0.0",
59
59
  "tslib": "^2.5.0",