@aws-sdk/client-timestream-query 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/TimestreamQueryServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +130 -2
- package/dist-cjs/protocols/Aws_json1_0.js +176 -602
- package/dist-es/index.js +1 -0
- package/dist-es/models/TimestreamQueryServiceException.js +12 -0
- package/dist-es/models/models_0.js +120 -1
- package/dist-es/protocols/Aws_json1_0.js +350 -637
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TimestreamQueryServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +65 -28
- package/dist-types/ts3.4/TimestreamQuery.d.ts +70 -0
- package/dist-types/ts3.4/TimestreamQueryClient.d.ts +89 -0
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/TimestreamQueryServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +750 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListScheduledQueriesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +41 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +41 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +41 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +40 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-query
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-query
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-timestream-query
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TimestreamQueryServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./TimestreamQuery"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./TimestreamQueryClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var TimestreamQueryServiceException_1 = require("./models/TimestreamQueryServiceException");
|
|
11
|
+
Object.defineProperty(exports, "TimestreamQueryServiceException", { enumerable: true, get: function () { return TimestreamQueryServiceException_1.TimestreamQueryServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TimestreamQueryServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class TimestreamQueryServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, TimestreamQueryServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.TimestreamQueryServiceException = TimestreamQueryServiceException;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo = void 0;
|
|
3
|
+
exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScheduledQueriesResponse = exports.ScheduledQuery = exports.TargetDestination = exports.TimestreamDestination = exports.ListScheduledQueriesRequest = exports.ExecuteScheduledQueryRequest = exports.DescribeScheduledQueryResponse = exports.ScheduledQueryDescription = exports.ScheduledQueryState = exports.ScheduledQueryRunSummary = exports.ScheduledQueryRunStatus = exports.ExecutionStats = exports.ErrorReportLocation = exports.S3ReportLocation = exports.DescribeScheduledQueryRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.ResourceNotFoundException = exports.DeleteScheduledQueryRequest = exports.ServiceQuotaExceededException = exports.CreateScheduledQueryResponse = exports.CreateScheduledQueryRequest = exports.TargetConfiguration = exports.TimestreamConfiguration = exports.MultiMeasureMappings = exports.MixedMeasureMapping = exports.MultiMeasureAttributeMapping = exports.ScalarMeasureValueType = exports.MeasureValueType = exports.DimensionMapping = exports.DimensionValueType = exports.Tag = exports.ScheduleConfiguration = exports.NotificationConfiguration = exports.SnsConfiguration = exports.ErrorReportConfiguration = exports.S3Configuration = exports.S3EncryptionOption = exports.ConflictException = exports.ScalarType = exports.ValidationException = exports.ThrottlingException = exports.InvalidEndpointException = exports.InternalServerException = exports.CancelQueryResponse = exports.CancelQueryRequest = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo = exports.UpdateScheduledQueryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.QueryStatus = exports.QueryRequest = exports.QueryExecutionException = exports.PrepareQueryRequest = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const TimestreamQueryServiceException_1 = require("./TimestreamQueryServiceException");
|
|
7
|
+
class AccessDeniedException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
21
|
var CancelQueryRequest;
|
|
7
22
|
(function (CancelQueryRequest) {
|
|
8
23
|
CancelQueryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -15,6 +30,62 @@ var CancelQueryResponse;
|
|
|
15
30
|
...obj,
|
|
16
31
|
});
|
|
17
32
|
})(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
|
|
33
|
+
class InternalServerException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
this.name = "InternalServerException";
|
|
41
|
+
this.$fault = "server";
|
|
42
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
43
|
+
this.Message = opts.Message;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.InternalServerException = InternalServerException;
|
|
47
|
+
class InvalidEndpointException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InvalidEndpointException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "InvalidEndpointException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.InvalidEndpointException = InvalidEndpointException;
|
|
61
|
+
class ThrottlingException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ThrottlingException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "ThrottlingException";
|
|
69
|
+
this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.ThrottlingException = ThrottlingException;
|
|
75
|
+
class ValidationException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ValidationException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
this.name = "ValidationException";
|
|
83
|
+
this.$fault = "client";
|
|
84
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
85
|
+
this.Message = opts.Message;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.ValidationException = ValidationException;
|
|
18
89
|
var ScalarType;
|
|
19
90
|
(function (ScalarType) {
|
|
20
91
|
ScalarType["BIGINT"] = "BIGINT";
|
|
@@ -29,6 +100,20 @@ var ScalarType;
|
|
|
29
100
|
ScalarType["UNKNOWN"] = "UNKNOWN";
|
|
30
101
|
ScalarType["VARCHAR"] = "VARCHAR";
|
|
31
102
|
})(ScalarType = exports.ScalarType || (exports.ScalarType = {}));
|
|
103
|
+
class ConflictException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "ConflictException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
this.name = "ConflictException";
|
|
111
|
+
this.$fault = "client";
|
|
112
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
113
|
+
this.Message = opts.Message;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.ConflictException = ConflictException;
|
|
32
117
|
var S3EncryptionOption;
|
|
33
118
|
(function (S3EncryptionOption) {
|
|
34
119
|
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
@@ -139,12 +224,41 @@ var CreateScheduledQueryResponse;
|
|
|
139
224
|
...obj,
|
|
140
225
|
});
|
|
141
226
|
})(CreateScheduledQueryResponse = exports.CreateScheduledQueryResponse || (exports.CreateScheduledQueryResponse = {}));
|
|
227
|
+
class ServiceQuotaExceededException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "ServiceQuotaExceededException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
this.name = "ServiceQuotaExceededException";
|
|
235
|
+
this.$fault = "client";
|
|
236
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
142
241
|
var DeleteScheduledQueryRequest;
|
|
143
242
|
(function (DeleteScheduledQueryRequest) {
|
|
144
243
|
DeleteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
|
|
145
244
|
...obj,
|
|
146
245
|
});
|
|
147
246
|
})(DeleteScheduledQueryRequest = exports.DeleteScheduledQueryRequest || (exports.DeleteScheduledQueryRequest = {}));
|
|
247
|
+
class ResourceNotFoundException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
248
|
+
constructor(opts) {
|
|
249
|
+
super({
|
|
250
|
+
name: "ResourceNotFoundException",
|
|
251
|
+
$fault: "client",
|
|
252
|
+
...opts,
|
|
253
|
+
});
|
|
254
|
+
this.name = "ResourceNotFoundException";
|
|
255
|
+
this.$fault = "client";
|
|
256
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
257
|
+
this.Message = opts.Message;
|
|
258
|
+
this.ScheduledQueryArn = opts.ScheduledQueryArn;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
148
262
|
var DescribeEndpointsRequest;
|
|
149
263
|
(function (DescribeEndpointsRequest) {
|
|
150
264
|
DescribeEndpointsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -275,6 +389,20 @@ var PrepareQueryRequest;
|
|
|
275
389
|
...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
|
|
276
390
|
});
|
|
277
391
|
})(PrepareQueryRequest = exports.PrepareQueryRequest || (exports.PrepareQueryRequest = {}));
|
|
392
|
+
class QueryExecutionException extends TimestreamQueryServiceException_1.TimestreamQueryServiceException {
|
|
393
|
+
constructor(opts) {
|
|
394
|
+
super({
|
|
395
|
+
name: "QueryExecutionException",
|
|
396
|
+
$fault: "client",
|
|
397
|
+
...opts,
|
|
398
|
+
});
|
|
399
|
+
this.name = "QueryExecutionException";
|
|
400
|
+
this.$fault = "client";
|
|
401
|
+
Object.setPrototypeOf(this, QueryExecutionException.prototype);
|
|
402
|
+
this.Message = opts.Message;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
exports.QueryExecutionException = QueryExecutionException;
|
|
278
406
|
var QueryRequest;
|
|
279
407
|
(function (QueryRequest) {
|
|
280
408
|
QueryRequest.filterSensitiveLog = (obj) => ({
|