@aws-sdk/client-redshift-data 3.130.0 → 3.141.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/CancelStatementCommand.js +2 -2
- package/dist-cjs/commands/DescribeStatementCommand.js +2 -2
- package/dist-cjs/commands/DescribeTableCommand.js +2 -2
- package/dist-cjs/commands/ExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/GetStatementResultCommand.js +2 -2
- package/dist-cjs/commands/ListDatabasesCommand.js +2 -2
- package/dist-cjs/commands/ListSchemasCommand.js +2 -2
- package/dist-cjs/commands/ListStatementsCommand.js +2 -2
- package/dist-cjs/commands/ListTablesCommand.js +2 -2
- package/dist-cjs/models/models_0.js +119 -168
- package/dist-es/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist-es/commands/CancelStatementCommand.js +3 -3
- package/dist-es/commands/DescribeStatementCommand.js +3 -3
- package/dist-es/commands/DescribeTableCommand.js +3 -3
- package/dist-es/commands/ExecuteStatementCommand.js +3 -3
- package/dist-es/commands/GetStatementResultCommand.js +3 -3
- package/dist-es/commands/ListDatabasesCommand.js +3 -3
- package/dist-es/commands/ListSchemasCommand.js +3 -3
- package/dist-es/commands/ListStatementsCommand.js +3 -3
- package/dist-es/commands/ListTablesCommand.js +3 -3
- package/dist-es/models/models_0.js +42 -117
- package/dist-types/models/models_0.d.ts +104 -154
- package/dist-types/ts3.4/models/models_0.d.ts +52 -102
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListDatabasesRequestFilterSensitiveLog, ListDatabasesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListDatabasesCommand, serializeAws_json1_1ListDatabasesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListDatabasesCommand = (function (_super) {
|
|
7
7
|
__extends(ListDatabasesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListDatabasesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListDatabasesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListDatabasesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListSchemasRequestFilterSensitiveLog, ListSchemasResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListSchemasCommand, serializeAws_json1_1ListSchemasCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListSchemasCommand = (function (_super) {
|
|
7
7
|
__extends(ListSchemasCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListSchemasCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListSchemasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSchemasResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListStatementsRequestFilterSensitiveLog, ListStatementsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListStatementsCommand, serializeAws_json1_1ListStatementsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListStatementsCommand = (function (_super) {
|
|
7
7
|
__extends(ListStatementsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListStatementsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListStatementsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListStatementsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListTablesRequestFilterSensitiveLog, ListTablesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListTablesCommand, serializeAws_json1_1ListTablesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListTablesCommand = (function (_super) {
|
|
7
7
|
__extends(ListTablesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListTablesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListTablesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListTablesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -27,14 +27,6 @@ var BatchExecuteStatementException = (function (_super) {
|
|
|
27
27
|
return BatchExecuteStatementException;
|
|
28
28
|
}(__BaseException));
|
|
29
29
|
export { BatchExecuteStatementException };
|
|
30
|
-
export var BatchExecuteStatementInput;
|
|
31
|
-
(function (BatchExecuteStatementInput) {
|
|
32
|
-
BatchExecuteStatementInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(BatchExecuteStatementInput || (BatchExecuteStatementInput = {}));
|
|
34
|
-
export var BatchExecuteStatementOutput;
|
|
35
|
-
(function (BatchExecuteStatementOutput) {
|
|
36
|
-
BatchExecuteStatementOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(BatchExecuteStatementOutput || (BatchExecuteStatementOutput = {}));
|
|
38
30
|
var ValidationException = (function (_super) {
|
|
39
31
|
__extends(ValidationException, _super);
|
|
40
32
|
function ValidationException(opts) {
|
|
@@ -48,14 +40,6 @@ var ValidationException = (function (_super) {
|
|
|
48
40
|
return ValidationException;
|
|
49
41
|
}(__BaseException));
|
|
50
42
|
export { ValidationException };
|
|
51
|
-
export var CancelStatementRequest;
|
|
52
|
-
(function (CancelStatementRequest) {
|
|
53
|
-
CancelStatementRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
-
})(CancelStatementRequest || (CancelStatementRequest = {}));
|
|
55
|
-
export var CancelStatementResponse;
|
|
56
|
-
(function (CancelStatementResponse) {
|
|
57
|
-
CancelStatementResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(CancelStatementResponse || (CancelStatementResponse = {}));
|
|
59
43
|
var DatabaseConnectionException = (function (_super) {
|
|
60
44
|
__extends(DatabaseConnectionException, _super);
|
|
61
45
|
function DatabaseConnectionException(opts) {
|
|
@@ -96,18 +80,6 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
96
80
|
return ResourceNotFoundException;
|
|
97
81
|
}(__BaseException));
|
|
98
82
|
export { ResourceNotFoundException };
|
|
99
|
-
export var ColumnMetadata;
|
|
100
|
-
(function (ColumnMetadata) {
|
|
101
|
-
ColumnMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
-
})(ColumnMetadata || (ColumnMetadata = {}));
|
|
103
|
-
export var DescribeStatementRequest;
|
|
104
|
-
(function (DescribeStatementRequest) {
|
|
105
|
-
DescribeStatementRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(DescribeStatementRequest || (DescribeStatementRequest = {}));
|
|
107
|
-
export var SqlParameter;
|
|
108
|
-
(function (SqlParameter) {
|
|
109
|
-
SqlParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(SqlParameter || (SqlParameter = {}));
|
|
111
83
|
export var StatusString;
|
|
112
84
|
(function (StatusString) {
|
|
113
85
|
StatusString["ABORTED"] = "ABORTED";
|
|
@@ -127,22 +99,6 @@ export var StatementStatusString;
|
|
|
127
99
|
StatementStatusString["STARTED"] = "STARTED";
|
|
128
100
|
StatementStatusString["SUBMITTED"] = "SUBMITTED";
|
|
129
101
|
})(StatementStatusString || (StatementStatusString = {}));
|
|
130
|
-
export var SubStatementData;
|
|
131
|
-
(function (SubStatementData) {
|
|
132
|
-
SubStatementData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(SubStatementData || (SubStatementData = {}));
|
|
134
|
-
export var DescribeStatementResponse;
|
|
135
|
-
(function (DescribeStatementResponse) {
|
|
136
|
-
DescribeStatementResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(DescribeStatementResponse || (DescribeStatementResponse = {}));
|
|
138
|
-
export var DescribeTableRequest;
|
|
139
|
-
(function (DescribeTableRequest) {
|
|
140
|
-
DescribeTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(DescribeTableRequest || (DescribeTableRequest = {}));
|
|
142
|
-
export var DescribeTableResponse;
|
|
143
|
-
(function (DescribeTableResponse) {
|
|
144
|
-
DescribeTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
-
})(DescribeTableResponse || (DescribeTableResponse = {}));
|
|
146
102
|
var ExecuteStatementException = (function (_super) {
|
|
147
103
|
__extends(ExecuteStatementException, _super);
|
|
148
104
|
function ExecuteStatementException(opts) {
|
|
@@ -157,14 +113,6 @@ var ExecuteStatementException = (function (_super) {
|
|
|
157
113
|
return ExecuteStatementException;
|
|
158
114
|
}(__BaseException));
|
|
159
115
|
export { ExecuteStatementException };
|
|
160
|
-
export var ExecuteStatementInput;
|
|
161
|
-
(function (ExecuteStatementInput) {
|
|
162
|
-
ExecuteStatementInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
-
})(ExecuteStatementInput || (ExecuteStatementInput = {}));
|
|
164
|
-
export var ExecuteStatementOutput;
|
|
165
|
-
(function (ExecuteStatementOutput) {
|
|
166
|
-
ExecuteStatementOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
-
})(ExecuteStatementOutput || (ExecuteStatementOutput = {}));
|
|
168
116
|
export var Field;
|
|
169
117
|
(function (Field) {
|
|
170
118
|
Field.visit = function (value, visitor) {
|
|
@@ -182,69 +130,46 @@ export var Field;
|
|
|
182
130
|
return visitor.blobValue(value.blobValue);
|
|
183
131
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
184
132
|
};
|
|
185
|
-
Field.filterSensitiveLog = function (obj) {
|
|
186
|
-
var _a;
|
|
187
|
-
if (obj.isNull !== undefined)
|
|
188
|
-
return { isNull: obj.isNull };
|
|
189
|
-
if (obj.booleanValue !== undefined)
|
|
190
|
-
return { booleanValue: obj.booleanValue };
|
|
191
|
-
if (obj.longValue !== undefined)
|
|
192
|
-
return { longValue: obj.longValue };
|
|
193
|
-
if (obj.doubleValue !== undefined)
|
|
194
|
-
return { doubleValue: obj.doubleValue };
|
|
195
|
-
if (obj.stringValue !== undefined)
|
|
196
|
-
return { stringValue: obj.stringValue };
|
|
197
|
-
if (obj.blobValue !== undefined)
|
|
198
|
-
return { blobValue: obj.blobValue };
|
|
199
|
-
if (obj.$unknown !== undefined)
|
|
200
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
201
|
-
};
|
|
202
133
|
})(Field || (Field = {}));
|
|
203
|
-
export var
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
export var
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
export var
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
export var
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
(
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
(
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
})(
|
|
235
|
-
export var
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
export var
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export var
|
|
244
|
-
|
|
245
|
-
TableMember.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
246
|
-
})(TableMember || (TableMember = {}));
|
|
247
|
-
export var ListTablesResponse;
|
|
248
|
-
(function (ListTablesResponse) {
|
|
249
|
-
ListTablesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
|
-
})(ListTablesResponse || (ListTablesResponse = {}));
|
|
134
|
+
export var BatchExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
+
export var BatchExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
+
export var CancelStatementRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
export var CancelStatementResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
+
export var ColumnMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
export var DescribeStatementRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
+
export var SqlParameterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
export var SubStatementDataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
export var DescribeStatementResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
export var DescribeTableRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
+
export var DescribeTableResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
export var ExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var ExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var FieldFilterSensitiveLog = function (obj) {
|
|
148
|
+
var _a;
|
|
149
|
+
if (obj.isNull !== undefined)
|
|
150
|
+
return { isNull: obj.isNull };
|
|
151
|
+
if (obj.booleanValue !== undefined)
|
|
152
|
+
return { booleanValue: obj.booleanValue };
|
|
153
|
+
if (obj.longValue !== undefined)
|
|
154
|
+
return { longValue: obj.longValue };
|
|
155
|
+
if (obj.doubleValue !== undefined)
|
|
156
|
+
return { doubleValue: obj.doubleValue };
|
|
157
|
+
if (obj.stringValue !== undefined)
|
|
158
|
+
return { stringValue: obj.stringValue };
|
|
159
|
+
if (obj.blobValue !== undefined)
|
|
160
|
+
return { blobValue: obj.blobValue };
|
|
161
|
+
if (obj.$unknown !== undefined)
|
|
162
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
163
|
+
};
|
|
164
|
+
export var GetStatementResultRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var GetStatementResultResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Records && { Records: obj.Records.map(function (item) { return item.map(function (item) { return FieldFilterSensitiveLog(item); }); }) }))); };
|
|
166
|
+
export var ListDatabasesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
export var ListDatabasesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
export var ListSchemasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
export var ListSchemasResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
export var ListStatementsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
export var StatementDataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
export var ListStatementsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
export var ListTablesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var TableMemberFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var ListTablesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|