@aws-sdk/client-rds-data 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
@@ -2,3 +2,4 @@ export * from "./RDSData";
2
2
  export * from "./RDSDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { RDSDataServiceException } from "./models/RDSDataServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var RDSDataServiceException = (function (_super) {
4
+ __extends(RDSDataServiceException, _super);
5
+ function RDSDataServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, RDSDataServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return RDSDataServiceException;
11
+ }(__ServiceException));
12
+ export { RDSDataServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";
3
+ var BadRequestException = (function (_super) {
4
+ __extends(BadRequestException, _super);
5
+ function BadRequestException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
7
+ _this.name = "BadRequestException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
10
+ return _this;
11
+ }
12
+ return BadRequestException;
13
+ }(__BaseException));
14
+ export { BadRequestException };
2
15
  export var TypeHint;
3
16
  (function (TypeHint) {
4
17
  TypeHint["DATE"] = "DATE";
@@ -8,6 +21,55 @@ export var TypeHint;
8
21
  TypeHint["TIMESTAMP"] = "TIMESTAMP";
9
22
  TypeHint["UUID"] = "UUID";
10
23
  })(TypeHint || (TypeHint = {}));
24
+ var ForbiddenException = (function (_super) {
25
+ __extends(ForbiddenException, _super);
26
+ function ForbiddenException(opts) {
27
+ var _this = _super.call(this, __assign({ name: "ForbiddenException", $fault: "client" }, opts)) || this;
28
+ _this.name = "ForbiddenException";
29
+ _this.$fault = "client";
30
+ Object.setPrototypeOf(_this, ForbiddenException.prototype);
31
+ return _this;
32
+ }
33
+ return ForbiddenException;
34
+ }(__BaseException));
35
+ export { ForbiddenException };
36
+ var InternalServerErrorException = (function (_super) {
37
+ __extends(InternalServerErrorException, _super);
38
+ function InternalServerErrorException(opts) {
39
+ var _this = _super.call(this, __assign({ name: "InternalServerErrorException", $fault: "server" }, opts)) || this;
40
+ _this.name = "InternalServerErrorException";
41
+ _this.$fault = "server";
42
+ Object.setPrototypeOf(_this, InternalServerErrorException.prototype);
43
+ return _this;
44
+ }
45
+ return InternalServerErrorException;
46
+ }(__BaseException));
47
+ export { InternalServerErrorException };
48
+ var ServiceUnavailableError = (function (_super) {
49
+ __extends(ServiceUnavailableError, _super);
50
+ function ServiceUnavailableError(opts) {
51
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableError", $fault: "server" }, opts)) || this;
52
+ _this.name = "ServiceUnavailableError";
53
+ _this.$fault = "server";
54
+ Object.setPrototypeOf(_this, ServiceUnavailableError.prototype);
55
+ return _this;
56
+ }
57
+ return ServiceUnavailableError;
58
+ }(__BaseException));
59
+ export { ServiceUnavailableError };
60
+ var StatementTimeoutException = (function (_super) {
61
+ __extends(StatementTimeoutException, _super);
62
+ function StatementTimeoutException(opts) {
63
+ var _this = _super.call(this, __assign({ name: "StatementTimeoutException", $fault: "client" }, opts)) || this;
64
+ _this.name = "StatementTimeoutException";
65
+ _this.$fault = "client";
66
+ Object.setPrototypeOf(_this, StatementTimeoutException.prototype);
67
+ _this.dbConnectionId = opts.dbConnectionId;
68
+ return _this;
69
+ }
70
+ return StatementTimeoutException;
71
+ }(__BaseException));
72
+ export { StatementTimeoutException };
11
73
  export var BeginTransactionRequest;
12
74
  (function (BeginTransactionRequest) {
13
75
  BeginTransactionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -28,6 +90,18 @@ export var CommitTransactionResponse;
28
90
  (function (CommitTransactionResponse) {
29
91
  CommitTransactionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
92
  })(CommitTransactionResponse || (CommitTransactionResponse = {}));
93
+ var NotFoundException = (function (_super) {
94
+ __extends(NotFoundException, _super);
95
+ function NotFoundException(opts) {
96
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
97
+ _this.name = "NotFoundException";
98
+ _this.$fault = "client";
99
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
100
+ return _this;
101
+ }
102
+ return NotFoundException;
103
+ }(__BaseException));
104
+ export { NotFoundException };
31
105
  export var DecimalReturnType;
32
106
  (function (DecimalReturnType) {
33
107
  DecimalReturnType["DOUBLE_OR_LONG"] = "DOUBLE_OR_LONG";