@aws-sdk/client-redshift-data 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/RedshiftDataServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +103 -1
- package/dist-cjs/protocols/Aws_json1_1.js +115 -326
- package/dist-es/index.js +1 -0
- package/dist-es/models/RedshiftDataServiceException.js +12 -0
- package/dist-es/models/models_0.js +96 -1
- package/dist-es/protocols/Aws_json1_1.js +226 -353
- package/dist-types/RedshiftDataClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/RedshiftDataServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- 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/RedshiftDataClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -22
- 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 +27 -27
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-redshift-data
|
|
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-redshift-data
|
|
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-redshift-data
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedshiftDataServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./RedshiftData"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./RedshiftDataClient"), 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 RedshiftDataServiceException_1 = require("./models/RedshiftDataServiceException");
|
|
11
|
+
Object.defineProperty(exports, "RedshiftDataServiceException", { enumerable: true, get: function () { return RedshiftDataServiceException_1.RedshiftDataServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedshiftDataServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class RedshiftDataServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.RedshiftDataServiceException = RedshiftDataServiceException;
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTablesResponse = exports.TableMember = exports.ListTablesRequest = exports.ListStatementsResponse = exports.StatementData = exports.ListStatementsRequest = exports.ListSchemasResponse = exports.ListSchemasRequest = exports.ListDatabasesResponse = exports.ListDatabasesRequest = exports.GetStatementResultResponse = exports.GetStatementResultRequest = exports.Field = exports.ExecuteStatementOutput = exports.ExecuteStatementInput = exports.DescribeTableResponse = exports.DescribeTableRequest = exports.DescribeStatementResponse = exports.SubStatementData = exports.StatementStatusString = exports.StatusString = exports.SqlParameter = exports.DescribeStatementRequest = exports.ColumnMetadata = exports.CancelStatementResponse = exports.CancelStatementRequest = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = void 0;
|
|
3
|
+
exports.ListTablesResponse = exports.TableMember = exports.ListTablesRequest = exports.ListStatementsResponse = exports.StatementData = exports.ListStatementsRequest = exports.ListSchemasResponse = exports.ListSchemasRequest = exports.ListDatabasesResponse = exports.ListDatabasesRequest = exports.GetStatementResultResponse = exports.GetStatementResultRequest = exports.Field = exports.ExecuteStatementOutput = exports.ExecuteStatementInput = exports.ExecuteStatementException = exports.DescribeTableResponse = exports.DescribeTableRequest = exports.DescribeStatementResponse = exports.SubStatementData = exports.StatementStatusString = exports.StatusString = exports.SqlParameter = exports.DescribeStatementRequest = exports.ColumnMetadata = exports.ResourceNotFoundException = exports.InternalServerException = exports.DatabaseConnectionException = exports.CancelStatementResponse = exports.CancelStatementRequest = exports.ValidationException = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.BatchExecuteStatementException = exports.ActiveStatementsExceededException = void 0;
|
|
4
|
+
const RedshiftDataServiceException_1 = require("./RedshiftDataServiceException");
|
|
5
|
+
class ActiveStatementsExceededException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ActiveStatementsExceededException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "ActiveStatementsExceededException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, ActiveStatementsExceededException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ActiveStatementsExceededException = ActiveStatementsExceededException;
|
|
19
|
+
class BatchExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "BatchExecuteStatementException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "BatchExecuteStatementException";
|
|
27
|
+
this.$fault = "server";
|
|
28
|
+
Object.setPrototypeOf(this, BatchExecuteStatementException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
this.StatementId = opts.StatementId;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.BatchExecuteStatementException = BatchExecuteStatementException;
|
|
4
34
|
var BatchExecuteStatementInput;
|
|
5
35
|
(function (BatchExecuteStatementInput) {
|
|
6
36
|
BatchExecuteStatementInput.filterSensitiveLog = (obj) => ({
|
|
@@ -13,6 +43,20 @@ var BatchExecuteStatementOutput;
|
|
|
13
43
|
...obj,
|
|
14
44
|
});
|
|
15
45
|
})(BatchExecuteStatementOutput = exports.BatchExecuteStatementOutput || (exports.BatchExecuteStatementOutput = {}));
|
|
46
|
+
class ValidationException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ValidationException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
this.name = "ValidationException";
|
|
54
|
+
this.$fault = "client";
|
|
55
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ValidationException = ValidationException;
|
|
16
60
|
var CancelStatementRequest;
|
|
17
61
|
(function (CancelStatementRequest) {
|
|
18
62
|
CancelStatementRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -25,6 +69,49 @@ var CancelStatementResponse;
|
|
|
25
69
|
...obj,
|
|
26
70
|
});
|
|
27
71
|
})(CancelStatementResponse = exports.CancelStatementResponse || (exports.CancelStatementResponse = {}));
|
|
72
|
+
class DatabaseConnectionException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "DatabaseConnectionException",
|
|
76
|
+
$fault: "server",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "DatabaseConnectionException";
|
|
80
|
+
this.$fault = "server";
|
|
81
|
+
Object.setPrototypeOf(this, DatabaseConnectionException.prototype);
|
|
82
|
+
this.Message = opts.Message;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.DatabaseConnectionException = DatabaseConnectionException;
|
|
86
|
+
class InternalServerException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "InternalServerException",
|
|
90
|
+
$fault: "server",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "InternalServerException";
|
|
94
|
+
this.$fault = "server";
|
|
95
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
96
|
+
this.Message = opts.Message;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.InternalServerException = InternalServerException;
|
|
100
|
+
class ResourceNotFoundException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ResourceNotFoundException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
this.name = "ResourceNotFoundException";
|
|
108
|
+
this.$fault = "client";
|
|
109
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
110
|
+
this.Message = opts.Message;
|
|
111
|
+
this.ResourceId = opts.ResourceId;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
28
115
|
var ColumnMetadata;
|
|
29
116
|
(function (ColumnMetadata) {
|
|
30
117
|
ColumnMetadata.filterSensitiveLog = (obj) => ({
|
|
@@ -86,6 +173,21 @@ var DescribeTableResponse;
|
|
|
86
173
|
...obj,
|
|
87
174
|
});
|
|
88
175
|
})(DescribeTableResponse = exports.DescribeTableResponse || (exports.DescribeTableResponse = {}));
|
|
176
|
+
class ExecuteStatementException extends RedshiftDataServiceException_1.RedshiftDataServiceException {
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "ExecuteStatementException",
|
|
180
|
+
$fault: "server",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
this.name = "ExecuteStatementException";
|
|
184
|
+
this.$fault = "server";
|
|
185
|
+
Object.setPrototypeOf(this, ExecuteStatementException.prototype);
|
|
186
|
+
this.Message = opts.Message;
|
|
187
|
+
this.StatementId = opts.StatementId;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.ExecuteStatementException = ExecuteStatementException;
|
|
89
191
|
var ExecuteStatementInput;
|
|
90
192
|
(function (ExecuteStatementInput) {
|
|
91
193
|
ExecuteStatementInput.filterSensitiveLog = (obj) => ({
|