@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.
- package/dist-cjs/index.js +53 -52
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +52 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -181
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +132 -0
- package/dist-types/models/errors.d.ts +160 -0
- package/dist-types/models/models_0.d.ts +1 -291
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +70 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -143
- package/package.json +20 -20
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -52,42 +52,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends TimestreamWrit
|
|
|
52
52
|
this.Message = opts.Message;
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
|
-
const BatchLoadDataFormat = {
|
|
56
|
-
CSV: "CSV",
|
|
57
|
-
};
|
|
58
|
-
const BatchLoadStatus = {
|
|
59
|
-
CREATED: "CREATED",
|
|
60
|
-
FAILED: "FAILED",
|
|
61
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
62
|
-
PENDING_RESUME: "PENDING_RESUME",
|
|
63
|
-
PROGRESS_STOPPED: "PROGRESS_STOPPED",
|
|
64
|
-
SUCCEEDED: "SUCCEEDED",
|
|
65
|
-
};
|
|
66
|
-
const MeasureValueType = {
|
|
67
|
-
BIGINT: "BIGINT",
|
|
68
|
-
BOOLEAN: "BOOLEAN",
|
|
69
|
-
DOUBLE: "DOUBLE",
|
|
70
|
-
MULTI: "MULTI",
|
|
71
|
-
TIMESTAMP: "TIMESTAMP",
|
|
72
|
-
VARCHAR: "VARCHAR",
|
|
73
|
-
};
|
|
74
|
-
const ScalarMeasureValueType = {
|
|
75
|
-
BIGINT: "BIGINT",
|
|
76
|
-
BOOLEAN: "BOOLEAN",
|
|
77
|
-
DOUBLE: "DOUBLE",
|
|
78
|
-
TIMESTAMP: "TIMESTAMP",
|
|
79
|
-
VARCHAR: "VARCHAR",
|
|
80
|
-
};
|
|
81
|
-
const TimeUnit = {
|
|
82
|
-
MICROSECONDS: "MICROSECONDS",
|
|
83
|
-
MILLISECONDS: "MILLISECONDS",
|
|
84
|
-
NANOSECONDS: "NANOSECONDS",
|
|
85
|
-
SECONDS: "SECONDS",
|
|
86
|
-
};
|
|
87
|
-
const S3EncryptionOption = {
|
|
88
|
-
SSE_KMS: "SSE_KMS",
|
|
89
|
-
SSE_S3: "SSE_S3",
|
|
90
|
-
};
|
|
91
55
|
let ConflictException$1 = class ConflictException extends TimestreamWriteServiceException$1 {
|
|
92
56
|
name = "ConflictException";
|
|
93
57
|
$fault = "client";
|
|
@@ -186,22 +150,6 @@ let ValidationException$1 = class ValidationException extends TimestreamWriteSer
|
|
|
186
150
|
this.Message = opts.Message;
|
|
187
151
|
}
|
|
188
152
|
};
|
|
189
|
-
const PartitionKeyEnforcementLevel = {
|
|
190
|
-
OPTIONAL: "OPTIONAL",
|
|
191
|
-
REQUIRED: "REQUIRED",
|
|
192
|
-
};
|
|
193
|
-
const PartitionKeyType = {
|
|
194
|
-
DIMENSION: "DIMENSION",
|
|
195
|
-
MEASURE: "MEASURE",
|
|
196
|
-
};
|
|
197
|
-
const TableStatus = {
|
|
198
|
-
ACTIVE: "ACTIVE",
|
|
199
|
-
DELETING: "DELETING",
|
|
200
|
-
RESTORING: "RESTORING",
|
|
201
|
-
};
|
|
202
|
-
const DimensionValueType = {
|
|
203
|
-
VARCHAR: "VARCHAR",
|
|
204
|
-
};
|
|
205
153
|
let RejectedRecordsException$1 = class RejectedRecordsException extends TimestreamWriteServiceException$1 {
|
|
206
154
|
name = "RejectedRecordsException";
|
|
207
155
|
$fault = "client";
|
|
@@ -1318,6 +1266,59 @@ const paginateListDatabases = core.createPaginator(TimestreamWriteClient, ListDa
|
|
|
1318
1266
|
|
|
1319
1267
|
const paginateListTables = core.createPaginator(TimestreamWriteClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1320
1268
|
|
|
1269
|
+
const BatchLoadDataFormat = {
|
|
1270
|
+
CSV: "CSV",
|
|
1271
|
+
};
|
|
1272
|
+
const BatchLoadStatus = {
|
|
1273
|
+
CREATED: "CREATED",
|
|
1274
|
+
FAILED: "FAILED",
|
|
1275
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1276
|
+
PENDING_RESUME: "PENDING_RESUME",
|
|
1277
|
+
PROGRESS_STOPPED: "PROGRESS_STOPPED",
|
|
1278
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1279
|
+
};
|
|
1280
|
+
const MeasureValueType = {
|
|
1281
|
+
BIGINT: "BIGINT",
|
|
1282
|
+
BOOLEAN: "BOOLEAN",
|
|
1283
|
+
DOUBLE: "DOUBLE",
|
|
1284
|
+
MULTI: "MULTI",
|
|
1285
|
+
TIMESTAMP: "TIMESTAMP",
|
|
1286
|
+
VARCHAR: "VARCHAR",
|
|
1287
|
+
};
|
|
1288
|
+
const ScalarMeasureValueType = {
|
|
1289
|
+
BIGINT: "BIGINT",
|
|
1290
|
+
BOOLEAN: "BOOLEAN",
|
|
1291
|
+
DOUBLE: "DOUBLE",
|
|
1292
|
+
TIMESTAMP: "TIMESTAMP",
|
|
1293
|
+
VARCHAR: "VARCHAR",
|
|
1294
|
+
};
|
|
1295
|
+
const TimeUnit = {
|
|
1296
|
+
MICROSECONDS: "MICROSECONDS",
|
|
1297
|
+
MILLISECONDS: "MILLISECONDS",
|
|
1298
|
+
NANOSECONDS: "NANOSECONDS",
|
|
1299
|
+
SECONDS: "SECONDS",
|
|
1300
|
+
};
|
|
1301
|
+
const S3EncryptionOption = {
|
|
1302
|
+
SSE_KMS: "SSE_KMS",
|
|
1303
|
+
SSE_S3: "SSE_S3",
|
|
1304
|
+
};
|
|
1305
|
+
const PartitionKeyEnforcementLevel = {
|
|
1306
|
+
OPTIONAL: "OPTIONAL",
|
|
1307
|
+
REQUIRED: "REQUIRED",
|
|
1308
|
+
};
|
|
1309
|
+
const PartitionKeyType = {
|
|
1310
|
+
DIMENSION: "DIMENSION",
|
|
1311
|
+
MEASURE: "MEASURE",
|
|
1312
|
+
};
|
|
1313
|
+
const TableStatus = {
|
|
1314
|
+
ACTIVE: "ACTIVE",
|
|
1315
|
+
DELETING: "DELETING",
|
|
1316
|
+
RESTORING: "RESTORING",
|
|
1317
|
+
};
|
|
1318
|
+
const DimensionValueType = {
|
|
1319
|
+
VARCHAR: "VARCHAR",
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1321
1322
|
Object.defineProperty(exports, "$Command", {
|
|
1322
1323
|
enumerable: true,
|
|
1323
1324
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./TimestreamWriteClient";
|
|
|
2
2
|
export * from "./TimestreamWrite";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export const BatchLoadDataFormat = {
|
|
2
|
+
CSV: "CSV",
|
|
3
|
+
};
|
|
4
|
+
export const BatchLoadStatus = {
|
|
5
|
+
CREATED: "CREATED",
|
|
6
|
+
FAILED: "FAILED",
|
|
7
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
8
|
+
PENDING_RESUME: "PENDING_RESUME",
|
|
9
|
+
PROGRESS_STOPPED: "PROGRESS_STOPPED",
|
|
10
|
+
SUCCEEDED: "SUCCEEDED",
|
|
11
|
+
};
|
|
12
|
+
export const MeasureValueType = {
|
|
13
|
+
BIGINT: "BIGINT",
|
|
14
|
+
BOOLEAN: "BOOLEAN",
|
|
15
|
+
DOUBLE: "DOUBLE",
|
|
16
|
+
MULTI: "MULTI",
|
|
17
|
+
TIMESTAMP: "TIMESTAMP",
|
|
18
|
+
VARCHAR: "VARCHAR",
|
|
19
|
+
};
|
|
20
|
+
export const ScalarMeasureValueType = {
|
|
21
|
+
BIGINT: "BIGINT",
|
|
22
|
+
BOOLEAN: "BOOLEAN",
|
|
23
|
+
DOUBLE: "DOUBLE",
|
|
24
|
+
TIMESTAMP: "TIMESTAMP",
|
|
25
|
+
VARCHAR: "VARCHAR",
|
|
26
|
+
};
|
|
27
|
+
export const TimeUnit = {
|
|
28
|
+
MICROSECONDS: "MICROSECONDS",
|
|
29
|
+
MILLISECONDS: "MILLISECONDS",
|
|
30
|
+
NANOSECONDS: "NANOSECONDS",
|
|
31
|
+
SECONDS: "SECONDS",
|
|
32
|
+
};
|
|
33
|
+
export const S3EncryptionOption = {
|
|
34
|
+
SSE_KMS: "SSE_KMS",
|
|
35
|
+
SSE_S3: "SSE_S3",
|
|
36
|
+
};
|
|
37
|
+
export const PartitionKeyEnforcementLevel = {
|
|
38
|
+
OPTIONAL: "OPTIONAL",
|
|
39
|
+
REQUIRED: "REQUIRED",
|
|
40
|
+
};
|
|
41
|
+
export const PartitionKeyType = {
|
|
42
|
+
DIMENSION: "DIMENSION",
|
|
43
|
+
MEASURE: "MEASURE",
|
|
44
|
+
};
|
|
45
|
+
export const TableStatus = {
|
|
46
|
+
ACTIVE: "ACTIVE",
|
|
47
|
+
DELETING: "DELETING",
|
|
48
|
+
RESTORING: "RESTORING",
|
|
49
|
+
};
|
|
50
|
+
export const DimensionValueType = {
|
|
51
|
+
VARCHAR: "VARCHAR",
|
|
52
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class InvalidEndpointException extends __BaseException {
|
|
45
|
+
name = "InvalidEndpointException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InvalidEndpointException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
59
|
+
name = "ResourceNotFoundException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ResourceNotFoundException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
+
name = "ServiceQuotaExceededException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ServiceQuotaExceededException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ThrottlingException extends __BaseException {
|
|
87
|
+
name = "ThrottlingException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ThrottlingException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ValidationException extends __BaseException {
|
|
101
|
+
name = "ValidationException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
Message;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "ValidationException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class RejectedRecordsException extends __BaseException {
|
|
115
|
+
name = "RejectedRecordsException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
118
|
+
RejectedRecords;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "RejectedRecordsException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, RejectedRecordsException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
this.RejectedRecords = opts.RejectedRecords;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,181 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const BatchLoadDataFormat = {
|
|
17
|
-
CSV: "CSV",
|
|
18
|
-
};
|
|
19
|
-
export const BatchLoadStatus = {
|
|
20
|
-
CREATED: "CREATED",
|
|
21
|
-
FAILED: "FAILED",
|
|
22
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
23
|
-
PENDING_RESUME: "PENDING_RESUME",
|
|
24
|
-
PROGRESS_STOPPED: "PROGRESS_STOPPED",
|
|
25
|
-
SUCCEEDED: "SUCCEEDED",
|
|
26
|
-
};
|
|
27
|
-
export const MeasureValueType = {
|
|
28
|
-
BIGINT: "BIGINT",
|
|
29
|
-
BOOLEAN: "BOOLEAN",
|
|
30
|
-
DOUBLE: "DOUBLE",
|
|
31
|
-
MULTI: "MULTI",
|
|
32
|
-
TIMESTAMP: "TIMESTAMP",
|
|
33
|
-
VARCHAR: "VARCHAR",
|
|
34
|
-
};
|
|
35
|
-
export const ScalarMeasureValueType = {
|
|
36
|
-
BIGINT: "BIGINT",
|
|
37
|
-
BOOLEAN: "BOOLEAN",
|
|
38
|
-
DOUBLE: "DOUBLE",
|
|
39
|
-
TIMESTAMP: "TIMESTAMP",
|
|
40
|
-
VARCHAR: "VARCHAR",
|
|
41
|
-
};
|
|
42
|
-
export const TimeUnit = {
|
|
43
|
-
MICROSECONDS: "MICROSECONDS",
|
|
44
|
-
MILLISECONDS: "MILLISECONDS",
|
|
45
|
-
NANOSECONDS: "NANOSECONDS",
|
|
46
|
-
SECONDS: "SECONDS",
|
|
47
|
-
};
|
|
48
|
-
export const S3EncryptionOption = {
|
|
49
|
-
SSE_KMS: "SSE_KMS",
|
|
50
|
-
SSE_S3: "SSE_S3",
|
|
51
|
-
};
|
|
52
|
-
export class ConflictException extends __BaseException {
|
|
53
|
-
name = "ConflictException";
|
|
54
|
-
$fault = "client";
|
|
55
|
-
Message;
|
|
56
|
-
constructor(opts) {
|
|
57
|
-
super({
|
|
58
|
-
name: "ConflictException",
|
|
59
|
-
$fault: "client",
|
|
60
|
-
...opts,
|
|
61
|
-
});
|
|
62
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
63
|
-
this.Message = opts.Message;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
export class InternalServerException extends __BaseException {
|
|
67
|
-
name = "InternalServerException";
|
|
68
|
-
$fault = "server";
|
|
69
|
-
Message;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "InternalServerException",
|
|
73
|
-
$fault: "server",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
77
|
-
this.Message = opts.Message;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
export class InvalidEndpointException extends __BaseException {
|
|
81
|
-
name = "InvalidEndpointException";
|
|
82
|
-
$fault = "client";
|
|
83
|
-
Message;
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "InvalidEndpointException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
91
|
-
this.Message = opts.Message;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
95
|
-
name = "ResourceNotFoundException";
|
|
96
|
-
$fault = "client";
|
|
97
|
-
Message;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ResourceNotFoundException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
105
|
-
this.Message = opts.Message;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
109
|
-
name = "ServiceQuotaExceededException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
Message;
|
|
112
|
-
constructor(opts) {
|
|
113
|
-
super({
|
|
114
|
-
name: "ServiceQuotaExceededException",
|
|
115
|
-
$fault: "client",
|
|
116
|
-
...opts,
|
|
117
|
-
});
|
|
118
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
119
|
-
this.Message = opts.Message;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
export class ThrottlingException extends __BaseException {
|
|
123
|
-
name = "ThrottlingException";
|
|
124
|
-
$fault = "client";
|
|
125
|
-
Message;
|
|
126
|
-
constructor(opts) {
|
|
127
|
-
super({
|
|
128
|
-
name: "ThrottlingException",
|
|
129
|
-
$fault: "client",
|
|
130
|
-
...opts,
|
|
131
|
-
});
|
|
132
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
133
|
-
this.Message = opts.Message;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
export class ValidationException extends __BaseException {
|
|
137
|
-
name = "ValidationException";
|
|
138
|
-
$fault = "client";
|
|
139
|
-
Message;
|
|
140
|
-
constructor(opts) {
|
|
141
|
-
super({
|
|
142
|
-
name: "ValidationException",
|
|
143
|
-
$fault: "client",
|
|
144
|
-
...opts,
|
|
145
|
-
});
|
|
146
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
147
|
-
this.Message = opts.Message;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export const PartitionKeyEnforcementLevel = {
|
|
151
|
-
OPTIONAL: "OPTIONAL",
|
|
152
|
-
REQUIRED: "REQUIRED",
|
|
153
|
-
};
|
|
154
|
-
export const PartitionKeyType = {
|
|
155
|
-
DIMENSION: "DIMENSION",
|
|
156
|
-
MEASURE: "MEASURE",
|
|
157
|
-
};
|
|
158
|
-
export const TableStatus = {
|
|
159
|
-
ACTIVE: "ACTIVE",
|
|
160
|
-
DELETING: "DELETING",
|
|
161
|
-
RESTORING: "RESTORING",
|
|
162
|
-
};
|
|
163
|
-
export const DimensionValueType = {
|
|
164
|
-
VARCHAR: "VARCHAR",
|
|
165
|
-
};
|
|
166
|
-
export class RejectedRecordsException extends __BaseException {
|
|
167
|
-
name = "RejectedRecordsException";
|
|
168
|
-
$fault = "client";
|
|
169
|
-
Message;
|
|
170
|
-
RejectedRecords;
|
|
171
|
-
constructor(opts) {
|
|
172
|
-
super({
|
|
173
|
-
name: "RejectedRecordsException",
|
|
174
|
-
$fault: "client",
|
|
175
|
-
...opts,
|
|
176
|
-
});
|
|
177
|
-
Object.setPrototypeOf(this, RejectedRecordsException.prototype);
|
|
178
|
-
this.Message = opts.Message;
|
|
179
|
-
this.RejectedRecords = opts.RejectedRecords;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
1
|
+
export {};
|
|
@@ -187,7 +187,7 @@ const _s = "server";
|
|
|
187
187
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamwrite";
|
|
188
188
|
const n0 = "com.amazonaws.timestreamwrite";
|
|
189
189
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
190
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidEndpointException as __InvalidEndpointException, RejectedRecordsException as __RejectedRecordsException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
190
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidEndpointException as __InvalidEndpointException, RejectedRecordsException as __RejectedRecordsException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
191
191
|
import { TimestreamWriteServiceException as __TimestreamWriteServiceException } from "../models/TimestreamWriteServiceException";
|
|
192
192
|
export var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
193
193
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -22,5 +22,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
22
22
|
export type { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
|
|
23
23
|
export * from "./commands";
|
|
24
24
|
export * from "./pagination";
|
|
25
|
-
export * from "./models";
|
|
25
|
+
export * from "./models/enums";
|
|
26
|
+
export * from "./models/errors";
|
|
27
|
+
export type * from "./models/models_0";
|
|
26
28
|
export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException";
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BatchLoadDataFormat: {
|
|
6
|
+
readonly CSV: "CSV";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type BatchLoadDataFormat = (typeof BatchLoadDataFormat)[keyof typeof BatchLoadDataFormat];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const BatchLoadStatus: {
|
|
17
|
+
readonly CREATED: "CREATED";
|
|
18
|
+
readonly FAILED: "FAILED";
|
|
19
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
20
|
+
readonly PENDING_RESUME: "PENDING_RESUME";
|
|
21
|
+
readonly PROGRESS_STOPPED: "PROGRESS_STOPPED";
|
|
22
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type BatchLoadStatus = (typeof BatchLoadStatus)[keyof typeof BatchLoadStatus];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const MeasureValueType: {
|
|
33
|
+
readonly BIGINT: "BIGINT";
|
|
34
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
35
|
+
readonly DOUBLE: "DOUBLE";
|
|
36
|
+
readonly MULTI: "MULTI";
|
|
37
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
38
|
+
readonly VARCHAR: "VARCHAR";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type MeasureValueType = (typeof MeasureValueType)[keyof typeof MeasureValueType];
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @enum
|
|
47
|
+
*/
|
|
48
|
+
export declare const ScalarMeasureValueType: {
|
|
49
|
+
readonly BIGINT: "BIGINT";
|
|
50
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
51
|
+
readonly DOUBLE: "DOUBLE";
|
|
52
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
53
|
+
readonly VARCHAR: "VARCHAR";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type ScalarMeasureValueType = (typeof ScalarMeasureValueType)[keyof typeof ScalarMeasureValueType];
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @enum
|
|
62
|
+
*/
|
|
63
|
+
export declare const TimeUnit: {
|
|
64
|
+
readonly MICROSECONDS: "MICROSECONDS";
|
|
65
|
+
readonly MILLISECONDS: "MILLISECONDS";
|
|
66
|
+
readonly NANOSECONDS: "NANOSECONDS";
|
|
67
|
+
readonly SECONDS: "SECONDS";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const S3EncryptionOption: {
|
|
78
|
+
readonly SSE_KMS: "SSE_KMS";
|
|
79
|
+
readonly SSE_S3: "SSE_S3";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type S3EncryptionOption = (typeof S3EncryptionOption)[keyof typeof S3EncryptionOption];
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @enum
|
|
88
|
+
*/
|
|
89
|
+
export declare const PartitionKeyEnforcementLevel: {
|
|
90
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
91
|
+
readonly REQUIRED: "REQUIRED";
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export type PartitionKeyEnforcementLevel = (typeof PartitionKeyEnforcementLevel)[keyof typeof PartitionKeyEnforcementLevel];
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* @enum
|
|
100
|
+
*/
|
|
101
|
+
export declare const PartitionKeyType: {
|
|
102
|
+
readonly DIMENSION: "DIMENSION";
|
|
103
|
+
readonly MEASURE: "MEASURE";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type PartitionKeyType = (typeof PartitionKeyType)[keyof typeof PartitionKeyType];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* @enum
|
|
112
|
+
*/
|
|
113
|
+
export declare const TableStatus: {
|
|
114
|
+
readonly ACTIVE: "ACTIVE";
|
|
115
|
+
readonly DELETING: "DELETING";
|
|
116
|
+
readonly RESTORING: "RESTORING";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @enum
|
|
125
|
+
*/
|
|
126
|
+
export declare const DimensionValueType: {
|
|
127
|
+
readonly VARCHAR: "VARCHAR";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export type DimensionValueType = (typeof DimensionValueType)[keyof typeof DimensionValueType];
|