@aws-sdk/client-timestream-write 3.934.0 → 3.936.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.
@@ -1,18 +1,15 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const BatchLoadDataFormat: {
12
- readonly CSV: "CSV";
13
- };
14
- export type BatchLoadDataFormat =
15
- (typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
1
+ import {
2
+ BatchLoadDataFormat,
3
+ BatchLoadStatus,
4
+ DimensionValueType,
5
+ MeasureValueType,
6
+ PartitionKeyEnforcementLevel,
7
+ PartitionKeyType,
8
+ S3EncryptionOption,
9
+ ScalarMeasureValueType,
10
+ TableStatus,
11
+ TimeUnit,
12
+ } from "./enums";
16
13
  export interface BatchLoadProgressReport {
17
14
  RecordsProcessed?: number | undefined;
18
15
  RecordsIngested?: number | undefined;
@@ -21,16 +18,6 @@ export interface BatchLoadProgressReport {
21
18
  FileFailures?: number | undefined;
22
19
  BytesMetered?: number | undefined;
23
20
  }
24
- export declare const BatchLoadStatus: {
25
- readonly CREATED: "CREATED";
26
- readonly FAILED: "FAILED";
27
- readonly IN_PROGRESS: "IN_PROGRESS";
28
- readonly PENDING_RESUME: "PENDING_RESUME";
29
- readonly PROGRESS_STOPPED: "PROGRESS_STOPPED";
30
- readonly SUCCEEDED: "SUCCEEDED";
31
- };
32
- export type BatchLoadStatus =
33
- (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
34
21
  export interface BatchLoadTask {
35
22
  TaskId?: string | undefined;
36
23
  TaskStatus?: BatchLoadStatus | undefined;
@@ -44,25 +31,6 @@ export interface DimensionMapping {
44
31
  SourceColumn?: string | undefined;
45
32
  DestinationColumn?: string | undefined;
46
33
  }
47
- export declare const MeasureValueType: {
48
- readonly BIGINT: "BIGINT";
49
- readonly BOOLEAN: "BOOLEAN";
50
- readonly DOUBLE: "DOUBLE";
51
- readonly MULTI: "MULTI";
52
- readonly TIMESTAMP: "TIMESTAMP";
53
- readonly VARCHAR: "VARCHAR";
54
- };
55
- export type MeasureValueType =
56
- (typeof MeasureValueType)[keyof typeof MeasureValueType];
57
- export declare const ScalarMeasureValueType: {
58
- readonly BIGINT: "BIGINT";
59
- readonly BOOLEAN: "BOOLEAN";
60
- readonly DOUBLE: "DOUBLE";
61
- readonly TIMESTAMP: "TIMESTAMP";
62
- readonly VARCHAR: "VARCHAR";
63
- };
64
- export type ScalarMeasureValueType =
65
- (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
66
34
  export interface MultiMeasureAttributeMapping {
67
35
  SourceColumn: string | undefined;
68
36
  TargetMultiMeasureAttributeName?: string | undefined;
@@ -79,13 +47,6 @@ export interface MultiMeasureMappings {
79
47
  TargetMultiMeasureName?: string | undefined;
80
48
  MultiMeasureAttributeMappings: MultiMeasureAttributeMapping[] | undefined;
81
49
  }
82
- export declare const TimeUnit: {
83
- readonly MICROSECONDS: "MICROSECONDS";
84
- readonly MILLISECONDS: "MILLISECONDS";
85
- readonly NANOSECONDS: "NANOSECONDS";
86
- readonly SECONDS: "SECONDS";
87
- };
88
- export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
89
50
  export interface DataModel {
90
51
  TimeColumn?: string | undefined;
91
52
  TimeUnit?: TimeUnit | undefined;
@@ -118,12 +79,6 @@ export interface DataSourceConfiguration {
118
79
  CsvConfiguration?: CsvConfiguration | undefined;
119
80
  DataFormat: BatchLoadDataFormat | undefined;
120
81
  }
121
- export declare const S3EncryptionOption: {
122
- readonly SSE_KMS: "SSE_KMS";
123
- readonly SSE_S3: "SSE_S3";
124
- };
125
- export type S3EncryptionOption =
126
- (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
127
82
  export interface ReportS3Configuration {
128
83
  BucketName: string | undefined;
129
84
  ObjectKeyPrefix?: string | undefined;
@@ -148,12 +103,6 @@ export interface BatchLoadTaskDescription {
148
103
  LastUpdatedTime?: Date | undefined;
149
104
  ResumableUntil?: Date | undefined;
150
105
  }
151
- export declare class ConflictException extends __BaseException {
152
- readonly name: "ConflictException";
153
- readonly $fault: "client";
154
- Message: string | undefined;
155
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
156
- }
157
106
  export interface CreateBatchLoadTaskRequest {
158
107
  ClientToken?: string | undefined;
159
108
  DataModelConfiguration?: DataModelConfiguration | undefined;
@@ -166,54 +115,6 @@ export interface CreateBatchLoadTaskRequest {
166
115
  export interface CreateBatchLoadTaskResponse {
167
116
  TaskId: string | undefined;
168
117
  }
169
- export declare class InternalServerException extends __BaseException {
170
- readonly name: "InternalServerException";
171
- readonly $fault: "server";
172
- Message: string | undefined;
173
- constructor(
174
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
175
- );
176
- }
177
- export declare class InvalidEndpointException extends __BaseException {
178
- readonly name: "InvalidEndpointException";
179
- readonly $fault: "client";
180
- Message?: string | undefined;
181
- constructor(
182
- opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>
183
- );
184
- }
185
- export declare class ResourceNotFoundException extends __BaseException {
186
- readonly name: "ResourceNotFoundException";
187
- readonly $fault: "client";
188
- Message?: string | undefined;
189
- constructor(
190
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
191
- );
192
- }
193
- export declare class ServiceQuotaExceededException extends __BaseException {
194
- readonly name: "ServiceQuotaExceededException";
195
- readonly $fault: "client";
196
- Message?: string | undefined;
197
- constructor(
198
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
199
- );
200
- }
201
- export declare class ThrottlingException extends __BaseException {
202
- readonly name: "ThrottlingException";
203
- readonly $fault: "client";
204
- Message: string | undefined;
205
- constructor(
206
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
207
- );
208
- }
209
- export declare class ValidationException extends __BaseException {
210
- readonly name: "ValidationException";
211
- readonly $fault: "client";
212
- Message: string | undefined;
213
- constructor(
214
- opts: __ExceptionOptionType<ValidationException, __BaseException>
215
- );
216
- }
217
118
  export interface Tag {
218
119
  Key: string | undefined;
219
120
  Value: string | undefined;
@@ -253,18 +154,6 @@ export interface RetentionProperties {
253
154
  MemoryStoreRetentionPeriodInHours: number | undefined;
254
155
  MagneticStoreRetentionPeriodInDays: number | undefined;
255
156
  }
256
- export declare const PartitionKeyEnforcementLevel: {
257
- readonly OPTIONAL: "OPTIONAL";
258
- readonly REQUIRED: "REQUIRED";
259
- };
260
- export type PartitionKeyEnforcementLevel =
261
- (typeof PartitionKeyEnforcementLevel)[keyof typeof PartitionKeyEnforcementLevel];
262
- export declare const PartitionKeyType: {
263
- readonly DIMENSION: "DIMENSION";
264
- readonly MEASURE: "MEASURE";
265
- };
266
- export type PartitionKeyType =
267
- (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
268
157
  export interface PartitionKey {
269
158
  Type: PartitionKeyType | undefined;
270
159
  Name?: string | undefined;
@@ -281,12 +170,6 @@ export interface CreateTableRequest {
281
170
  MagneticStoreWriteProperties?: MagneticStoreWriteProperties | undefined;
282
171
  Schema?: Schema | undefined;
283
172
  }
284
- export declare const TableStatus: {
285
- readonly ACTIVE: "ACTIVE";
286
- readonly DELETING: "DELETING";
287
- readonly RESTORING: "RESTORING";
288
- };
289
- export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
290
173
  export interface Table {
291
174
  Arn?: string | undefined;
292
175
  TableName?: string | undefined;
@@ -335,11 +218,6 @@ export interface DescribeTableRequest {
335
218
  export interface DescribeTableResponse {
336
219
  Table?: Table | undefined;
337
220
  }
338
- export declare const DimensionValueType: {
339
- readonly VARCHAR: "VARCHAR";
340
- };
341
- export type DimensionValueType =
342
- (typeof DimensionValueType)[keyof typeof DimensionValueType];
343
221
  export interface Dimension {
344
222
  Name: string | undefined;
345
223
  Value: string | undefined;
@@ -402,15 +280,6 @@ export interface RejectedRecord {
402
280
  Reason?: string | undefined;
403
281
  ExistingVersion?: number | undefined;
404
282
  }
405
- export declare class RejectedRecordsException extends __BaseException {
406
- readonly name: "RejectedRecordsException";
407
- readonly $fault: "client";
408
- Message?: string | undefined;
409
- RejectedRecords?: RejectedRecord[] | undefined;
410
- constructor(
411
- opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>
412
- );
413
- }
414
283
  export interface ResumeBatchLoadTaskRequest {
415
284
  TaskId: string | undefined;
416
285
  }
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.934.0",
4
+ "version": "3.936.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,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-endpoint-discovery": "3.930.0",
26
- "@aws-sdk/middleware-host-header": "3.930.0",
27
- "@aws-sdk/middleware-logger": "3.930.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
29
- "@aws-sdk/middleware-user-agent": "3.934.0",
30
- "@aws-sdk/region-config-resolver": "3.930.0",
31
- "@aws-sdk/types": "3.930.0",
32
- "@aws-sdk/util-endpoints": "3.930.0",
33
- "@aws-sdk/util-user-agent-browser": "3.930.0",
34
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-endpoint-discovery": "3.936.0",
26
+ "@aws-sdk/middleware-host-header": "3.936.0",
27
+ "@aws-sdk/middleware-logger": "3.936.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
29
+ "@aws-sdk/middleware-user-agent": "3.936.0",
30
+ "@aws-sdk/region-config-resolver": "3.936.0",
31
+ "@aws-sdk/types": "3.936.0",
32
+ "@aws-sdk/util-endpoints": "3.936.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
34
+ "@aws-sdk/util-user-agent-node": "3.936.0",
35
35
  "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.2",
36
+ "@smithy/core": "^3.18.5",
37
37
  "@smithy/fetch-http-handler": "^5.3.6",
38
38
  "@smithy/hash-node": "^4.2.5",
39
39
  "@smithy/invalid-dependency": "^4.2.5",
40
40
  "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.9",
42
- "@smithy/middleware-retry": "^4.4.9",
43
- "@smithy/middleware-serde": "^4.2.5",
41
+ "@smithy/middleware-endpoint": "^4.3.12",
42
+ "@smithy/middleware-retry": "^4.4.12",
43
+ "@smithy/middleware-serde": "^4.2.6",
44
44
  "@smithy/middleware-stack": "^4.2.5",
45
45
  "@smithy/node-config-provider": "^4.3.5",
46
46
  "@smithy/node-http-handler": "^4.4.5",
47
47
  "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/smithy-client": "^4.9.8",
49
49
  "@smithy/types": "^4.9.0",
50
50
  "@smithy/url-parser": "^4.2.5",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.8",
55
- "@smithy/util-defaults-mode-node": "^4.2.11",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
55
+ "@smithy/util-defaults-mode-node": "^4.2.14",
56
56
  "@smithy/util-endpoints": "^3.2.5",
57
57
  "@smithy/util-middleware": "^4.2.5",
58
58
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";