@aws-sdk/client-timestream-write 3.52.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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./TimestreamWriteClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var TimestreamWriteServiceException = (function (_super) {
4
+ __extends(TimestreamWriteServiceException, _super);
5
+ function TimestreamWriteServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, TimestreamWriteServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return TimestreamWriteServiceException;
11
+ }(__ServiceException));
12
+ export { TimestreamWriteServiceException };
@@ -1,4 +1,31 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
16
+ var ConflictException = (function (_super) {
17
+ __extends(ConflictException, _super);
18
+ function ConflictException(opts) {
19
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
20
+ _this.name = "ConflictException";
21
+ _this.$fault = "client";
22
+ Object.setPrototypeOf(_this, ConflictException.prototype);
23
+ _this.Message = opts.Message;
24
+ return _this;
25
+ }
26
+ return ConflictException;
27
+ }(__BaseException));
28
+ export { ConflictException };
2
29
  export var Tag;
3
30
  (function (Tag) {
4
31
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -15,6 +42,71 @@ export var CreateDatabaseResponse;
15
42
  (function (CreateDatabaseResponse) {
16
43
  CreateDatabaseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
44
  })(CreateDatabaseResponse || (CreateDatabaseResponse = {}));
45
+ var InternalServerException = (function (_super) {
46
+ __extends(InternalServerException, _super);
47
+ function InternalServerException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
49
+ _this.name = "InternalServerException";
50
+ _this.$fault = "server";
51
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
52
+ _this.Message = opts.Message;
53
+ return _this;
54
+ }
55
+ return InternalServerException;
56
+ }(__BaseException));
57
+ export { InternalServerException };
58
+ var InvalidEndpointException = (function (_super) {
59
+ __extends(InvalidEndpointException, _super);
60
+ function InvalidEndpointException(opts) {
61
+ var _this = _super.call(this, __assign({ name: "InvalidEndpointException", $fault: "client" }, opts)) || this;
62
+ _this.name = "InvalidEndpointException";
63
+ _this.$fault = "client";
64
+ Object.setPrototypeOf(_this, InvalidEndpointException.prototype);
65
+ _this.Message = opts.Message;
66
+ return _this;
67
+ }
68
+ return InvalidEndpointException;
69
+ }(__BaseException));
70
+ export { InvalidEndpointException };
71
+ var ServiceQuotaExceededException = (function (_super) {
72
+ __extends(ServiceQuotaExceededException, _super);
73
+ function ServiceQuotaExceededException(opts) {
74
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
75
+ _this.name = "ServiceQuotaExceededException";
76
+ _this.$fault = "client";
77
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
78
+ _this.Message = opts.Message;
79
+ return _this;
80
+ }
81
+ return ServiceQuotaExceededException;
82
+ }(__BaseException));
83
+ export { ServiceQuotaExceededException };
84
+ var ThrottlingException = (function (_super) {
85
+ __extends(ThrottlingException, _super);
86
+ function ThrottlingException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
88
+ _this.name = "ThrottlingException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
91
+ _this.Message = opts.Message;
92
+ return _this;
93
+ }
94
+ return ThrottlingException;
95
+ }(__BaseException));
96
+ export { ThrottlingException };
97
+ var ValidationException = (function (_super) {
98
+ __extends(ValidationException, _super);
99
+ function ValidationException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
101
+ _this.name = "ValidationException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, ValidationException.prototype);
104
+ _this.Message = opts.Message;
105
+ return _this;
106
+ }
107
+ return ValidationException;
108
+ }(__BaseException));
109
+ export { ValidationException };
18
110
  export var S3EncryptionOption;
19
111
  (function (S3EncryptionOption) {
20
112
  S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
@@ -53,6 +145,19 @@ export var CreateTableResponse;
53
145
  (function (CreateTableResponse) {
54
146
  CreateTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
55
147
  })(CreateTableResponse || (CreateTableResponse = {}));
148
+ var ResourceNotFoundException = (function (_super) {
149
+ __extends(ResourceNotFoundException, _super);
150
+ function ResourceNotFoundException(opts) {
151
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
152
+ _this.name = "ResourceNotFoundException";
153
+ _this.$fault = "client";
154
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
155
+ _this.Message = opts.Message;
156
+ return _this;
157
+ }
158
+ return ResourceNotFoundException;
159
+ }(__BaseException));
160
+ export { ResourceNotFoundException };
56
161
  export var DeleteDatabaseRequest;
57
162
  (function (DeleteDatabaseRequest) {
58
163
  DeleteDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -153,6 +258,20 @@ export var RejectedRecord;
153
258
  (function (RejectedRecord) {
154
259
  RejectedRecord.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
260
  })(RejectedRecord || (RejectedRecord = {}));
261
+ var RejectedRecordsException = (function (_super) {
262
+ __extends(RejectedRecordsException, _super);
263
+ function RejectedRecordsException(opts) {
264
+ var _this = _super.call(this, __assign({ name: "RejectedRecordsException", $fault: "client" }, opts)) || this;
265
+ _this.name = "RejectedRecordsException";
266
+ _this.$fault = "client";
267
+ Object.setPrototypeOf(_this, RejectedRecordsException.prototype);
268
+ _this.Message = opts.Message;
269
+ _this.RejectedRecords = opts.RejectedRecords;
270
+ return _this;
271
+ }
272
+ return RejectedRecordsException;
273
+ }(__BaseException));
274
+ export { RejectedRecordsException };
156
275
  export var TagResourceRequest;
157
276
  (function (TagResourceRequest) {
158
277
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };