@aws-sdk/client-timestream-write 3.52.0 → 3.54.1
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/TimestreamWriteServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +130 -1
- package/dist-cjs/protocols/Aws_json1_0.js +186 -722
- package/dist-es/index.js +1 -0
- package/dist-es/models/TimestreamWriteServiceException.js +12 -0
- package/dist-es/models/models_0.js +120 -1
- package/dist-es/protocols/Aws_json1_0.js +394 -765
- package/dist-types/TimestreamWriteClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TimestreamWriteServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +65 -28
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/TimestreamWriteServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -28
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +28 -28
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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TimestreamWriteServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./TimestreamWrite"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./TimestreamWriteClient"), 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 TimestreamWriteServiceException_1 = require("./models/TimestreamWriteServiceException");
|
|
11
|
+
Object.defineProperty(exports, "TimestreamWriteServiceException", { enumerable: true, get: function () { return TimestreamWriteServiceException_1.TimestreamWriteServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TimestreamWriteServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class TimestreamWriteServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, TimestreamWriteServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.TimestreamWriteServiceException = TimestreamWriteServiceException;
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpdateDatabaseRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectedRecordsException = exports.RejectedRecord = exports.RecordsIngested = exports._Record = exports.TimeUnit = exports.MeasureValue = exports.MeasureValueType = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListTablesResponse = exports.ListTablesRequest = exports.ListDatabasesResponse = exports.ListDatabasesRequest = exports.Dimension = exports.DimensionValueType = exports.DescribeTableResponse = exports.DescribeTableRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeDatabaseResponse = exports.DescribeDatabaseRequest = exports.DeleteTableRequest = exports.DeleteDatabaseRequest = exports.ResourceNotFoundException = exports.CreateTableResponse = exports.Table = exports.TableStatus = exports.CreateTableRequest = exports.RetentionProperties = exports.MagneticStoreWriteProperties = exports.MagneticStoreRejectedDataLocation = exports.S3Configuration = exports.S3EncryptionOption = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InvalidEndpointException = exports.InternalServerException = exports.CreateDatabaseResponse = exports.Database = exports.CreateDatabaseRequest = exports.Tag = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.WriteRecordsResponse = exports.WriteRecordsRequest = exports.UpdateTableResponse = exports.UpdateTableRequest = exports.UpdateDatabaseResponse = void 0;
|
|
5
|
+
const TimestreamWriteServiceException_1 = require("./TimestreamWriteServiceException");
|
|
6
|
+
class AccessDeniedException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "ConflictException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.Message = opts.Message;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.ConflictException = ConflictException;
|
|
4
34
|
var Tag;
|
|
5
35
|
(function (Tag) {
|
|
6
36
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -25,6 +55,76 @@ var CreateDatabaseResponse;
|
|
|
25
55
|
...obj,
|
|
26
56
|
});
|
|
27
57
|
})(CreateDatabaseResponse = exports.CreateDatabaseResponse || (exports.CreateDatabaseResponse = {}));
|
|
58
|
+
class InternalServerException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "InternalServerException",
|
|
62
|
+
$fault: "server",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "InternalServerException";
|
|
66
|
+
this.$fault = "server";
|
|
67
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
68
|
+
this.Message = opts.Message;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.InternalServerException = InternalServerException;
|
|
72
|
+
class InvalidEndpointException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "InvalidEndpointException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "InvalidEndpointException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, InvalidEndpointException.prototype);
|
|
82
|
+
this.Message = opts.Message;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.InvalidEndpointException = InvalidEndpointException;
|
|
86
|
+
class ServiceQuotaExceededException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceQuotaExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ServiceQuotaExceededException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
96
|
+
this.Message = opts.Message;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
100
|
+
class ThrottlingException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ThrottlingException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
this.name = "ThrottlingException";
|
|
108
|
+
this.$fault = "client";
|
|
109
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
110
|
+
this.Message = opts.Message;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.ThrottlingException = ThrottlingException;
|
|
114
|
+
class ValidationException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ValidationException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "ValidationException";
|
|
122
|
+
this.$fault = "client";
|
|
123
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
124
|
+
this.Message = opts.Message;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.ValidationException = ValidationException;
|
|
28
128
|
var S3EncryptionOption;
|
|
29
129
|
(function (S3EncryptionOption) {
|
|
30
130
|
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
@@ -77,6 +177,20 @@ var CreateTableResponse;
|
|
|
77
177
|
...obj,
|
|
78
178
|
});
|
|
79
179
|
})(CreateTableResponse = exports.CreateTableResponse || (exports.CreateTableResponse = {}));
|
|
180
|
+
class ResourceNotFoundException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ResourceNotFoundException",
|
|
184
|
+
$fault: "client",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
this.name = "ResourceNotFoundException";
|
|
188
|
+
this.$fault = "client";
|
|
189
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
190
|
+
this.Message = opts.Message;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
80
194
|
var DeleteDatabaseRequest;
|
|
81
195
|
(function (DeleteDatabaseRequest) {
|
|
82
196
|
DeleteDatabaseRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -217,6 +331,21 @@ var RejectedRecord;
|
|
|
217
331
|
...obj,
|
|
218
332
|
});
|
|
219
333
|
})(RejectedRecord = exports.RejectedRecord || (exports.RejectedRecord = {}));
|
|
334
|
+
class RejectedRecordsException extends TimestreamWriteServiceException_1.TimestreamWriteServiceException {
|
|
335
|
+
constructor(opts) {
|
|
336
|
+
super({
|
|
337
|
+
name: "RejectedRecordsException",
|
|
338
|
+
$fault: "client",
|
|
339
|
+
...opts,
|
|
340
|
+
});
|
|
341
|
+
this.name = "RejectedRecordsException";
|
|
342
|
+
this.$fault = "client";
|
|
343
|
+
Object.setPrototypeOf(this, RejectedRecordsException.prototype);
|
|
344
|
+
this.Message = opts.Message;
|
|
345
|
+
this.RejectedRecords = opts.RejectedRecords;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
exports.RejectedRecordsException = RejectedRecordsException;
|
|
220
349
|
var TagResourceRequest;
|
|
221
350
|
(function (TagResourceRequest) {
|
|
222
351
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|