@aws-sdk/client-timestream-query 3.933.0 → 3.935.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 +66 -65
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +65 -0
- package/dist-es/models/errors.js +129 -0
- package/dist-es/models/models_0.js +1 -194
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +161 -0
- package/dist-types/models/errors.d.ts +125 -0
- package/dist-types/models/models_0.d.ts +1 -286
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +87 -0
- package/dist-types/ts3.4/models/errors.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -160
- package/package.json +12 -12
- 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
|
@@ -108,23 +108,6 @@ let ValidationException$1 = class ValidationException extends TimestreamQuerySer
|
|
|
108
108
|
this.Message = opts.Message;
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
-
const ScalarType = {
|
|
112
|
-
BIGINT: "BIGINT",
|
|
113
|
-
BOOLEAN: "BOOLEAN",
|
|
114
|
-
DATE: "DATE",
|
|
115
|
-
DOUBLE: "DOUBLE",
|
|
116
|
-
INTEGER: "INTEGER",
|
|
117
|
-
INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
|
|
118
|
-
INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
|
|
119
|
-
TIME: "TIME",
|
|
120
|
-
TIMESTAMP: "TIMESTAMP",
|
|
121
|
-
UNKNOWN: "UNKNOWN",
|
|
122
|
-
VARCHAR: "VARCHAR",
|
|
123
|
-
};
|
|
124
|
-
const ComputeMode = {
|
|
125
|
-
ON_DEMAND: "ON_DEMAND",
|
|
126
|
-
PROVISIONED: "PROVISIONED",
|
|
127
|
-
};
|
|
128
111
|
let ConflictException$1 = class ConflictException extends TimestreamQueryServiceException$1 {
|
|
129
112
|
name = "ConflictException";
|
|
130
113
|
$fault = "client";
|
|
@@ -139,27 +122,6 @@ let ConflictException$1 = class ConflictException extends TimestreamQueryService
|
|
|
139
122
|
this.Message = opts.Message;
|
|
140
123
|
}
|
|
141
124
|
};
|
|
142
|
-
const S3EncryptionOption = {
|
|
143
|
-
SSE_KMS: "SSE_KMS",
|
|
144
|
-
SSE_S3: "SSE_S3",
|
|
145
|
-
};
|
|
146
|
-
const DimensionValueType = {
|
|
147
|
-
VARCHAR: "VARCHAR",
|
|
148
|
-
};
|
|
149
|
-
const MeasureValueType = {
|
|
150
|
-
BIGINT: "BIGINT",
|
|
151
|
-
BOOLEAN: "BOOLEAN",
|
|
152
|
-
DOUBLE: "DOUBLE",
|
|
153
|
-
MULTI: "MULTI",
|
|
154
|
-
VARCHAR: "VARCHAR",
|
|
155
|
-
};
|
|
156
|
-
const ScalarMeasureValueType = {
|
|
157
|
-
BIGINT: "BIGINT",
|
|
158
|
-
BOOLEAN: "BOOLEAN",
|
|
159
|
-
DOUBLE: "DOUBLE",
|
|
160
|
-
TIMESTAMP: "TIMESTAMP",
|
|
161
|
-
VARCHAR: "VARCHAR",
|
|
162
|
-
};
|
|
163
125
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends TimestreamQueryServiceException$1 {
|
|
164
126
|
name = "ServiceQuotaExceededException";
|
|
165
127
|
$fault = "client";
|
|
@@ -190,29 +152,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Timest
|
|
|
190
152
|
this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
191
153
|
}
|
|
192
154
|
};
|
|
193
|
-
const LastUpdateStatus = {
|
|
194
|
-
FAILED: "FAILED",
|
|
195
|
-
PENDING: "PENDING",
|
|
196
|
-
SUCCEEDED: "SUCCEEDED",
|
|
197
|
-
};
|
|
198
|
-
const QueryPricingModel = {
|
|
199
|
-
BYTES_SCANNED: "BYTES_SCANNED",
|
|
200
|
-
COMPUTE_UNITS: "COMPUTE_UNITS",
|
|
201
|
-
};
|
|
202
|
-
const ScheduledQueryRunStatus = {
|
|
203
|
-
AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
|
|
204
|
-
AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
|
|
205
|
-
MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
|
|
206
|
-
MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
|
|
207
|
-
};
|
|
208
|
-
const ScheduledQueryState = {
|
|
209
|
-
DISABLED: "DISABLED",
|
|
210
|
-
ENABLED: "ENABLED",
|
|
211
|
-
};
|
|
212
|
-
const ScheduledQueryInsightsMode = {
|
|
213
|
-
DISABLED: "DISABLED",
|
|
214
|
-
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
215
|
-
};
|
|
216
155
|
let QueryExecutionException$1 = class QueryExecutionException extends TimestreamQueryServiceException$1 {
|
|
217
156
|
name = "QueryExecutionException";
|
|
218
157
|
$fault = "client";
|
|
@@ -227,10 +166,6 @@ let QueryExecutionException$1 = class QueryExecutionException extends Timestream
|
|
|
227
166
|
this.Message = opts.Message;
|
|
228
167
|
}
|
|
229
168
|
};
|
|
230
|
-
const QueryInsightsMode = {
|
|
231
|
-
DISABLED: "DISABLED",
|
|
232
|
-
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
233
|
-
};
|
|
234
169
|
|
|
235
170
|
const _A = "Arn";
|
|
236
171
|
const _ACI = "ArrayColumnInfo";
|
|
@@ -1331,6 +1266,72 @@ const paginateListTagsForResource = core.createPaginator(TimestreamQueryClient,
|
|
|
1331
1266
|
|
|
1332
1267
|
const paginateQuery = core.createPaginator(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
|
|
1333
1268
|
|
|
1269
|
+
const ScalarType = {
|
|
1270
|
+
BIGINT: "BIGINT",
|
|
1271
|
+
BOOLEAN: "BOOLEAN",
|
|
1272
|
+
DATE: "DATE",
|
|
1273
|
+
DOUBLE: "DOUBLE",
|
|
1274
|
+
INTEGER: "INTEGER",
|
|
1275
|
+
INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
|
|
1276
|
+
INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
|
|
1277
|
+
TIME: "TIME",
|
|
1278
|
+
TIMESTAMP: "TIMESTAMP",
|
|
1279
|
+
UNKNOWN: "UNKNOWN",
|
|
1280
|
+
VARCHAR: "VARCHAR",
|
|
1281
|
+
};
|
|
1282
|
+
const ComputeMode = {
|
|
1283
|
+
ON_DEMAND: "ON_DEMAND",
|
|
1284
|
+
PROVISIONED: "PROVISIONED",
|
|
1285
|
+
};
|
|
1286
|
+
const S3EncryptionOption = {
|
|
1287
|
+
SSE_KMS: "SSE_KMS",
|
|
1288
|
+
SSE_S3: "SSE_S3",
|
|
1289
|
+
};
|
|
1290
|
+
const DimensionValueType = {
|
|
1291
|
+
VARCHAR: "VARCHAR",
|
|
1292
|
+
};
|
|
1293
|
+
const MeasureValueType = {
|
|
1294
|
+
BIGINT: "BIGINT",
|
|
1295
|
+
BOOLEAN: "BOOLEAN",
|
|
1296
|
+
DOUBLE: "DOUBLE",
|
|
1297
|
+
MULTI: "MULTI",
|
|
1298
|
+
VARCHAR: "VARCHAR",
|
|
1299
|
+
};
|
|
1300
|
+
const ScalarMeasureValueType = {
|
|
1301
|
+
BIGINT: "BIGINT",
|
|
1302
|
+
BOOLEAN: "BOOLEAN",
|
|
1303
|
+
DOUBLE: "DOUBLE",
|
|
1304
|
+
TIMESTAMP: "TIMESTAMP",
|
|
1305
|
+
VARCHAR: "VARCHAR",
|
|
1306
|
+
};
|
|
1307
|
+
const LastUpdateStatus = {
|
|
1308
|
+
FAILED: "FAILED",
|
|
1309
|
+
PENDING: "PENDING",
|
|
1310
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1311
|
+
};
|
|
1312
|
+
const QueryPricingModel = {
|
|
1313
|
+
BYTES_SCANNED: "BYTES_SCANNED",
|
|
1314
|
+
COMPUTE_UNITS: "COMPUTE_UNITS",
|
|
1315
|
+
};
|
|
1316
|
+
const ScheduledQueryRunStatus = {
|
|
1317
|
+
AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
|
|
1318
|
+
AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
|
|
1319
|
+
MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
|
|
1320
|
+
MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
|
|
1321
|
+
};
|
|
1322
|
+
const ScheduledQueryState = {
|
|
1323
|
+
DISABLED: "DISABLED",
|
|
1324
|
+
ENABLED: "ENABLED",
|
|
1325
|
+
};
|
|
1326
|
+
const ScheduledQueryInsightsMode = {
|
|
1327
|
+
DISABLED: "DISABLED",
|
|
1328
|
+
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
1329
|
+
};
|
|
1330
|
+
const QueryInsightsMode = {
|
|
1331
|
+
DISABLED: "DISABLED",
|
|
1332
|
+
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1334
1335
|
Object.defineProperty(exports, "$Command", {
|
|
1335
1336
|
enumerable: true,
|
|
1336
1337
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./TimestreamQueryClient";
|
|
|
2
2
|
export * from "./TimestreamQuery";
|
|
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 { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export const ScalarType = {
|
|
2
|
+
BIGINT: "BIGINT",
|
|
3
|
+
BOOLEAN: "BOOLEAN",
|
|
4
|
+
DATE: "DATE",
|
|
5
|
+
DOUBLE: "DOUBLE",
|
|
6
|
+
INTEGER: "INTEGER",
|
|
7
|
+
INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
|
|
8
|
+
INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
|
|
9
|
+
TIME: "TIME",
|
|
10
|
+
TIMESTAMP: "TIMESTAMP",
|
|
11
|
+
UNKNOWN: "UNKNOWN",
|
|
12
|
+
VARCHAR: "VARCHAR",
|
|
13
|
+
};
|
|
14
|
+
export const ComputeMode = {
|
|
15
|
+
ON_DEMAND: "ON_DEMAND",
|
|
16
|
+
PROVISIONED: "PROVISIONED",
|
|
17
|
+
};
|
|
18
|
+
export const S3EncryptionOption = {
|
|
19
|
+
SSE_KMS: "SSE_KMS",
|
|
20
|
+
SSE_S3: "SSE_S3",
|
|
21
|
+
};
|
|
22
|
+
export const DimensionValueType = {
|
|
23
|
+
VARCHAR: "VARCHAR",
|
|
24
|
+
};
|
|
25
|
+
export const MeasureValueType = {
|
|
26
|
+
BIGINT: "BIGINT",
|
|
27
|
+
BOOLEAN: "BOOLEAN",
|
|
28
|
+
DOUBLE: "DOUBLE",
|
|
29
|
+
MULTI: "MULTI",
|
|
30
|
+
VARCHAR: "VARCHAR",
|
|
31
|
+
};
|
|
32
|
+
export const ScalarMeasureValueType = {
|
|
33
|
+
BIGINT: "BIGINT",
|
|
34
|
+
BOOLEAN: "BOOLEAN",
|
|
35
|
+
DOUBLE: "DOUBLE",
|
|
36
|
+
TIMESTAMP: "TIMESTAMP",
|
|
37
|
+
VARCHAR: "VARCHAR",
|
|
38
|
+
};
|
|
39
|
+
export const LastUpdateStatus = {
|
|
40
|
+
FAILED: "FAILED",
|
|
41
|
+
PENDING: "PENDING",
|
|
42
|
+
SUCCEEDED: "SUCCEEDED",
|
|
43
|
+
};
|
|
44
|
+
export const QueryPricingModel = {
|
|
45
|
+
BYTES_SCANNED: "BYTES_SCANNED",
|
|
46
|
+
COMPUTE_UNITS: "COMPUTE_UNITS",
|
|
47
|
+
};
|
|
48
|
+
export const ScheduledQueryRunStatus = {
|
|
49
|
+
AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
|
|
50
|
+
AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
|
|
51
|
+
MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
|
|
52
|
+
MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
|
|
53
|
+
};
|
|
54
|
+
export const ScheduledQueryState = {
|
|
55
|
+
DISABLED: "DISABLED",
|
|
56
|
+
ENABLED: "ENABLED",
|
|
57
|
+
};
|
|
58
|
+
export const ScheduledQueryInsightsMode = {
|
|
59
|
+
DISABLED: "DISABLED",
|
|
60
|
+
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
61
|
+
};
|
|
62
|
+
export const QueryInsightsMode = {
|
|
63
|
+
DISABLED: "DISABLED",
|
|
64
|
+
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
65
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { TimestreamQueryServiceException as __BaseException } from "./TimestreamQueryServiceException";
|
|
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 InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServerException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InvalidEndpointException extends __BaseException {
|
|
31
|
+
name = "InvalidEndpointException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidEndpointException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ThrottlingException extends __BaseException {
|
|
45
|
+
name = "ThrottlingException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ThrottlingException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ValidationException extends __BaseException {
|
|
59
|
+
name = "ValidationException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ValidationException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ConflictException extends __BaseException {
|
|
73
|
+
name = "ConflictException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ConflictException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
87
|
+
name = "ServiceQuotaExceededException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ServiceQuotaExceededException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
101
|
+
name = "ResourceNotFoundException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
Message;
|
|
104
|
+
ScheduledQueryArn;
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ResourceNotFoundException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
112
|
+
this.Message = opts.Message;
|
|
113
|
+
this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export class QueryExecutionException extends __BaseException {
|
|
117
|
+
name = "QueryExecutionException";
|
|
118
|
+
$fault = "client";
|
|
119
|
+
Message;
|
|
120
|
+
constructor(opts) {
|
|
121
|
+
super({
|
|
122
|
+
name: "QueryExecutionException",
|
|
123
|
+
$fault: "client",
|
|
124
|
+
...opts,
|
|
125
|
+
});
|
|
126
|
+
Object.setPrototypeOf(this, QueryExecutionException.prototype);
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -1,194 +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 class InternalServerException extends __BaseException {
|
|
17
|
-
name = "InternalServerException";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "InternalServerException",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InvalidEndpointException extends __BaseException {
|
|
31
|
-
name = "InvalidEndpointException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "InvalidEndpointException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class ThrottlingException extends __BaseException {
|
|
45
|
-
name = "ThrottlingException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ThrottlingException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export class ValidationException extends __BaseException {
|
|
59
|
-
name = "ValidationException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
Message;
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "ValidationException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
69
|
-
this.Message = opts.Message;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export const ScalarType = {
|
|
73
|
-
BIGINT: "BIGINT",
|
|
74
|
-
BOOLEAN: "BOOLEAN",
|
|
75
|
-
DATE: "DATE",
|
|
76
|
-
DOUBLE: "DOUBLE",
|
|
77
|
-
INTEGER: "INTEGER",
|
|
78
|
-
INTERVAL_DAY_TO_SECOND: "INTERVAL_DAY_TO_SECOND",
|
|
79
|
-
INTERVAL_YEAR_TO_MONTH: "INTERVAL_YEAR_TO_MONTH",
|
|
80
|
-
TIME: "TIME",
|
|
81
|
-
TIMESTAMP: "TIMESTAMP",
|
|
82
|
-
UNKNOWN: "UNKNOWN",
|
|
83
|
-
VARCHAR: "VARCHAR",
|
|
84
|
-
};
|
|
85
|
-
export const ComputeMode = {
|
|
86
|
-
ON_DEMAND: "ON_DEMAND",
|
|
87
|
-
PROVISIONED: "PROVISIONED",
|
|
88
|
-
};
|
|
89
|
-
export class ConflictException extends __BaseException {
|
|
90
|
-
name = "ConflictException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
Message;
|
|
93
|
-
constructor(opts) {
|
|
94
|
-
super({
|
|
95
|
-
name: "ConflictException",
|
|
96
|
-
$fault: "client",
|
|
97
|
-
...opts,
|
|
98
|
-
});
|
|
99
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
100
|
-
this.Message = opts.Message;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
export const S3EncryptionOption = {
|
|
104
|
-
SSE_KMS: "SSE_KMS",
|
|
105
|
-
SSE_S3: "SSE_S3",
|
|
106
|
-
};
|
|
107
|
-
export const DimensionValueType = {
|
|
108
|
-
VARCHAR: "VARCHAR",
|
|
109
|
-
};
|
|
110
|
-
export const MeasureValueType = {
|
|
111
|
-
BIGINT: "BIGINT",
|
|
112
|
-
BOOLEAN: "BOOLEAN",
|
|
113
|
-
DOUBLE: "DOUBLE",
|
|
114
|
-
MULTI: "MULTI",
|
|
115
|
-
VARCHAR: "VARCHAR",
|
|
116
|
-
};
|
|
117
|
-
export const ScalarMeasureValueType = {
|
|
118
|
-
BIGINT: "BIGINT",
|
|
119
|
-
BOOLEAN: "BOOLEAN",
|
|
120
|
-
DOUBLE: "DOUBLE",
|
|
121
|
-
TIMESTAMP: "TIMESTAMP",
|
|
122
|
-
VARCHAR: "VARCHAR",
|
|
123
|
-
};
|
|
124
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
125
|
-
name = "ServiceQuotaExceededException";
|
|
126
|
-
$fault = "client";
|
|
127
|
-
Message;
|
|
128
|
-
constructor(opts) {
|
|
129
|
-
super({
|
|
130
|
-
name: "ServiceQuotaExceededException",
|
|
131
|
-
$fault: "client",
|
|
132
|
-
...opts,
|
|
133
|
-
});
|
|
134
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
135
|
-
this.Message = opts.Message;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
139
|
-
name = "ResourceNotFoundException";
|
|
140
|
-
$fault = "client";
|
|
141
|
-
Message;
|
|
142
|
-
ScheduledQueryArn;
|
|
143
|
-
constructor(opts) {
|
|
144
|
-
super({
|
|
145
|
-
name: "ResourceNotFoundException",
|
|
146
|
-
$fault: "client",
|
|
147
|
-
...opts,
|
|
148
|
-
});
|
|
149
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
150
|
-
this.Message = opts.Message;
|
|
151
|
-
this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
export const LastUpdateStatus = {
|
|
155
|
-
FAILED: "FAILED",
|
|
156
|
-
PENDING: "PENDING",
|
|
157
|
-
SUCCEEDED: "SUCCEEDED",
|
|
158
|
-
};
|
|
159
|
-
export const QueryPricingModel = {
|
|
160
|
-
BYTES_SCANNED: "BYTES_SCANNED",
|
|
161
|
-
COMPUTE_UNITS: "COMPUTE_UNITS",
|
|
162
|
-
};
|
|
163
|
-
export const ScheduledQueryRunStatus = {
|
|
164
|
-
AUTO_TRIGGER_FAILURE: "AUTO_TRIGGER_FAILURE",
|
|
165
|
-
AUTO_TRIGGER_SUCCESS: "AUTO_TRIGGER_SUCCESS",
|
|
166
|
-
MANUAL_TRIGGER_FAILURE: "MANUAL_TRIGGER_FAILURE",
|
|
167
|
-
MANUAL_TRIGGER_SUCCESS: "MANUAL_TRIGGER_SUCCESS",
|
|
168
|
-
};
|
|
169
|
-
export const ScheduledQueryState = {
|
|
170
|
-
DISABLED: "DISABLED",
|
|
171
|
-
ENABLED: "ENABLED",
|
|
172
|
-
};
|
|
173
|
-
export const ScheduledQueryInsightsMode = {
|
|
174
|
-
DISABLED: "DISABLED",
|
|
175
|
-
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
176
|
-
};
|
|
177
|
-
export class QueryExecutionException extends __BaseException {
|
|
178
|
-
name = "QueryExecutionException";
|
|
179
|
-
$fault = "client";
|
|
180
|
-
Message;
|
|
181
|
-
constructor(opts) {
|
|
182
|
-
super({
|
|
183
|
-
name: "QueryExecutionException",
|
|
184
|
-
$fault: "client",
|
|
185
|
-
...opts,
|
|
186
|
-
});
|
|
187
|
-
Object.setPrototypeOf(this, QueryExecutionException.prototype);
|
|
188
|
-
this.Message = opts.Message;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
export const QueryInsightsMode = {
|
|
192
|
-
DISABLED: "DISABLED",
|
|
193
|
-
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
194
|
-
};
|
|
1
|
+
export {};
|
|
@@ -210,7 +210,7 @@ const _s = "server";
|
|
|
210
210
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamquery";
|
|
211
211
|
const n0 = "com.amazonaws.timestreamquery";
|
|
212
212
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
213
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidEndpointException as __InvalidEndpointException, QueryExecutionException as __QueryExecutionException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
213
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidEndpointException as __InvalidEndpointException, QueryExecutionException as __QueryExecutionException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
214
214
|
import { TimestreamQueryServiceException as __TimestreamQueryServiceException } from "../models/TimestreamQueryServiceException";
|
|
215
215
|
export var ClientRequestToken = [0, n0, _CRT, 8, 0];
|
|
216
216
|
export var ClientToken = [0, n0, _CT, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,5 +12,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
12
12
|
export type { TimestreamQueryExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
14
14
|
export * from "./pagination";
|
|
15
|
-
export * from "./models";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export type * from "./models/models_0";
|
|
16
18
|
export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException";
|