@aws-sdk/client-rds-data 3.51.0 → 3.54.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/RDSDataServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +81 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -300
- package/dist-es/index.js +1 -0
- package/dist-es/models/RDSDataServiceException.js +12 -0
- package/dist-es/models/models_0.js +75 -1
- package/dist-es/protocols/Aws_restJson1.js +187 -332
- package/dist-types/RDSDataClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RDSDataServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +38 -29
- 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/RDSDataClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RDSDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -24
- 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 +33 -33
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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-rds-data
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-rds-data
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-rds-data
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RDSDataServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./RDSData"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./RDSDataClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var RDSDataServiceException_1 = require("./models/RDSDataServiceException");
|
|
10
|
+
Object.defineProperty(exports, "RDSDataServiceException", { enumerable: true, get: function () { return RDSDataServiceException_1.RDSDataServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RDSDataServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class RDSDataServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, RDSDataServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.RDSDataServiceException = RDSDataServiceException;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteSqlResponse = exports.SqlStatementResult = exports.ResultFrame = exports.ExecuteStatementResponse = exports._Record = exports.BatchExecuteStatementResponse = exports.BatchExecuteStatementRequest = exports.StructValue = exports.ExecuteStatementRequest = exports.Value = exports.UpdateResult = exports.SqlParameter = exports.Field = exports.ArrayValue = exports.RollbackTransactionResponse = exports.RollbackTransactionRequest = exports.ResultSetOptions = exports.ResultSetMetadata = exports.ExecuteSqlRequest = exports.DecimalReturnType = exports.CommitTransactionResponse = exports.CommitTransactionRequest = exports.ColumnMetadata = exports.BeginTransactionResponse = exports.BeginTransactionRequest = exports.TypeHint = void 0;
|
|
3
|
+
exports.ExecuteSqlResponse = exports.SqlStatementResult = exports.ResultFrame = exports.ExecuteStatementResponse = exports._Record = exports.BatchExecuteStatementResponse = exports.BatchExecuteStatementRequest = exports.StructValue = exports.ExecuteStatementRequest = exports.Value = exports.UpdateResult = exports.SqlParameter = exports.Field = exports.ArrayValue = exports.RollbackTransactionResponse = exports.RollbackTransactionRequest = exports.ResultSetOptions = exports.ResultSetMetadata = exports.ExecuteSqlRequest = exports.DecimalReturnType = exports.NotFoundException = exports.CommitTransactionResponse = exports.CommitTransactionRequest = exports.ColumnMetadata = exports.BeginTransactionResponse = exports.BeginTransactionRequest = exports.StatementTimeoutException = exports.ServiceUnavailableError = exports.InternalServerErrorException = exports.ForbiddenException = exports.TypeHint = exports.BadRequestException = void 0;
|
|
4
|
+
const RDSDataServiceException_1 = require("./RDSDataServiceException");
|
|
5
|
+
class BadRequestException extends RDSDataServiceException_1.RDSDataServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "BadRequestException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "BadRequestException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.BadRequestException = BadRequestException;
|
|
4
18
|
var TypeHint;
|
|
5
19
|
(function (TypeHint) {
|
|
6
20
|
TypeHint["DATE"] = "DATE";
|
|
@@ -10,6 +24,59 @@ var TypeHint;
|
|
|
10
24
|
TypeHint["TIMESTAMP"] = "TIMESTAMP";
|
|
11
25
|
TypeHint["UUID"] = "UUID";
|
|
12
26
|
})(TypeHint = exports.TypeHint || (exports.TypeHint = {}));
|
|
27
|
+
class ForbiddenException extends RDSDataServiceException_1.RDSDataServiceException {
|
|
28
|
+
constructor(opts) {
|
|
29
|
+
super({
|
|
30
|
+
name: "ForbiddenException",
|
|
31
|
+
$fault: "client",
|
|
32
|
+
...opts,
|
|
33
|
+
});
|
|
34
|
+
this.name = "ForbiddenException";
|
|
35
|
+
this.$fault = "client";
|
|
36
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ForbiddenException = ForbiddenException;
|
|
40
|
+
class InternalServerErrorException extends RDSDataServiceException_1.RDSDataServiceException {
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InternalServerErrorException",
|
|
44
|
+
$fault: "server",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
this.name = "InternalServerErrorException";
|
|
48
|
+
this.$fault = "server";
|
|
49
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
53
|
+
class ServiceUnavailableError extends RDSDataServiceException_1.RDSDataServiceException {
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ServiceUnavailableError",
|
|
57
|
+
$fault: "server",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
this.name = "ServiceUnavailableError";
|
|
61
|
+
this.$fault = "server";
|
|
62
|
+
Object.setPrototypeOf(this, ServiceUnavailableError.prototype);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
66
|
+
class StatementTimeoutException extends RDSDataServiceException_1.RDSDataServiceException {
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "StatementTimeoutException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
this.name = "StatementTimeoutException";
|
|
74
|
+
this.$fault = "client";
|
|
75
|
+
Object.setPrototypeOf(this, StatementTimeoutException.prototype);
|
|
76
|
+
this.dbConnectionId = opts.dbConnectionId;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.StatementTimeoutException = StatementTimeoutException;
|
|
13
80
|
var BeginTransactionRequest;
|
|
14
81
|
(function (BeginTransactionRequest) {
|
|
15
82
|
BeginTransactionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -40,6 +107,19 @@ var CommitTransactionResponse;
|
|
|
40
107
|
...obj,
|
|
41
108
|
});
|
|
42
109
|
})(CommitTransactionResponse = exports.CommitTransactionResponse || (exports.CommitTransactionResponse = {}));
|
|
110
|
+
class NotFoundException extends RDSDataServiceException_1.RDSDataServiceException {
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "NotFoundException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
this.name = "NotFoundException";
|
|
118
|
+
this.$fault = "client";
|
|
119
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.NotFoundException = NotFoundException;
|
|
43
123
|
var DecimalReturnType;
|
|
44
124
|
(function (DecimalReturnType) {
|
|
45
125
|
DecimalReturnType["DOUBLE_OR_LONG"] = "DOUBLE_OR_LONG";
|